0

InitialContextWebsphereMQ 7.5.0 で構成しようとしましたが、JmsAdmin.configファイルは次のようになります。

INITIAL_CONTEXT_FACTORY: com.ibm.websphere.naming.WsnInitialContextFactory
PROVIDER_URL: corbaloc:iiop:localhost:2810

Linux で JmsAdmin を実行すると、以下の例外が発生しました。

[appuser@integration2 bin]$ ./JMSAdmin -v
Picked up JAVA_TOOL_OPTIONS: -Dorg.omg.CORBA.ORBClass=com.ibm.CORBA.iiop.ORB

Licensed Materials - Property of IBM
5724-H72, 5655-R36, 5724-L26, 5655-L82
(c) Copyright IBM Corp. 2008, 2011 All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or
disclosure restricted by GSA ADP Schedule Contract with
IBM Corp.
Starting WebSphere MQ classes for Java(tm) Message Service Administration

Initializing JNDI Context...
   INITIAL_CONTEXT_FACTORY: com.ibm.websphere.naming.WsnInitialContextFactory
   PROVIDER_URL: corbaloc:iiop:localhost:2810
Done.

Welcome to the WebSphere MQ JMS administration tool command-line interface

InitCtx> DEF qcf(mqconn)
Sep 11, 2012 12:48:18 PM com.ibm.ws.naming.util.WsnInitCtxFactory
**WARNING: jndiUnavailCommErr
Unable to bind object
javax.naming.ServiceUnavailableException: A communication failure occurred while
  attempting to obtain an initial context with the provider URL:
  "corbaloc:iiop:localhost:2810".  Make sure that any bootstrap address
  information in the URL is correct and that the target name server is running.
  A bootstrap address with no port specification defaults to port 2809.  Possible
  causes other than an incorrect bootstrap address or unavailable name server
  include the network environment and workstation network configuration.
  [Root exception is org.omg.CORBA.TRANSIENT: java.net.ConnectException:
  Connection refused:host=integration2.treetechnologies.net,port=2810
  vmcid: 0x4942f000  minor code: 3586  completed: No]**

[そして、私の WebSphere Server でブートストラップ アドレスを開いたところ、デフォルト ポートは 2809 でした。]

4

0 に答える 0