0 Replies Latest reply on May 26, 2006 1:54 PM by don1234

    Running mdb tutorial client

    don1234

      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