File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes Entity Beans deployment on weblogic8.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Entity Beans deployment on weblogic8.1" Watch "Entity Beans deployment on weblogic8.1" New topic

Entity Beans deployment on weblogic8.1

Joginder Raperia

Joined: Jan 06, 2004
Posts: 3
When I am deploying entity beans on WebLogic App Server 8.1,I am getting 'Assertion failed [Assertion violated] '
When I try to deploy the entity beans as 'ReadOnly', which has container managed relationships to other entity beans,everything works fine.When I try to deploy these beans using 'Read Mostly' pattern,I get the following error:
<BEA-149004> <Failures were detected while initiating Deploy task for application websitemanager-service.>
####<Apr 1, 2004 12:38:39 AM PST> <Debug> <Deployer> <cgiwls01> <cgiwls01-18161> <ExecuteThread: '3' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149078> <Stack trace for message 149004
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion violated ]
at weblogic.utils.Debug.assertion(
at weblogic.ejb20.cmp.rdbms.RDBMSBean.processSymmetricRole(
at weblogic.ejb20.cmp.rdbms.RDBMSBean.processRole(
at weblogic.ejb20.cmp.rdbms.RDBMSBean.processDescriptors(
at weblogic.ejb20.cmp.rdbms.Deployer.readTypeSpecificData(
at weblogic.ejb20.persistence.PersistenceType.setTypeSpecificFile(
at weblogic.ejb20.persistence.PersistenceType.setupDeployer(
at weblogic.ejb20.deployer.CMPInfoImpl.setup(
at weblogic.ejb20.ejbc.EJB20CMPCompiler.generatePersistenceSources(
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(
at weblogic.ejb20.deployer.EJBDeployer.compileJar(
at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(
at weblogic.ejb20.deployer.EJBDeployer.prepare(
at weblogic.ejb20.deployer.EJBModule.prepare(
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(
at weblogic.j2ee.J2EEApplicationContainer.prepare(
at weblogic.j2ee.J2EEApplicationContainer.prepare(
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(
at weblogic.kernel.ExecuteThread.execute(
Any help on this is highly appericiated.
Valentin Crettaz
Gold Digger

Joined: Aug 26, 2001
Posts: 7610
Moving this to the BEA Weblogic forum. Please continue this discussion there. Thank you

[Blog] [Blogroll] [My Reviews] My Linked In
Reid M. Pinchback
Ranch Hand

Joined: Jan 25, 2002
Posts: 775
I had the exact same problem.

In your application do you have multiple deployments of entity beans with CMR relationships? In other words, scenarios like:

- Java code for Bean A

- Java code for Bean B

- Deployment Descriptors have A1 (a bean based on code A), B1 (a bean based on code B), and a relationship between them

- DDs also have A2 (based on A), B2 (based on B), and a relationship between them (i.e. different EJB names, different tables, etc.)

WebLogic 8.1 can't handle that. Got that straight from BEA. Amazingly, amazingly, amazingly braindead. I can't imagine what they were thinking when they came up with that implementation.

Reid - SCJP2 (April 2002)
I agree. Here's the link:
subject: Entity Beans deployment on weblogic8.1
It's not a secret anymore!