0 Replies Latest reply on Sep 16, 2010 10:45 AM by Ian Mitchell

    Quickstart sendesb using Eclipse with ESB 4.8

    Ian Mitchell Newbie

      Hi,

       

      I am having problems (error below) trying to run the SendESBMessage quickstart test through eclipse (the SendJMSMessage works fine).

       

      I believe my issue is with my classpath which is included below.

       

      I am also wondering about this:  When I create a new ESB Project in eclipse, the "New ESB Project Wizard" provides a pull-down for the JBoss ESB version.  The problem is that the pull-down list provides versions 4.3 - 4.7 to choose from but I am using 4.8.  Does anyone see this as a major problem?

       

      Thanks folks!

      Ian

       

      Here is the Classpath:

       

      <?xml version="1.0" encoding="UTF-8"?>
      <classpath>
      <classpathentry kind="src" path="src"/>
      <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0_21">
        <attributes>
         <attribute name="owner.project.facets" value="jst.java"/>
        </attributes>
      </classpathentry>
      <classpathentry kind="con" path="org.jboss.esb.runtime.classpath/server.supplied/JBoss 6.0 Runtime 3"/>
      <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget/JBoss 6.0 Runtime 3"/>
      <classpathentry kind="lib" path="C:/JBOSS6/lib/endorsed/xercesImpl.jar"/>
      <classpathentry kind="lib" path="C:/JBOSS6/server/default/deploy/jbossesb-registry.sar/juddi-core-3.0.1.jar"/>
      <classpathentry kind="lib" path="C:/JBOSS6/server/default/deployers/esb.deployer/lib/commons-codec-1.3.jar"/>
      <classpathentry kind="lib" path="C:/JBOSS6/server/default/deployers/esb.deployer/lib/commons-configuration-1.5.jar"/>
      <classpathentry kind="lib" path="C:/JBOSS6/server/default/deployers/esb.deployer/lib/commons-lang-2.3.jar"/>
      <classpathentry kind="lib" path="C:/JBOSS6/server/default/deployers/esb.deployer/lib/jbossesb-config-model-1.0.1.jar"/>
      <classpathentry kind="lib" path="C:/JBOSS6/server/default/deployers/esb.deployer/lib/jbossesb-rosetta.jar"/>
      <classpathentry kind="lib" path="C:/JBOSS6/server/default/deployers/esb.deployer/lib/jbossts-common.jar"/>
      <classpathentry kind="lib" path="C:/JBOSS6/server/default/deployers/esb.deployer/lib/juddi-client-3.0.1.jar"/>
      <classpathentry kind="lib" path="C:/JBOSS6/server/default/deployers/esb.deployer/lib/uddi-ws-3.0.1.jar"/>
      <classpathentry kind="lib" path="C:/JBOSS6/server/default/deployers/esb.deployer/lib/wstx-asl-3.2.8.jar"/>
      <classpathentry kind="lib" path="C:/JBOSS6/server/default/deployers/esb.deployer/lib/xbean-2.2.0.jar"/>
      <classpathentry kind="output" path="build/classes"/>
      </classpath>

       

       

       

      and here is the error I am seeing when I run:

       

      log4j:WARN No appenders could be found for logger (org.jboss.soa.esb.services.registry.RegistryFactory).

      log4j:WARN Please initialize the log4j system properly.

      Exception in thread "main" org.jboss.soa.esb.listeners.message.MessageDeliverException: 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 ian.samples.hello.test.SendEsbMessage.main(SendEsbMessage.java:30)

      Caused by: org.jboss.soa.esb.services.registry.RegistryException: java.lang.reflect.InvocationTargetException

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

            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:226)

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

            ... 4 more

      Caused by: javax.xml.registry.JAXRException: java.lang.reflect.InvocationTargetException

            at org.apache.ws.scout.registry.BusinessQueryManagerImpl.findConcepts(BusinessQueryManagerImpl.java:542)

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

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

            ... 8 more