-
1. Re: JBoss HelloWorld Sample
ldimaggio Feb 13, 2012 9:08 AM (in response to kumarmaheswaran)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
kumarmaheswaran Feb 14, 2012 4:59 AM (in response to kumarmaheswaran)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
ldimaggio Feb 14, 2012 9:01 AM (in response to kumarmaheswaran)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
ldimaggio Feb 14, 2012 12:23 PM (in response to ldimaggio)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
kumarmaheswaran Feb 14, 2012 11:37 PM (in response to ldimaggio)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
ldimaggio Feb 15, 2012 1:48 PM (in response to kumarmaheswaran)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:
{code}
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
{code}
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. ;-)
-
7. Re: JBoss HelloWorld Sample
kumarmaheswaran Feb 16, 2012 4:03 AM (in response to ldimaggio)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
ldimaggio Feb 16, 2012 6:55 AM (in response to kumarmaheswaran)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
kumarmaheswaran Feb 16, 2012 11:33 PM (in response to ldimaggio)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 Feb 17, 2012 1:39 AM (in response to ldimaggio)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
ServerSessionEndpoint.java:299at org.jboss.jms.server.endpoint.ServerSessionEndpoint.createQueue(
)
SessionAdvised.java:105at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$createQueue$aop(
)
ServerLogInterceptor.java:105at org.jboss.jms.server.endpoint.advised.SessionAdvised$createQueue_6431069199924553036.invokeNext(SessionAdvised$createQueue_6431069199924553036.java)
at org.jboss.jms.server.container.ServerLogInterceptor.invoke(
)
SessionCreateQueueRequest.java:74at 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(
)
JMSServerInvocationHandler.java:157at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(
)
ServerInvoker.java:862at org.jboss.remoting.ServerInvoker.invoke(
)
LocalClientInvoker.java:101at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(
)
Client.java:1925at org.jboss.remoting.Client.invoke(
)
Client.java:786at org.jboss.remoting.Client.invoke(
)
Client.java:774at org.jboss.remoting.Client.invoke(
)
DelegateSupport.java:189at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(
)
DelegateSupport.java:160at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(
)
ClientSessionDelegate.java:319at org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$client$delegate$ClientSessionDelegate$createQueue$aop(
)
FailoverValveInterceptor.java:92at org.jboss.jms.client.delegate.ClientSessionDelegate$createQueue_6431069199924553036.invokeNext(ClientSessionDelegate$createQueue_6431069199924553036.java)
at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(
)
PerInstanceInterceptor.java:105at org.jboss.aop.advice.PerInstanceInterceptor.invoke(
)
ClosedInterceptor.java:170at org.jboss.jms.client.delegate.ClientSessionDelegate$createQueue_6431069199924553036.invokeNext(ClientSessionDelegate$createQueue_6431069199924553036.java)
at org.jboss.jms.client.container.ClosedInterceptor.invoke(
)
PerInstanceInterceptor.java:105at org.jboss.aop.advice.PerInstanceInterceptor.invoke(
)
JBossSession.java:250at 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(
)
WrappedSession.java:294at org.jboss.internal.soa.esb.rosetta.pooling.WrappedSession.createQueue(
)
JmsSession.java:282at org.jboss.internal.soa.esb.rosetta.pooling.JmsSession.createQueue(
)
JmsGatewayListener.java:433at org.jboss.soa.esb.listeners.gateway.JmsGatewayListener.prepareMessageReceiver(
)
JmsGatewayListener.java:114at org.jboss.soa.esb.listeners.gateway.JmsGatewayListener.doInitialise(
)
AbstractManagedLifecycle.java:133at org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle.initialise(
)
ManagedLifecycleController.java:109at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.initialiseInstances(
)
ManagedLifecycleController.java:66at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.start(
)
JBoss4ESBDeployment.java:228at org.jboss.soa.esb.listeners.config.JBoss4ESBDeployment.startService(
)
ServiceMBeanSupport.java:289at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(
)
ServiceMBeanSupport.java:245at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(
)
ReflectedDispatcher.java:155at 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(
)
Invocation.java:94at org.jboss.mx.server.Invocation.dispatch(
)
Invocation.java:86at org.jboss.mx.server.Invocation.invoke(
)
AbstractMBeanInvoker.java:264at org.jboss.mx.server.AbstractMBeanInvoker.invoke(
)
MBeanServerImpl.java:659at org.jboss.mx.server.MBeanServerImpl.invoke(
)
ServiceController.java:978at org.jboss.system.ServiceController$ServiceProxy.invoke(
)
ServiceController.java:417at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(
)
ReflectedDispatcher.java:155at 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(
)
Invocation.java:94at org.jboss.mx.server.Invocation.dispatch(
)
Invocation.java:86at org.jboss.mx.server.Invocation.invoke(
)
AbstractMBeanInvoker.java:264at org.jboss.mx.server.AbstractMBeanInvoker.invoke(
)
MBeanServerImpl.java:659at org.jboss.mx.server.MBeanServerImpl.invoke(
)
MBeanProxyExt.java:210at org.jboss.mx.util.MBeanProxyExt.invoke(
)
JBoss4ESBDeployer.java:402at $Proxy26.start(Unknown Source)
at org.jboss.soa.esb.listeners.config.JBoss4ESBDeployer.start(
)
MainDeployer.java:1025at org.jboss.deployment.MainDeployer.start(
)
MainDeployer.java:1015at org.jboss.deployment.MainDeployer.start(
)
MainDeployer.java:819at org.jboss.deployment.MainDeployer.deploy(
)
MainDeployer.java:782at org.jboss.deployment.MainDeployer.deploy(
)
ReflectedDispatcher.java:155at 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(
)
Invocation.java:94at org.jboss.mx.server.Invocation.dispatch(
)
AbstractInterceptor.java:133at org.jboss.mx.interceptor.AbstractInterceptor.invoke(
)
Invocation.java:88at org.jboss.mx.server.Invocation.invoke(
)
ModelMBeanOperationInterceptor.java:142at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(
)
Invocation.java:88at org.jboss.mx.server.Invocation.invoke(
)
AbstractMBeanInvoker.java:264at org.jboss.mx.server.AbstractMBeanInvoker.invoke(
)
MBeanServerImpl.java:659at org.jboss.mx.server.MBeanServerImpl.invoke(
)
MBeanProxyExt.java:210at org.jboss.mx.util.MBeanProxyExt.invoke(
)
URLDeploymentScanner.java:421at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(
)
URLDeploymentScanner.java:634at org.jboss.deployment.scanner.URLDeploymentScanner.scan(
)
AbstractDeploymentScanner.java:263at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(
)
AbstractDeploymentScanner.java:274at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(
)
AbstractDeploymentScanner.java:225at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(
)
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
JmsGatewayListener.java:122at org.jboss.soa.esb.listeners.gateway.JmsGatewayListener.doInitialise(
)
AbstractManagedLifecycle.java:133at org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle.initialise(
)
ManagedLifecycleController.java:109at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.initialiseInstances(
)
ManagedLifecycleController.java:66at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.start(
)
JBoss4ESBDeployment.java:228at org.jboss.soa.esb.listeners.config.JBoss4ESBDeployment.startService(
)
ServiceMBeanSupport.java:289at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(
)
ServiceMBeanSupport.java:245at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(
)
ReflectedDispatcher.java:155at 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(
)
Invocation.java:94at org.jboss.mx.server.Invocation.dispatch(
)
Invocation.java:86at org.jboss.mx.server.Invocation.invoke(
)
AbstractMBeanInvoker.java:264at org.jboss.mx.server.AbstractMBeanInvoker.invoke(
)
MBeanServerImpl.java:659at org.jboss.mx.server.MBeanServerImpl.invoke(
)
ServiceController.java:978at org.jboss.system.ServiceController$ServiceProxy.invoke(
)
ServiceController.java:417at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(
)
ReflectedDispatcher.java:155at 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(
)
Invocation.java:94at org.jboss.mx.server.Invocation.dispatch(
)
Invocation.java:86at org.jboss.mx.server.Invocation.invoke(
)
AbstractMBeanInvoker.java:264at org.jboss.mx.server.AbstractMBeanInvoker.invoke(
)
MBeanServerImpl.java:659at org.jboss.mx.server.MBeanServerImpl.invoke(
)
MBeanProxyExt.java:210at org.jboss.mx.util.MBeanProxyExt.invoke(
)
JBoss4ESBDeployer.java:402at $Proxy26.start(Unknown Source)
at org.jboss.soa.esb.listeners.config.JBoss4ESBDeployer.start(
)
MainDeployer.java:1025at org.jboss.deployment.MainDeployer.start(
)
MainDeployer.java:1015at org.jboss.deployment.MainDeployer.start(
)
MainDeployer.java:819at org.jboss.deployment.MainDeployer.deploy(
)
MainDeployer.java:782at org.jboss.deployment.MainDeployer.deploy(
)
ReflectedDispatcher.java:155at 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(
)
Invocation.java:94at org.jboss.mx.server.Invocation.dispatch(
)
AbstractInterceptor.java:133at org.jboss.mx.interceptor.AbstractInterceptor.invoke(
)
Invocation.java:88at org.jboss.mx.server.Invocation.invoke(
)
ModelMBeanOperationInterceptor.java:142at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(
)
Invocation.java:88at org.jboss.mx.server.Invocation.invoke(
)
AbstractMBeanInvoker.java:264at org.jboss.mx.server.AbstractMBeanInvoker.invoke(
)
MBeanServerImpl.java:659at org.jboss.mx.server.MBeanServerImpl.invoke(
)
MBeanProxyExt.java:210at org.jboss.mx.util.MBeanProxyExt.invoke(
)
URLDeploymentScanner.java:421at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(
)
URLDeploymentScanner.java:634at org.jboss.deployment.scanner.URLDeploymentScanner.scan(
)
AbstractDeploymentScanner.java:263at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(
)
AbstractDeploymentScanner.java:274at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(
)
AbstractDeploymentScanner.java:225at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(
)
javax.jms.JMSExceptionCaused by:
: There is no administratively defined queue with name:queue/quickstart_helloworld_Request_gw
ServerSessionEndpoint.java:299at org.jboss.jms.server.endpoint.ServerSessionEndpoint.createQueue(
)
SessionAdvised.java:105at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$createQueue$aop(
)
ServerLogInterceptor.java:105at org.jboss.jms.server.endpoint.advised.SessionAdvised$createQueue_6431069199924553036.invokeNext(SessionAdvised$createQueue_6431069199924553036.java)
at org.jboss.jms.server.container.ServerLogInterceptor.invoke(
)
SessionCreateQueueRequest.java:74at 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(
)
JMSServerInvocationHandler.java:157at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(
)
ServerInvoker.java:862at org.jboss.remoting.ServerInvoker.invoke(
)
LocalClientInvoker.java:101at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(
)
Client.java:1925at org.jboss.remoting.Client.invoke(
)
Client.java:786at org.jboss.remoting.Client.invoke(
)
Client.java:774at org.jboss.remoting.Client.invoke(
)
DelegateSupport.java:189at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(
)
DelegateSupport.java:160at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(
)
ClientSessionDelegate.java:319at org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$client$delegate$ClientSessionDelegate$createQueue$aop(
)
FailoverValveInterceptor.java:92at org.jboss.jms.client.delegate.ClientSessionDelegate$createQueue_6431069199924553036.invokeNext(ClientSessionDelegate$createQueue_6431069199924553036.java)
at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(
)
PerInstanceInterceptor.java:105at org.jboss.aop.advice.PerInstanceInterceptor.invoke(
)
ClosedInterceptor.java:170at org.jboss.jms.client.delegate.ClientSessionDelegate$createQueue_6431069199924553036.invokeNext(ClientSessionDelegate$createQueue_6431069199924553036.java)
at org.jboss.jms.client.container.ClosedInterceptor.invoke(
)
PerInstanceInterceptor.java:105at org.jboss.aop.advice.PerInstanceInterceptor.invoke(
)
JBossSession.java:250at 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(
)
WrappedSession.java:294at org.jboss.internal.soa.esb.rosetta.pooling.WrappedSession.createQueue(
)
JmsSession.java:282at org.jboss.internal.soa.esb.rosetta.pooling.JmsSession.createQueue(
)
JmsGatewayListener.java:433at org.jboss.soa.esb.listeners.gateway.JmsGatewayListener.prepareMessageReceiver(
)
JmsGatewayListener.java:114at org.jboss.soa.esb.listeners.gateway.JmsGatewayListener.doInitialise(
)
... 50 more
Please let me know cause for the same. Thanks in advance
-
11. Re: JBoss HelloWorld Sample
ldimaggio Feb 17, 2012 6:56 AM (in response to kumarmaheswaran)Hi Kumar - the quickstart is deployed to the server - the client is run as a java application. ;-)
-
12. Re: JBoss HelloWorld Sample
ldimaggio Feb 17, 2012 6:58 AM (in response to le_cesta)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 Feb 17, 2012 7:23 AM (in response to ldimaggio)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
ldimaggio Feb 17, 2012 8:23 AM (in response to le_cesta)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! ;-)