Deploy to publisher causes felix config to stop working | Community
Skip to main content
Level 4
Oct 17, 2017 5:45 PM UTC
Solved

Deploy to publisher causes felix config to stop working

I have a custom saml implementation with configurations in our code base for multiple publishers. Each publisher has its own configuration.

When we deploy the saml authentication fails. If I go to the custom saml felix config and simply click the Save button, authentication starts working normally.

Any ideas why this would be happening?

Thanks

Tom

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Employee
Oct 19, 2017 6:52 PM UTC

Check the configuration of the "Apache Sling JCR Installer" in the Webconsole. Most important are in your case the "search paths" property (there should be /apps and /libs), the installation folder name regexp (".*/(install|config)$") and the Max hierarchy depth (default 4). If it's a systematic problem on all of your publishs you might override some settings there.

If that sounds ok, you need to debug the issue more systematically

* set the facility "org.apache.sling.installer.provider.jcr.impl" to DEBUG and observe the logs (use a dedicated logfile). There should be a ton of activity constantly going on.

* then add a setting and check if these DEBUG logs show any activity (they definitly should)

Jörg

8 replies

joerghoh
joerghohAccepted solution
Employee
Oct 19, 2017 6:52 PM UTC

Check the configuration of the "Apache Sling JCR Installer" in the Webconsole. Most important are in your case the "search paths" property (there should be /apps and /libs), the installation folder name regexp (".*/(install|config)$") and the Max hierarchy depth (default 4). If it's a systematic problem on all of your publishs you might override some settings there.

If that sounds ok, you need to debug the issue more systematically

* set the facility "org.apache.sling.installer.provider.jcr.impl" to DEBUG and observe the logs (use a dedicated logfile). There should be a ton of activity constantly going on.

* then add a setting and check if these DEBUG logs show any activity (they definitly should)

Jörg

Translate
VeenaVikraman
New Participant
Oct 19, 2017 4:18 PM UTC

While doing debug session with Day Care team, they suggested the same and we tried but there was nothing in that folder Jörg Hoh​

Translate
joerghoh
Employee
Oct 19, 2017 3:14 PM UTC

If there are nodes within this folder, remove them. Then changes during runtime are picked up again.

Jörg

Translate
Level 4
Oct 19, 2017 3:04 PM UTC

We are on 6.2 also Veena. Sorry to hear you are having this problem also.

Translate
Level 4
Oct 19, 2017 3:02 PM UTC

There are /system/sling/installer/jcr/pauseInstallation on our publishers.

Translate
joerghoh
Employee
Oct 18, 2017 7:35 PM UTC

Can you check if you have any nodes below /system/sling/installer/jcr/pauseInstallation ?

Jörg

Translate
VeenaVikraman
New Participant
Oct 18, 2017 3:45 AM UTC

Jörg Hoh​

  We also have a similar kind of situation with our 6.2 servers. Any config deployed needs a restart of the server to be picked up . Some configurations , we have to go to system console and click save. We raised a daycare ticket and doesn't seem like they are able to figure out a root cause for this issue.

Thanks

Veena

Translate
joerghoh
Employee
Oct 17, 2017 7:07 PM UTC

Do you have any logs indicating a problem? If the deployment does not take effect, there should be any statements in the logs.

Jörg

Translate