Results 1 to 3 of 3

Thread: weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion violated ]

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2001
    Location
    Indiana,PA,USA
    Posts
    217

    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?
    Sudha

  2. #2
    Member hgroot's Avatar
    Join Date
    Dec 2001
    Location
    Amsterdam
    Posts
    52
    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...

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Sep 2001
    Location
    Indiana,PA,USA
    Posts
    217
    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.



    Sudha

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width