1- EJX and the server are on the same machine.
2- I'm using the default "run_with_tomcat.sh" script to start JBoss.
The only thing in the CLASSPATH is the JDK 1.3 rt.jar.
3- The only thing in the CLASSPATH for running EJX is the JDK 1.3 rt.jar.
4- I start EJX with the command: java -jar exj.jar
5- I copied everything from <jboss-install>/client into
<ejx-install>/lib/ext. This should include jta-spec, jboss-client and
jnp-client.
6- I use "localhost" for the server and I've tried everything I can
think of for the Home JNDI name.
Any other ideas?
++Jeff
Tobias Frech wrote:
> 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]
>
>
>
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]