Posted: Thu Oct 09, 2003 8:46 am Post subject: connecting WEBSPHERE to MQ on Z/OS
Novice
Joined: 08 Jun 2003 Posts: 15
Hi,
I'm having problems using JMS on Websphere 5.01 for Z/OS when connection to a full-version installed MQ 5.3.1.
The configuration i made is simple :
1) install MQ
2) install WAS
3) configure QCF (using binding) and a Q.
i tryed adding some of the jar files that came with MQ (/usr/lpp/mqm/java/lib/*.jar) to the websphere classpath but it didnt help much (maybe i did it not the way i should have ?).
Did anyone succedd working in this scenario ?
Anyone has any idea what is the problem ?
could this be a class-path problem ?
i think this's the problem - J2CA0020E , below it i added the whole websphere log.
Thanks, Hagai.
------------------------------------------------------------------------------------------------------------------------------------------
J2CA0020E: The Connection Pool Manager could not allocate a Managed Connection: {0}.
Explanation: This message indicates that an exception was thrown by the Pool Manager when attempting to allocate a Managed Connection. The exception text should help with deciphering the problem encountered.
User Response: If there are no user controlled indications, the message may be due to an error in the internal J2C runtime processing and a defect should be written. Include the activity.log with the defect. Include, if possible, a trace of the application server with the following trace string: com.ibm.ejs.j2c.*=all=enabled
-----------------------------------------------------------------------------------------------------------------------------------------
Websphere Sysout :
-------------------------------------------------------------------------------------------------------------------
Starting servlet
Getting an QueueConnectionFactory ...
Got the QueueConnectionFactory: com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle
managed connection factory = com.ibm.ejs.jms.WSJMSManagedQueueConnectionFactor
connection manager = com.ibm.ejs.j2c.ConnectionManager@7f7e0add
restricted methods enabled = false
Getting a QueueConnection ...
Trace: 2003/10/02 15:19:55.188 01 t=ACE390 c=6.1 key=P8 (13007002)
FunctionName: com.ibm.ejs.j2c.PrivExAction
SourceId: com.ibm.ejs.j2c.PrivExAction
Category: WARNING
ExtendedMessage: J2CA0114W: No container-managed authentication alias found.
Trace: 2003/10/02 15:19:55.188 01 t=ACE390 c=6.1 key=P8 (0000000A)
Description: Log Boss/390 Error
from filename: ./bborjtr.cpp
at line: 812
error message: BBOO0221W J2CA0114W: No container-managed authentication alias
Trace: 2003/10/02 15:19:55.248 01 t=ACE390 c=6.1 key=P8 (13007002)
FunctionName: com.ibm.ejs.j2c.poolmanager.FreePool
SourceId: com.ibm.ejs.j2c.poolmanager.FreePool
Category: ERROR
ExtendedMessage: J2CA0046E: Method createManagedConnctionWithMCWrapper caught
n for resource JMS$mqhagaiqcf, throwing ResourceAllocationException. Original
Exception: createQueueConnection failed
at com.ibm.ejs.jms.JMSCMUtils.mapToResourceException(JMSCMUtils.java:123)
at com.ibm.ejs.jms.JMSManagedQueueConnection.createConnection(JMSManagedQueueC
at com.ibm.ejs.jms.JMSManagedConnection.<init>(JMSManagedConnection.java:160)
at com.ibm.ejs.jms.JMSManagedQueueConnection.<init>(JMSManagedQueueConnection.
at com.ibm.ejs.jms.WSJMSManagedQueueConnectionFactory.createManagedConnection(
at com.ibm.ejs.jms.JMSManagedConnectionFactory.createManagedConnection(JMSMana
at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(F
at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.jav
at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:1065)
at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java
at com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle.createQueueConnection(JMSQu
at bll.hagai.WriteQueue.go(WriteQueue.java:95)
at bll.hagai.WriteQueue.doGet(WriteQueue.java:37)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServl
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifec
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleSer
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecy
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.jav
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidSe
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletIn
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppReque
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReques
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoke
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(
at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRe
at com.ibm.ws390.wc.httpcatcher.WS390Router$WS390RouterDispatcher.dispatch(WS3
at com.ibm.ws390.wc.httpcatcher.WS390Router$WS390RouterDispatcher.dispatchByUR
at com.ibm.ws390.wc.httpcatcher.WS390Router$WS390RouterDispatcher.service(WS39
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.ja
at com.ibm.ws390.wc.http.HttpConnection.readAndHandleRequest(HttpConnection.ja
at com.ibm.ws390.wc.http.HttpConnection.handle390Request(HttpConnection.java:4
at com.ibm.ws390.wc.httpcatcher.WS390HttpTransport.handleRequest(WS390HttpTran
at com.ibm.ws390.wc.httpcatcher.WS390HttpTransportWrapper.httprequest(WS390Htt
at com.ibm.ws390.orb.ServerRegionBridge.invoke(ServerRegionBridge
Trace: 2003/10/02 15:19:55.255 01 t=ACE390 c=6.1 key=P8 (0000000A)
Description: Log Boss/390 Error
from filename: ./bborjtr.cpp
at line: 812
error message: BBOO0220E J2CA0046E: Method createManagedConnctionWithMCWrappe
onnection for resource JMS$mqhagaiqcf, throwing ResourceAllocationException. O
InternalException: createQueueConnection failed
at com.ibm.ejs.jms.JMSCMUtils.mapToResourceException(JMSCMUtils.java:123)
at com.ibm.ejs.jms.JMSManagedQueueConnection.createConnection(JMSManagedQueueC
at com.ibm.ejs.jms.JMSManagedConnection.<init>(JMSManagedConnection.java:160)
at com.ibm.ejs.jms.JMSManagedQueueConnection.<init>(JMSManagedQueueConnection.
at com.ibm.ejs.jms.WSJMSManagedQueueConnectionFactory.createManagedConnection(
at com.ibm.ejs.jms.JMSManagedConnectionFactory.createManagedConnection(JMSMana
at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(F
at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.jav
at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:1065)
at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java
at com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle.createQueueConnection(JMSQu
at bll.hagai.WriteQueue.go(WriteQueue.java:95)
at bll.hagai.WriteQueue.doGet(WriteQueue.java:37)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServl
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifec
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleSer
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecy
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.jav
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidSe
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletIn
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppReque
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReques
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoke
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(
at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRe
at com.ibm.ws390.wc.httpcatcher.WS390Router$WS390RouterDispatcher.dispatch(WS3
at com.ibm.ws390.wc.httpcatcher.WS390Router$WS390RouterDispatcher.dispatchByUR
at com.ibm.ws390.wc.httpcatcher.WS390Router$WS390RouterDispatcher.service(WS39
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.ja
at com.ibm.ws390.wc.http.HttpConnection.readAndHandleRequest(HttpConnection.ja
at com.ibm.ws390.wc.http.HttpConnection.handle390Request(HttpConnection.java:4
at com.ibm.ws390.wc.httpcatcher.WS390HttpTransport.handleRequest(WS390HttpTran
at com.ibm.ws390.wc.httpcatcher.WS390HttpTransportWrapper.httprequest(WS390Htt
at com.ibm.ws390.orb.ServerRegionBridge.invoke(ServerRegionBridge.java:414)
at com.ibm.ws390.orb.ORBEJSBridge.invoke(ORBEJSBridge.
Trace: 2003/10/02 15:19:55.272 01 t=ACE390 c=6.1 key=P8 (13007002)
FunctionName: com.ibm.ejs.j2c.ConnectionManager
SourceId: com.ibm.ejs.j2c.ConnectionManager
Category: ERROR
ExtendedMessage: J2CA0020E: The Connection Pool Manager could not allocate a
tionException: Caught ResourceException thrown during creation of the ManagedCo
at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(F
at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.jav
at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:1065)
at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java
at com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle.createQueueConnection(JMSQu
at bll.hagai.WriteQueue.go(WriteQueue.java:95)
at bll.hagai.WriteQueue.doGet(WriteQueue.java:37)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServl
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifec
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleSer
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecy
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.jav
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidSe
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletIn
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppReque
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReques
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoke
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(
at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRe
at com.ibm.ws390.wc.httpcatcher.WS390Router$WS390RouterDispatcher.dispatch(WS3
at com.ibm.ws390.wc.httpcatcher.WS390Router$WS390RouterDispatcher.dispatchByUR
at com.ibm.ws390.wc.httpcatcher.WS390Router$WS390RouterDispatcher.service(WS39
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.ja
at com.ibm.ws390.wc.http.HttpConnection.readAndHandleRequest(HttpConnection.ja
at com.ibm.ws390.wc.http.HttpConnection.handle390Request(HttpConnection.java:4
at com.ibm.ws390.wc.httpcatcher.WS390HttpTransport.handleRequest(WS390HttpTran
at com.ibm.ws390.wc.httpcatcher.WS390HttpTransportWrapper.httprequest(WS390Htt
at com.ibm.ws390.orb.ServerRegionBridge.invoke(ServerRegionBridge.java:414)
at com.ibm.ws390.orb.ORBEJSBridge.invoke(ORBEJSBridge.java:164)
.
Trace: 2003/10/02 15:19:55.274 01 t=ACE390 c=6.1 key=P8 (0000000A)
Description: Log Boss/390 Error
from filename: ./bborjtr.cpp
at line: 812
error message: BBOO0220E J2CA0020E: The Connection Pool Manager could not all
ceAllocationException: Caught ResourceException thrown during creation of the M
at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(F
at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.jav
at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:1065)
at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java
at com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle.createQueueConnection(JMSQu
at bll.hagai.WriteQueue.go(WriteQueue.java:95)
at bll.hagai.WriteQueue.doGet(WriteQueue.java:37)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServl
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifec
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleSer
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecy
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.jav
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidSe
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletIn
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppReque
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReques
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoke
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(
at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRe
at com.ibm.ws390.wc.httpcatcher.WS390Router$WS390RouterDispatcher.dispatch(WS3
at com.ibm.ws390.wc.httpcatcher.WS390Router$WS390RouterDispatcher.dispatchByUR
at com.ibm.ws390.wc.httpcatcher.WS390Router$WS390RouterDispatcher.service(WS39
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.ja
at com.ibm.ws390.wc.http.HttpConnection.readAndHandleRequest(HttpConnection.ja
at com.ibm.ws390.wc.http.HttpConnection.handle390Request(HttpConnection.java:4
at com.ibm.ws390.wc.httpcatcher.WS390HttpTransport.handleRequest(WS390HttpTran
at com.ibm.ws390.wc.httpcatcher.WS390HttpTransportWrapper.httprequest(WS390Htt
at com.ibm.ws390.orb.ServerRegionBridge.invoke(ServerRegionBridge.java:414)
at com.ibm.ws390.orb.ORBEJSBridge.invoke(ORBEJSBridge.java:164)
. com.ibm.ejs.j2c.ConnectionManager com.ibm.ejs.j2c.ConnectionManager
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'localho
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'localho
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.ja
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:1716)
at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:1113)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:170)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:80)
at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnec
at com.ibm.ejs.jms.JMSManagedQueueConnection.createConnection(JMSManagedQueueC
at com.ibm.ejs.jms.JMSManagedConnection.<init>(JMSManagedConnection.java:160)
at com.ibm.ejs.jms.JMSManagedQueueConnection.<init>(JMSManagedQueueConnection.
at com.ibm.ejs.jms.WSJMSManagedQueueConnectionFactory.createManagedConnection(
at com.ibm.ejs.jms.JMSManagedConnectionFactory.createManagedConnection(JMSMana
at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(F
at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.jav
at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:1065)
at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java
at com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle.createQueueConnection(JMSQu
at bll.hagai.WriteQueue.go(WriteQueue.java:95)
at bll.hagai.WriteQueue.doGet(WriteQueue.java:37)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServl
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifec
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleSer
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecy
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.jav
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidSe
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletIn
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppReque
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReques
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoke
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(
at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRe
at com.ibm.ws390.wc.httpcatcher.WS390Router$WS390RouterDispatcher.dispatch(WS3
at com.ibm.ws390.wc.httpcatcher.WS390Router$WS390RouterDispatcher.dispatchByUR
at com.ibm.ws390.wc.httpcatcher.WS390Router$WS390RouterDispatcher.service(WS39
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.ja
at com.ibm.ws390.wc.http.HttpConnection.readAndHandleRequest(HttpConnection.ja
at com.ibm.ws390.wc.http.HttpConnection.handle390Request(HttpConnection.java:4
at com.ibm.ws390.wc.httpcatcher.WS390HttpTransport.handleRequest(WS390HttpTran
at com.ibm.ws390.wc.httpcatcher.WS390HttpTransportWrapper.httprequest(WS390Htt
at com.ibm.ws390.orb.ServerRegionBridge.invoke(ServerRegionBridge.java:414)
at com.ibm.ws390.orb.ORBEJSBridge.invoke(ORBEJSBridge.java:164)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum