[jboss-dev-forums] [Design of POJO Server] - Re: Classloader problem with NamingRestartUnitTestCase
dimitris@jboss.org
do-not-reply at jboss.com
Thu Feb 7 12:29:52 EST 2008
The server log:
|
| 11:41:17,992 INFO [bank-iiop/Customer] Home IOR for Customer bound to bank-iiop/Customer in CORBA naming service
| 11:41:18,870 ERROR [WebCL] failed finding class org.jboss.test.bankiiop.interfaces._AccountHome_Stub
| org.jboss.util.NestedRuntimeException: - nested throwable: (java.lang.ExceptionInInitializerError)
| at org.jboss.iiop.WebCL.findClass(WebCL.java:124)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
| at org.jboss.classloading.spi.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:81)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at org.jboss.web.WebServer.run(WebServer.java:379)
| at org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper.java:148)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.lang.ExceptionInInitializerError
| at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)11:41:17,981 INFO [bank-iiop/Customer] Home IOR for Customer bound to iiop/bank-iiop/Customer in JNP naming service
| at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
| at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
| at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
| at java.lang.Class.newInstance0(Class.java:350)
| at java.lang.Class.newInstance(Class.java:303)
| at org.jboss.iiop.WebCL.findClass(WebCL.java:120)
| ... 8 more
| Caused by: java.lang.IllegalStateException: BaseClassLoader at a8c265{vfsfile:/qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x-TestSuite-sun15/trunk/testsuite/output/lib/naming-restart.sar} classLoader is not connected to a domain (probably undeployed?) for class javax.ejb.EJBMetaData
| at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:579)
| at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:234)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
| at java.lang.Class.forName0(Native Method)
| at java.lang.Class.forName(Class.java:242)
| at org.jboss.iiop.rmi.marshal.CDRStream.readerFor(CDRStream.java:183)
| at org.jboss.iiop.rmi.marshal.strategy.StubStrategy.<init>(StubStrategy.java:175)
| at org.jboss.iiop.rmi.marshal.strategy.StubStrategy.forMethod(StubStrategy.java:115)
| at org.jboss.test.bankiiop.interfaces._AccountHome_Stub.$i1(Unknown Source)
| at org.jboss.test.bankiiop.interfaces._AccountHome_Stub.<clinit>(Unknown Source)
| ... 15 more
| 11:41:19,233 INFO [EjbModule] Undeployed Customer
| 11:41:19,234 INFO [EjbModule] Undeployed Teller
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127502#4127502
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127502
More information about the jboss-dev-forums
mailing list