1 Reply Latest reply on Jun 9, 2012 7:33 PM by tcunning

    I am trying to create and deploy a new Action. I am getting java.lang.ClassNotFoundException.

    solomonjg

      Hello every one,

       

      I am using JBoss Development Studio 4.1.2.GA and JBoss-soa-p-5 to learn ESB.

       

      I am trying examples from JBoss ESB Beginner's Guide. The examples are working fine until I try to add a new action. Then I am getting ClassNotFoundException on deploying.

       

      Thank you,

      Solomon

       

       

       

       

       

        • 1. Re: I am trying to create and deploy a new Action. I am getting java.lang.ClassNotFoundException.
          tcunning

          What this is saying is it cannot find the class org.jboss.soa.esb.samples.chapter3.MyAction in your .esb package - when you package up your archive, do you have a JAR at the root containing this file?

           

          I'd look at the helloworld quickstart and what that contains and how it packages up the MyJMSListenerAction :

           

          bananastand:helloworld tcunning$ jar tvf build/Quickstart_helloworld.esb

               0 Fri Jun 08 09:59:06 EDT 2012 META-INF/

             107 Fri Jun 08 09:59:04 EDT 2012 META-INF/MANIFEST.MF

               0 Fri Jun 08 09:59:04 EDT 2012 org/

               0 Fri Jun 08 09:59:04 EDT 2012 org/jboss/

               0 Fri Jun 08 09:59:04 EDT 2012 org/jboss/soa/

               0 Fri Jun 08 09:59:04 EDT 2012 org/jboss/soa/esb/

               0 Fri Jun 08 09:59:04 EDT 2012 org/jboss/soa/esb/samples/

               0 Fri Jun 08 09:59:04 EDT 2012 org/jboss/soa/esb/samples/quickstart/

               0 Fri Jun 08 09:59:04 EDT 2012 org/jboss/soa/esb/samples/quickstart/helloworld/

               0 Fri Jun 08 09:59:04 EDT 2012 org/jboss/soa/esb/samples/quickstart/helloworld/test/

            1438 Fri Jun 08 09:59:04 EDT 2012 org/jboss/soa/esb/samples/quickstart/helloworld/MyJMSListenerAction.class

            1614 Fri Jun 08 09:59:04 EDT 2012 org/jboss/soa/esb/samples/quickstart/helloworld/test/SendEsbMessage.class

            2834 Fri Jun 08 09:59:04 EDT 2012 org/jboss/soa/esb/samples/quickstart/helloworld/test/SendJMSMessage.class

             273 Fri Jun 08 09:59:06 EDT 2012 META-INF/deployment.xml

            2279 Fri Jun 08 09:59:06 EDT 2012 META-INF/jboss-esb.xml

             428 Mon May 21 09:46:40 EDT 2012 hornetq-jms.xml