Can't deploy RAR on weblogic 9.1
Key: AMQ-774
URL: https://issues.apache.org/activemq/browse/AMQ-774
Project: ActiveMQ
Type: Bug
Components: Broker
Versions: 4.0.1
Environment: BEA Weblogic 9.1
Reporter: Matt Parker
I've been through the doc:
http://www.activemq.org/site/how-to-deploy-activemq-ra-versionrar-to-weblogic.html
However, when I attempt to deploy the broker on Weblogic 9.1 (actually, when i
click on "activate changes"), i get the following error:
weblogic.connector.exception.RAException: There are 1 nested errors:
javax.resource.spi.ResourceAdapterInternalException: Failed to startup an
embedded broker: file://../broker-config.xml, due to: java.io.IOException:
Could load file factory:java.io.IOException: Could not find factory class for
resource: META-INF/services/org/apache/activemq/broker/file at
org.apache.activemq.ra.ActiveMQResourceAdapter.start(ActiveMQResourceAdapter.java:82)
at weblogic.connector.security.layer.AdapterLayer.start(AdapterLayer.java:979)
at
weblogic.connector.common.RAInstanceManager.initialize(RAInstanceManager.java:1139)
at
weblogic.connector.common.RAInstanceManager.(RAInstanceManager.java:333)
at weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:178)
at
weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:90)
at
weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:318)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:53)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:43)
at
weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:620) at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at
weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:231)
at
weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
at
weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
at
weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:183)
at
weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:84)
at
weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:219)
at
weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:750)
at
weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1209)
at
weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:246)
at
weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
at
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
at
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
at
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
at
weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at
weblogic.work.ExecuteThread.run(ExecuteThread.java:179) Caused by:
java.io.IOException: Could load file factory:java.io.IOException: Could not
find factory class for resource:
META-INF/services/org/apache/activemq/broker/file at
org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:24)
at
org.apache.activemq.broker.BrokerFactory.createBrokerFactoryHandler(BrokerFactory.java:42)
at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:55) at
org.apache.activemq.ra.ActiveMQResourceAdapter.start(ActiveMQResourceAdapter.java:79)
... 27 more Caused by: java.io.IOException: Could not find factory class for
resource: META-INF/services/org/apache/activemq/broker/file at
org.apache.activeio.util.FactoryFinder.doFindFactoryProperies(FactoryFinder.java:87)
at org.apache.activeio.util.FactoryFinder.newInstance(FactoryFinder.java:57)
at org.apache.activeio.util.FactoryFinder.newInstance(FactoryFinder.java:46) at
org.apache.activemq.broker.BrokerFactory.createBrokerFactoryHandler(BrokerFactory.java:40)
... 29 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/