1 2 Previous Next 19 Replies Latest reply: Nov 25, 2013 9:43 AM by Tom Cunningham RSS

JBoss HelloWorld Sample

Kumar Ponmaheswaran Newbie

When i am running HelloWorld Example from quickstarts in eclipse, I am facing problem.I am not able to see any output in the console eventhough server is started.Please give me some solution.

 

When I am deploying through command prompt(ant deploy),I am getting following error.

 

Buildfile: E:\JBoss-FIles\jbossesb-4.10\jbossesb-4.10\samples\quickstarts\hellow

orld_action\build.xml

check-jbossesb-dist:

qslib-dependencies:

non-qslib-dependencies:

jbossesb-quickstart-override:

jbossesb-source-dependencies:

 

BUILD FAILED

E:\JBoss-FIles\jbossesb-4.10\jbossesb-4.10\samples\quickstarts\conf\base-build.x

ml:347: Cannot determine target deployment, please check quickstarts.properties

or deployment.properties

 

 

Total time: 0 seconds

 

We have seen some links and blogs regarding this issue,but we are not able to follow those steps.Please explain clearly.

Thanks in advance.

 

Mahes

  • 1. Re: JBoss HelloWorld Sample
    Len DiMaggio Apprentice

    Hi Kumar,

     

    Can you provide more details on the steps that you are taking?

     

    1) Did you import the helloworld example from /samples/quickstarts into eclipse?

     

    2) Or, are you using an ESB example structured for eclipse such as those available from JBoss Tools: http://www.jboss.org/tools - note that the directory structure is somewhat different from the quickstarts as packaged with the ESB distribution - you can see this if you either create a new ESB project in eclipse.

     

    3) Have you modified - quickstarts.properties - to ;match your server configuration?

     

    4) Have you been able to successfuly deploy and fun helloworld outside of eclipse?

     

     

    Let me know!

     

    --Len

  • 2. Re: JBoss HelloWorld Sample
    Kumar Ponmaheswaran Newbie

    Thanks for your reply.

     

    I have taken the sample from JBoss Tools-Project Samples which is inside eclipse.

    Ya,I have modified quickstart.properties under ESB-source/samples/quickstart as below.

    ##############################################################################################

    #

    # Environment specific properties for executing the quickstarts.

    #

    ##############################################################################################

    # Location of your JBoss Application Server installation.

    # Will override the same property name from install/deployment.properties

    #org.jboss.esb.server.home=${product.dir}/build/jbossesb-server-4.6

    org.jboss.esb.server.home= E:/JBoss-FIles/jbossesb-server-4.10/jbossesb-server-4.10

     

     

    # JBossAS server name. If not set defaults to 'default'

    # Will override the same property name from install/deployment.properties

    org.jboss.esb.server.config=all

     

     

    # jBPM console security credentials (if org.jboss.esb.server.config=production)

    #jbpm.console.username=admin

    #jbpm.console.password=admin

     

     

     

     

    # If you are running the ftp tests then you must complete the following

    jbossesb.ftp.hostname=

    jbossesb.ftp.username=

    jbossesb.ftp.password=

    jbossesb.ftp.directory=

     

    I have tried outside("ant deploy" in command prompt) but i am not able to deploy.

    Build failed error i am getting and in eclipse, server is running but i am not able to see the output in the console.any deployment is needed?

     

    Mahes

  • 3. Re: JBoss HelloWorld Sample
    Len DiMaggio Apprentice

    Hi Kumar,

     

    Let's take one thing at a time.   ;-)

     

    Running the quickstart outside of eclipse may be the easiest. You said that you encountered an error with this. What was the exact error?

     

     

    -- Len

  • 4. Re: JBoss HelloWorld Sample
    Len DiMaggio Apprentice

    You might also find this new book useful:   http://www.packtpub.com/jboss-esb-beginners-guide/book

     

    It covers what you are trying to do in great detail.

  • 5. Re: JBoss HelloWorld Sample
    Kumar Ponmaheswaran Newbie

    Thanks for your reply.Now i have changed the server home path and i am getting the output through command prompt.But in the eclipse i am not able to see the ouput in the console.Please tell me the exact procedure to deploy,build and run in the eclipse.

     

    Thanks,

    Mahes

  • 6. Re: JBoss HelloWorld Sample
    Len DiMaggio Apprentice

    The issue is that the deployed .esb requires a different directory structure from what you see in the quickstart source. The Ant build.xml script takes care of this for you when you run 'ant deploy.'

     

     

     

    Take a look at the contents of the .esb:

     

    jar -tvf Quickstart_helloworld.esb
         0 Thu Feb 09 12:49:40 EST 2012 META-INF/
       102 Thu Feb 09 12:49:38 EST 2012 META-INF/MANIFEST.MF
         0 Thu Feb 09 12:49:38 EST 2012 org/
         0 Thu Feb 09 12:49:38 EST 2012 org/jboss/
         0 Thu Feb 09 12:49:38 EST 2012 org/jboss/soa/
         0 Thu Feb 09 12:49:38 EST 2012 org/jboss/soa/esb/
         0 Thu Feb 09 12:49:38 EST 2012 org/jboss/soa/esb/samples/
         0 Thu Feb 09 12:49:38 EST 2012 org/jboss/soa/esb/samples/quickstart/
         0 Thu Feb 09 12:49:38 EST 2012 org/jboss/soa/esb/samples/quickstart/helloworld/
         0 Thu Feb 09 12:49:38 EST 2012 org/jboss/soa/esb/samples/quickstart/helloworld/test/
      1438 Thu Feb 09 12:49:38 EST 2012 org/jboss/soa/esb/samples/quickstart/helloworld/MyJMSListenerAction.class
      1614 Thu Feb 09 12:49:38 EST 2012 org/jboss/soa/esb/samples/quickstart/helloworld/test/SendEsbMessage.class
      2834 Thu Feb 09 12:49:38 EST 2012 org/jboss/soa/esb/samples/quickstart/helloworld/test/SendJMSMessage.class
       295 Thu Feb 09 12:49:38 EST 2012 META-INF/deployment.xml
      2279 Thu Feb 09 12:49:38 EST 2012 META-INF/jboss-esb.xml
       776 Tue Nov 08 17:14:18 EST 2011 jbm-queue-service.xml
    

     

     

     

    Notice how the deployment and jboss-esb files are in the META-INF directory? You will need to do the same for any applications that you build and deploy and run in eclipse.

     

    But!

     

    There's an easier way - install JBoss Tools into eclipse and you can quickly install several ESB examples that are based on the quickstarts - and already have the correct dir structure.

     

    Did I mention this book?  You might find it helpful too.  ;-)

     

    http://www.packtpub.com/jboss-esb-beginners-guide/book

  • 7. Re: JBoss HelloWorld Sample
    Kumar Ponmaheswaran Newbie

    Thanks for your reply.

     

    Ya I am doing the same what you have mentioned above.I have installed Jboss tools plugin and i have imported project examples under Help menu.When i am running that sample by right click on the application and run on the jboss server and server is succesfully started but i am not able to see any output.Here in this  there is no build.xml file.Build folder is empty.Is it the problem?

     

    Any different method to run the application in eclipse?

     

    Thanks

    Kumar

  • 8. Re: JBoss HelloWorld Sample
    Len DiMaggio Apprentice

    Hi Kumar,

     

    The examples in eclipse run a bit differently from the quickstarts distributed with JBossESB. Did you notice that there is a helloworld client? After you deploy the quickstart to the server, you must then run the client to invoke the deployed service.

     

    -- Len

  • 9. Re: JBoss HelloWorld Sample
    Kumar Ponmaheswaran Newbie

    Thanks Len.

     

    When I am trying to run the client application,I am not getting any option to run on the server.

    Two options that i am getting are Run as Applet  and Run as java application.

     

    what is the procedure to run the client?

     

    There is an option like mark as deployable when we right click on the application.Is it enough to deploy an application or is there any other way to deploy?

     

    Do we have to deploy and run only the application or only jboss-esb.xml

     

     

    Mahes Kumar

  • 10. Re: JBoss HelloWorld Sample
    le cesta Newbie

    Hi Len,

     

     

    I am trying to run quickstart examples, I had imported entire Helloworld example available with Jboss-esbServer.

     

    While running thaose programs, I am getting below exceptions on console.

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    17:53:46,830 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 43s:809ms

    17:53:51,831 INFO [JBoss4ESBDeployer] create esb service, Helloworld.esb

    17:53:51,839 INFO [JBoss4ESBDeployer] create esb service, helloworld_sql_action.esb

    17:53:51,870 INFO [InquiryHelper] uddi:juddi.apache.org:85505d78-28bd-47cf-97a6-5e1e7cdc2c3d is modified Thu Feb 16 12:44:37 IST 2012 1329376477431

    17:53:51,951 INFO [InquiryHelper] uddi:juddi.apache.org:85505d78-28bd-47cf-97a6-5e1e7cdc2c3d is modified Thu Feb 16 17:53:51 IST 2012 1329395031885

    17:53:51,993 ERROR [ExceptionUtil] SessionEndpoint[41-il7hrpyg-1-guegrpyg-huaaql-s2q3qs4] createQueue [51-ll7hrpyg-1-guegrpyg-huaaql-s2q3qs4]

    javax.jms.JMSException

     

     

    : There is no administratively defined queue with name:queue/quickstart_helloworld_Request_gw

    at org.jboss.jms.server.endpoint.ServerSessionEndpoint.createQueue(

    ServerSessionEndpoint.java:299

    )

    at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$createQueue$aop(

    SessionAdvised.java:105

    )

    at org.jboss.jms.server.endpoint.advised.SessionAdvised$createQueue_6431069199924553036.invokeNext(SessionAdvised$createQueue_6431069199924553036.java)

    at org.jboss.jms.server.container.ServerLogInterceptor.invoke(

    ServerLogInterceptor.java:105

    )

    at org.jboss.jms.server.endpoint.advised.SessionAdvised$createQueue_6431069199924553036.invokeNext(SessionAdvised$createQueue_6431069199924553036.java)

    at org.jboss.jms.server.endpoint.advised.SessionAdvised.createQueue(SessionAdvised.java)

    at org.jboss.jms.wireformat.SessionCreateQueueRequest.serverInvoke(

    SessionCreateQueueRequest.java:74

    )

    at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(

    JMSServerInvocationHandler.java:157

    )

    at org.jboss.remoting.ServerInvoker.invoke(

    ServerInvoker.java:862

    )

    at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(

    LocalClientInvoker.java:101

    )

    at org.jboss.remoting.Client.invoke(

    Client.java:1925

    )

    at org.jboss.remoting.Client.invoke(

    Client.java:786

    )

    at org.jboss.remoting.Client.invoke(

    Client.java:774

    )

    at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(

    DelegateSupport.java:189

    )

    at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(

    DelegateSupport.java:160

    )

    at org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$client$delegate$ClientSessionDelegate$createQueue$aop(

    ClientSessionDelegate.java:319

    )

    at org.jboss.jms.client.delegate.ClientSessionDelegate$createQueue_6431069199924553036.invokeNext(ClientSessionDelegate$createQueue_6431069199924553036.java)

    at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(

    FailoverValveInterceptor.java:92

    )

    at org.jboss.aop.advice.PerInstanceInterceptor.invoke(

    PerInstanceInterceptor.java:105

    )

    at org.jboss.jms.client.delegate.ClientSessionDelegate$createQueue_6431069199924553036.invokeNext(ClientSessionDelegate$createQueue_6431069199924553036.java)

    at org.jboss.jms.client.container.ClosedInterceptor.invoke(

    ClosedInterceptor.java:170

    )

    at org.jboss.aop.advice.PerInstanceInterceptor.invoke(

    PerInstanceInterceptor.java:105

    )

    at org.jboss.jms.client.delegate.ClientSessionDelegate$createQueue_6431069199924553036.invokeNext(ClientSessionDelegate$createQueue_6431069199924553036.java)

    at org.jboss.jms.client.delegate.ClientSessionDelegate.createQueue(ClientSessionDelegate.java)

    at org.jboss.jms.client.JBossSession.createQueue(

    JBossSession.java:250

    )

    at org.jboss.internal.soa.esb.rosetta.pooling.WrappedSession.createQueue(

    WrappedSession.java:294

    )

    at org.jboss.internal.soa.esb.rosetta.pooling.JmsSession.createQueue(

    JmsSession.java:282

    )

    at org.jboss.soa.esb.listeners.gateway.JmsGatewayListener.prepareMessageReceiver(

    JmsGatewayListener.java:433

    )

    at org.jboss.soa.esb.listeners.gateway.JmsGatewayListener.doInitialise(

    JmsGatewayListener.java:114

    )

    at org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle.initialise(

    AbstractManagedLifecycle.java:133

    )

    at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.initialiseInstances(

    ManagedLifecycleController.java:109

    )

    at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.start(

    ManagedLifecycleController.java:66

    )

    at org.jboss.soa.esb.listeners.config.JBoss4ESBDeployment.startService(

    JBoss4ESBDeployment.java:228

    )

    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(

    ServiceMBeanSupport.java:289

    )

    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(

    ServiceMBeanSupport.java:245

    )

    at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(

    ReflectedDispatcher.java:155

    )

    at org.jboss.mx.server.Invocation.dispatch(

    Invocation.java:94

    )

    at org.jboss.mx.server.Invocation.invoke(

    Invocation.java:86

    )

    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(

    AbstractMBeanInvoker.java:264

    )

    at org.jboss.mx.server.MBeanServerImpl.invoke(

    MBeanServerImpl.java:659

    )

    at org.jboss.system.ServiceController$ServiceProxy.invoke(

    ServiceController.java:978

    )

    at $Proxy0.start(Unknown Source)

    at org.jboss.system.ServiceController.start(

    ServiceController.java:417

    )

    at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(

    ReflectedDispatcher.java:155

    )

    at org.jboss.mx.server.Invocation.dispatch(

    Invocation.java:94

    )

    at org.jboss.mx.server.Invocation.invoke(

    Invocation.java:86

    )

    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(

    AbstractMBeanInvoker.java:264

    )

    at org.jboss.mx.server.MBeanServerImpl.invoke(

    MBeanServerImpl.java:659

    )

    at org.jboss.mx.util.MBeanProxyExt.invoke(

    MBeanProxyExt.java:210

    )

    at $Proxy26.start(Unknown Source)

    at org.jboss.soa.esb.listeners.config.JBoss4ESBDeployer.start(

    JBoss4ESBDeployer.java:402

    )

    at org.jboss.deployment.MainDeployer.start(

    MainDeployer.java:1025

    )

    at org.jboss.deployment.MainDeployer.start(

    MainDeployer.java:1015

    )

    at org.jboss.deployment.MainDeployer.deploy(

    MainDeployer.java:819

    )

    at org.jboss.deployment.MainDeployer.deploy(

    MainDeployer.java:782

    )

    at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(

    ReflectedDispatcher.java:155

    )

    at org.jboss.mx.server.Invocation.dispatch(

    Invocation.java:94

    )

    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(

    AbstractInterceptor.java:133

    )

    at org.jboss.mx.server.Invocation.invoke(

    Invocation.java:88

    )

    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(

    ModelMBeanOperationInterceptor.java:142

    )

    at org.jboss.mx.server.Invocation.invoke(

    Invocation.java:88

    )

    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(

    AbstractMBeanInvoker.java:264

    )

    at org.jboss.mx.server.MBeanServerImpl.invoke(

    MBeanServerImpl.java:659

    )

    at org.jboss.mx.util.MBeanProxyExt.invoke(

    MBeanProxyExt.java:210

    )

    at $Proxy9.deploy(Unknown Source)

    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(

    URLDeploymentScanner.java:421

    )

    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(

    URLDeploymentScanner.java:634

    )

    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(

    AbstractDeploymentScanner.java:263

    )

    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(

    AbstractDeploymentScanner.java:274

    )

    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(

    AbstractDeploymentScanner.java:225

    )

    17:53:51,998 INFO [InquiryHelper] uddi:juddi.apache.org:85505d78-28bd-47cf-97a6-5e1e7cdc2c3d is modified Thu Feb 16 17:53:51 IST 2012 1329395031885

    17:53:52,028 ERROR [RequestHandler] obj+parameter+must+not+be+null

    17:53:52,071 ERROR [RequestHandler] The+binding+template+was+not+found+for+the+given+key%3A++uddi%3Ajuddi.apache.org%3Ababd2c5f-5c9b-4bde-b4f2-4da41683582b

    17:53:52,074 WARN [ServiceController] Problem starting service jboss.esb:deployment=Helloworld.esb

    org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleException

     

     

    : Unexpected JMS error from prepareMessageReceiver

    at org.jboss.soa.esb.listeners.gateway.JmsGatewayListener.doInitialise(

    JmsGatewayListener.java:122

    )

    at org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle.initialise(

    AbstractManagedLifecycle.java:133

    )

    at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.initialiseInstances(

    ManagedLifecycleController.java:109

    )

    at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.start(

    ManagedLifecycleController.java:66

    )

    at org.jboss.soa.esb.listeners.config.JBoss4ESBDeployment.startService(

    JBoss4ESBDeployment.java:228

    )

    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(

    ServiceMBeanSupport.java:289

    )

    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(

    ServiceMBeanSupport.java:245

    )

    at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(

    ReflectedDispatcher.java:155

    )

    at org.jboss.mx.server.Invocation.dispatch(

    Invocation.java:94

    )

    at org.jboss.mx.server.Invocation.invoke(

    Invocation.java:86

    )

    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(

    AbstractMBeanInvoker.java:264

    )

    at org.jboss.mx.server.MBeanServerImpl.invoke(

    MBeanServerImpl.java:659

    )

    at org.jboss.system.ServiceController$ServiceProxy.invoke(

    ServiceController.java:978

    )

    at $Proxy0.start(Unknown Source)

    at org.jboss.system.ServiceController.start(

    ServiceController.java:417

    )

    at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(

    ReflectedDispatcher.java:155

    )

    at org.jboss.mx.server.Invocation.dispatch(

    Invocation.java:94

    )

    at org.jboss.mx.server.Invocation.invoke(

    Invocation.java:86

    )

    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(

    AbstractMBeanInvoker.java:264

    )

    at org.jboss.mx.server.MBeanServerImpl.invoke(

    MBeanServerImpl.java:659

    )

    at org.jboss.mx.util.MBeanProxyExt.invoke(

    MBeanProxyExt.java:210

    )

    at $Proxy26.start(Unknown Source)

    at org.jboss.soa.esb.listeners.config.JBoss4ESBDeployer.start(

    JBoss4ESBDeployer.java:402

    )

    at org.jboss.deployment.MainDeployer.start(

    MainDeployer.java:1025

    )

    at org.jboss.deployment.MainDeployer.start(

    MainDeployer.java:1015

    )

    at org.jboss.deployment.MainDeployer.deploy(

    MainDeployer.java:819

    )

    at org.jboss.deployment.MainDeployer.deploy(

    MainDeployer.java:782

    )

    at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(

    ReflectedDispatcher.java:155

    )

    at org.jboss.mx.server.Invocation.dispatch(

    Invocation.java:94

    )

    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(

    AbstractInterceptor.java:133

    )

    at org.jboss.mx.server.Invocation.invoke(

    Invocation.java:88

    )

    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(

    ModelMBeanOperationInterceptor.java:142

    )

    at org.jboss.mx.server.Invocation.invoke(

    Invocation.java:88

    )

    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(

    AbstractMBeanInvoker.java:264

    )

    at org.jboss.mx.server.MBeanServerImpl.invoke(

    MBeanServerImpl.java:659

    )

    at org.jboss.mx.util.MBeanProxyExt.invoke(

    MBeanProxyExt.java:210

    )

    at $Proxy9.deploy(Unknown Source)

    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(

    URLDeploymentScanner.java:421

    )

    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(

    URLDeploymentScanner.java:634

    )

    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(

    AbstractDeploymentScanner.java:263

    )

    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(

    AbstractDeploymentScanner.java:274

    )

    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(

    AbstractDeploymentScanner.java:225

    )

    Caused by:

    javax.jms.JMSException

    : There is no administratively defined queue with name:queue/quickstart_helloworld_Request_gw

    at org.jboss.jms.server.endpoint.ServerSessionEndpoint.createQueue(

    ServerSessionEndpoint.java:299

    )

    at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$createQueue$aop(

    SessionAdvised.java:105

    )

    at org.jboss.jms.server.endpoint.advised.SessionAdvised$createQueue_6431069199924553036.invokeNext(SessionAdvised$createQueue_6431069199924553036.java)

    at org.jboss.jms.server.container.ServerLogInterceptor.invoke(

    ServerLogInterceptor.java:105

    )

    at org.jboss.jms.server.endpoint.advised.SessionAdvised$createQueue_6431069199924553036.invokeNext(SessionAdvised$createQueue_6431069199924553036.java)

    at org.jboss.jms.server.endpoint.advised.SessionAdvised.createQueue(SessionAdvised.java)

    at org.jboss.jms.wireformat.SessionCreateQueueRequest.serverInvoke(

    SessionCreateQueueRequest.java:74

    )

    at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(

    JMSServerInvocationHandler.java:157

    )

    at org.jboss.remoting.ServerInvoker.invoke(

    ServerInvoker.java:862

    )

    at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(

    LocalClientInvoker.java:101

    )

    at org.jboss.remoting.Client.invoke(

    Client.java:1925

    )

    at org.jboss.remoting.Client.invoke(

    Client.java:786

    )

    at org.jboss.remoting.Client.invoke(

    Client.java:774

    )

    at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(

    DelegateSupport.java:189

    )

    at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(

    DelegateSupport.java:160

    )

    at org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$client$delegate$ClientSessionDelegate$createQueue$aop(

    ClientSessionDelegate.java:319

    )

    at org.jboss.jms.client.delegate.ClientSessionDelegate$createQueue_6431069199924553036.invokeNext(ClientSessionDelegate$createQueue_6431069199924553036.java)

    at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(

    FailoverValveInterceptor.java:92

    )

    at org.jboss.aop.advice.PerInstanceInterceptor.invoke(

    PerInstanceInterceptor.java:105

    )

    at org.jboss.jms.client.delegate.ClientSessionDelegate$createQueue_6431069199924553036.invokeNext(ClientSessionDelegate$createQueue_6431069199924553036.java)

    at org.jboss.jms.client.container.ClosedInterceptor.invoke(

    ClosedInterceptor.java:170

    )

    at org.jboss.aop.advice.PerInstanceInterceptor.invoke(

    PerInstanceInterceptor.java:105

    )

    at org.jboss.jms.client.delegate.ClientSessionDelegate$createQueue_6431069199924553036.invokeNext(ClientSessionDelegate$createQueue_6431069199924553036.java)

    at org.jboss.jms.client.delegate.ClientSessionDelegate.createQueue(ClientSessionDelegate.java)

    at org.jboss.jms.client.JBossSession.createQueue(

    JBossSession.java:250

    )

    at org.jboss.internal.soa.esb.rosetta.pooling.WrappedSession.createQueue(

    WrappedSession.java:294

    )

    at org.jboss.internal.soa.esb.rosetta.pooling.JmsSession.createQueue(

    JmsSession.java:282

    )

    at org.jboss.soa.esb.listeners.gateway.JmsGatewayListener.prepareMessageReceiver(

    JmsGatewayListener.java:433

    )

    at org.jboss.soa.esb.listeners.gateway.JmsGatewayListener.doInitialise(

    JmsGatewayListener.java:114

    )

    ... 50 more

     

    Please let me know cause for the same. Thanks in advance

  • 11. Re: JBoss HelloWorld Sample
    Len DiMaggio Apprentice

    Hi Kumar - the quickstart is deployed to the server - the client is run as a java application.    ;-)

  • 12. Re: JBoss HelloWorld Sample
    Len DiMaggio Apprentice

    Hi!

     

    This error:  There is no administratively defined queue with name:queue/quickstart_helloworld_Request_gw

     

    Indicates that the quickstart is not deployed to the server. Did you deploy it before trying to access it?

  • 13. Re: JBoss HelloWorld Sample
    le cesta Newbie

    Hi Len,

     

    I dint get you, what do u mean by Did you deploy it before trying to access it?

    I had simply followed steps mentioned in beginner's guide.

     

    I had started server from command prompt, then changed directory into the samples/quickstarts/helloworld directory.  After that executed ant command.

     

    -- quickstarts properties file is in \samples\quickstarts\helloworld. content of that is as mentioned below,

     

    # Location of your JBoss Application Server installation.
    # Will override the same property name from install/deployment.properties
    org.jboss.esb.server.home=D:\softwares\jbossesb-server-4.10\jbossesb-server-4.10

    # JBossAS server name. If not set defaults to 'default'
    # Will override the same property name from install/deployment.properties
    org.jboss.esb.server.config=default

    # jBPM console security credentials (if org.jboss.esb.server.config=production)
    jbpm.console.username=admin
    jbpm.console.password=admin


    # If you are running the ftp tests then you must complete the following
    jbossesb.ftp.hostname=
    jbossesb.ftp.username=
    jbossesb.ftp.password=
    jbossesb.ftp.directory=

     

    Is there any problem in this config?

  • 14. Re: JBoss HelloWorld Sample
    Len DiMaggio Apprentice

    Hi! - Just a couple of questions:

     

    * What did you install here:  D:\softwares\jbossesb-server-4.10\jbossesb-server-4.10  - Did you install the ESB, or did you deploy ESB to an app server?

     

    * How did you start the server?

     

    * Do you see any ERRORs in the server.log?

     

    * In order to run the quickstart, it is a 2-step process. First, you deploy the quickstart ('ant deploy'), then you run it ('ant runtest')

     

     

    Let me know!  ;-)

1 2 Previous Next