This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Assertion Error Deploying ear Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Assertion Error Deploying ear" Watch "Assertion Error Deploying ear" New topic
Author

Assertion Error Deploying ear

Robert Bonslater
Greenhorn

Joined: Jan 30, 2005
Posts: 28
Hello, I have been deploying this application for my company running on Weblogic 8.1 for quite some time now without receiving any errors. Everything is running on my local machine (Windows) for development purposes. One day I switched ant versions from 1.5.3 to 1.6.1 because the old one contains a bug that injects multiple classpath definitions in my Manifest.mf files upon updating jar files with each build. When I manually deploy my ear file from the Weblogic admin or using ant I keep recieving this error:


---------------------------------------------------------------------------
<Oct 5, 2006 9:58:25 AM CDT> <Error> <Deployer> <BEA-149201> <Failed to complete
the deployment task with ID 0 for the application ghost.
weblogic.management.ManagementRuntimeException: weblogic.management.ManagementEr
ror: - with nested exception:
[weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Illegal State Tran
sition from 3 to 2 ]]
at weblogic.management.runtime.DeploymentTaskRuntimeMBean_Stub.updateTar
getStatus(DeploymentTaskRuntimeMBean_Stub.java:989)
at weblogic.management.deploy.slave.SlaveDeployer$Task.complete(SlaveDep
loyer.java:2161)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
laveDeployer.java:2395)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
veDeployer.java:866)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
oyer.java:594)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
loyer.java:508)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
dler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused by: weblogic.management.ManagementError: - with nested exception:
[weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Illegal State Tran
sition from 3 to 2 ]]
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:773)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:733)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
60)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
28)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(Rem
oteMBeanServerImpl.java:988)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBean
ServerImpl.java:946)
at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unkn
own Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:30)
... 2 more
---------------------------------------------------------------------------

When I switched back to the old ant version 1.5.3 I still received the same error. Everything worked perfectly before so what could have went wrong? Can somebody help me?

Thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Assertion Error Deploying ear