0 Replies Latest reply on Jan 16, 2003 8:16 AM by Mohan Krishna Reddy

    Unable to run PTP Clients on JBoss

    Mohan Krishna Reddy Newbie

      Hi All,
      The attached r the 2 files
      1.SimpleQueueReceiver.java and the other

      These r working fine under J2EE Server..but i am unable to run on JBoss.
      These r the steps i followed
      - compiled the classes
      - cretaed META-INF folder placed under
      - ejb-jar.xml,jboss.xml
      - created jar
      - jar was added deployed..

      NOTE : classpath was set to the requirements

      when run following exceptions were thrown
      - java mohan.SimpleQueueSender topic 2
      Queue name is topic
      Exception in thread "main"
      java.lang.ClassCastException: $Proxy0
      t mohan.SimpleQueueSender.main

      Where i am ctually going wrong.
      Thanks in advamce