activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Purcell <tpurc...@chariotsolutions.com>
Subject Re: Deploy activemq-ra-4.0.rar on Weblogic 8.1
Date Fri, 07 Jul 2006 18:22:39 GMT

Hiram

I tried using the Weblogic adapter. We use in in production without problem
but that is WLS to WLS. When I use it to connect to ActiveMQ it gets a
NoSuchMethodException and then complains about "Unknown protocol: 'TCP'"
(see stack trace below). I get the same result when the ActiveMQ jars are at
the beginning of the classpath as when they are at the end.

Any thoughts?

Thanks
Tom 

####<Jul 7, 2006 1:25:31 PM EDT> <Info> <Connector> <tom-wireless>
<cgServer> <ExecuteThread: '3' for queue: 'MessagingBridge'> <<WLS Kernel>>
<> <BEA-190097> <Unable to complete the connection proxy test for
"eis/jms/WLSConnectionFactoryJNDIXA" due to an exception. WebLogic Server
will attempt to use connection proxies for resource adapter
"eis/jms/WLSConnectionFactoryJNDIXA" as usual. Exception:
java.lang.NoSuchMethodException: getConnection.> 
####<Jul 7, 2006 1:25:32 PM EDT> <Info> <Common> <tom-wireless> <cgServer>
<ExecuteThread: '3' for queue: 'MessagingBridge'> <<WLS Kernel>> <>
<BEA-000628> <Created "1" resources for pool "Weblogic Messaging Bridge
Adapter (XA)_eis/jms/WLSConnectionFactoryJNDIXA", out of which "1" are
available and "0" are unavailable.> 
####<Jul 7, 2006 1:25:31 PM EDT> <Info> <MessagingBridge> <tom-wireless>
<cgServer> <ExecuteThread: '4' for queue: 'MessagingBridge'> <<WLS Kernel>>
<> <BEA-200042> <Bridge Remote to Local Remote Jreport Response Messaging
Bridge failed to connect to the source destination and will try again in 20
seconds. (java.lang.Exception: javax.resource.ResourceException:
ConnectionFactory: failed to get initial context (InitialContextFactory
=weblogic.jndi.WLInitialContextFactory, url = tcp://10.0.1.173:61616, user
name = null)
	at
weblogic.jms.adapter.JMSBaseConnection.throwResourceException(Ljava/lang/String;Ljava/lang/Throwable;Z)V(JMSBaseConnection.java:1384)
	at
weblogic.jms.adapter.JMSBaseConnection.throwResourceException(Ljava/lang/String;Ljava/lang/Throwable;)V(JMSBaseConnection.java:1364)
	at
weblogic.jms.adapter.JMSBaseConnection.startInternal()V(JMSBaseConnection.java:345)
	at
weblogic.jms.adapter.JMSBaseConnection.start()V(JMSBaseConnection.java:219)
	at
weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnection(Ljavax/security/auth/Subject;Ljavax/resource/spi/ConnectionRequestInfo;)Ljavax/resource/spi/ManagedConnection;(JMSManagedConnectionFactory.java:188)
	at
weblogic.connector.common.internal.ConnectionFactory.createResource(Lweblogic/common/resourcepool/PooledResourceInfo;)Lweblogic/common/resourcepool/PooledResource;(ConnectionFactory.java:127)
	at
weblogic.common.resourcepool.ResourcePoolImpl.makeResources(I[Lweblogic/common/resourcepool/PooledResourceInfo;Ljava/util/List;Z)I(ResourcePoolImpl.java:1181)
	at
weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ILweblogic/common/resourcepool/PooledResourceInfo;Z)Lweblogic/common/resourcepool/PooledResource;(ResourcePoolImpl.java:346)
	at
weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ILweblogic/common/resourcepool/PooledResourceInfo;)Lweblogic/common/resourcepool/PooledResource;(ResourcePoolImpl.java:287)
	at
weblogic.connector.common.internal.ConnectionPool.reserveResource(ILweblogic/common/resourcepool/PooledResourceInfo;)Lweblogic/common/resourcepool/PooledResource;(ConnectionPool.java:570)
	at
weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(Lweblogic/common/resourcepool/PooledResourceInfo;)Lweblogic/common/resourcepool/PooledResource;(ResourcePoolImpl.java:281)
	at
weblogic.connector.common.internal.ConnectionPoolManager.getConnection(Ljavax/resource/spi/ManagedConnectionFactory;Ljavax/resource/spi/ConnectionRequestInfo;)Ljava/lang/Object;(ConnectionPoolManager.java:650)
	at
weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(Ljavax/resource/spi/ManagedConnectionFactory;Ljavax/resource/spi/ConnectionRequestInfo;)Ljava/lang/Object;(ConnectionManagerImpl.java:106)
	at
weblogic.jms.adapter.JMSBaseConnectionFactory.getSourceConnection(Lweblogic/jms/bridge/ConnectionSpec;)Lweblogic/jms/bridge/SourceConnection;(JMSBaseConnectionFactory.java:91)
	at
weblogic.jms.bridge.internal.MessagingBridge.getConnections()V(MessagingBridge.java:765)
	at
weblogic.jms.bridge.internal.MessagingBridge.execute(Lweblogic/kernel/ExecuteThread;)V(MessagingBridge.java:991)
	at
weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:224)
	at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
	at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Source)
-------------- Linked Exception ------------
javax.naming.ServiceUnavailableException [Root exception is
java.net.UnknownHostException: Unknown protocol: 'TCP']
	at
