3 Replies Latest reply on Dec 7, 2012 3:19 PM by User696-Oracle

    Weblogic 10.3.5 deploy application.xml with <java>

      I have an application with an ejb, that I am migrating from OC4J.
      When I try to deploy to Weblogic 10.3.5 I get the following error:
      VALIDATION PROBLEMS WERE FOUND problem: cvc-complex-type.2.4a: Expected element 'alt-dd@http://java.sun.com/xml/ns/javaee' instead of 'java@http://java.sun.com/xml/ns/javaee' here in element module@http://java.sun.com/xml/ns/javaee:<null>

      This is my application.xml:
      <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd">

      <description>Complete Test Application</description>


      <!-- Jar holding helper classes -->

      Weblogic seems to be complaining about the java element, but in the J2EE application.xml reference it is allowed.

      I am new to EJB. Have others encountered this issue? How can I resolve it?
      I am able to deploy the ear if I remove the <java> element. What is the significance of removing the <java> element?

      I have followed the documentation here:

      That points to here:

      Any pointers or advice is greatly appreciated.