Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Vinodh Sa
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • 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 ???
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!