users@glassfish.java.net

Re: Error with GenericResource Adapter with Wepsphere MQ 6.0

From: <glassfish_at_javadesktop.org>
Date: Tue, 20 Jan 2009 03:12:00 PST

Hi Maria,
In the first parse i see atleast 2 things that have to change

Please remove the "\" in the Jndi properties, see the log statement below, which shows
JndiProperties = java.naming.factory.url.pkgs\=com.ibm.mq.jms.naming,java.naming.factory.initial\=com.sun.jndi.fscontext.RefFSContextFactory,java.naming.provider.url\=

It should be
JndiProperties = java.naming.factory.url.pkgs=com.ibm.mq.jms.naming,java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory,java.naming.provider.url=

If you have entered through admin gui, make the changes appropriately


[#|2009-01-20T11:07:33.761+0100|FINEST|sun-appserver9.1|com.sun.genericjmsra|_ThreadID=10;_ThreadName=main;ClassName=com.sun.genericra.GenericJMSRAProperties;MethodName=setResourceAdapter;_RequestID=f4d1601a-f111-4ebd-ab70-7864679ef084;|setResourceAdapter com.sun.genericra.GenericJMSRA_at_efe7d783{ConnectionFactoryClassName = null},{QueueConnectionFactoryClassName = null},{TopicConnectionFactoryClassName = null},{XAConnectionFactoryClassName = null},{XAQueueConnectionFactoryClassName = null},{XATopicConnectionFactoryClassName = null},{QueueClassName = null},{TopicClassName = null},{UnifiedDestinationClassName = null},{ConnectionFactoryProperties = null},{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:/C:/coda},{ProviderIntegrationMode = jndi},{CommonSetterMethodName = null},{SupportsXA = true},{DeliveryType = null},{UseFirstXAForRedelivery = false},|#]^M
^M


Next, the classpath-suffix configuration in domain.xml is not correct, there is a "," separating the ibm jars, the separator should have been a ";" (semi-colon), please correct this

<java-config classpath-suffix="C:\Programmi\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jar,C:\Programmi\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jms.Nojndi.jar,C:\Programmi\IBM\WebSphere MQ\Java\lib\com.ibm.mq.soap.jar,C:\Programmi\IBM\WebSphere MQ\Java\lib\com.ibm.mqjms.jar,C:\Programmi\IBM\WebSphere MQ\Java\lib\com.ibm.mqetclient.jar,C:\Programmi\IBM\WebSphere MQ\Java\lib\commonservices.jar,C:\Programmi\IBM\WebSphere MQ\Java\lib\dhbcore.jar,C:\Programmi\IBM\WebSphere MQ\Java\lib\rmm.jar,C:\Programmi\IBM\WebSphere MQ\Java\lib\providerutil.jar,C:\Programmi\IBM\WebSphere MQ\Java\lib\CL3Export.jar,C:\Programmi\IBM\WebSphere MQ\Java\lib\CL3Nonexport.jar" debug-enabled="false" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009" env-classpath-ignored="false" java-home="${com.sun.aas.javaRoot}" javac-options="-g" rmic-options="-iiop -poa -alwaysgenerate -keepgenerated -g">


Thanks
-Ramesh
[Message sent by forum member 'rampsarathy' (rampsarathy)]

http://forums.java.net/jive/thread.jspa?messageID=327026