Author |
Message
|
mqsubrata |
Posted: Tue Jul 08, 2008 10:25 am Post subject: Unable to Connect WAS JMS Queue using JAVA client |
|
|
Novice
Joined: 03 Dec 2004 Posts: 18 Location: kolkata
|
Hi, I am tyring to run a java program which will connect to other machine which hosts WAS and it will put one message to one jms queue over there. But getting following error :
JNDI URL = corbaloc:iiop:9.29.128.137:9100
Lookup initial context
Lookup connection factory jms/IncomingDocsQueueCF
Caught exception: javax.naming.ServiceUnavailableException: A communication fail
ure occurred while attempting to obtain an initial context with the provider URL
: "corbaloc:iiop:9.29.128.137:9100". Make sure that any bootstrap address infor
mation in the URL is correct and that the target name server is running. A boot
strap address with no port specification defaults to port 2809. Possible causes
other than an incorrect bootstrap address or unavailable name server include th
e network environment and workstation network configuration. [Root exception is
org.omg.CORBA.TRANSIENT: java.net.ConnectException: Connection refused: connect:
host=THINKPAD,port=9100 vmcid: IBM minor code: E02 completed: No] |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Jul 08, 2008 11:24 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Looks to me like you are giving the standard was http port but not the was rmi or was iiop or was corba ports.
Check your start up logs. the correct port should appear in the startup logs just before the ready for ebusiness part.  _________________ MQ & Broker admin
Last edited by fjb_saper on Tue Jul 08, 2008 11:57 am; edited 1 time in total |
|
Back to top |
|
 |
mqsubrata |
Posted: Tue Jul 08, 2008 11:35 am Post subject: |
|
|
Novice
Joined: 03 Dec 2004 Posts: 18 Location: kolkata
|
Hi,
In the JNDI provider URL , it is recomended to give ORB listner port and which is 5100 mentioned in the URL. I have double checked that and it is correct.
Please let me know if you have something other than that in your mind. |
|
Back to top |
|
 |
mqsubrata |
Posted: Tue Jul 08, 2008 11:36 am Post subject: |
|
|
Novice
Joined: 03 Dec 2004 Posts: 18 Location: kolkata
|
Sorry It is 9100 instead 5100. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Jul 08, 2008 11:38 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
mqsubrata wrote: |
Sorry It is 9100 instead 5100. |
Can we please have the list of ports as written to the startup log just before the open for ebusiness entry?
Thanks  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqsubrata |
Posted: Tue Jul 08, 2008 11:45 am Post subject: |
|
|
Novice
Joined: 03 Dec 2004 Posts: 18 Location: kolkata
|
fjb_
FYI..
BOOTSTRAP_ADDRESS 2809
SOAP_CONNECTOR_ADDRESS 8880
SAS_SSL_SERVERAUTH_LISTENER_ADDRESS 9401
CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS 9403
CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS 9402
WC_adminhost 9060
WC_defaulthost 9080
DCS_UNICAST_ADDRESS 9353
WC_adminhost_secure 9043
WC_defaulthost_secure 9443
ORB_LISTENER_ADDRESS 9100
SIP_DEFAULTHOST 5060
SIP_DEFAULTHOST_SECURE 5061
SIB_ENDPOINT_ADDRESS 7276
SIB_ENDPOINT_SECURE_ADDRESS 7286
SIB_MQ_ENDPOINT_ADDRESS 5558
SIB_MQ_ENDPOINT_SECURE_ADDRESS 5578 |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Jul 08, 2008 11:56 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Your orb listener seems correct. What are you using as initial connection factory?
You might want to look up the red book on was or in the was infocenter on how to run the J2EE was client.
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
|