• Post Reply Bookmark Topic Watch Topic
  • New Topic

<BEA-160197> Error!  RSS feed

Bob Gali
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 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...
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!