Hey
> Kamen wrote:
> I get the following exception ( with jBoss-2.0_FINAL.zip ) when the
> client executes:
> jndiContext.lookup("...");
>
> > java.lang.ClassCastException: java.rmi.MarshalledObject
> > at
> > org.jnp.interfaces.NamingContext.getServer(NamingContext.java:98)
> > at
> > org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:617)
> > at
> > org.jnp.interfaces.NamingContext.lookup(NamingContext.java:272)
> > at
> > org.jnp.interfaces.NamingContext.lookup(NamingContext.java:265)
> > at javax.naming.InitialContext.lookup(Unknown Source)
> > at AccountClient.main(AccountClient.java:14)
>
>
> I updated my jnp-client.jar from CVS but I still get the same
> exception.
> What else should I do?
Alright, I have now downloaded the JBoss 2.0 FINAL zip and installed it,
copied jnp-client.jar into a test client, and run the testclient. It
works great. No problemos whatsoever.
Furthermore, the stacktrace you refer to above is from old code. The
source code lines it refers to are no longer there. This means that you
are somehow using an old version of jnp-client.jar in your client. Check
your classpath please. Only use the jnp-client.jar that comes with the
JBoss download in /client.
regards,
Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]