欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

websphere MQ server config 博客分类: jms study WebsphereIBMJavaJMSSUN 

程序员文章站 2024-03-18 18:15:58
...
2006-08-25

websphere MQ server config

D:\Program Files\IBM\WebSphere MQ\Java\bin\JMSAdmin.config

#INITIAL_CONTEXT_FACTORY=com.sun.jndi.ldap.LdapCtxFactory
#INITIAL_CONTEXT_FACTORY=com.sun.jndi.fscontext.RefFSContextFactory
#INITIAL_CONTEXT_FACTORY=com.ibm.ejs.ns.jndi.CNInitialContextFactory
#INITIAL_CONTEXT_FACTORY=com.ibm.websphere.naming.WsnInitialContextFactory
INITIAL_CONTEXT_FACTORY=com.ibm.mq.jms.context.WMQInitialContextFactory


#PROVIDER_URL=ldap://polaris/o=ibm,c=us
#PROVIDER_URL=file:/C:/JNDI-Directory
#PROVIDER_URL=iiop://localhost/
PROVIDER_URL=localhost:1414/SYSTEM.DEF.SVRCONN



D:\Program Files\IBM\WebSphere MQ\Java\bin\sampleconfig.scp

del qcf(SampleQCF)
del q(SampleQueue)
def qcf(SampleQCF) qmgr(QM_mphch322) tran(client) chan(S_mphch322) +
    host(mphch322) port(1414) ccsid(1381)
def q(SampleQueue) qmgr(QM_mphch322) queue(clq_default_mphch322)
del tcf(SampleTCF)
del t(SampleTopic)
def tcf(SampleTCF) qmgr(QM_mphch322)
def t(SampleTopic) topic(sampleTopic) ccsid(1381)
end


D:\Program Files\IBM\WebSphere MQ\Java\bin\JMSAdmin.bat

cls
set CLASSPATH=%CLASSPATH%;..\lib\mqcontext.jar;..\lib\com.ibm.mq.pcf.jar
java -DMQJMS_LOG_DIR="%MQ_JAVA_DATA_PATH%"\log -DMQJMS_TRACE_DIR="%MQ_JAVA_DATA_PATH%"\errors -DMQJMS_INSTALL_PATH="%MQ_JAVA_INSTALL_PATH%" com.ibm.mq.jms.admin.JMSAdmin %1 %2 %3 %4 %5