Jump to content
Excelsior Forums

Devendra

Members
  • Content count

    0
  • Joined

  • Last visited

Posts posted by Devendra


  1. Getting following error on startup of a tomcat executable, though it works perfectly as war.

     

    type Exception report

    message Servlet.init() for servlet jersey threw exception

    description The server encountered an internal error that prevented it from fulfilling this request.

    exception

    javax.servlet.ServletException: Servlet.init() for servlet jersey threw exception
    	org.apache.catalina.authenticator.AuthenticatorBase.invoke(Unknown Source)
    	org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
    	org.apache.catalina.valves.AbstractAccessLogValve.invoke(Unknown Source)
    	org.apache.catalina.connector.CoyoteAdapter.service(Unknown Source)
    	org.apache.coyote.http11.AbstractHttp11Processor.process(Unknown Source)
    	org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Unknown Source)
    	org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(Unknown Source)
    	org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(Unknown Source)
    	java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    	java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    	org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(Unknown Source)
    	java.lang.Thread.run(Unknown Source)
    

    root cause

    java.lang.ArrayIndexOutOfBoundsException
    	jersey.repackaged.org.objectweb.asm.ClassReader.readShort(Unknown Source)
    	jersey.repackaged.org.objectweb.asm.ClassReader.<init>(Unknown Source)
    	jersey.repackaged.org.objectweb.asm.ClassReader.<init>(Unknown Source)
    	jersey.repackaged.org.objectweb.asm.ClassReader.<init>(Unknown Source)
    	org.glassfish.jersey.server.internal.scanning.AnnotationAcceptingListener.process(Unknown Source)
    	org.glassfish.jersey.server.ResourceConfig.scanClasses(Unknown Source)
    	org.glassfish.jersey.server.ResourceConfig._getClasses(Unknown Source)
    	org.glassfish.jersey.server.ResourceConfig.getClasses(Unknown Source)
    	org.glassfish.jersey.server.ResourceConfig$RuntimeConfig.<init>(Unknown Source)
    	org.glassfish.jersey.server.ResourceConfig$RuntimeConfig.<unknown>(Unknown Source)
    	org.glassfish.jersey.server.ResourceConfig.createRuntimeConfig(Unknown Source)
    	org.glassfish.jersey.server.ApplicationHandler.<init>(Unknown Source)
    	org.glassfish.jersey.servlet.WebComponent.<init>(Unknown Source)
    	org.glassfish.jersey.servlet.ServletContainer.init(Unknown Source)
    	org.glassfish.jersey.servlet.ServletContainer.init(Unknown Source)
    	javax.servlet.GenericServlet.init(Unknown Source)
    	org.apache.catalina.authenticator.AuthenticatorBase.invoke(Unknown Source)
    	org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
    	org.apache.catalina.valves.AbstractAccessLogValve.invoke(Unknown Source)
    	org.apache.catalina.connector.CoyoteAdapter.service(Unknown Source)
    	org.apache.coyote.http11.AbstractHttp11Processor.process(Unknown Source)
    	org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Unknown Source)
    	org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(Unknown Source)
    	org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(Unknown Source)
    	java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    	java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    	org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(Unknown Source)
    	java.lang.Thread.run(Unknown Source)
    

    note The full stack trace of the root cause is available in the Apache Tomcat/8.0.46 logs.

×