It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

activate jolokia on jira server

Matthieu ROBIN Jan 17, 2018

Hi,
i try to active jolokia on Jira https://jolokia.org/

...some one has already had this error.

just copy war file on : /opt/atlassian/jira/webapps and try to open http://localhost:8080/jolokia/version

Can you help me please ? Jolokia war is necessery for monitoring tools like influxDB, elasticsearch ...

 

 


`Etat HTTP 500 - Servlet.init() for servlet jolokia-agent threw exception

type Rapport d''exception

message Servlet.init() for servlet jolokia-agent threw exception

description Le serveur a rencontré une erreur interne qui l''a empêché de satisfaire la requête.

exception

javax.servlet.ServletException: Servlet.init() for servlet jolokia-agent threw exception
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:784)
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410)
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:745)

cause mère

java.lang.IllegalStateException: Cannot load service null defined in jar:war:file:/opt/atlassian/jira/webapps/jolokia.war*/WEB-INF/lib/jolokia-core-1.3.7.jar!/!/META-INF/simplifiers-default : java.io.FileNotFoundException: JAR entry !/META-INF/simplifiers-default not found in /opt/atlassian/jira/temp/jar_cache1023441928551665534.tmp. Aborting
org.jolokia.util.ServiceObjectFactory.readServiceDefinitionFromUrl(ServiceObjectFactory.java:109)
org.jolokia.util.ServiceObjectFactory.readServiceDefinitions(ServiceObjectFactory.java:78)
org.jolokia.util.ServiceObjectFactory.createServiceObjects(ServiceObjectFactory.java:63)
org.jolokia.converter.json.ObjectToJsonConverter.addSimplifiers(ObjectToJsonConverter.java:350)
org.jolokia.converter.json.ObjectToJsonConverter.(ObjectToJsonConverter.java:80)
org.jolokia.converter.Converters.(Converters.java:45)
org.jolokia.backend.BackendManager.init(BackendManager.java:326)
org.jolokia.backend.BackendManager.(BackendManager.java:130)
org.jolokia.backend.BackendManager.(BackendManager.java:105)
org.jolokia.http.AgentServlet.init(AgentServlet.java:140)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:784)
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410)
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:745)

cause mère

java.io.FileNotFoundException: JAR entry !/META-INF/simplifiers-default not found in /opt/atlassian/jira/temp/jar_cache1023441928551665534.tmp
sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:142)
sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:150)
java.net.URL.openStream(URL.java:1045)
org.jolokia.util.ServiceObjectFactory.readServiceDefinitionFromUrl(ServiceObjectFactory.java:90)
org.jolokia.util.ServiceObjectFactory.readServiceDefinitions(ServiceObjectFactory.java:78)
org.jolokia.util.ServiceObjectFactory.createServiceObjects(ServiceObjectFactory.java:63)
org.jolokia.converter.json.ObjectToJsonConverter.addSimplifiers(ObjectToJsonConverter.java:350)
org.jolokia.converter.json.ObjectToJsonConverter.(ObjectToJsonConverter.java:80)
org.jolokia.converter.Converters.(Converters.java:45)
org.jolokia.backend.BackendManager.init(BackendManager.java:326)
org.jolokia.backend.BackendManager.(BackendManager.java:130)
org.jolokia.backend.BackendManager.(BackendManager.java:105)
org.jolokia.http.AgentServlet.init(AgentServlet.java:140)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:784)
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410)
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:745)

note La trace complète de la cause mère de cette erreur est disponible dans les fichiers journaux de Apache Tomcat/8.5.6.
Apache Tomcat/8.5.6`

1 answer

0 votes
Shannon Spaniol Atlassian Team Jan 18, 2018

Matthieu,

I'm not familiar with Jolokia itself, but which documentation were you following in order to integrate with Jira? I wasn't able to find anything myself besides this basic one that doesn't mention Jira:

Have you had a look at the marketplace add-on for Jolokia? Might this be able to help you?

I found a few other users like you said who had the same error, but there doesn't seem to be a resolution for them at this time. 

In case anyone has any details for you, could you let us know your Jira version? 

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Marketplace Apps & Integrations

Demo Den Ep. 4: Continuous Integration with CircleCI & Jira Software

Get ready! Demo Den Episode 4 is coming your way on Tuesday, May 28, 2018 with a Continuous Integration and Delivery special demo. CircleCI Director of Solutions Engineering, Eddie Webb will show us ...

486 views 0 4
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you