javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception created by servlet

Stack Overflow | alex kleyn1 | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Cannot set up certs for trusted CAs error

    Stack Overflow | 9 months ago | alex kleyn1
    javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception created by servlet

    Root Cause Analysis

    1. java.util.zip.ZipException

      invalid LOC header (bad signature)

      at java.util.zip.ZipFile.read()
    2. Java RT
      JarFile.getInputStream
      1. java.util.zip.ZipFile.read(Native Method)
      2. java.util.zip.ZipFile.access$1200(ZipFile.java:30)
      3. java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:452)
      4. java.util.zip.ZipFile$1.fill(ZipFile.java:231)
      5. java.util.zip.InflaterInputStream.read(InflaterInputStream.java:153)
      6. java.io.DataInputStream.readFully(DataInputStream.java:190)
      7. java.util.jar.JarFile.getBytes(JarFile.java:412)
      8. java.util.jar.JarFile.getManifestFromReference(JarFile.java:167)
      9. java.util.jar.JarFile.getManifest(JarFile.java:151)
      10. java.util.jar.JarFile.maybeInstantiateVerifier(JarFile.java:339)
      11. java.util.jar.JarFile.getInputStream(JarFile.java:433)
      11 frames
    3. Android Platform
      b$0.run
      1. javax.crypto.b.a(Unknown Source)
      2. javax.crypto.b.a(Unknown Source)
      3. javax.crypto.b.access$600(Unknown Source)
      4. javax.crypto.b$0.run(Unknown Source)
      4 frames
    4. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(AccessController.java:251)
      1 frame
    5. Android Platform
      b.<clinit>
      1. javax.crypto.b.<clinit>(Unknown Source)
      1 frame
    6. Java RT
      J9VMInternals.initialize
      1. java.lang.J9VMInternals.initializeImpl(Native Method)
      2. java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
      2 frames
    7. Android Platform
      Cipher.getInstance
      1. javax.crypto.Cipher.getInstance(Unknown Source)
      1 frame
    8. com.mycompany.xstream
      StringCrypter.<clinit>
      1. com.mycompany.xstream.util.StringCrypter.setUp(StringCrypter.java:35)
      2. com.mycompany.xstream.util.StringCrypter.<clinit>(StringCrypter.java:102)
      2 frames
    9. Java RT
      J9VMInternals.initialize
      1. java.lang.J9VMInternals.initializeImpl(Native Method)
      2. java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
      2 frames
    10. com.mycompany.asopartners
      EnvoyService.init
      1. com.mycompany.asopartners.dao.impl.EnvoyService.init(EnvoyService.java:42)
      1 frame
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:600)
      4 frames
    12. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1581)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1522)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      6. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
      7. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
      8. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
      9. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
      10. org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:876)
      11. org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:818)
      12. org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:735)
      13. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:478)
      14. org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
      15. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:284)
      16. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
      17. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
      18. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      19. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
      20. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
      21. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
      22. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
      23. org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:876)
      24. org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:818)
      25. org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:735)
      26. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:478)
      27. org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
      28. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:284)
      29. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
      30. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
      31. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      32. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
      33. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
      34. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
      35. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
      36. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
      36 frames
    13. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
      2 frames
    14. Spring MVC
      HttpServletBean.init
      1. org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:631)
      2. org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:588)
      3. org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:645)
      4. org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:508)
      5. org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:449)
      6. org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:133)
      6 frames
    15. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:161)
      1 frame
    16. WebSphere
      ApplicationMgrImpl._startModule
      1. com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:315)
      2. com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:168)
      3. com.ibm.ws.webcontainer.servlet.ServletWrapper.loadOnStartupCheck(ServletWrapper.java:1258)
      4. com.ibm.ws.webcontainer.webapp.WebApp.doLoadOnStartupActions(WebApp.java:550)
      5. com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.java:521)
      6. com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:389)
      7. com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:90)
      8. com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166)
      9. com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:727)
      10. com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:612)
      11. com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:378)
      12. com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:670)
      13. com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1122)
      14. com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1315)
      15. com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:630)
      16. com.ibm.ws.runtime.component.ApplicationMgrImpl.startModule(ApplicationMgrImpl.java:1567)
      17. com.ibm.ws.runtime.component.ApplicationMgrImpl._startModule(ApplicationMgrImpl.java:1515)
      17 frames
    17. Java RT
      JmxMBeanServer.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:600)
      5. sun.reflect.misc.Trampoline.invoke(MethodUtil.java:37)
      6. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      7. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
      8. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      9. java.lang.reflect.Method.invoke(Method.java:600)
      10. sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:244)
      11. javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1086)
      12. javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:967)
      13. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
      14. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
      14 frames
    18. WebSphere
      AdminServiceImpl.invoke
      1. com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1320)
      2. com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
      3. com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1213)
      3 frames
    19. com.ibm.ws
      ConfigServiceImpl.save
      1. com.ibm.ws.management.application.sync.StartDeploymentTask.startDeployment(StartDeploymentTask.java:236)
      2. com.ibm.ws.management.application.sync.StartDeploymentTask.fineGrainUpdate(StartDeploymentTask.java:187)
      3. com.ibm.ws.management.application.sync.StartDeploymentTask.performTask(StartDeploymentTask.java:99)
      4. com.ibm.ws.management.application.sync.AppBinaryProcessor$ExpandApp.expand(AppBinaryProcessor.java:1573)
      5. com.ibm.ws.management.application.sync.AppBinaryProcessor.postProcessSynchronousExt(AppBinaryProcessor.java:663)
      6. com.ibm.ws.management.bla.sync.BLABinaryProcessor.postProcess(BLABinaryProcessor.java:569)
      7. com.ibm.ws.management.bla.sync.BLABinaryProcessor.onChangeCompletion(BLABinaryProcessor.java:451)
      8. com.ibm.ws.management.repository.FileRepository.postNotify(FileRepository.java:1916)
      9. com.ibm.ws.management.repository.FileRepository.update(FileRepository.java:1425)
      10. com.ibm.ws.management.repository.client.LocalConfigRepositoryClient.update(LocalConfigRepositoryClient.java:189)
      11. com.ibm.ws.sm.workspace.impl.WorkSpaceMasterRepositoryAdapter.update(WorkSpaceMasterRepositoryAdapter.java:657)
      12. com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.update(RepositoryContextImpl.java:1978)
      13. com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.synch(RepositoryContextImpl.java:1926)
      14. com.ibm.ws.sm.workspace.impl.WorkSpaceImpl.synch(WorkSpaceImpl.java:523)
      15. com.ibm.ws.management.configservice.ConfigServiceImpl.save(ConfigServiceImpl.java:703)
      15 frames
    20. Java RT
      JmxMBeanServer.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:600)
      5. sun.reflect.misc.Trampoline.invoke(MethodUtil.java:37)
      6. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      7. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
      8. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      9. java.lang.reflect.Method.invoke(Method.java:600)
      10. sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:244)
      11. javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1086)
      12. javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:967)
      13. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
      14. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
      14 frames
    21. WebSphere
      AdminServiceImpl.invoke
      1. com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1320)
      2. com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
      3. com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1213)
      3 frames
    22. com.ibm.ws
      AdminServiceDelegator.invoke
      1. com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:181)
      1 frame
    23. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:600)
      4 frames
    24. com.ibm.ws
      ThreadPool$Worker.run
      1. com.ibm.ws.management.connector.soap.SOAPConnector.invoke(SOAPConnector.java:406)
      2. com.ibm.ws.management.connector.soap.SOAPConnector.service(SOAPConnector.java:241)
      3. com.ibm.ws.management.connector.soap.SOAPConnection.handleRequest(SOAPConnection.java:65)
      4. com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:733)
      5. com.ibm.ws.http.HttpConnection.run(HttpConnection.java:532)
      6. com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1574)
      6 frames