Hi,
I'm trying to run the mdb tutorial client in jboss-EJB-3.0_RC7-FD.
This is after building and deploying in docs\tutorial\mdb\
The mdb is deployed in the server.

I played around with putting jars into the CLASSPATH and have gotten rid of 
many exceptions. 
I still get a 
Exception in thread "main" java.lang.ClassCastException: javax.naming.Reference
        at org.jboss.tutorial.mdb.client.Client.main(Client.java:40)


Command line is:
C:\Projects\jboss\jboss-EJB-3.0_RC7-FD\docs\tutorial\mdb\build\classes>java 
-classpath 
.\;C:\Projects\jboss\jboss-4.0.4.GA\client\jboss-j2ee.jar;C:\Projects\jboss\jboss-4.0.4.GA\client\jnp-client.jar;C:\Projects\jboss\jboss-4.0.4.GA\client\jboss-client.jar;C:\Projects\jboss\jboss-4.0.4.GA\client\commons-logging.jar;C:\Projects\jboss\jboss-4.0.4.GA\client\jboss-common-client.jar
 org.jboss.tutorial.mdb.client.Client

Thanks in advance,
Don



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946950#3946950

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946950


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to