activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krishnadas <krishnadasa...@geojit.com>
Subject activemq 4.1 integration in weblogic 9.2(Krishnadas)
Date Fri, 12 Jan 2007 11:52:29 GMT

Hi ,

                I think this is the right place to solve my problem in
 integrating activemq 4.1 in weblogic 9.2.I am integrating activemq with
 weblogic but it is giving some error as follows.

 javax.resource.spi.ResourceAdapterInternalException: Failed
 to startup an embedded broker: xbean:broker-config.xml, due to:
 java.lang.IllegalStateException: Could not find valid implementation for:
http://www.nabble.com/file/5606/activemq-rar.rar activemq-rar.rar  2.0


 I also tried with activemq 4.0.2.but it show some error like
 notserrializable exception can you help me to configure activemq with
 weblogic 9.2 as an embedded broker.it will be nice what is the best place
to
 put broker-config.xml in weblogic server(i put it inside domain folder).

 waiting for your reply.


 i am attaching the activemq.rar   with this i put all the jars inside it in
lib folder of the domain of weblogic and Broker-config.xml inside the domain
directory.(



 thanks
 krishnadas


Full stacktrace is given below



There are 1 nested errors:

javax.resource.spi.ResourceAdapterInternalException: Failed to startup an
embedded broker: xbean:broker-config.xml, due to:
java.lang.IllegalStateException: Could not find valid implementation for:
2.0
	at
org.apache.activemq.ra.ActiveMQResourceAdapter.start(ActiveMQResourceAdapter.java:83)
	at
weblogic.connector.security.layer.AdapterLayer.start(AdapterLayer.java:979)
	at
weblogic.connector.common.RAInstanceManager.initialize(RAInstanceManager.java:1149)
	at
weblogic.connector.common.RAInstanceManager.<init>(RAInstanceManager.java:343)
	at
weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:178)
	at
weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
	at
weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
	at
weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
	at
weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
	at
weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:621)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
	at
weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:208)
	at
weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
	at
weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
	at
weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:131)
	at
weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:38)
	at
weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:177)
	at
weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
	at
weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
	at
weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
	at
weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
	at
weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
	at
weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
	at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: java.lang.IllegalStateException: Could not find valid
implementation for: 2.0
	at
org.apache.xbean.spring.context.impl.XBeanHelper.createBeanDefinitionReader(XBeanHelper.java:48)
	at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.loadBeanDefinitions(ClassPathXmlApplicationContext.java:170)
	at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
	at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:268)
	at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:161)
	at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:51)
	at
org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:41)
	at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:57)
	at
org.apache.activemq.ra.ActiveMQResourceAdapter.start(ActiveMQResourceAdapter.java:80)
	... 26 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
	at
org.apache.xbean.spring.context.impl.XBeanHelper.createBeanDefinitionReader(XBeanHelper.java:46)
	... 34 more
Caused by: java.lang.NoSuchMethodError:
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.setValidationMode(I)V
	at
org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.<init>(XBeanXmlBeanDefinitionReader.java:58)
	... 39 more

.
weblogic.application.ModuleException:
weblogic.connector.exception.RAException: 

There are 1 nested errors:

javax.resource.spi.ResourceAdapterInternalException: Failed to startup an
embedded broker: xbean:broker-config.xml, due to:
java.lang.IllegalStateException: Could not find valid implementation for:
2.0
	at
org.apache.activemq.ra.ActiveMQResourceAdapter.start(ActiveMQResourceAdapter.java:83)
	at
weblogic.connector.security.layer.AdapterLayer.start(AdapterLayer.java:979)
	at
weblogic.connector.common.RAInstanceManager.initialize(RAInstanceManager.java:1149)
	at
weblogic.connector.common.RAInstanceManager.<init>(RAInstanceManager.java:343)
	at
weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:178)
	at
weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
	at
weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
	at
weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
	at
weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
	at
weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:621)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
	at
weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:208)
	at
weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
	at
weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
	at
weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:131)
	at
weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:38)
	at
weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:177)
	at
weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
	at
weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
	at
weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
	at
weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
	at
weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
	at
weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
	at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: java.lang.IllegalStateException: Could not find valid
implementation for: 2.0
	at
org.apache.xbean.spring.context.impl.XBeanHelper.createBeanDefinitionReader(XBeanHelper.java:48)
	at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.loadBeanDefinitions(ClassPathXmlApplicationContext.java:170)
	at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
	at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:268)
	at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:161)
	at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:51)
	at
org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:41)
	at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:57)
	at
org.apache.activemq.ra.ActiveMQResourceAdapter.start(ActiveMQResourceAdapter.java:80)
	... 26 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
	at
org.apache.xbean.spring.context.impl.XBeanHelper.createBeanDefinitionReader(XBeanHelper.java:46)
	... 34 more
Caused by: java.lang.NoSuchMethodError:
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.setValidationMode(I)V
	at
org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.<init>(XBeanXmlBeanDefinitionReader.java:58)
	... 39 more


	at
weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:202)
	at
weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
	at
weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
	at
weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
	at
weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
	at
weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:621)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
	at
weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:208)
	at
weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
	at
weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
	at
weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:131)
	at
weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:38)
	at
weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:177)
	at
weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
	at
weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
	at
weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
	at
weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
	at
weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
	at
weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
	at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
http://www.nabble.com/file/5606/activemq-rar.rar activemq-rar.rar 
-- 
View this message in context: http://www.nabble.com/activemq-4.1--integration-in-weblogic-9.2%28Krishnadas%29-tf2965543.html#a8297098
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message