2 Replies Latest reply on Oct 20, 2006 6:58 AM by marklittle

    How to start jbossesb?

    jinmyliao

      recently,i have down the jbossesb-4.0Beta1MP1,and installed it.
      but when i run the example of TestJBossESB,the exception appearance is :
      whether my install have error,how can i get a simple document to get start? thank you.

      ----------------------------------------

      C:\Document\java\jbossesb\jbossesb-4.0Beta1MP1\docs\samples\TestJBossESB>SET ESB
      _HOME=C:\Document\java\jbossesb\jbossesb-4.0Beta1MP1

      C:\Document\java\jbossesb\jbossesb-4.0Beta1MP1\docs\samples\TestJBossESB>SET JBO
      SS_HOME=D:\App\jboss-4.0.4.GA

      C:\Document\java\jbossesb\jbossesb-4.0Beta1MP1\docs\samples\TestJBossESB>java -c
      p C:\Document\java\jbossesb\jbossesb-4.0Beta1MP1/build/dist/lib/jbossesb-service
      s.jar;C:\Document\java\jbossesb\jbossesb-4.0Beta1MP1/build/dist/lib/jbossesb-com
      mon.jar;C:\Document\java\jbossesb\jbossesb-4.0Beta1MP1/build/dist/lib/jbossesb-l
      isteners.jar;D:\App\jboss-4.0.4.GA/client/jbossall-client.jar;D:\App\jboss-4.0.4
      .GA/client/log4j.jar;D:\App\jboss-4.0.4.GA/client/jboss-aspect-jdk50-client.jar;
      D:\App\jboss-4.0.4.GA/client/jboss-aop-jdk50-client.jar;D:\App\jboss-4.0.4.GA/cl
      ient/jboss-ejb3-client.jar;. org.jboss.soa.esb.listeners.GpListener paramsDir/Fi
      leMoverConfigExample.xml
      09:02:00,375 INFO ParamFileRepository:62 - Setting parameter repository root di
      r to [C:\Document\java\jbossesb\jbossesb-4.0Beta1MP1\docs\samples\TestJBossESB\.
      ].
      09:02:00,781 ERROR GpListener:328 - Cannot launch <org.jboss.soa.esb.listeners.D
      irectoryPoller>

      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
      orAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
      onstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      at org.jboss.soa.esb.listeners.GpListener.tryToLaunchChildListener(GpLis
      tener.java:323)
      at org.jboss.soa.esb.listeners.GpListener.run(GpListener.java:279)
      at org.jboss.soa.esb.listeners.GpListener.main(GpListener.java:67)
      Caused by: java.lang.Exception: Directory C:\de\jbossesb\product\docs\samples\Te
      stJBossESB\inputDir not found
      at org.jboss.soa.esb.listeners.DirectoryPoller.seeIfOkToWorkOnDir(Direct
      oryPoller.java:148)
      at org.jboss.soa.esb.listeners.DirectoryPoller.checkMyParms(DirectoryPol
      ler.java:98)
      at org.jboss.soa.esb.listeners.DirectoryPoller.(DirectoryPoller.ja
      va:48)
      ... 7 more
      09:03:00,609 INFO GpListener:290 - Reloading parameters _______________________
      ______________________________
      09:03:00,703 ERROR GpListener:328 - Cannot launch <org.jboss.soa.esb.listeners.D
      irectoryPoller>

      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
      orAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
      onstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      at org.jboss.soa.esb.listeners.GpListener.tryToLaunchChildListener(GpLis
      tener.java:323)
      at org.jboss.soa.esb.listeners.GpListener.run(GpListener.java:279)
      at org.jboss.soa.esb.listeners.GpListener.main(GpListener.java:67)
      Caused by: java.lang.Exception: Directory C:\de\jbossesb\product\docs\samples\Te
      stJBossESB\inputDir not found
      at org.jboss.soa.esb.listeners.DirectoryPoller.seeIfOkToWorkOnDir(Direct
      oryPoller.java:148)
      at org.jboss.soa.esb.listeners.DirectoryPoller.checkMyParms(DirectoryPol
      ler.java:98)
      at org.jboss.soa.esb.listeners.DirectoryPoller.(DirectoryPoller.ja
      va:48)
      ... 7 more

        • 1. Re: How to start jbossesb?
          tfennelly

          Hi Jinmy. There are a number of guides (PDFs) in the distribution, one of which is a Getting Started Guide. Might try checking that out.

          As for the actual error you posted, it looks as though the "inputDirURI" config in the ".../TestJBossESB/paramsDir/FileMoverConfigExample.xml" is wrong. In the version of the ESB you downloaded, this parameter must be a valid URI. Also, the back-slashes are probably causing you trouble too.

          Current Setting:
          C:\de\jbossesb\product\docs\samples\TestJBossESB\inputDir

          Try:
          file:/C:/de/jbossesb/product/docs/samples/TestJBossESB/inputDir

          • 2. Re: How to start jbossesb?
            marklittle

            Please take user queries to the User Forum. Thanks.