Saturday, March 26, 2011

"ERROR: Could not activate" WebLogic 11g queue

Problem:

When trying to create a queue on Oracle WebLogic Server 11g, we received the following error:
<Jan 5, 2011 2:11:29 PM EST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1294254683211' for task 'weblogic.deploy.configChangeTask.35'. Error is: 'weblogic.application.ModuleException: ERROR: Could not activate MyModule!MyQueue'
weblogic.application.ModuleException: ERROR: Could not activate MyModule!MyQueue
        at weblogic.jms.backend.BEDestinationRuntimeDelegate.activate(BEDestinationRuntimeDelegate.java:239)
        at weblogic.jms.module.JMSModule$EntityState.setState(JMSModule.java:1717)
        at weblogic.jms.module.JMSModule$EntityState.setState(JMSModule.java:1667)
        at weblogic.jms.module.JMSModule$EntityState.access$100(JMSModule.java:1608)
        at weblogic.jms.module.JMSModule.activate(JMSModule.java:332)
        Truncated. see log file for complete stacktrace

Caused By: weblogic.messaging.kernel.KernelException: The Messaging Kernel MyServer has not yet been opened
        at weblogic.messaging.kernel.internal.KernelImpl.checkOpened(KernelImpl.java:215)
        at weblogic.messaging.kernel.internal.DestinationImpl.activate(DestinationImpl.java:290)
        at weblogic.messaging.kernel.internal.QueueImpl.activate(QueueImpl.java:1713)
        at weblogic.messaging.kernel.internal.DestinationImpl.resume(DestinationImpl.java:274)
        at weblogic.messaging.kernel.internal.QueueImpl.resume(QueueImpl.java:1899)
        Truncated. see log file for complete stacktrace
>
<Jan 5, 2011 2:11:29 PM EST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 9 task for the application 'MyModule'.>

Solution:

1. Restart the AdminServer and try again.


Applicable Version:
  • Oracle WebLogic Server 11g (10.3.x)

Ahmed Aboulnaga

No comments: