Not sure what you're referring to.  I'm working with a 10/17/00 CVS
snapshot that I built. I'm using the jboss-client.jar from
<jboss-home>\client\jboss-client.jar that was built with
build.bat/build.xml. Should I use some other jboss-client.jar?

Thanks,

Rick

marc fleury wrote:
> 
> it's a problem with the local proxy update the jboss-client.jar everywhere
> (from the jboss build)...
> 
> marc
> 
> |-----Original Message-----
> |From: [EMAIL PROTECTED]
> |[mailto:[EMAIL PROTECTED]]On Behalf Of Rick Horowitz
> |Sent: Sunday, October 22, 2000 4:15 PM
> |To: jBoss User
> |Subject: [jBoss-User] Standalone client exception
> |
> |
> |I've run the hellotest initiated from a servlet using Tomcat with no
> |problems, but have run into a problem trying the same test from a
> |standalone application.
> |
> |I'm running in JBuilder with jdk 1.3 and have the following setup:
> |
> |Classpath: jboss-client.jar, jnp-client.jar, ejb.jar, jta-spec1_0_1.jar,
> |hellotest.jar, <jboss_home>\dist\conf
> |
> |In the client app, I create an instance of
> |org.jboss.test.hello.test.Main and call the testHello() method.
> |
> |The home proxy is retrieved correctly by:
> |
> |      HelloHome home = (HelloHome)new
> |InitialContext().lookup(HelloHome.JNDI_NAME);
> |
> |When the next statement in testHello() runs:
> |      Hello hello = home.create();
> |I get an exception (shown below)...
> |
> |java.lang.reflect.UndeclaredThrowableException:
> |java.io.InvalidClassException:
> |org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy; Local class
> |not compatible: stream classdesc serialVersionUID=-2949603522167897280
> |local class serialVersionUID=8710816667462882570
> |
> |       at java.io.ObjectInputStream.readObject(ObjectInputStream.java:477)
> |
> |       at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
> |
> |       at java.rmi.MarshalledObject.get(MarshalledObject.java:138)
> |
> |       at
> |org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:221)
> |
> |       at $Proxy0.create(Unknown Source)
> |
> |       at org.jboss.test.hello.test.Main.testHello(Main.java:48)
> |
> |       at
> |com.ejbpeople.client.StandaloneClient.runHelloTest(StandaloneClient
> |.java:24)
> |
> |       at
> |com.ejbpeople.client.StandaloneClient.<init>(StandaloneClient.java:17)
> |
> |       at
> |com.ejbpeople.client.StandaloneClient.main(StandaloneClient.java:34)
> |
> |I tracked the execution path through the server. Everything works
> |correctly through the server, including the creation of the EJBObject
> |proxy object by
> |
> |org.jboss.ejb.plugins.jrmp13.server.JRMPContainerInvoker.getEntityE
> |JBObject().
> |
> |I believe the problem occurs when trying to unmarshall the returned
> |proxy object. According to the trace, it appears the the problem is with
> |the proxy's invocation handler, StatelessSessionProxy.
> |
> |Thanks for any help,
> |
> |Rick Horowitz
> |
> |
> |--
> |--------------------------------------------------------------
> |To subscribe:        [EMAIL PROTECTED]
> |To unsubscribe:      [EMAIL PROTECTED]
> |Problems?:           [EMAIL PROTECTED]
> |
> |
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to