We start JmsAdmin with this settings inside the JMSAdmin.config so the .bindings will end up in C:/jms-jndi-directories/testjndi
INITIAL_CONTEXT_FACTORY=com.sun.jndi.fscontext.RefFSContextFactory
PROVIDER_URL=file:/C:/jms-jndi-directories/testjndi
But during runtime we get this messages from the weblogic console:
<2006-mar-27 kl 14:29 CEST> <Debug> <MessagingBridge> <BEA-200006> <Messaging bridge debugging RUNTIME! Bridge TESTBridge Successfully got connection to the source destination.>
<2006-mar-27 kl 14:29 CEST> <Debug> <MessagingBridge> <BEA-200006> <Messaging bridge debugging RUNTIME! Bridge TESTBridge Getting target connection.>
<2006-mar-27 kl 14:29 CEST> <Warning> <Connector> <BEA-190032> << Weblogic Messaging Bridge Adapter (XA)_eis/jms/WLSConnectionFactoryJNDIXA > ResourceAllocationException of javax.resource.ResourceException: Failed to start the connection on createManagedConnection.>
To me this says that the bridge get connected to the source at WebLogic but not to the target at MQ.
Do you guys see the error?
BTW of course we have checked the name inside MQ compare to the JMSAdmin input, they match!
Posted: Mon Mar 27, 2006 6:35 am Post subject: Correction of the info above!!!
Acolyte
Joined: 14 Feb 2006 Posts: 63
Correction of the info above!!!
The Connection Factory is configured like:
<JMSConnectionFactory JNDIName="jms/cgServerConnectionFactory"
Name="cgServerConnectionFactory" Targets="cgServer" XAConnectionFactoryEnabled="true"/>
Sorry for that mistake!!!
Posted: Tue Apr 04, 2006 5:28 am Post subject: This was the error
Acolyte
Joined: 14 Feb 2006 Posts: 63
The mq.*.jar:s needed to be in the MQ-installation folder. I bundled them into a own folder with other jars. Strange, but having them and point them out from the classpath made it work!
Server connections are not made with 100% pure java - they have to use JNI to load the necessary shared libraries/dlls to connect to the kernel shared memory that the queue manager exposes, and to connect to any XA resources needed.
So that's why you can't just bundle a server connection package into a jar file and use it - there's a lot more stuff that's needed and it can't be jarred up. _________________ I am *not* the model of the modern major general.
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