Hi folks,
I just downloaded the jBoss-2.0_Final.zip and installed it on Win2000, jdk
1.3, 256 MB ram.
For almost all of my beans I have the following problem:
- I can deploy the beans, but when I try to cast the home interface as in:
FooHome home =
               (FooHome)PortableRemoteObject.narrow(objref, FooHome.class);

I get the error printed below:
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)

Nothing is printed on the server output.
Any ideas?
Thanks in advance.
Regards,
Kamen.

Reply via email to