• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

<BEA-160197> Error!

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,

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...
 
reply
    Bookmark Topic Watch Topic
  • New Topic