since ‎01-08-2019
‎10-12-2019
nickt39971962
Level 1
Missing OSGI Dependencies
Avatar

nickt39971962

nickt39971962
- Adobe Experience Manager
When adding a new dependency in the POM file of an OSGI bundle (which is deployed inside an AEM package to CRX) I will often see a number of unresolved dependencies in the OSGI console. The bundle will fail to activate.Example:org.jaxen.dom -- Cannot be resolvedorg.jaxen.dom4j -- Cannot be resolvedorg.jaxen.jdom -- Cannot be resolvedorg.jaxen.pattern -- Cannot be resolvedorg.jaxen.saxpath -- Cannot be resolvedorg.jdom -- Cannot be resolvedorg.jdom.input -- Cannot be resolvedorg.jdom.output -- Ca...

Views

1.4K

Like

1

Replies

2
Re: javax.jcr.AccessDeniedException: Access denied. (500)
Avatar

nickt39971962

nickt39971962
- Adobe Experience Manager
Apologies: Can't seem to edit posts on here, the actions drop down just spins around indefinitely.We actually see the problem even just adding the filters element at all. Here's our full parent pom which is shared by 3 content packages 4.0.0 mycompany parent-pom 1.5.1 pom mycompany AEM Parent mycompany parent http://localhost:4502 /${cq.project.name} UTF-8 /apps/${customer.name}${app.folder}/install admin admin 3.0.4 auto-install-bundle org.apache.sling maven-sling-plugin 2.1.0 analysis jdbc:mysql://xxx.net/sonar?useUnicode=true&characterEncoding=utf8 sonar sonar http://xxx.net/sonar/ preview true analysis-full analysis false -->...

Views

863

Likes

0

Replies

0
Re: Overwrite Translations in CRX with content-package-maven plugin
Avatar

nickt39971962

nickt39971962
- Adobe Experience Manager
Our full parent POM looks like this:

Views

511

Likes

0

Replies

0
Re: Overwrite Translations in CRX with content-package-maven plugin
Avatar

nickt39971962

nickt39971962
- Adobe Experience Manager
It doesn't work at all on publish instances. It causes our deploys to fail with internal server error and no clues in the logs at all. Even just adding the following causes the error:

Views

480

Likes

0

Replies

0
Re: javax.jcr.AccessDeniedException: Access denied. (500)
Avatar

nickt39971962

nickt39971962
- Adobe Experience Manager
To be more specific, as soon as we add the mode "update" AEM becomes very unhappy and we just see internal server output with nothing in the error.log

Views

863

Likes

0

Replies

0
Re: javax.jcr.AccessDeniedException: Access denied. (500)
Avatar

nickt39971962

nickt39971962
- Adobe Experience Manager
The error occurs when I try to add a filter that allows existing values to be updated: com.day.jcr.vault content-package-maven-plugin 0.5.24 true zip mixed overwrite true true true true false /apps/ update

Views

863

Likes

0

Replies

0
Re: javax.jcr.AccessDeniedException: Access denied. (500)
Avatar

nickt39971962

nickt39971962
- Adobe Experience Manager
Sorry, now the error has changed:[ERROR] Request to http://...:4503/crx/packmgr/service.jsp failed, response=Internal Server Error

Views

861

Likes

0

Replies

0
Re: javax.jcr.AccessDeniedException: Access denied. (500)
Avatar

nickt39971962

nickt39971962
- Adobe Experience Manager
No this wasn't the issue it is a red herring. I still get the same 500 error when deploying to publish 2 now even as admin.

Views

864

Likes

0

Replies

0
Re: javax.jcr.AccessDeniedException: Access denied. (500)
Avatar

nickt39971962

nickt39971962
- Adobe Experience Manager
I can now deploy by deploying as our admin user. Why would the permissions suddenly have changed on our other user?

Views

860

Likes

0

Replies

0
Re: javax.jcr.AccessDeniedException: Access denied. (500)
Avatar

nickt39971962

nickt39971962
- Adobe Experience Manager
Hi Vishu,Thank you for your help.We are deploying use maven content plugin with bundle auto install. This has been working for a while.On the publish instances, CRX does not allow me to log in with the user who is deploying it says unknown username and password.When I log in as admin and upload the packages in CRX package manager UI it installs fine.Thank you

Views

867

Likes

0

Replies

0
javax.jcr.AccessDeniedException: Access denied. (500)
Avatar

nickt39971962

nickt39971962
- Adobe Experience Manager
All of our deploys have started failing with the following error. Even trying to deploy packages that have previously been installed results in the same error. Could anyone tell me how I can start investigating a problem like this? I don't see anything useful in the logs.This problem is happening on our stage publishers and all of our production instances but our stage author is working fine. I know that is a clue but I'm not sure where to look.[ERROR] Request failed: javax.jcr.AccessDeniedExcep...

Views

2.8K

Like

1

Replies

11
Re: Overwrite Translations in CRX with content-package-maven plugin
Avatar

nickt39971962

nickt39971962
- Adobe Experience Manager
Yes I saw that and tried putting those settings in a few places but on each occassion it failed to have the desired impact.

Views

476

Likes

0

Replies

0
Re: Overwrite Translations in CRX with content-package-maven plugin
Avatar

nickt39971962

nickt39971962
- Adobe Experience Manager
I don't believe the codebase is using any archtetype.

Views

476

Likes

0

Replies

0
Overwrite Translations in CRX with content-package-maven plugin
Avatar

nickt39971962

nickt39971962
- Adobe Experience Manager
When I add a new translation to the translations file and install the translation appears. When I change the translation and install the existing value is not overwritten. I'm struggling with the plugin's documentation to understand how to change this behaviour: to update an existing node value attribute.Here's the configuration of the plugin: com.day.jcr.vault content-package-maven-plugin 0.5.24 true zip overwrite true true true true false auto-install-package com.day.jcr.vault conten...

Views

1.2K

Likes

0

Replies

7
Likes given to
Likes from