-
Bug
-
Resolution: Done
-
Major
-
7.1.1.Final
-
None
TCCL is not set when configuring components, so classes can be loaded with the wrong TCCL set:
23:18:55,573 INFO [com.test.Environment] (MSC service thread 1-4) Reading config file config/mes/mes.xml
23:18:55,578 INFO [stdout] (MSC service thread 1-4) ClassLoader is ModuleClassLoader for Module "org.jboss.as.server:main" from local module loader @84da23 (roots: C:\work\java\jboss-as-7.1.1.Final\modules)
23:18:55,585 ERROR [stderr] (MSC service thread 1-4) java.lang.NullPointerException
23:18:55,589 ERROR [stderr] (MSC service thread 1-4) at com.test.XMLToStringConverter.readFromResource(XMLToStringConverter.java:58)
23:18:55,593 ERROR [stderr] (MSC service thread 1-4) at com.test.Environment.getParameterList(Environment.java:325)
23:18:55,599 ERROR [stderr] (MSC service thread 1-4) at com.test.Environment.getValue(Environment.java:379)
23:18:55,604 ERROR [stderr] (MSC service thread 1-4) at com.test.DateTimeHandler.<clinit>(DateTimeHandler.java:48)
23:18:55,609 ERROR [stderr] (MSC service thread 1-4) at com.test.SystemEventManager.getServerStartEvtContent(SystemEventManager.java:498)
23:18:55,616 ERROR [stderr] (MSC service thread 1-4) at com.test.Environment.<clinit>(Environment.java:81)
23:18:55,621 ERROR [stderr] (MSC service thread 1-4) at com.test.B2MMLInterfaceBean.<clinit>(B2MMLInterfaceBean.java:36)
23:18:55,626 ERROR [stderr] (MSC service thread 1-4) at java.lang.Class.forName0(Native Method)
23:18:55,630 ERROR [stderr] (MSC service thread 1-4) at java.lang.Class.forName(Class.java:247)
23:18:55,633 ERROR [stderr] (MSC service thread 1-4) at org.jboss.invocation.proxy.AbstractProxyFactory.afterClassLoad(AbstractProxyFactory.java:94)
23:18:55,638 ERROR [stderr] (MSC service thread 1-4) at org.jboss.invocation.proxy.AbstractClassFactory.defineClass(AbstractClassFactory.java:166)
23:18:55,643 ERROR [stderr] (MSC service thread 1-4) at org.jboss.invocation.proxy.AbstractProxyFactory.getCachedMethods(AbstractProxyFactory.java:145)
23:18:55,648 ERROR [stderr] (MSC service thread 1-4) at org.jboss.as.ejb3.component.stateless.StatelessComponentDescription$3.configure(StatelessComponentDescription.java:138)
23:18:55,654 ERROR [stderr] (MSC service thread 1-4) at org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:921)
23:18:55,659 ERROR [stderr] (MSC service thread 1-4) at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:81)
23:18:55,666 ERROR [stderr] (MSC service thread 1-4) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113)
23:18:55,671 ERROR [stderr] (MSC service thread 1-4) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
23:18:55,676 ERROR [stderr] (MSC service thread 1-4) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
23:18:55,682 ERROR [stderr] (MSC service thread 1-4) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
23:18:55,687 ERROR [stderr] (MSC service thread 1-4) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
23:18:55,691 ERROR [stderr] (MSC service thread 1-4) at java.lang.Thread.run(Thread.java:662)