WebSphere Commerce suite - WCS 5.4 and JMS/MQ

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Commerce suite > January 2004 > WCS 5.4 and JMS/MQ





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author WCS 5.4 and JMS/MQ
Jason Evans

2004-01-19, 2:48 pm

I am receiving the following error messages when WCS 5.4 starts. WCS is
trying to connect to the Queue Connection Factory and for some reason it
cannot? I have setup a test JMS program to send a message using this
Queue Connection Factory and it sends a MQ message successfully. If you
have any ideas what would be causing this, it would be helpfully.

Thanks,
Jason

==============
TimeStamp: 2003-09-26 14:28:57.246
Thread ID: <Thread-14>
Class: com.ibm.commerce.messaging.listener.TransportAdapterWorker
Method: run()
Severity: 1
Message Text: ERROR CMN8425E Messaging System. An error occurred while
getting
the connector for transport Error establishing a JMS Session for
QueueConnecti
onFactory JMSQueueConnectionFactory..

==============
TimeStamp: 2003-09-26 14:28:57.246
Thread ID: <Thread-12>
Class: com.ibm.commerce.messaging.listener.TransportAdapterWorker
Method: run()
Severity: 1
Message Text: ERROR CMN8425E Messaging System. An error occurred while
getting
the connector for transport Error establishing a JMS Session for
QueueConnecti
onFactory JMSQueueConnectionFactory..

==============
TimeStamp: 2003-09-26 14:28:57.248
Thread ID: <Thread-13>
Class:
com.ibm.commerce.messaging.listener.TransportAdapterSerialDispatch
er
Method: run()
Severity: 1
Message Text: ERROR CMN8425E Messaging System. An error occurred while
getting
the connector for transport Error establishing a JMS Session for
QueueConnecti
onFactory JMSQueueConnectionFactory..

==============
TimeStamp: 2003-09-26 14:28:57.317
Thread ID: <Schedulerdefault#2>
Class:
com.ibm.commerce.messaging.outboundservice.SendTransactedMsgCmdImp
l
Method: assembleMsg
Severity: 1
Message Text: ERROR CMN8216E Failed to send the message using the
SendTransacte
dMsg command.
Exception: com.ibm.connector.CommunicationException: Error
establishing a JMS
Session for QueueConnectionFactory JMSQueueConnectionFactory.
at
com.ibm.commerce.messaging.adapters.JMSCommunication.connect(JMSCommu
nication.java:283)
at
com.ibm.commerce.messaging.outboundservice.Messaging.sendImmediate(Me
ssaging.java:1970)
at
com.ibm.commerce.messaging.outboundservice.SendTransactedMsgCmdImpl.a
ssembleMsg(SendTransactedMsgCmdImpl.java:282)
at
com.ibm.commerce.messaging.outboundservice.SendTransactedMsgCmdImpl.p
erformExecute(SendTransactedMsgCmdImpl.java:349)
at
com.ibm.commerce.command.ECCommandTarget.executeCommand(ECCommandTarg
et.java:78)
at
com.ibm.sfc.cmd.TargetableCommandImpl.execute(TargetableCommandImpl.j
ava:106)
at
com.ibm.commerce.command.AbstractECTargetableCommand.execute(Abstract
ECTargetableCommand.java:126)
at
com.ibm.commerce.webcontroller.ControllerCmdExecUnit.execute(Controll
erCmdExecUnit.java:193)
at
com.ibm.commerce.webcontroller.WebController.executeTransaction(WebCo
ntroller.java:233)
at
com.ibm.commerce.webcontroller.WebController.processRequest(WebContro
ller.java:865)
at
com.ibm.commerce.scheduler.SchedulerAdapter.processRequest(SchedulerA
dapter.java:204)
at
com.ibm.commerce.scheduler.SchedulerJob.process(SchedulerJob.java:264
)
at
com.ibm.commerce.scheduler.SchedulerJob.run(SchedulerJob.java:581)
at
com.ibm.commerce.scheduler.SchedulerThread.run(SchedulerThread.java:1
39)

Matt Fleming

2004-01-19, 2:48 pm

Is this running from within WSAD or the real WAS environment? If it is from
within WSAD (or the single server version of WAS) you will need to re-setup
your JMS queues every restart.. the WAS embedded does not persist JNDI
across restarts.

-Matt
"Jason Evans" <jevans@cdsfulfillment.com> wrote in message
news:3F7839F3.1050808@cdsfulfillment.com...
quote:

