Knowledge Base

cancel
Showing results for 
Search instead for 
Did you mean: 

How to troubleshoot an Agility application using OSGi framework

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:

 

  1. Navigate to the /opt/agility-platform/etc directory.
  2. 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.*

 

Version history
Revision #:
2 of 2
Last update:
‎08-24-2017 10:38 AM
Updated by:
 
Labels (1)
Contributors
0 Kudos