This discussion is archived
3 Replies Latest reply: Dec 7, 2012 7:19 AM by user696 RSS

Weblogic 10.3.5 deploy application.xml with <java>

945123 Newbie
Currently Being Moderated
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@' instead of 'java@' here in element module@<null>

This is my application.xml:
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "">

<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.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points