4 Replies Latest reply on Sep 28, 2012 4:50 AM by michael-s

    Re: Thread.currentThread().getContextClassLoader().getResource("") returns null

    michael-s Newbie

      We use a bean deployer to initialize the component: <deployment xmlns="urn:jboss:bean-deployer:2.0">.

      With the latest build I still get the same error:

      17:54:58,121 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.pojo."com...".START: org
      .jboss.msc.service.StartException in service jboss.pojo."com...".START: java.lang.reflect.InvocationTargetException
              at org.jboss.as.pojo.service.LifecyclePojoPhase.start(LifecyclePojoPhase.java:50)
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_31]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_31]
              at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_31]
      Caused by: java.lang.reflect.InvocationTargetException
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_31]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_31]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_31]
              at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_31]
              at org.jboss.as.pojo.service.MethodJoinpoint.dispatch(MethodJoinpoint.java:41)
              at org.jboss.as.pojo.service.BeanUtils.dispatchLifecycleJoinpoint(BeanUtils.java:158)
              at org.jboss.as.pojo.service.LifecyclePojoPhase.dispatchJoinpoint(LifecyclePojoPhase.java:42)
              at org.jboss.as.pojo.service.LifecyclePojoPhase.start(LifecyclePojoPhase.java:48)
              ... 5 more
      

       

      removed from this thread by accident: https://community.jboss.org/thread/176546 !