|
-
Feb 14th, 2002, 02:42 PM
#1
Thread Starter
Addicted Member
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion violated ]
Hi,
I am trying to run a command which will create application.xml.
If you run this command "java weblogic.ant.taskdefs.ear.DDInit staging-dir"
http://edocs.bea.com/wls/docs61/prog...packaging.html
It will automatically creates application.xml under staging-dir/Meta-INF directory.But I am getting error like this.
Creating descriptors
Found exploded EJB module ''
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion violated ]
at weblogic.utils.Debug.assert(Debug.java:74)
at weblogic.j2ee.dd.J2EEDeploymentDescriptor.addModule(J2EEDeploymentDescriptor.java:148)
at weblogic.ant.taskdefs.ear.DDInit.initDescriptors(DDInit.java:121)
at weblogic.ant.taskdefs.ear.DDInit.execute(DDInit.java:55)
at weblogic.ant.taskdefs.ear.DDInit.main(DDInit.java:236)
Exception in thread "main" weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion violated ]
at weblogic.utils.Debug.assert(Debug.java:74)
at weblogic.j2ee.dd.J2EEDeploymentDescriptor.addModule(J2EEDeploymentDescriptor.java:148)
at weblogic.ant.taskdefs.ear.DDInit.initDescriptors(DDInit.java:121)
at weblogic.ant.taskdefs.ear.DDInit.execute(DDInit.java:55)
at weblogic.ant.taskdefs.ear.DDInit.main(DDInit.java:236)
I am using weblogic6.1 on Unix
Any help on this?
-
Feb 15th, 2002, 05:21 AM
#2
Member
It sounds like a real bug - assert only fails when a method call doesn't meet the conditions the programmer intended (that's why the assert statement is present there)...
Can't say more - have never used weblogic, just ant...
-
Feb 15th, 2002, 10:25 AM
#3
Thread Starter
Addicted Member
Hi all,
I got answer my self.Actually i skiped reading one peragraph in Documnetation.
"In this release (WebLogic Server 6.1SP1), you cannot generate application.xml, the top-level descriptor for the J2EE application. So, you have two choices:
Customize the application.xml descriptor that we provide (download banking.zip from Samples and Tutorials)
Write application.xml yourself (more info). "
@http://e-docs.bea.com/wls/docs61/dep....html#1144176.
This is the reason I am getting Assersion Error.
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|