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

ejbc gives Assertion violated error

0 views
Skip to first unread message

Bill Poitras

unread,
Aug 1, 2001, 3:20:24 PM8/1/01
to
I am running Weblogic 6.0sp2 on Sun Solaris 2.7. I am trying to compile an
EJB jar and it gives me the following:
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion
violated ]
at weblogic.utils.Debug.assert(Debug.java:74)
at weblogic.ejb20.deployer.BeanInfoImpl.<init>(BeanInfoImpl.java:93)
at
weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.<init>(ClientDrivenBeanInfo
Impl.java:116)
at
weblogic.ejb20.deployer.SessionBeanInfoImpl.<init>(SessionBeanInfoImpl.java:
47)
at
weblogic.ejb20.deployer.BeanInfoImpl.createBeanInfoImpl(BeanInfoImpl.java:20
3)
at
weblogic.ejb20.deployer.DeploymentInfoImpl.initializeBeanInfos(DeploymentInf
oImpl.java:157)
at
weblogic.ejb20.deployer.DeploymentInfoImpl.<init>(DeploymentInfoImpl.java:86
)
at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:105)
at weblogic.ejbc20.runBody(ejbc20.java:340)
at weblogic.utils.compiler.Tool.run(Tool.java:81)
at weblogic.ejbc.main(ejbc.java:20)
Exception in thread "main" weblogic.utils.AssertionError: ***** ASSERTION
FAILED *****[ Assertion violated ]
at weblogic.utils.Debug.assert(Debug.java:74)
at weblogic.ejb20.deployer.BeanInfoImpl.<init>(BeanInfoImpl.java:93)
at
weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.<init>(ClientDrivenBeanInfo
Impl.java:116)
at
weblogic.ejb20.deployer.SessionBeanInfoImpl.<init>(SessionBeanInfoImpl.java:
47)
at
weblogic.ejb20.deployer.BeanInfoImpl.createBeanInfoImpl(BeanInfoImpl.java:20
3)
at
weblogic.ejb20.deployer.DeploymentInfoImpl.initializeBeanInfos(DeploymentInf
oImpl.java:157)
at
weblogic.ejb20.deployer.DeploymentInfoImpl.<init>(DeploymentInfoImpl.java:86
)
at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:105)
at weblogic.ejbc20.runBody(ejbc20.java:340)
at weblogic.utils.compiler.Tool.run(Tool.java:81)
at weblogic.ejbc.main(ejbc.java:20)

Here is the command I used to process my jar file:
(cd /home/wpoitras/its/java/ejbs/AutexSupportEJB; java -classpath
/usr/java/jre/lib/rt.jar:/usr/java/jre/lib/ext/j2ee.jar:/home/wpoitras/its/j
ava/autex.jar:/home/release/thirdparty/ejb20.jar:/home/release/weblogic/webl
ogic.jar:/home/release/weblogic/jolt.jar:/home/release/weblogic/joltweblogic
.jar:/home/release/thirdparty/xerces.jar:/home/release/thirdparty/xalan.jar:
/home/release/thirdparty/xt.jar:/home/release/thirdparty/omquery.jar:/home/r
elease/thirdparty/jconn2.jar:/home/release/thirdparty/MessageBroker.jar:/hom
e/release/thirdparty/FIXServer.jar:/home/release/thirdparty/FIX40Send.jar
weblogic.ejbc -compiler jikes nakedAutexSupportEJB.jar
../../AutexSupportEJB.jar)

The assertion isn't very informative. What kind of problems in my xml files
would cause this kind of assertion?

Bill Poitras
William...@tfn.com


Rob Woollen

unread,
Aug 2, 2001, 9:25:34 PM8/2/01
to
I suspect that you are missing a jndi-name in your weblogic-ejb-jar.xml. I
believe 6.1 catched this error and gives a proper error message.

-- Rob

0 new messages