File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "<BEA-160197> Error! " Watch "<BEA-160197> Error! " New topic

<BEA-160197> Error!

Bob Gali

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,

"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}"/>

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<null>;
wlappc problem: Key ejb-name-key@ 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...
I agree. Here's the link:
subject: <BEA-160197> Error!
It's not a secret anymore!