-
1. Re: How to confgure JBoss app server for JBoss ESB client
burrsutter Oct 23, 2006 6:06 PM (in response to cfyao)I believe the line you are referring to is so the ESB can be deployed to the AppServer and/or so your applications can be compiled.
Just out some of the other examples at:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossESBQuickStart
I'll try to setup a test using the quick start examples.
Burr
[/url] -
2. Re: How to confgure JBoss app server for JBoss ESB client
burrsutter Oct 24, 2006 3:22 PM (in response to cfyao)I spent some time getting the BasicFileListener Quick Start example to work on a machine without the Application Server. Essentially a "serverless" execution. JBoss ESB Beta 1 MP 1 uses Application Server services (requires deployment to the AS) when using persistence and/or notification. The BasicFileListener is essentially Hello World for ESB and it doesn't use those services.
Simply modify your classpath so that it contains the following JARs:
.;
C:\Tools\JBossESB-4.0Beta1MP1\lib\jbossesb-listeners.jar;
C:\Tools\JBossESB-4.0Beta1MP1\lib\jbossesb-common.jar;
C:\Tools\libs\log4j.jar;
C:\Tools\libs\jbossall-client.jar;
log4j.jar and jbossall-client.jar were pulled from the "client" directory of the application server (4.0.4.GA_EJB3).
You can then run java howto.MyFileWatcher from the command line. Just make sure it has access to log4j.xml and BasicFileListenerConfig.xml.
Burr -
3. Re: How to confgure JBoss app server for JBoss ESB client
cfyao Oct 24, 2006 4:04 PM (in response to cfyao)Hi, Burr,
I tried quick start examples BasicFileListenerJMS and BasicJMSListener with server running on the host. The two examples worked well. I notice that in file BasicJMSListenerConfig.xml there is a line: listenJndiURL="localhost". Then I shut down the local server and ran the remote server on a remote machine. I modified the line listenJndiURL="localhost" to listenJndiURL="ip_addr:port_number". What port number I should use? I tried 1099 and got the error [java] 11:19:52,043 ERROR [GpListener] Cannot launch <org.jboss.soa.esb.listeners.JmsQueueListener>. Changed port number to 1098 and BasicJMSListener ran without error, but no message was received. I guess I should modified file BasicFileListenerJMSConfig.xml so that will BasicFileListenerJMS will establish a connection with the remote server. If my guess is right, how do I do that?
Thanks a lot for your help.
cfyao