[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - A few problems running the examples on different machines

timfox do-not-reply at jboss.com
Sat May 10 06:14:15 EDT 2008


I thought I'd try and run the examples with server and client on different machines but ran into a few issues.

Whatever I tried the JMS examples always tried to lookup the name server on localhost, which clearly failed. I had to hack the example and hardcode a jndi server host to get it to work.

For the core examples, the server name, port etc, is also hardcoded, so I had to hack this too.

Any server hosts, ports etc should be in a local build.properties or jndi.properties so they can be changed by the user.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149904#4149904

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149904



More information about the jboss-dev-forums mailing list