You can receive an exception error deploy a message-driven bean (MDB) against a listener port, because the application servers's user ID does not have write access to the operating system's temporary directory.
[6/23/03 22:45:58:232 CDT] 673106a8 MsgListenerPo W WMSG0049E: Failed to start MDB PSSampleMDB against listener port SamplePubSubListenerPort [6/23/03 22:47:58:289 CDT] 673106a8 FreePool E J2CA0046E: Method createManagedConnectionWithMCWrapper caught an exception during creation of the ManagedConnection for resource JMS$SampleJMSQueueConnectionFactory, throwing ResourceAllocationException. Original exception: javax.resource.spi.ResourceAdapterInternalException: createQueueConnection failed com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2009 MQJE003: IO error transmitting message buffer at com.ibm.mq.MQManagedConnectionJ11.(MQManagedConnectionJ11.java:239)
If you see this exception error, you can give your application sever write access to the temporary directory by completing the following steps:
In this information ... | IBM Redbooks, demos, education, and more(Index) |