Hi All,

I'm currently making some tests with 

-) jbossws.1.2.1.GA, 
-) Java5, Jboss-4.0.5-GA (EJB3 cluster) 

using a stateless ejb3 (deployed on Jboss-AS) as Webservice client towards a 
remote Webservice server based on a Sun SOA platform.

An external standalone-client call an EJB service, using the remote interface 
of the EJB, and:

-) If  the remote webservice is up I have no problem 
-) If the webservice is down than I have the exception below.

Of course an exception is expexted but here it seems that the AS is not able to 
recontruct the org.jboss.ws.WSException class.

Such a class is defined into the jbossws-client.jar and I did some tests 
putting such jar into the EJB jar or into the EAR, but nothing changed...

Does anybody have an explanation for this ?
Could be a class loader problem, I mean jbossws use a class loader that is 
different from the one used to load the EJB stuff and the serialized class 
could not be recontructed into the EJB scope since it has been serialized bu 
jbossws stuff ?

Thankx,
Marco


Buildfile: D:\develop\wfm\test\fwfaxprx\build.xml
prepare:
tstcompile:
    [javac] Compiling 1 source file to 
D:\develop\wfm\test\fwfaxprx\build\classes
run.client:
     [java] The connected device Kind is : FaxServer
     [java] Getting a random fax status
     [java] Exception in thread "main" 
java.lang.reflect.UndeclaredThrowableException
     [java] at $Proxy0.getItemSts(Unknown Source)
     [java] at com.siemens.fw.test.FwFaxPrxTest.main(FwFaxPrxTest.java:30)
     [java] Caused by: java.lang.ClassNotFoundException: 
org.jboss.ws.WSException
     [java] at java.net.URLClassLoader$1.run(Unknown Source)
     [java] at java.security.AccessController.doPrivileged(Native Method)
     [java] at java.net.URLClassLoader.findClass(Unknown Source)
     [java] at java.lang.ClassLoader.loadClass(Unknown Source)
     [java] at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
     [java] at java.lang.ClassLoader.loadClass(Unknown Source)
     [java] at 
org.jboss.remoting.loading.RemotingClassLoader.loadClass(RemotingClassLoader.java:50)
     [java] at 
org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.resolveClass(ObjectInputStreamWithClassLoader.java:139)
     [java] at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
     [java] at java.io.ObjectInputStream.readClassDesc(Unknown Source)
     [java] at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
     [java] at java.io.ObjectInputStream.readObject0(Unknown Source)
     [java] at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
     [java] at java.io.ObjectInputStream.readSerialData(Unknown Source)
     [java] at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
     [java] at java.io.ObjectInputStream.readObject0(Unknown Source)
     [java] at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
     [java] at java.io.ObjectInputStream.readSerialData(Unknown Source)
     [java] at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
     [java] at java.io.ObjectInputStream.readObject0(Unknown Source)
     [java] at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
     [java] at java.io.ObjectInputStream.readSerialData(Unknown Source)
     [java] at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
     [java] at java.io.ObjectInputStream.readObject0(Unknown Source)
     [java] at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
     [java] at java.io.ObjectInputStream.readSerialData(Unknown Source)
     [java] at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
     [java] at java.io.ObjectInputStream.readObject0(Unknown Source)
     [java] at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
     [java] at java.io.ObjectInputStream.readSerialData(Unknown Source)
     [java] at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
     [java] at java.io.ObjectInputStream.readObject0(Unknown Source)
     [java] at java.io.ObjectInputStream.readObject(Unknown Source)
     [java] at 
org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializationManager.java:128)
     [java] at 
org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:66)
     [java] at 
org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:279)
     [java] at 
org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
     [java] at org.jboss.remoting.Client.invoke(Client.java:525)
     [java] at org.jboss.remoting.Client.invoke(Client.java:488)
     [java] at 
org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:55)
     [java] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
     [java] at 
org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
     [java] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
     [java] at 
org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
     [java] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
     [java] at 
org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:77)
     [java] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
     [java] at 
org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:102)
     [java] ... 2 more
     [java] Java Result: 1
BUILD SUCCESSFUL
Total time: 3 seconds

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046234#4046234

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046234
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to