activate jolokia on jira server

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 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

86 views 0 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you