> I am receiving the following error messages when WCS 5.4 starts. WCS is
> trying to connect to the Queue Connection Factory and for some reason it
> cannot? I have setup a test JMS program to send a message using this
> Queue Connection Factory and it sends a MQ message successfully. If you
> have any ideas what would be causing this, it would be helpfully.
>
> Thanks,
> Jason
>
> ==============
> TimeStamp: 2003-09-26 14:28:57.246
> Thread ID: <Thread-14>
> Class: com.ibm.commerce.messaging.listener.TransportAdapterWorker
> Method: run()
> Severity: 1
> Message Text: ERROR CMN8425E Messaging System. An error occurred while
> getting
> the connector for transport Error establishing a JMS Session for
> QueueConnecti
> onFactory JMSQueueConnectionFactory..
>
> ==============
> TimeStamp: 2003-09-26 14:28:57.246
> Thread ID: <Thread-12>
> Class: com.ibm.commerce.messaging.listener.TransportAdapterWorker
> Method: run()
> Severity: 1
> Message Text: ERROR CMN8425E Messaging System. An error occurred while
> getting
> the connector for transport Error establishing a JMS Session for
> QueueConnecti
> onFactory JMSQueueConnectionFactory..
>
> ==============
> TimeStamp: 2003-09-26 14:28:57.248
> Thread ID: <Thread-13>
> Class:
> com.ibm.commerce.messaging.listener.TransportAdapterSerialDispatch
> er
> Method: run()
> Severity: 1
> Message Text: ERROR CMN8425E Messaging System. An error occurred while
> getting
> the connector for transport Error establishing a JMS Session for
> QueueConnecti
> onFactory JMSQueueConnectionFactory..
>
> ==============
> TimeStamp: 2003-09-26 14:28:57.317
> Thread ID: <Schedulerdefault#2>
> Class:
> com.ibm.commerce.messaging.outboundservice.SendTransactedMsgCmdImp
> l
> Method: assembleMsg
> Severity: 1
> Message Text: ERROR CMN8216E Failed to send the message using the
> SendTransacte
> dMsg command.
> Exception: com.ibm.connector.CommunicationException: Error
> establishing a JMS
> Session for QueueConnectionFactory JMSQueueConnectionFactory.
> at
> com.ibm.commerce.messaging.adapters.JMSCommunication.connect(JMSCommu
> nication.java:283)
> at
> com.ibm.commerce.messaging.outboundservice.Messaging.sendImmediate(Me
> ssaging.java:1970)
> at
> com.ibm.commerce.messaging.outboundservice.SendTransactedMsgCmdImpl.a
> ssembleMsg(SendTransactedMsgCmdImpl.java:282)
> at
> com.ibm.commerce.messaging.outboundservice.SendTransactedMsgCmdImpl.p
> erformExecute(SendTransactedMsgCmdImpl.java:349)
> at
> com.ibm.commerce.command.ECCommandTarget.executeCommand(ECCommandTarg
> et.java:78)
> at
> com.ibm.sfc.cmd.TargetableCommandImpl.execute(TargetableCommandImpl.j
> ava:106)
> at
> com.ibm.commerce.command.AbstractECTargetableCommand.execute(Abstract
> ECTargetableCommand.java:126)
> at
> com.ibm.commerce.webcontroller.ControllerCmdExecUnit.execute(Controll
> erCmdExecUnit.java:193)
> at
> com.ibm.commerce.webcontroller.WebController.executeTransaction(WebCo
> ntroller.java:233)
> at
> com.ibm.commerce.webcontroller.WebController.processRequest(WebContro
> ller.java:865)
> at
> com.ibm.commerce.scheduler.SchedulerAdapter.processRequest(SchedulerA
> dapter.java:204)
> at
> com.ibm.commerce.scheduler.SchedulerJob.process(SchedulerJob.java:264
> )
> at
> com.ibm.commerce.scheduler.SchedulerJob.run(SchedulerJob.java:581)
> at
> com.ibm.commerce.scheduler.SchedulerThread.run(SchedulerThread.java:1
> 39)
>




Jason Evans

2004-01-19, 2:48 pm

This is a single server version of WAS. I have followed the WCS help
doc. The interesting part is I can connect to and send MQ messages
using a test Java class outside of WCS, but when WCS tries to connect to
the Queue Connection Factory it fails?

Also, I don't know if this matters, but the MQ manager is on a different
server than WCS. I have the JMS Queue Connection factory set to
transport(CLIENT).

Thanks,
Jason

Matt Fleming wrote:
quote:

> Is this running from within WSAD or the real WAS environment? If it is from
> within WSAD (or the single server version of WAS) you will need to re-setup
> your JMS queues every restart.. the WAS embedded does not persist JNDI
> across restarts.
>
> -Matt
> "Jason Evans" <jevans@cdsfulfillment.com> wrote in message
> news:3F7839F3.1050808@cdsfulfillment.com...
>
>
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com