Hi Jeff!
Please make sure you have the same versions on the server and the client
side of your beans. Just to be sure have the same JDK versions on both
machines. Check your CLASSPATH. JBoss should be able to start with an
empty CLASSPATH. This way no other classes will interfere. Also only
include the following JARS into the CLASSPATH of the client:
client/ejb.jar
client/jndi.jar
client/jta-spec1_0_1.jar
client/jboss-client.jar
client/jnp-client.jar
Did something help ?
Good luck,
Tobias
Jeffrey Wescott wrote:
>
> When trying to run EJBench, I get the following error. It doesn't seem
> to matter _WHAT_ I putin for the JNDI name of the Home interface. For
> example: "java:/BeanName", "java:/BeanNameHome", "BeanName",
> "/BeanName", "BeanNameHome", "/BeanNameHome" and "thisisatest" all
> produce this error.
>
> javax.naming.CommunicationException: java.rmi.MarshalledObject. Root
> exception is java.lang.ClassCastException: java.rmi.MarshalledObject
> at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:508)
> at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:159)
> at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:152)
> at javax.naming.InitialContext.lookup(InitialContext.java:350)
> at com.dreambean.ejx.ejbench.Selector.connect(Selector.java:53)
> at java.lang.reflect.Method.invoke(Native Method)
> at
> com.dreambean.awt.GenericMethodDialog.actionPerformed(GenericMethodDialog.java:193)
>
> Any ideas?
>
> ++Jeff
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> List Help?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]