[Installation, Configuration & DEPLOYMENT] - Re: Cannot fully start jboss server 4.2.0. on centos 5.2
by jaikiran
"jurerai" wrote : Could this be the reason that jboss could not start or should we look elsewhere?
|
| Thank you,
|
| Jure
I don't think that should stop the server from starting. Moreover, you mentioned that the server is accessible through the http request. So the server is up and your application probably is running into errors:anonymous wrote :
|
| Exception in thread "Session pool worker" java.lang.NullPointerException
| at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:623)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:467)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
| at com.documentum.fc.client.impl.session.Session.disconnect(Session.java:237)
| at com.documentum.fc.client.impl.session.SessionPool.disconnectSessions(SessionPool.java:111)
| at com.documentum.fc.client.impl.session.SessionPool.flush(SessionPool.java:134)
| at com.documentum.fc.client.impl.session.SessionPool.flushAllPools(SessionPool.java:190)
| at com.documentum.fc.client.impl.session.SessionPool$ExpirationThread.run(SessionPool.java:246)
The com.documentum.fc.client.impl.session.Session.disconnect is trying to load some class which is resulting in the NullPointerException. You will have to debug that piece of code.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197092#4197092
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197092
17 years, 6 months
[JBossWS] - jboss ws + java.lang.NoClassDefFoundError: com/sun/xml/messa
by rodosa
Hello!!!
I'm a problem with WS! I'm using Jboss 4.0.5 and jdk1.6. I've created a Junit file that call to my simply web service, but when invoke to the webMethod ... the following exception it's thrown:
| java.lang.NoClassDefFoundError: com/sun/xml/messaging/saaj/soap/AttachmentPartImpl
| at com.sun.xml.ws.message.AttachmentUnmarshallerImpl.<clinit>(AttachmentUnmarshallerImpl.java:55)
| at com.sun.xml.ws.client.sei.ResponseBuilder$DocLit.readResponse(ResponseBuilder.java:500)
| at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:242)
| at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:210)
| at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:103)
| at $Proxy25.hola(Unknown Source)
| at Prueba2.testMain(Prueba2.java:22)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at junit.framework.TestCase.runTest(TestCase.java:164)
| at junit.framework.TestCase.runBare(TestCase.java:130)
| at junit.framework.TestResult$1.protect(TestResult.java:106)
| at junit.framework.TestResult.runProtected(TestResult.java:124)
| at junit.framework.TestResult.run(TestResult.java:109)
| at junit.framework.TestCase.run(TestCase.java:120)
| at junit.framework.TestSuite.runTest(TestSuite.java:230)
| at junit.framework.TestSuite.run(TestSuite.java:225)
| at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
| at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
| Caused by: java.lang.ClassNotFoundException: com.sun.xml.messaging.saaj.soap.AttachmentPartImpl
| at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
| at java.security.AccessController.doPrivileged(Native Method)
| at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
| at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
| at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
| ... 25 more
|
But I don't know why, because this class is in rt.jar of jdk 6. In the remote server ( where it's allocated the ws ) it been executed fine. The problem is when the response come back.
Any ideas to fix this??? Thanks in advance
PD: I've following the instructions of http://jbossws.jboss.org/mediawiki/index.php?title=Install_JBossWS to build my WS.
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197076#4197076
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197076
17 years, 6 months