Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ManagementException while deploying application (ear)

2 views
Skip to first unread message

Roberto

unread,
Aug 21, 2002, 5:09:23 PM8/21/02
to
Hi all,

Still having problems when deploying my application to 7.0, any help?
It looks like SyncEventData os not found. However, if I look inside
the ear file, I can find this file in the xxx.war file under the path:

WEB-INF/classes/com/intralinks/sync/SyncEventData.class

What gives?

Thanks to all in advance,

- Roberto

Exception follows:

<Aug 21, 2002 4:53:07 PM EDT> <Error> <Deployer> <149233> <Unexpected
error was encountered during the deployment process.>
<Aug 21, 2002 4:53:09 PM EDT> <Error> <Deployer> <149201> <The Slave
Deployer failed to complete the deployment task with id 1 for the
application ilapp.
java.lang.NoClassDefFoundError: com/intralinks/sync/SyncEventData
at java.lang.Class.getMethods0(Native Method)
at java.lang.Class.getMethods(Class.java:737)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.checkIfItsSafeToUseCallByReference(ClientDrivenBeanInfoImpl.java:266)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.<init>(ClientDrivenBeanInfoImpl.java:209)
at weblogic.ejb20.deployer.EntityBeanInfoImpl.<init>(EntityBeanInfoImpl.java:107)
at weblogic.ejb20.deployer.BeanInfoImpl.createBeanInfoImpl(BeanInfoImpl.java:335)
at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:429)
at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:164)
at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:154)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:384)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:487)
at weblogic.ejb20.deployer.EJBDeployer.compileEJB(EJBDeployer.java:799)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1248)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:235)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:1446)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:654)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:552)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1056)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:724)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
--------------- nested within: ------------------
weblogic.management.ManagementException: 149233 - with nested
exception:
[java.lang.NoClassDefFoundError: com/intralinks/sync/SyncEventData]
at weblogic.management.deploy.slave.SlaveDeployer.convertThrowable(SlaveDeployer.java:828)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1174)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:724)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
>

William Kemp

unread,
Aug 22, 2002, 12:02:39 PM8/22/02
to
It looks like you have an ejb inside of a jar in the ear file that is attempting to reference a class in a war file in the same ear.
If that is so, this will not work due to the classloading hierarchy that is used to deploy, load, and run enterprise apps. The code
in the WEB-INF/classes directory is loaded by a webapp classloader that is in a child relationship with the ejb classloader that is
loading the ejb in question. 1.3 Classloaders do not look down in the hierarchy, only up. So, if you want the ejb to reference this
class, you must place it in it's own jar in the ear file and reference it from the ejb jar files and webapp war files using the
Class-Path manifest directive.

Please see:

http://e-docs.bea.com/wls/docs70/programming/classloading.html#1029830

It explains the classloader hierarchy and how you need to package stuff like this when the ejb's and the webapps need access to the
same classes.

Bill

0 new messages