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

wink-user | Harris, Christopher P | 3 years ago
  1. 0

    RE: How to inject CDI beans into Wink Resource

    wink-user | 3 years ago | Harris, Christopher P
    javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception created by servlet
  2. 0

    RE: How to inject CDI beans into Wink Resource

    wink-user | 3 years ago | Harris, Christopher P
    javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception created by servlet
  3. 0

    RE: How to inject CDI beans into Wink Resource

    wink-user | 3 years ago | Harris, Christopher P
    javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception created by servlet
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: How to inject CDI beans into Wink Resource

    wink-user | 3 years ago | Harris, Christopher P
    javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception created by servlet
  6. 0

    RE: How to inject CDI beans into Wink Resource

    wink-user | 3 years ago | Harris, Christopher P
    javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception created by servlet

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.LinkageError

      loading constraint violation when resolving method "org/apache/wink/common/internal/lifecycle/CreationUtils.injectFields(Ljava/lang/Object;Lorg/apache/wink/common/internal/registry/metadata/ClassMetadata;Lorg/apache/wink/common/RuntimeContext;)V" : loader "com/ibm/ws/classloader/CompoundClassLoader@12fe909e" of class "org/apache/wink/jcdi/server/internal/extension/WinkInjectionTarget$1" and loader "org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader@20dde9ee" of class "org/apache/wink/common/internal/lifecycle/CreationUtils" have different types for the method signature

      at org.apache.wink.jcdi.server.internal.extension.WinkInjectionTarget$1.run()
    2. org.apache.wink
      WinkInjectionTarget$1.run
      1. org.apache.wink.jcdi.server.internal.extension.WinkInjectionTarget$1.run(JAXRSJCDICustomInjectionTarget.java:65)
      1 frame
    3. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(AccessController.java:327)
      1 frame
    4. org.apache.wink
      WinkInjectionTarget.inject
      1. org.apache.wink.jcdi.server.internal.extension.WinkInjectionTarget.inject(JAXRSJCDICustomInjectionTarget.java:56)
      1 frame
    5. OpenWebBeans Core
      NormalScopedBeanInterceptorHandler.invoke
      1. org.apache.webbeans.component.InjectionTargetWrapper.inject(InjectionTargetWrapper.java:80)
      2. org.apache.webbeans.component.AbstractOwbBean.create(AbstractOwbBean.java:175)
      3. org.apache.webbeans.context.creational.BeanInstanceBag.create(BeanInstanceBag.java:80)
      4. org.apache.webbeans.context.AbstractContext.getInstance(AbstractContext.java:226)
      5. org.apache.webbeans.context.AbstractContext.get(AbstractContext.java:191)
      6. org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.getContextualInstance(NormalScopedBeanInterceptorHandler.java:135)
      7. org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.invoke(NormalScopedBeanInterceptorHandler.java:95)
      7 frames
    6. com.blah.group
      FunApplication_$$_javassist_68.getSingletons
      1. com.blah.group.project.webservices.config.FunApplication_$$_javassist_68.getSingletons(FunApplication_$$_javassist_68.java)
      1 frame
    7. Apache Wink Server
      DeploymentConfiguration.addApplication
      1. org.apache.wink.server.internal.application.ApplicationProcessor.process(ApplicationProcessor.java:83)
      2. org.apache.wink.server.internal.DeploymentConfiguration.addApplication(DeploymentConfiguration.java:339)
      2 frames
    8. Apache Wink Component Test Support
      RestServlet.init
      1. org.apache.wink.server.internal.servlet.RestServlet.createRequestProcessor(RestServlet.java:139)
      2. org.apache.wink.server.internal.servlet.RestServlet.init(RestServlet.java:94)
      2 frames
    9. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:161)
      1 frame
    10. WebSphere
      ContextManagerImpl.runAsSystem
      1. com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:342)
      2. com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:168)
      3. com.ibm.ws.webcontainer.servlet.ServletWrapper.loadOnStartupCheck(ServletWrapper.java:1366)
      4. com.ibm.ws.webcontainer.webapp.WebApp.doLoadOnStartupActions(WebApp.java:611)
      5. com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.java:580)
      6. com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:421)
      7. com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
      8. com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:169)
      9. com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:746)
      10. com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:634)
      11. com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:422)
      12. com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:714)
      13. com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1163)
      14. com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1369)
      15. com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
      16. com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:967)
      17. com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:769)
      18. com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamically(ApplicationMgrImpl.java:1357)
      19. com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2154)
      20. com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:446)
      21. com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
      22. com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:389)
      23. com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:117)
      24. com.ibm.ws.runtime.component.CompositionUnitMgrImpl$1.run(CompositionUnitMgrImpl.java:664)
      25. com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5468)
      26. com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5594)
      26 frames
    11. com.ibm.ws
      SecurityContext.runAsSystem
      1. com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
      1 frame
    12. WebSphere
      ApplicationMgrImpl.startApplication
      1. com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:678)
      2. com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:622)
      3. com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1249)
      3 frames
    13. Java RT
      AccessController.doPrivileged
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      4. java.lang.reflect.Method.invoke(Method.java:611)
      5. sun.reflect.misc.Trampoline.invoke(MethodUtil.java:69)
      6. sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
      7. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      8. java.lang.reflect.Method.invoke(Method.java:611)
      9. sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:272)
      10. javax.management.modelmbean.RequiredModelMBean$4.run(RequiredModelMBean.java:1148)
      11. java.security.AccessController.doPrivileged(AccessController.java:298)
      11 frames
    14. com.ibm.oti
      CheckedAccessControlContext.securityCheck
      1. com.ibm.oti.security.CheckedAccessControlContext.securityCheck(CheckedAccessControlContext.java:30)
      1 frame
    15. Java RT
      JmxMBeanServer.invoke
      1. sun.misc.JavaSecurityAccessWrapper.doIntersectionPrivilege(JavaSecurityAccessWrapper.java:41)
      2. javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1142)
      3. javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:995)
      4. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:847)
      5. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:783)
      5 frames
    16. WebSphere
      AdminServiceImpl.invoke
      1. com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1335)
      2. com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
      3. com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1228)
      3 frames
    17. com.ibm.ws
      ConfigServiceImpl.save
      1. com.ibm.ws.management.application.sync.StartDeploymentTask.startDeployment(StartDeploymentTask.java:250)
      2. com.ibm.ws.management.application.sync.StartDeploymentTask.fullAppUpdate(StartDeploymentTask.java:122)
      3. com.ibm.ws.management.application.sync.StartDeploymentTask.performTask(StartDeploymentTask.java:110)
      4. com.ibm.ws.management.application.sync.AppBinaryProcessor$ExpandApp.expand(AppBinaryProcessor.java:1709)
      5. com.ibm.ws.management.application.sync.AppBinaryProcessor.postProcessSynchronousExt(AppBinaryProcessor.java:749)
      6. com.ibm.ws.management.bla.sync.BLABinaryProcessor.postProcess(BLABinaryProcessor.java:590)
      7. com.ibm.ws.management.bla.sync.BLABinaryProcessor.onChangeCompletion(BLABinaryProcessor.java:467)
      8. com.ibm.ws.management.bla.sync.BinaryProcessorWrapper.onChangeCompletion(BinaryProcessorWrapper.java:109)
      9. com.ibm.ws.management.repository.FileRepository.postNotify(FileRepository.java:1905)
      10. com.ibm.ws.management.repository.FileRepository.update(FileRepository.java:1414)
      11. com.ibm.ws.management.repository.client.LocalConfigRepositoryClient.update(LocalConfigRepositoryClient.java:189)
      12. com.ibm.ws.sm.workspace.impl.WorkSpaceMasterRepositoryAdapter.update(WorkSpaceMasterRepositoryAdapter.java:665)
      13. com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.update(RepositoryContextImpl.java:1998)
      14. com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.synch(RepositoryContextImpl.java:1946)
      15. com.ibm.ws.sm.workspace.impl.WorkSpaceImpl.synch(WorkSpaceImpl.java:549)
      16. com.ibm.ws.management.configservice.ConfigServiceImpl.save(ConfigServiceImpl.java:719)
      16 frames
    18. Java RT
      AccessController.doPrivileged
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      4. java.lang.reflect.Method.invoke(Method.java:611)
      5. sun.reflect.misc.Trampoline.invoke(MethodUtil.java:69)
      6. sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
      7. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      8. java.lang.reflect.Method.invoke(Method.java:611)
      9. sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:272)
      10. javax.management.modelmbean.RequiredModelMBean$4.run(RequiredModelMBean.java:1148)
      11. java.security.AccessController.doPrivileged(AccessController.java:298)
      11 frames
    19. com.ibm.oti
      CheckedAccessControlContext.securityCheck
      1. com.ibm.oti.security.CheckedAccessControlContext.securityCheck(CheckedAccessControlContext.java:30)
      1 frame
    20. Java RT
      JmxMBeanServer.invoke
      1. sun.misc.JavaSecurityAccessWrapper.doIntersectionPrivilege(JavaSecurityAccessWrapper.java:41)
      2. javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1142)
      3. javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:995)
      4. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:847)
      5. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:783)
      5 frames
    21. WebSphere
      AdminServiceImpl.invoke
      1. com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1335)
      2. com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
      3. com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1228)
      3 frames
    22. com.ibm.ws
      SSLReadServiceContext$SSLReadCompletedCallback.complete
      1. com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:181)
      2. com.ibm.ws.management.connector.ipc.CallRouter.route(CallRouter.java:247)
      3. com.ibm.ws.management.connector.ipc.IPCConnectorInboundLink.doWork(IPCConnectorInboundLink.java:360)
      4. com.ibm.ws.management.connector.ipc.IPCConnectorInboundLink$IPCConnectorReadCallback.complete(IPCConnectorInboundLink.java:602)
      5. com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)
      5 frames
    23. WebSphere
      AioReadCompletionListener.futureCompleted
      1. com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
      1 frame
    24. com.ibm.io
      ResultHandler$2.run
      1. com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
      2. com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
      3. com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
      4. com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
      5. com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
      6. com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
      6 frames
    25. com.ibm.ws
      ThreadPool$Worker.run
      1. com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1700)
      1 frame