Problem:
For users who have a Java Agent configured using the Agility platform startup script, the application started up successfully and the Agent began properly reporting its status.
Then, after some time, the navigation breaks on the Agility platform application.
The following error is seen in the application log file related to the OSGi framework configuration:
Error while starting bundle: file:/opt/agility-platform/deploy/com.servicemesh.agility.event.service-1.0.0.jar: org.osgi.framework.BundleException: Activator start error in bundle com.servicemesh.agility.event.service [205].
org.osgi.framework.BundleException: Activator start error in bundle com.servicemesh.agility.event.service [205].
Solution:
- Navigate to the
/opt/agility-platform/etc
directory.
- Edit the config.properties file to append
com.singularity
to the org.osgi.framework.bootdelegation
configuration.
- Example:
-
org.osgi.framework.bootdelegation=org.apache.karaf.jaas.boot,org.apache.karaf.jaas.boot.principal,org.apache.karaf.management.boot,sun.*,com.sun.*,javax.transaction,javax.transaction.*,org.apache.xerces.jaxp.datatype,org.apache.xerces.stax,org.apache.xerces.parsers,org.apache.xerces.jaxp,org.apache.xerces.jaxp.validation,org.apache.xerces.dom,com.singularity.*