• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

weblogic.utils.AssertionError:

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi I am using Weblogic6.1 version and trying to create EAR file.
I was able to create War file and Jar files when I am trying ran this command java weblogic.ant.taskdefs.ear.DDInit stage-dir
(This will create application.xml Deployement Descriptor for you)
Then 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)
Any One have Idea about this?
Thanks.

 
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I used to get this when I was using ejb 2.0 beans and the ejb2.0.jar was not in the classpath. I think that may be you are using ejb 2.0 beans and your weblogic server is configured for ejb 1.1 beans.
Rahul
 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sudhakar,
ASSERTION FAILE generally occurs when you refer older class. So you check it. Evem I too, faced the same problem that was related to class file.
Rgds.
Rashid
 
Look! It's Leonardo da Vinci! And he brought a tiny ad!
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic