Integration of sunone server with Websphere MQ
I am trying to use an MDB with WebsphereMQ. The Sunone Server and the MQ services are on physically different machines. I have followed the example setup in the MDB Simple Sample Application. I beleive my problem is that the Sun One server is assuming that MQ is on the same machine.
This is the dump:
INFO: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.4.1_01] from [Sun M
icrosystems Inc.]
INFO: JTS5014: Recoverable JTS instance, serverId = [100]
INFO: RAR5060: Install JDBC Datasources ...
INFO: RAR5059: Binding [JDBC DataSource Name: jdbc/ORMdb, Pool Name: ORMPool]
INFO: RAR5059: Binding [JDBC DataSource Name: jdbc/QDEdb, Pool Name: QDEPool]
INFO: JMS5015: Install JMS resources ...
INFO: MDB00044: Deploying message-driven bean [orm:InvoiceMDB], consuming from [
jms/InvoiceQ]
WARNING: MDB00032: [orm:InvoiceMDB]: Message-driven bean container connection fa
ctory not specified. Use default
SEVERE: MDB00030: [orm:InvoiceMDB]: Exception in setting up message-driven bean
container: [[C4003]: Error occurred on connection creation. - caught java.net.Co
nnectException]
SEVERE: MDB00017: [InvoiceMDB]: Exception in creating message-driven bean contai
ner: [javax.jms.JMSException: [C4003]: Error occurred on connection creation. -
caught java.net.ConnectException]
SEVERE: javax.jms.JMSException
javax.jms.JMSException: [C4003]: Error occurred on connection creation. - caught
java.net.ConnectException
at com.sun.messaging.jmq.jmsclient.ExceptionHandler.getJMSException(Exce
ptionHandler.java:183)
at com.sun.messaging.jmq.jmsclient.ExceptionHandler.handleException(Exce
ptionHandler.java:136)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(Port
MapperClient.java:145)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.init(PortMapperClien
t.java:86)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.<init>(PortMapperCli
ent.java:47)
at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPConnectionHandler.<in
it>(TCPConnectionHandler.java:46)
at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler.openCon
nection(TCPStreamHandler.java:101)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.init(ProtocolHandler.
java:501)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.<init>(ProtocolHandle
r.java:930)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(Connect
ionImpl.java:1482)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.ja
va:403)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.
java:234)
at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedC
onnectionImpl.java:33)
at com.sun.messaging.jmq.jmsclient.QueueConnectionImpl.<init>(QueueConne
ctionImpl.java:32)
at com.sun.messaging.jmq.jmsclient.XAQueueConnectionImpl.<init>(XAQueueC
onnectionImpl.java:33)
at com.sun.messaging.jmq.jmsclient.JMSXAQueueConnectionImpl.<init>(JMSXA
QueueConnectionImpl.java:33)
at com.sun.messaging.jmq.jmsclient.JMSXAQueueConnectionFactoryImpl.creat
eXAQueueConnection(JMSXAQueueConnectionFactoryImpl.java:75)
at com.sun.messaging.jmq.jmsclient.JMSXAQueueConnectionFactoryImpl.creat
eXAQueueConnection(JMSXAQueueConnectionFactoryImpl.java:51)
at com.sun.enterprise.jms.ConnectionFactoryWrapper.createQueueConnection
(ConnectionFactoryWrapper.java:118)
at com.sun.ejb.containers.MessageBeanHelperBase.setup(MessageBeanHelperB
ase.java:394)
at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContain
er.java:206)
at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(Container
FactoryImpl.java:173)
at com.iplanet.ias.server.AbstractLoader.loadEjbs(AbstractLoader.java:34
5)
at com.iplanet.ias.server.ApplicationLoader.load(ApplicationLoader.java:
81)
at com.iplanet.ias.server.AbstractManager.load(AbstractManager.java:134)
at com.iplanet.ias.server.ApplicationLifecycle.onStartup(ApplicationLife
cycle.java:168)
at com.iplanet.ias.server.ApplicationServer.onStartup(ApplicationServer.
java:269)
at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:162)
SEVERE: EJB5090: Exception in creating EJB container [javax.jms.JMSException: [C
4003]: Error occurred on connection creation. - caught java.net.ConnectException
SEVERE: appId=orm moduleName=EJBModule_ImageMDB_jar ejbName=InvoiceMDB
SEVERE: LDR5004: UnExpected error occured while creating ejb container
javax.jms.JMSException: [C4003]: Error occurred on connection creation. - caught
java.net.ConnectException
at com.sun.messaging.jmq.jmsclient.ExceptionHandler.getJMSException(Exce
ptionHandler.java:183)
at com.sun.messaging.jmq.jmsclient.ExceptionHandler.handleException(Exce
ptionHandler.java:136)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(Port
MapperClient.java:145)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.init(PortMapperClien
t.java:86)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.<init>(PortMapperCli
ent.java:47)
at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPConnectionHandler.<in
it>(TCPConnectionHandler.java:46)
at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler.openCon
nection(TCPStreamHandler.java:101)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.init(ProtocolHandler.
java:501)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.<init>(ProtocolHandle
r.java:930)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(Connect
ionImpl.java:1482)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.ja
va:403)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.
java:234)
at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedC
onnectionImpl.java:33)
at com.sun.messaging.jmq.jmsclient.QueueConnectionImpl.<init>(QueueConne
ctionImpl.java:32)
at com.sun.messaging.jmq.jmsclient.XAQueueConnectionImpl.<init>(XAQueueC
onnectionImpl.java:33)
at com.sun.messaging.jmq.jmsclient.JMSXAQueueConnectionImpl.<init>(JMSXA
QueueConnectionImpl.java:33)
at com.sun.messaging.jmq.jmsclient.JMSXAQueueConnectionFactoryImpl.creat
eXAQueueConnection(JMSXAQueueConnectionFactoryImpl.java:75)
at com.sun.messaging.jmq.jmsclient.JMSXAQueueConnectionFactoryImpl.creat
eXAQueueConnection(JMSXAQueueConnectionFactoryImpl.java:51)
at com.sun.enterprise.jms.ConnectionFactoryWrapper.createQueueConnection
(ConnectionFactoryWrapper.java:118)
at com.sun.ejb.containers.MessageBeanHelperBase.setup(MessageBeanHelperB
ase.java:394)
at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContain
er.java:206)
at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(Container
FactoryImpl.java:173)
at com.iplanet.ias.server.AbstractLoader.loadEjbs(AbstractLoader.java:34
5)
at com.iplanet.ias.server.ApplicationLoader.load(ApplicationLoader.java:
81)
at com.iplanet.ias.server.AbstractManager.load(AbstractManager.java:134)
at com.iplanet.ias.server.ApplicationLifecycle.onStartup(ApplicationLife
cycle.java:168)
at com.iplanet.ias.server.ApplicationServer.onStartup(ApplicationServer.
java:269)
at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:162)
WARNING: CORE5021: Application NOT loaded: [orm]
INFO: HTTP3072: HTTP listener http-listener-1 [http://orm-java-app:80] ready to
accept requests
startup: server started successfully
INFO: CORE3274: successful server startup
INFO: CORE5053: Application onReady complete.
INFO: CORE5008: Resource Redeployed: [external-jndi:jms/ImageQCF].
All the links to setting up external resourses appear to be either dead, or non-reponsive. I need to use MQ as I need to swap messages with an IMS (Mainframe) application.
This is the binding file that sits in the directory pointed to by the java.naming.provider.url parameter.
#This file is used by the JNDI FSContext.
#Mon Feb 23 11:12:23 EST 2004
jms/ApprovalQ/RefAddr/5/Type=TC
jms/ImageQCF/RefAddr/12/Encoding=String
jms/InvoiceQCF/RefAddr/5/Encoding=String
jms/InvoiceQCF/RefAddr/5/Content=SYSTEM.DEF.SVRCONN
jms/InvoiceQ/RefAddr/9/Encoding=String
jms/ApprovalQCF/RefAddr/7/Content=false
jms/ApprovalQCF/RefAddr/1/Encoding=String
jms/ApprovalQ/RefAddr/9/Type=QMGR
jms/InvoiceQCF/RefAddr/1/Type=TRAN
jms/ApprovalQCF/RefAddr/10/Type=MBS
jms/ImageQ/RefAddr/6/Content=273
jms/ApprovalQ/RefAddr/0/Encoding=String
jms/ImageQ/RefAddr/7/Encoding=String
jms/ImageQ/RefAddr/9/Content=ORM_Queue_Manager
jms/InvoiceQCF/RefAddr/13/Content=SYSTEM.DEFAULT.MODEL.QUEUE
jms/InvoiceQCF/RefAddr/10/Encoding=String
jms/InvoiceQCF/RefAddr/5/Type=CHAN
jms/ApprovalQCF/RefAddr/14/Type=MRET
jms/ApprovalQCF/RefAddr/3/Type=HOST
jms/ImageQCF/RefAddr/9/Encoding=String
jms/InvoiceQ/ClassName=com.ibm.mq.jms.MQQueue
jms/ImageQ/RefAddr/0/Content=1
jms/ImageQCF/RefAddr/13/Encoding=String
jms/InvoiceQCF/RefAddr/6/Encoding=String
jms/ImageQCF/RefAddr/11/Content=1
jms/InvoiceQCF/RefAddr/9/Type=PINT
jms/InvoiceQ/RefAddr/0/Encoding=String
jms/ImageQ/RefAddr/3/Content=-2
jms/ApprovalQCF/RefAddr/7/Type=SPAG
jms/ImageQCF/RefAddr/14/Content=1
jms/ImageQCF/RefAddr/2/Type=QMGR
jms/ApprovalQ/RefAddr/6/Content=273
jms/InvoiceQCF/RefAddr/10/Content=10
jms/ApprovalQ/RefAddr/1/Encoding=String
jms/ImageQ/RefAddr/8/Encoding=String
jms/ApprovalQ/RefAddr/9/Content=ORM_Queue_Manager
jms/InvoiceQ/RefAddr/7/Content=1
jms/ImageQCF/RefAddr/6/Type=CCS
jms/InvoiceQCF/RefAddr/11/Encoding=String
jms/ImageQCF/RefAddr/8/Content=true
jms/InvoiceQ/RefAddr/1/Type=EXP
jms/ApprovalQ/RefAddr/0/Content=1
jms/ImageQCF/RefAddr/0/Encoding=String
jms/ImageQ/RefAddr/9/Type=QMGR
jms/ImageQCF/RefAddr/14/Encoding=String
jms/ImageQ/FactoryName=com.ibm.mq.jms.MQQueueFactory
jms/InvoiceQCF/RefAddr/7/Encoding=String
jms/InvoiceQ/RefAddr/1/Encoding=String
jms/ApprovalQCF/RefAddr/12/Content=5000
jms/ApprovalQ/RefAddr/3/Content=-2
jms/InvoiceQ/RefAddr/5/Type=TC
jms/ImageQ/RefAddr/1/Type=EXP
jms/ApprovalQCF/RefAddr/2/Encoding=String
jms/ImageQCF/RefAddr/11/Type=FIQ
jms/InvoiceQ/FactoryName=com.ibm.mq.jms.MQQueueFactory
jms/InvoiceQ/RefAddr/1/Content=-2
jms/ImageQCF/RefAddr/2/Content=ORM_Queue_Manager
jms/ApprovalQ/RefAddr/2/Type=PRI
jms/InvoiceQ/RefAddr/4/Content=1208
jms/ApprovalQ/RefAddr/2/Encoding=String
jms/ImageQCF/RefAddr/5/Content=SYSTEM.DEF.SVRCONN
jms/ImageQ/RefAddr/5/Type=TC
jms/InvoiceQ/RefAddr/9/Type=QMGR
jms/ImageQ/RefAddr/9/Encoding=String
jms/InvoiceQCF/RefAddr/12/Type=RINT
jms/InvoiceQCF/RefAddr/12/Encoding=String
jms/ApprovalQ/RefAddr/6/Type=ENC
jms/ApprovalQCF/RefAddr/8/Content=true
jms/ImageQCF/RefAddr/1/Encoding=String
jms/InvoiceQCF/RefAddr/9/Content=5000
jms/InvoiceQCF/RefAddr/8/Encoding=String
jms/InvoiceQ/RefAddr/2/Encoding=String
jms/InvoiceQCF/RefAddr/2/Type=QMGR
jms/ApprovalQCF/RefAddr/11/Type=FIQ
jms/ApprovalQCF/RefAddr/3/Encoding=String
jms/ApprovalQCF/RefAddr/0/Type=VER
jms/InvoiceQCF/RefAddr/0/Content=2
jms/ApprovalQCF/RefAddr/2/Content=ORM_Queue_Manager
jms/ApprovalQ/RefAddr/3/Encoding=String
jms/ImageQ/RefAddr/0/Encoding=String
jms/InvoiceQCF/RefAddr/6/Type=CCS
jms/InvoiceQCF/RefAddr/3/Content=localhost
jms/ApprovalQCF/RefAddr/5/Content=SYSTEM.DEF.SVRCONN
jms/ApprovalQCF/RefAddr/4/Type=PORT
jms/InvoiceQCF/RefAddr/13/Encoding=String
jms/ApprovalQ/FactoryName=com.ibm.mq.jms.MQQueueFactory
jms/InvoiceQCF/RefAddr/6/Content=819
jms/ImageQCF/RefAddr/2/Encoding=String
jms/InvoiceQCF/RefAddr/9/Encoding=String
jms/ApprovalQCF/RefAddr/8/Type=UCP
jms/ImageQ/RefAddr/7/Content=1
jms/ImageQCF/RefAddr/3/Type=HOST
jms/ApprovalQCF/RefAddr/10/Encoding=String
jms/ApprovalQCF/RefAddr/4/Encoding=String
jms/ImageQ/ClassName=com.ibm.mq.jms.MQQueue
jms/InvoiceQCF/RefAddr/14/Content=1
jms/ApprovalQ/RefAddr/4/Encoding=String
jms/ImageQCF/RefAddr/7/Type=SPAG
jms/ImageQ/RefAddr/1/Encoding=String
jms/InvoiceQ/RefAddr/2/Type=PRI
jms/ImageQ/RefAddr/1/Content=-2
jms/InvoiceQCF/RefAddr/14/Encoding=String
jms/ImageQCF/RefAddr/12/Content=5000
jms/ImageQ/RefAddr/4/Content=1208
jms/ApprovalQ/RefAddr/4/Content=1208
jms/InvoiceQ/RefAddr/6/Type=ENC
jms/ImageQ/RefAddr/2/Type=PRI
jms/InvoiceQ/RefAddr/3/Encoding=String
jms/ImageQCF/RefAddr/12/Type=RINT
jms/InvoiceQCF/RefAddr/0/Encoding=String
jms/ApprovalQ/RefAddr/7/Content=1
jms/ApprovalQCF/RefAddr/11/Encoding=String
jms/InvoiceQCF/RefAddr/11/Content=1
jms/ApprovalQCF/RefAddr/5/Encoding=String
jms/InvoiceQ/RefAddr/5/Content=0
jms/ApprovalQ/RefAddr/3/Type=PER
jms/ImageQ/RefAddr/6/Type=ENC
jms/InvoiceQ/RefAddr/8/Content=InvoiceQ
jms/ImageQCF/RefAddr/9/Content=5000
jms/InvoiceQCF/RefAddr/13/Type=TM
jms/ApprovalQ/RefAddr/5/Encoding=String
jms/ApprovalQ/RefAddr/7/Type=FIQ
jms/ApprovalQ/RefAddr/1/Content=-2
jms/ImageQCF/RefAddr/0/Content=2
jms/ApprovalQCF/RefAddr/13/Content=SYSTEM.DEFAULT.MODEL.QUEUE
jms/ImageQCF/RefAddr/3/Encoding=String
jms/ApprovalQCF/FactoryName=com.ibm.mq.jms.MQQueueConnectionFactoryFactory
jms/InvoiceQ/RefAddr/2/Content=-2
jms/ImageQCF/RefAddr/3/Content=localhost
jms/ImageQCF/ClassName=com.ibm.mq.jms.MQQueueConnectionFactory
jms/InvoiceQCF/RefAddr/3/Type=HOST
jms/ApprovalQCF/RefAddr/12/Type=RINT
jms/InvoiceQ/RefAddr/4/Encoding=String
jms/InvoiceQCF/RefAddr/1/Encoding=String
jms/ApprovalQCF/RefAddr/1/Type=TRAN
jms/InvoiceQCF/ClassName=com.ibm.mq.jms.MQQueueConnectionFactory
jms/ApprovalQCF/RefAddr/6/Encoding=String
jms/ImageQCF/RefAddr/6/Content=819
jms/InvoiceQCF/RefAddr/7/Type=SPAG
jms/ApprovalQ/RefAddr/6/Encoding=String
jms/ImageQ/RefAddr/2/Encoding=String
jms/ApprovalQCF/RefAddr/5/Type=CHAN
jms/InvoiceQCF/RefAddr/7/Content=false
jms/ApprovalQCF/RefAddr/10/Content=10
jms/ApprovalQCF/RefAddr/9/Content=5000
jms/ImageQCF/RefAddr/0/Type=VER
jms/ImageQCF/FactoryName=com.ibm.mq.jms.MQQueueConnectionFactoryFactory
jms/ImageQCF/RefAddr/4/Encoding=String
jms/ApprovalQCF/RefAddr/9/Type=PINT
jms/ImageQCF/RefAddr/4/Type=PORT
jms/InvoiceQ/RefAddr/5/Encoding=String
jms/ApprovalQCF/RefAddr/12/Encoding=String
jms/InvoiceQCF/RefAddr/1/Content=0
jms/ApprovalQCF/RefAddr/3/Content=localhost
jms/ApprovalQCF/RefAddr/7/Encoding=String
jms/InvoiceQCF/RefAddr/4/Content=1414
jms/ApprovalQCF/RefAddr/6/Content=819
jms/ImageQCF/RefAddr/8/Type=UCP
jms/InvoiceQ/RefAddr/3/Type=PER
jms/ApprovalQ/RefAddr/7/Encoding=String
jms/ImageQ/RefAddr/3/Encoding=String
jms/ApprovalQ/RefAddr/0/Type=VER
jms/InvoiceQCF/FactoryName=com.ibm.mq.jms.MQQueueConnectionFactoryFactory
jms/InvoiceQ/RefAddr/7/Type=FIQ
jms/ImageQ/RefAddr/3/Type=PER
jms/ImageQ/RefAddr/8/Content=ImageQ
jms/ImageQCF/RefAddr/13/Type=TM
jms/ImageQCF/RefAddr/5/Encoding=String
jms/ApprovalQCF/RefAddr/0/Content=2
jms/InvoiceQCF/RefAddr/10/Type=MBS
jms/ApprovalQ/ClassName=com.ibm.mq.jms.MQQueue
jms/InvoiceQCF/RefAddr/12/Content=5000
jms/InvoiceQCF/RefAddr/2/Encoding=String
jms/InvoiceQ/RefAddr/6/Encoding=String
jms/ApprovalQ/RefAddr/4/Type=CCS
jms/ApprovalQCF/RefAddr/13/Encoding=String
jms/ImageQ/RefAddr/7/Type=FIQ
jms/ApprovalQCF/RefAddr/8/Encoding=String
jms/InvoiceQCF/RefAddr/14/Type=MRET
jms/ImageQ/RefAddr/2/Content=-2
jms/ApprovalQ/RefAddr/8/Encoding=String
jms/ApprovalQ/RefAddr/8/Type=QU
jms/InvoiceQCF/RefAddr/0/Type=VER
jms/ImageQCF/RefAddr/13/Content=SYSTEM.DEFAULT.MODEL.QUEUE
jms/ImageQ/RefAddr/4/Encoding=String
jms/ImageQ/RefAddr/5/Content=0
jms/ApprovalQ/RefAddr/5/Content=0
jms/ApprovalQCF/ClassName=com.ibm.mq.jms.MQQueueConnectionFactory
jms/ApprovalQ/RefAddr/8/Content=ApprovalQ
jms/ApprovalQCF/RefAddr/13/Type=TM
jms/InvoiceQCF/RefAddr/4/Type=PORT
jms/ImageQCF/RefAddr/6/Encoding=String
jms/ImageQCF/RefAddr/10/Encoding=String
jms/InvoiceQ/RefAddr/6/Content=273
jms/ImageQCF/RefAddr/7/Content=false
jms/ApprovalQCF/RefAddr/2/Type=QMGR
jms/InvoiceQCF/RefAddr/3/Encoding=String
jms/InvoiceQ/RefAddr/7/Encoding=String
jms/ApprovalQCF/RefAddr/14/Encoding=String
jms/InvoiceQ/RefAddr/9/Content=ORM_Queue_Manager
jms/ApprovalQCF/RefAddr/9/Encoding=String
jms/InvoiceQCF/RefAddr/8/Type=UCP
jms/ImageQCF/RefAddr/10/Content=10
jms/ApprovalQ/RefAddr/2/Content=-2
jms/ApprovalQCF/RefAddr/6/Type=CCS
jms/ImageQCF/RefAddr/1/Type=TRAN
jms/ApprovalQ/RefAddr/9/Encoding=String
jms/InvoiceQ/RefAddr/0/Content=1
jms/ImageQ/RefAddr/5/Encoding=String
jms/ImageQCF/RefAddr/1/Content=0
jms/ApprovalQCF/RefAddr/14/Content=1
jms/InvoiceQ/RefAddr/3/Content=-2
jms/ImageQCF/RefAddr/4/Content=1414
jms/ImageQCF/RefAddr/5/Type=CHAN
jms/ImageQCF/RefAddr/7/Encoding=String
jms/InvoiceQ/RefAddr/0/Type=VER
jms/ImageQCF/RefAddr/11/Encoding=String
jms/InvoiceQCF/RefAddr/4/Encoding=String
jms/InvoiceQ/RefAddr/8/Encoding=String
jms/ImageQ/RefAddr/8/Type=QU
jms/ImageQCF/RefAddr/9/Type=PINT
jms/ApprovalQCF/RefAddr/0/Encoding=String
jms/ImageQ/RefAddr/0/Type=VER
jms/InvoiceQCF/RefAddr/8/Content=true
jms/ApprovalQCF/RefAddr/11/Content=1
jms/InvoiceQ/RefAddr/4/Type=CCS
jms/ImageQCF/RefAddr/10/Type=MBS
jms/ImageQ/RefAddr/6/Encoding=String
jms/ApprovalQ/RefAddr/1/Type=EXP
jms/ImageQ/RefAddr/4/Type=CCS
jms/ApprovalQCF/RefAddr/1/Content=0
jms/InvoiceQ/RefAddr/8/Type=QU
jms/ImageQCF/RefAddr/14/Type=MRET
jms/InvoiceQCF/RefAddr/11/Type=FIQ
jms/InvoiceQCF/RefAddr/2/Content=ORM_Queue_Manager
jms/ApprovalQCF/RefAddr/4/Content=1414
jms/ImageQCF/RefAddr/8/Encoding=String
Can anyone help me with this.
Hi Midhun Joseph,
Please check the below thread and see if it helps.
https://supportforums.cisco.com/thread/2070836
Thanks,
Anand
Similar Messages
-
Integrating Sun App Server with WebSphere MQ
Hi,
I am using Sun App server V8.1 . I also have a websphere MQ v5.3 installed in my system. I want to integrate this MQ with the App server.
I created a queueManager and a Queue in MQ and using the JMSAdmin console of the Mq, i created jndi lookup resources using INITIAL_CONTEXT_FACTORY=com.sun.jndi.fscontext.RefFSContextFactory
In the application server side, i created a Resource adapter using the command:
create-resource-adapter-config --property SupportsXA=true:ProviderIntegrationMode=jndi:RMPolicy=OnePerPhysicalConnection:JndiProperties=java.naming.factory.url.pkgs\\=com.ibm.mq.jms.naming,java.naming.factory.initial\\=com.sun.jndi.fscontext.RefFSContextFactory,java.naming.provider.url\\=file\\:D\\:\\MQ:LogLevel=finest mqra
Then i deployed this resource adaptor using the command :
deploy name mqra target server "D:\Sun\AppServer\lib\addons\resourceadapters\genericjmsra\genericra.rar"
Using this resource adapter i created a connection pool, connector resource and an admin object using the commands
create-connector-connection-pool raname mqra connectiondefinition javax.jms.QueueConnectionFactory transactionsupport XATransaction property ConnectionFactoryJndiName=MQQCF mymqpool
create-connector-resource --poolname mymqpool jms/MyMqQCF
create-admin-object raname mqra restype javax.jms.Queue --property DestinationJndiName=RTQueue jms/MyMqQueue
After that, i wrote a java code to lookup these resources and put a message into the queue.
This is the snippet of my java code
InitialContext ic = new InitialContext();
QueueConnectionFactory cnxFact = (QueueConnectionFactory)ic.lookup("jms/MyMqQCF");
Queue qu = (Queue)ic.lookup("jms/MyMqQueue");
try {
QueueConnection qConn = cnxFact.createQueueConnection();
QueueSession qSess = qConn.createQueueSession(false,Session.AUTO_ACKNOWLEDGE);
QueueSender qSend = qSess.createSender(qu);
TextMessage msg = qSess.createTextMessage();
msg.setText("1");
qSend.send(msg);
qConn.close();
I am getting an exception in the line, QueueConnection qConn = cnxFact.createQueueConnection();
here is the stack trace
java.lang.ClassCastException: com.ibm.mq.jms.MQQueueConnectionFactory
at com.sun.genericra.outbound.ManagedQueueConnectionFactory.createXAConnection(ManagedQueueConnectionFactory.java:45)
at com.sun.genericra.outbound.AbstractManagedConnectionFactory.createPhysicalConnection(AbstractManagedConnectionFactory.java:127)
at com.sun.genericra.outbound.AbstractManagedConnectionFactory.createManagedConnection(AbstractManagedConnectionFactory.java:111)
at com.sun.enterprise.resource.ConnectorAllocator.createResource(ConnectorAllocator.java:90)
at com.sun.enterprise.resource.IASNonSharedResourcePool.getUnenlistedResource(IASNonSharedResourcePool.java:437)
at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:355)
at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:250)
at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:213)
at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:174)
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:286)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:145)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:121)
at com.sun.genericra.outbound.ConnectionFactory.createConnection(ConnectionFactory.java:69)
at com.sun.genericra.outbound.ConnectionFactory.createQueueConnection(ConnectionFactory.java:101)
Can anybody help???bump
update:
So to avoid this problem I added spring.jar to the server classpath. that got rid of this message but then it started complaining that its missing struts2 core jar..i added that in server classpath as well...I did same for 4 other files and in the end it said 'bean for xwork has already been initialized' (because all these jars are in the application as well).
So I am stuck. if I add all jars to server classpath..it says beans have already been initialized. If I take out the jars from server classpath then it says that stuff is missing (eg. contextLoader.properties missing - orig post)
again, all this goes away when I restart the server..so i am just trying to avoid having to restart server every code change. -
Hi All ,
I have configured the WLS10.3 with MQ7.0.1.1 both are running in same physical box (same machine) successfully , and it work fine ...
but if the both are in different machine.. its not working.. please help if any doucment please share with me will be gr8 help full to me...
I have followed steps WebLogic MDB on WebSphere MQ for remote MQ server ...but still i am not abe to connect ..
Please share an screen shots /document /pdf .. how to generate the.binding file in remote ..You may get some idea...after refering to the following links...
Please refer to the Below Link to achieve this....With Screenshots as well
Suitable for WLS8.x
http://www.ibm.com/developerworks/websphere/library/techarticles/0604_kesavan/0604_kesavan.html
<font color=maroon>
For later versions of WLS8.x you can even refer to :</font><BR>
http://ibswings.blogspot.com/2008/02/integrating-mq-broker-6-with-bea.html
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here) -
Integrating portal/identity server with netegrity siteminder?
Has anyone integrated identity server/portal server with Netegrity Siteminder for single sign on?
Both products seem to support SAML and the Liberty Alliance project. Can a new auth module in the identity server just exchange the appropriate messages to create a single sign on token in netegrity and then validate the token on each request?We are running Identity Server 6.1 on Solaris.
The logs are in /var/opt/SUNWam/debug/
The most useful one is amAuth. You might also want to look at amAuthInternal, amSession, amAuthLDAP, and amAuthContext.
If you are seeing these, checkout AMConfig.properties (in /opt/SUNWam/lib). It should have the log level set to warning or message for you to get all these logs. Here's the setting from my AMConfig.properties:
com.iplanet.services.debug.level=warningPS Sorry for the unix paths, but hopefully they map closely to the windows directories. -
Any Way to test Integration of File Server with Portal??
Hi all,
I want to integrate File Server with my Portal so that my Application and Data remains seperated.
I have integrated File Server but i am not able to find the Folder of file server in KM.
i have create KM Navigation Iview When i specify any folder that is available in KM it works fine but i can not see the folder of file server...
<b>Is there any test with which i can check that weather my File Server is Integrated properly with my Portal or not?? </b>
Any help will be highly Appretiated ...
its very Urgent!!
Thanks in Advance
VinitHi,
I think already file system repository created in the portal. plz check it
Goto >System Admin>System Config>KM>Content management>Repositories manager>File system Repository. or create a new repository..
You can use File System Repository so that you can integrate ur file server with portal. Refer this link
http://help.sap.com/saphelp_nw04/helpdata/en/e3/92322ab24e11d5993800508b6b8b11/frameset.htm
Regards,
Senthil K. -
Integrating existing file server with EP6SP9
hello everyone
we are implementing EP6 SP9 portal for our SBU and we need to integrate our existing file server with portal in which we can upload documents and download existing documents.
do we need to use content management to access this file server using the file system repository manager or it can be done in some other way
If theres an alternate way to do this, kindly explain what needs to be done.
Kindly help
Thanking you
AnuragAnurag,
yes, CM is the software to use for this. you could, in principle, go without CM and code the neccessary stuff on your own. But: The more funcionality you desire (think of: additional properties, search functionality, versioning ...), the more sense using CM makes. Plus you get all required user interfaces (like a repository browser) for free.
Regards,
Dominik -
Integrating Apache Http Server with Streaming Server
Hi,
How to integrate my Apache Http Server with a Darwin Streaming Server or any server?
Any links are really appreciated.
Thanks.Your question has nothing whatsoever to do with JSP, JSTL, or java. Locking.
-
Problem in integrating sunone webserver with websphere app server
Hello all
I am trying to integrate sunone6.0 webserver with websphere5.0 app server. I did the following changes in sunone6.0 config files
1) Added one directive to the obj.conf file after "<Object name=default>":
Service fn="as_handler"
2) Added two directives to the end of the magus.conf file:
Init fn="load-modules" funcs="as_init,as_handler,as_term" shlib="/opt/WebSphere/AppServer/bin/libns41_http.so"
Init fn="as_init" bootstrap.properties="/opt/WebSphere/AppServer/config/cells/plugin-cfg.xml"
Can any one of u tell me how to check whether sunone webserver is redirecting request to webshere app server?
i tried this url https://sunonewebserver:80/webapps/examples but i was not getting any result of that url.You might want to check here http://developers.sun.com/prodtech/webserver/
and here http://developers.sun.com/
These have forums and articles devoted to specific Sun products -
Integrating MS BizTalk Server with Oracle Financial
Hi..
I'm looking for solution to enable Microsoft BizTalk Server 2000 integrates with Oracle Fin apps. I'm not familiar with Oracle Finance, please advise the most common scenario applied. I knew Compaq IOrchestration can do this integration, but if possible, I'd like to prevent the use of other 3rd parties product.
Thanks
Krisna
nullHi..>I'm looking for solution to enable Microsoft BizTalk Server 2000 integrates with Oracle Fin apps. I'm not familiar
with Oracle Finance, please advise the most common scenario
applied. I knew Compaq IOrchestration can do this integration,
but if possible, I'd like to prevent the use of other 3rd
parties product.>Thanks>Krisna>null -
Weblogic server with Websphere Portal server
Hi,
I am having this peculiar problem.
I am using Websphere Portal Server and accessing an application which is running
on Weblogic
6.1. I am also using struts on both the portal server and weblogic server.
The first time I access a jsp which is on weblogic from websphere portal I get
it fine.
I have button on this jsp on submit of which another jsp on weblogic should come
up.
The problem is that on click of the button the URL which is being formed is
<ip of weblogic>/<path of portal server>.
I have no clue why this is happening and its driving me crazy.
Can anyone tell me whats happening?
Thanks
SiriSiri-
This sounds like a URL rewriting issue with whatever proxy or tool you are using
to interface from WS to WLS. Basically, for the setup to work, any URL's that
are contained in the content served up by your WLS instance will have to be rewritten
such that your WS instance knows that the request is actually intended for the
WLS server.
-Brodi
"Siri" <[email protected]> wrote:
>
Hi,
I am having this peculiar problem.
I am using Websphere Portal Server and accessing an application which
is running
on Weblogic
6.1. I am also using struts on both the portal server and weblogic server.
The first time I access a jsp which is on weblogic from websphere portal
I get
it fine.
I have button on this jsp on submit of which another jsp on weblogic
should come
up.
The problem is that on click of the button the URL which is being formed
is
<ip of weblogic>/<path of portal server>.
I have no clue why this is happening and its driving me crazy.
Can anyone tell me whats happening?
Thanks
Siri -
Integrating Apahce HTTP server with Oracle Entitlement Server
Hi,
In our project we are trying to protect a applicaiton via Oracle entitlement server. And the login page for the same is hosted on the Apache server. But we are facing issue with the Log In page.
My apache is installed int he c:\apache folder.
The ssm folder for apache is c:\bea\ales32-ssm\apache-ssm\instance\asm1\config
the wles_module is at c:\bea\ales32-ssm\apache-ssm\lib\mod_wles.dll
I have added the follwoing lines in my httpd.conf file
LoadModule wles_module c:\bea\ales32-ssm\apache-ssm\lib\mod_wles.dll
<IfModule mod_wles.cpp>
WLESConfigDir c:\bea\ales32-ssm\apache-ssm\instance\asm1\config
</IfModule>
But while access the Apache home page I am gettign the error saying -
[Mon Mar 02 17:50:46 2009] [error] Unable to get HTTPServer instance, please check configuration.
[Mon Mar 02 17:50:46 2009] [error] WLESConfigDir=c:\\bea\\ales32-ssm\\apache-ssm\\instance\\asm1\\config
Please let me knwo if I am missing any.I am trying to access the URL -
http://<servername>:8080/test/foo.html where test/foo.html is located at c:\apache\apache2 (the docroot of Apache)
The Default.properties is as follow -
# Default policydomain settings for this runtime. Each policydomain can override these settings by creating their own
# configuration file named after the policydomain - if the policydomain is named "mydomain" then it's properties is named
# "mydomain.properties"
# All of these settings persist until the server which uses this runtime is shut down and restarted (loaded once on startup)
### Authentication settings
# Order in which authentication methods are valued. First mechanism takes precedence over the latter. Valid values are
# FORM - authenticate the user by collecting credentials (asking the user questions)
authentication.precedence=FORM
authentication.initialForm=/test/NamePasswordForm.html
authentication.nameCallback[]=username:/test/NamePasswordForm.html
authentication.passwordCallback[]=password:/test/NamePasswordForm.html
authentication.onatnfailure=/test/atnfailure.html
authentication.onatzfailure=/test/atzfailure.html
authentication.default.resultform=/test/loggedin.html
### Single-sign on domain. Must include at least 2 dots. For example: .bea.com
authentication.cookiedomain=.bea.com
### SAML Identity Transfer settings
# If this is set to true, SAML identity transfer is accepted in the post handler
saml.incoming.enable=false
# The URL that consumes SAML Browser/POST data -- SAMLIn.html is a sample
saml.incoming.url=<SAMLAssertionConsumerServiceURL>/test/SAMLIn.html
# If this is set to true, SAML SSIs are enabled, allowing for outgoing identity transfer via the SAML template
saml.outgoing.enable=false
### Role Mapping Settings
# Any value other than "true" is false and disables role mapping
rolemapping.enable=false
# The name of the variable injected into the request stream which contains a comma seperated list of roles
rolemapping.name=WLES_ROLES
### Credential Mapping Settings
# Any value of than "true" is false and disables credential mapping
credentialmapping.enable=false
# A comma seperated list of credentials to query the runtime for on each request. If the examples
# exist they will be added into the request stream and made availble to subsequant cgis
# If the credentials don't exist or are not defined no credentials are injected into the request stream
credentialmapping.credtypes=weblogic.UserPassword
# The name prepended to the credential before it is added to the request stream. A number may be added to make the name
# unique - i.e. CRED1=B64(SAMLResponse) CRED2=DBPassword etc
credentialmapping.prefix=CRED
### Session settings
# Session inactivity timeout in seconds
session.inactivity.timeout=600
# Session absolute timeout in seconds - causing the user to re-authenticate - zero means never
session.absolute.timeout=86400
# Session logoff URL
session.forcedlogoffURL=/test/logoff.html
# Session cookie prefix - used to create a unique session cookie - any string including null will do - a unique code is attached to the prefix
session.cookie.name=ALESIdentityAssertion
# Session cookie prefix - used to create a session cookie for non sensitive data
session.misc.cookie.name=WLES_MISC
# The SSM WS Configuration ID
ssmconfig.default=asm1
### Naming Authorities
namingauthority.resource=ARME_RESOURCE_AUTHORITY
namingauthority.action=ARME_ACTION_AUTHORITY
namingauthority.audit=AUDITBASE
webservice.registry.url=http://192.168.179.130:9000/ServiceRegistry
### SSL Settings
# Directory that contains ssl PEM and configuration files (such as wles-ssm.pem).
# Use forward slashes (/) even on Windows. For example: c:/path1/path2/ssl
ssl.directory=C:/bea/ales32-ssm/apache-ssm/instance/asm1/ssl
### Debug Settings
# The log level (Possible values are error or debug)
log.level=error -
Integrating Flash Media Server with other formats
I would like to create a standard screen/player that can play
any of the following formats:
windows media files, all flash files, quick time files, real
player files.
So, for example, lets say I want to manipulate the screen to
be an exact aspect ratio and have the same skin, and exact same
controls as my flash files, but I don't want to work with Real
Server or a Windows Media Server to serve these files what is the
best approach to take ? i.e. a "Standardized" look and feel for all
the formats listed.
Where would I be able to get information that will help me
achieve this ?There are two parts to this,
Flash Media Server application - both client and server side. Check out the video conference app here http://www.adobe.com/devnet/flashmediaserver/sample_apps.html.
The client side app will be a .swf file which you can develop in Flash/Flex.
Second, you will have to embed this swf file in your asp.net page that will be delivered to browsers. I am not an expert in asp.net but googled a bit and get a feeling it's possible using
tag.
Also don't forget to check this link http://renaun.com/blog/2006/10/28/139/ for video conferencing app using flex and FMS. -
How do I manage Integrated Web Logic server with JDev?
I need to change admin password on WebLogic Server (for the weblogic admin) and do it from JDev so that start/stop of weblogic server is possible. How do I do it? Continuing, how do I manage WLS from JDev?
Note that I am able to view the application server using view->Application Server Navigator and expand the integrated application server. At this stage, I want I can right click on the application server and launch the admin console. In the authentication tab, the passwords are "grayed" out. I want to reset the password for this weblogic server. The question is how do I do that?
Edited by: 975250 on Dec 5, 2012 2:50 PMHi,
There is no way to change password from the JDev configuration.
It should be done directly from WLS.
You can change the password @ WLS side and include the WLS into Jdev.
Here is the following way to change current password.
1.- Take the back of the LDAP folder of the admin server as well as managed server (you may rename those folders) and then delete the actual LDAP folder (found at servers\<MyServer>\data\ldap).
2. Make sure WebLogic instance is down.
3. Set your environment variables using setDomainEnv.sh.
4. cd to security directory in your instance.
(eg: $WL_HOME/user_projects/domains/base_domain/security)
5. Run:
java weblogic.security.utils.AdminAccount admin_user admin_pass .
Remember to change “admin_user” and “admin_pass” to your need.
Also, don’t forget the period “.” at the end of the above command, it is required.
6. After running the command, the file “DefaultAuthenticatorInit.ldift” will get updated.
7. Delete the following file from “ldap” folder:
cd WL_HOME/user_projects/domains/base_domain/servers/AdminServer/data/ldap
rm DefaultAuthenticatormyrealmInit.initialized
8. Go to folder DOMAIN_HOME/servers/AdminServer/security
9. Edit the boot.properties file and change the password to the value already used on step 5. Do this for all the servers in the domain.
10. Start Weblogic Server (Weblogic Server will encrypt the password for you).
Regards,
Kal -
Integrating BEA weblogic server with Oracle Advanced Queue
Hi all,
Does any one has experience in configuring Weblogic server interface/listen to Oracle AQ.Hi all,
Does any one has experience in configuring Weblogic server interface/listen to Oracle AQ. -
Integrating AAA Radius-server with Micro-soft IAS for SSH
Hi,
I am configuring aaa-server on ASA-5505(Radius) and i am Using microsoft IAS for authentication for SSH connections on ASA, so during " test aaa-server authentication " i getting this message
ERROR: Authentication Server not responding: AAA decode failure.. server secret mismatch
All users are there on active directory And below are the debug radius and debug aaa authentication.
ASA# test aaa-server authentication SSH-TULIP-ASA host 172.16.1.10 usern$
INFO: Attempting Authentication test to IP address <172.16.1.10> (timeout: 12 seconds)
radius mkreq: 0xd4
alloc_rip 0xd83bb99c
new request 0xd4 --> 124 (0xd83bb99c)
got user 'praveeny'
got password
add_req 0xd83bb99c session 0xd4 id 124
RADIUS_REQUEST
radius.c: rad_mkpkt
RADIUS packet decode (authentication request)
Raw packet data (length = 66).....
01 7c 00 42 37 a4 0d c2 d3 10 09 0e 2f 3c c5 1a | .|.B7......./<..
4b 28 41 e6 01 0a 70 72 61 76 65 65 6e 79 02 12 | K(A...praveeny..
a1 8f e1 ae 58 dd c2 52 d6 37 f7 32 13 3a 1c 71 | ....X..R.7.2.:.q
04 06 ac 1e 1e 06 05 06 00 00 00 0e 3d 06 00 00 | ............=...
00 05 | ..
Parsed packet data.....
Radius: Code = 1 (0x01)
Radius: Identifier = 124 (0x7C)
Radius: Length = 66 (0x0042)
Radius: Vector: 37A40DC2D310090E2F3CC51A4B2841E6
Radius: Type = 1 (0x01) User-Name
Radius: Length = 10 (0x0A)
Radius: Value (String) =
70 72 61 76 65 65 6e 79 | praveeny
Radius: Type = 2 (0x02) User-Password
Radius: Length = 18 (0x12)
Radius: Value (String) =
a1 8f ERROR: Authentication Server not responding: AAA decode failure.. server secret mismatch
Tulip-ASA# e1 ae 58 dd c2 52 d6 37 f7 32 13 3a 1c 71 | ....X..R.7.2.:.q
Radius: Type = 4 (0x04) NAS-IP-Address
Radius: Length = 6 (0x06)
Radius: Value (IP Address) = 172.30.30.6 (0xAC1E1E06)
Radius: Type = 5 (0x05) NAS-Port
Radius: Length = 6 (0x06)
Radius: Value (Hex) = 0xE
Radius: Type = 61 (0x3D) NAS-Port-Type
Radius: Length = 6 (0x06)
Radius: Value (Hex) = 0x5
send pkt 172.16.1.10/1645
rip 0xd83bb99c state 7 id 124
rad_vrfy() : bad req auth
rad_procpkt: radvrfy fail
RADIUS_DELETE
remove_req 0xd83bb99c session 0xd4 id 124
free_rip 0xd83bb99c
radius: send queue empty
Thanks in advance all comments and suggestion are welcome
Regards,
PraveenHi,
RADIUS as a protocol does not support command accounting, ie., logging of commands that a users enters once authenticated to a router/switch. You will need to use TACACS+ for this purpose. The aaa command accounting commands that you used has been removed from IOS since 12.2T. Please take a look at this for details: http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCdp57020.
Thanks,
Wen
Maybe you are looking for
-
I downloaded a new version of firefox. It said it had problems with my norton toolbar and now it doesn't feature it in the window. I'm not that comp savvy. How do I either get the Norton toolbar up or go back to the old firefox? Thank you.
-
hi, i have used script for insert statement.while compiling it ,it shows error in declare section that to in t24_customer_code.can any body pls check out and tell me. the script is .... DECLARE a NUMBER := 10; t24_customer_code NUMBER; my_tab SYS.dbm
-
When I turn on my ipod 5, it apears something about registing my ipod. Can someone tell me what do I have to do? I live in argentina
-
DAQ Assist to block diagram code
Hi, I am fairly new to NI Signal Express. I am using the NI 9214 for thermocouples and I have sucessfully communicated with the NI using DAQ assistant. It generated the code below. How can i have more control of my VI? I want to be able to turn on an
-
My "U" on my Ipod Touch Keyboard is not working. Any Suggestions??
My ipod touch 4 has been working fine for about two years; however, over the weekend my key my keyboard is not functioning properly. The letter "U" is not responding when in vertical view, but works fine in horizontal view..its with all applications