• 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

Problem with basic EJB application Exception thrown "com/bea/xml/XmlException"

 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I m very new to EJB. Need your help in solving this basic problem which i m getting while creating the EJB Service jar.

I have created three necessary EJB classes (Remote Interface, Home Interface and EJB Implementation class) and bundled them in a jar along with "ejb-jar.xml" and "weblogic-ejb-jar.xml"

Now the problem i m facing is while running the below command frm cmd prompt.

"java -cp jars\ejb.jar;jars\weblogic.jar weblogic.appc jars\converting.jar"

Exception :

<Feb 20, 2012 4:02:45 PM IST> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile your application. Recompile with the -verbose option for more details. Please see the error message(s) below.> com/bea/xml/XmlException




As far as i have googled, it seems to be a problem with the version in xml and the version of the jar that i m using while compilation/execution

My ejb-jar.xml


My weblogic-ejb-jar.xml


The Manifest.MF file of the ejb.jar that i am using


The Manifest.MF file of the weblogic.jar that i am using



Can any one help me out in this ???
 
reply
    Bookmark Topic Watch Topic
  • New Topic