This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes <BEA-160197> Error! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "<BEA-160197> Error! " Watch "<BEA-160197> Error! " New topic
Author

<BEA-160197> Error!

Bob Gali
Greenhorn

Joined: Sep 23, 2009
Posts: 1
I am getting below error, when I am trying to generate EJBs for Weblogic by using the BEA wlappc ant task,

FYI,
"wlappc" ant task is like below,
<target .....>
<taskdef name="wlappc" classname="weblogic.ant.taskdefs.j2ee.Appc" classpath="${classpath}"/>
<wlappc source="${ejb.dir}" deprecation="true" verbose="true" classpath="${classpath}" debug="${debug}"/>
</target>

can any one help me out, please
Error Message when above task runs:-
<Error> <J2EE> <BEA-160197> <Unable to load descriptor ../ejb-jar.xml of module ejb. The error is weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
wlappc problem: cvc-datatype-valid.1.1: string value 'ejb display name' does not match pattern for ejb-nameType in namespace http://java.sun.com/xml/ns/javaee:<null>;
wlappc problem: Key ejb-name-key@http://java.sun.com/xml/ns/javaee is missing field with xpath: 'javaee:ejb-name':<null>

Note:- it's working in weblogic8 but in weblogic 10.x I am getting this above error...
 
 
subject: <BEA-160197> Error!