• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

weblogic.utils.AssertionError:  RSS feed

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!