weblogic.jndi.internal.ExceptionTranslator.toNamingException(Ljava/lang/Throwable;)Ljavax/naming/NamingException;(ExceptionTranslator.java:41)
	at
weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(Ljava/lang/Throwable;)Ljavax/naming/NamingException;(WLInitialContextFactoryDelegate.java:636)
	at
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Lweblogic/jndi/Environment;Ljava/lang/String;)Ljavax/naming/Context;(WLInitialContextFactoryDelegate.java:306)
	at
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Ljava/util/Hashtable;)Ljavax/naming/Context;(WLInitialContextFactoryDelegate.java:239)
	at
weblogic.jndi.WLInitialContextFactory.getInitialContext(Ljava/util/Hashtable;)Ljavax/naming/Context;(WLInitialContextFactory.java:135)
	at
javax.naming.spi.NamingManager.getInitialContext(Ljava/util/Hashtable;)Ljavax/naming/Context;(NamingManager.java:662)
	at
javax.naming.InitialContext.getDefaultInitCtx()Ljavax/naming/Context;(InitialContext.java:243)
	at
javax.naming.InitialContext.init(Ljava/util/Hashtable;)V(InitialContext.java:219)
	at
javax.naming.InitialContext.<init>(Ljava/util/Hashtable;)V(InitialContext.java:195)
	at
weblogic.jms.adapter.JMSBaseConnection.getInitialContext()Ljavax/naming/InitialContext;(JMSBaseConnection.java:1965)
	at
weblogic.jms.adapter.JMSBaseConnection.startInternal()V(JMSBaseConnection.java:233)
	at
weblogic.jms.adapter.JMSBaseConnection.start()V(JMSBaseConnection.java:219)
	at
weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnection(Ljavax/security/auth/Subject;Ljavax/resource/spi/ConnectionRequestInfo;)Ljavax/resource/spi/ManagedConnection;(JMSManagedConnectionFactory.java:188)
	at
weblogic.connector.common.internal.ConnectionFactory.createResource(Lweblogic/common/resourcepool/PooledResourceInfo;)Lweblogic/common/resourcepool/PooledResource;(ConnectionFactory.java:127)
	at
weblogic.common.resourcepool.ResourcePoolImpl.makeResources(I[Lweblogic/common/resourcepool/PooledResourceInfo;Ljava/util/List;Z)I(ResourcePoolImpl.java:1181)
	at
weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ILweblogic/common/resourcepool/PooledResourceInfo;Z)Lweblogic/common/resourcepool/PooledResource;(ResourcePoolImpl.java:346)
	at
weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ILweblogic/common/resourcepool/PooledResourceInfo;)Lweblogic/common/resourcepool/PooledResource;(ResourcePoolImpl.java:287)
	at
weblogic.connector.common.internal.ConnectionPool.reserveResource(ILweblogic/common/resourcepool/PooledResourceInfo;)Lweblogic/common/resourcepool/PooledResource;(ConnectionPool.java:570)
	at
weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(Lweblogic/common/resourcepool/PooledResourceInfo;)Lweblogic/common/resourcepool/PooledResource;(ResourcePoolImpl.java:281)
	at
weblogic.connector.common.internal.ConnectionPoolManager.getConnection(Ljavax/resource/spi/ManagedConnectionFactory;Ljavax/resource/spi/ConnectionRequestInfo;)Ljava/lang/Object;(ConnectionPoolManager.java:650)
	at
weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(Ljavax/resource/spi/ManagedConnectionFactory;Ljavax/resource/spi/ConnectionRequestInfo;)Ljava/lang/Object;(ConnectionManagerImpl.java:106)
	at
weblogic.jms.adapter.JMSBaseConnectionFactory.getSourceConnection(Lweblogic/jms/bridge/ConnectionSpec;)Lweblogic/jms/bridge/SourceConnection;(JMSBaseConnectionFactory.java:91)
	at
weblogic.jms.bridge.internal.MessagingBridge.getConnections()V(MessagingBridge.java:765)
	at
weblogic.jms.bridge.internal.MessagingBridge.execute(Lweblogic/kernel/ExecuteThread;)V(MessagingBridge.java:991)
	at
weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:224)
	at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
	at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Source)
Caused by: java.net.UnknownHostException: Unknown protocol: 'TCP'
	at
weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(Ljava/net/InetAddress;ILjava/lang/String;)Lweblogic/rjvm/RJVM;(RJVMManager.java:203)
	at
weblogic.rjvm.RJVMManager.findOrCreate(Ljava/net/InetAddress;ILjava/lang/String;)Lweblogic/rjvm/RJVM;(RJVMManager.java:180)
	at
weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(Ljava/net/InetAddress;I)Lweblogic/rjvm/RJVM;(RJVMFinder.java:223)
	at
weblogic.rjvm.RJVMFinder.findOrCreate(Z)Lweblogic/rjvm/RJVM;(RJVMFinder.java:188)
	at
weblogic.rjvm.ServerURL.findOrCreateRJVM(Z)Lweblogic/rjvm/RJVM;(ServerURL.java:125)
	at
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Lweblogic/jndi/Environment;Ljava/lang/String;)Ljavax/naming/Context;(WLInitialContextFactoryDelegate.java:296)
	... 24 more
-- 
View this message in context: http://www.nabble.com/Deploy-activemq-ra-4.0.rar-on-Weblogic-8.1-tf1907300.html#a5222300
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message