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]

Reply via email to