I had the need to be able to place a JMS Message onto a Service Integration Bus Queue. I tried to use the SIBus Explorer, but it really didn’t like my WebSphere v6.1 configuration and would always throw an exception.
I then checked out the IBM Client Application Tool for JMS pointed out to me by David Currie a few months ago. It’s actually really awesome. It does require an application server in order to reference jars that are required for the classpath, but if you have an install somewhere, this is a tool you will like.
Basically, you can connect to any remote WebSphere server and use JNDI to lookup JMS resources and create JMS messages. For my remote server the provider url is of the form:
corbaloc:iiop:<hostname>:<Server Bootstrap Port>
corbaloc:iiop:danhost:2809
There is one caveat: If you are looking up a connection factory on a remote machine, then the JMS connection factory will need to have it’s Provider Endpoint configured. By default, this value is blank which stands for ‘localhost’. If ‘localhost’ doesn’t host your bus then you will get connection errors. It follows the standard:
<host_name>:<SIBus Bootsctrap messaging port>:BootstrapBasicMessaging
danhost:7276:BootstrapBasicMessaging
Once you have set that up in the connection factory, restart your server and now the IBM Client for JMS will connect to the given connection factory. You can then connect to a queue and start putting messages on remote destinations.
Hi
The link “IBM Client Application Tool for JMS” is not working can i download it from any where else
Thannks
HI
I tried but getting following exception
IBM WebSphere Application Server, Release 6.1
J2EE Application Client Tool
Copyright IBM Corp., 1997-2006
WSCL0012I: Processing command line arguments.
WSCL0013I: Initializing the J2EE Application Client Environment.
[10/26/10 12:12:57:937 GST] 0000000a W UOW=null source=com.ibm.ws.ssl.config.SS
LConfig org=IBM prod=WebSphere component=Application Server thread=[P=777593:O=0
:CT]
CWPKI0041W: One or more key stores are using the default password.
[10/26/10 12:12:59:312 GST] 0000000a W UOW=null source=com.ibm.ws.naming.util.W
snInitCtxFactory org=IBM prod=WebSphere component=Application Server thread=[P=7
77593:O=0:CT]
NMSV0602E: Naming Service unavailable. A communications error occurred
.
[10/26/10 12:13:00:312 GST] 0000000a W UOW=null source=com.ibm.ws.naming.util.W
snInitCtxFactory org=IBM prod=WebSphere component=Application Server thread=[P=7
77593:O=0:CT]
NMSV0602E: Naming Service unavailable. A communications error occurred
.
WSCL0035I: Initialization of the J2EE Application Client Environment has complet
ed.
WSCL0014I: Invoking the Application Client class com.ibm.jms.client.JMSClient
IBM Client Application for JMSVersion: 1.0.0
? Copyright IBM Corp. 2006
Unhandled exception
Type=Segmentation error vmState=0x00040000
J9Generic_Signal_Number=00000004 ExceptionCode=c0000005 ExceptionAddress=747B468
C ContextFlags=0001003f