8 Replies Latest reply on Aug 11, 2014 5:59 AM by Jboss developer developer

    please help

    Jboss developer developer Newbie

      Hi,

      I have problem in JBoss ESB to executing the program..

      whenver i execute helloworld program at that time the message is not displayed on console.Only i got in console  Connection started.

      please help

      Thanks in advanced

        • 1. Re: please help
          Tom Cunningham Master

          Can you give us some more information, like what version of JBoss AS you are using, what version of ESB you are using, what commands you are using to invoke the quickstart, and what JDK you are using?

           

          Thanks!

          • 2. Re: please help
            Jboss developer developer Newbie

            Thanks for your reply

            Using jboss-5.1.0.GA and jbossesb 4.11, JDK 6 and executing program through JBoss Developer studio.problem is can't find action class.Connection done properly but in console didn't get any message

             

            Thanks

            • 3. Re: please help
              Tom Cunningham Master

              Can you post the full stack trace?

              • 4. Re: please help
                Jboss developer developer Newbie

                I configure jboss-5.1.0 GA by this way

                P1.png

                I start server 5.1 and my stack trace is

                 

                P2.png

                 

                I Add and remove helloworld  program. After adding program stack trace is

                P3.png

                 

                I run SendJMSMessage.java and i got following output  P4.png

                but in Jboss 5.1 Runtime server's console i didn't get my sending message.

                P5.png

                 

                 

                Thanks

                • 5. Re: please help
                  Jboss developer developer Newbie

                  Hi,

                  I have another problem. I can't run SendEsbMessage.java I got following error

                   

                   

                  Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@5c1b96, cause: java.lang.AbstractMethodError: org.jboss.logging.log4j.Log4jLoggerPlugin.getInstance(Ljava/lang/String;Ljava/lang/String;)Lorg/jboss/logging/LoggerPluginInstance;

                  Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@a4ce0d, cause: java.lang.AbstractMethodError: org.jboss.logging.log4j.Log4jLoggerPlugin.getInstance(Ljava/lang/String;Ljava/lang/String;)Lorg/jboss/logging/LoggerPluginInstance;

                  Failed to initalize plugin: org.jboss.logging.log4j.Log4jLoggerPlugin@153dc23, cause: java.lang.AbstractMethodError: org.jboss.logging.log4j.Log4jLoggerPlugin.getInstance(Ljava/lang/String;Ljava/lang/String;)Lorg/jboss/logging/LoggerPluginInstance;

                  Exception in thread "main" org.jboss.soa.esb.listeners.message.MessageDeliverException: org.apache.ws.scout.transport.TransportException: java.lang.reflect.InvocationTargetException

                      at org.jboss.soa.esb.client.ServiceInvoker.loadServiceClusterInfo(ServiceInvoker.java:545)

                      at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:174)

                      at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:155)

                      at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:197)

                      at org.jboss.soa.esb.samples.chapter5.test.SendLockStepMessage.main(SendLockStepMessage.java:18)

                  Caused by: org.jboss.soa.esb.services.registry.RegistryException: org.apache.ws.scout.transport.TransportException: java.lang.reflect.InvocationTargetException

                      at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.findEPRs(JAXRRegistryImpl.java:358)

                      at org.jboss.internal.soa.esb.services.registry.InVMRegistryInterceptor.findEPRs(InVMRegistryInterceptor.java:85)

                      at org.jboss.soa.esb.services.registry.RegistryFactory$HeadRegistryInterceptor.findEPRs(RegistryFactory.java:229)

                      at org.jboss.soa.esb.listeners.RegistryUtil.getEprs(RegistryUtil.java:228)

                      at org.jboss.soa.esb.client.ServiceInvoker.loadServiceClusterInfo(ServiceInvoker.java:532)

                      ... 4 more

                  Caused by: javax.xml.registry.JAXRException: org.apache.ws.scout.transport.TransportException: java.lang.reflect.InvocationTargetException

                      at org.apache.ws.scout.registry.BusinessQueryManagerV3Impl.findConcepts(BusinessQueryManagerV3Impl.java:535)

                      at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.getJBossESBTModel(JAXRRegistryImpl.java:795)

                      at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.findEPRs(JAXRRegistryImpl.java:327)

                      ... 8 more

                   

                  I added these jars:

                  Using JBoss 5.1GA and jbossesb-4.11

                  commons-codec.jarjbossesb-config-model-1.0.1.jar
                  commons-collections-3.2.jarjbossesb-config-model-1.1.0.jar
                  commons-configuration-1.5.jarjbossesb-config-model-1.2.0.jar
                  commons-lang-2.4.jarjbossesb-config-model-1.3.0.jar
                  commons-logging-1.1.jarjbossesb-config-model-1.3.1.jar
                  concurrent.jarjbossesb-registry.jar
                  hornetq-core-client.jarjbossesb-rosetta.jar
                  hornetq-jms.jarjbossjmx-ant.jar
                  javassist-3.10.0.GA.jarjbossts-common.jar
                  jboss-aop-jdk50-1.5.6.GA.jarjuddi-client-3.1.3.jar
                  jboss-common-core.jarlog4j-1.2.14.jar
                  jboss-javaee.jarnetty.jar
                  jboss-logging-spi.jarscout-1.2.6.jar
                  jboss-messaging-client.jarserializer.jar
                  jboss-remoting.jartrove.jar
                  jbossall-client.jaruddi-ws-3.1.3.jar
                  • 6. Re: please help
                    Jboss developer developer Newbie

                    can any one help me?

                    • 7. Re: please help
                      Tom Cunningham Master

                      Hi,

                       

                      The first errors look like some mismatch in logging JARs - maybe you have multiple versions of jboss-logging on the classpath?     The second error looks incomplete - it says there is an InvocationTargetException, but I don't see what the root error was in the trace.   

                       

                      This project shows how you do it with JBoss ESB 4.8 :

                       

                      labs - Revision 38446: /labs/jbossesb/workspace/dbevenius/remote-service-invoker

                       

                      If you go through, if you check through and compare what's in JBoss ESB 4.11 and just update the JARs that need be, I think you should be okay.

                      1 of 1 people found this helpful
                      • 8. Re: please help
                        Jboss developer developer Newbie

                        Thank you.

                        Please give me solution of first problem

                        I have problem in JBoss ESB to executing the program..

                        whenver i execute helloworld program at that time the message is not displayed on console.Only i got in console  Connection started.

                        Using jboss-5.1.0.GA and jbossesb 4.11, JDK 6 and executing program through JBoss Developer studio