Facing encryption race condition on startup when encryption is enabled.
Issue
- On startup of Fuse, the wrapper log will sometimes print out an error message saying jaas
encryptiondidn't load. This was fixed in the upstream - https://issues.apache.org/jira/browse/KARAF-3625.
Exception in thread "Timer-0" java.lang.IllegalStateException: No encryption service found. Please install the Karaf encryption feature and check that the encryption algorithm is supported..
at org.apache.karaf.jaas.modules.encryption.EncryptionSupport.getEncryption(EncryptionSupport.java:88)
at org.apache.karaf.jaas.modules.properties.AutoEncryptionSupport.getEncryptedPassword(AutoEncryptionSupport.java:117)
at org.apache.karaf.jaas.modules.properties.AutoEncryptionSupport.encryptedPassword(AutoEncryptionSupport.java:92)
at org.apache.karaf.jaas.modules.properties.AutoEncryptionSupport$1.run(AutoEncryptionSupport.java:64)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
- Issue often occurs on startup, running
Fusewith the generated service script.
Environment
- Red Hat JBoss Fuse
- 6.2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
