aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Problem with basic EJB application Exception thrown 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 "Problem with basic EJB application Exception thrown "com/bea/xml/XmlException"" Watch "Problem with basic EJB application Exception thrown "com/bea/xml/XmlException"" New topic
Author

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

Vinodh Sa
Ranch Hand

Joined: May 06, 2010
Posts: 55
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 ???


Thanks, Vinodh
[Servlet tutorial]
 
wood burning stoves
 
subject: Problem with basic EJB application Exception thrown "com/bea/xml/XmlException"