wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Error while executing java weblogic.ejbc ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Error while executing java weblogic.ejbc ?" Watch "Error while executing java weblogic.ejbc ?" New topic
Author

Error while executing java weblogic.ejbc ?

Shaan patil
Ranch Hand

Joined: Dec 22, 2007
Posts: 58
C:\MVC\ejb_src\deploy\deploy_jars>java weblogic.ejbc TempEJBApp.jar AirlinesEJBApp.jar

ERROR: ejbc found errors while processing the descriptor for TempEJBApp.jar:



Hi,

I am gettting the following error when I run the ejb script.
The weblogic-ejb-jar.xml waswritten for 8.1 .




ERROR: Error from ejbc: Error processing 'META-INF/weblogic-ejb-jar.xml': The public id, "-//BEA Systems, Inc.//DTD WebLogic 7.0.0
EJB//EN", specified in the XML document is invalid. Use one of the following valid public ids:
"-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN"
"-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN"
"-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN"
"-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB//EN"



ERROR: ejbc couldn't load descriptor from jar


"You cannot change the truth but truth can change you "
Jetendra Ivaturi
Ranch Hand

Joined: Feb 08, 2007
Posts: 159
Try changing the DTD of the xml file in the weblogic-ejb-jar.xml.

Or use weblogic tool to update the DTD.

Best option to samples of weblogic ejb's copy the DTD from one of weblogic-ejb-jar.xml and try it.


SCJP 1.4 & 1.5, SCWCD 1.5. Learn and Let Learn.
Shaan patil
Ranch Hand

Joined: Dec 22, 2007
Posts: 58
Hi,


Is it the best way to migrate application from WLS 7.0 to WLS 8.1 ?



Regards
Shaan
Amit M Tank
Ranch Hand

Joined: Mar 28, 2004
Posts: 257
Not sure but you might want to try out the weblogic builder.


Amit Tank
Linked In
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error while executing java weblogic.ejbc ?
 
Similar Threads
Seting instance pool limit for stateful session bean
error in deploying stateful bean in weblogic 8.1
Regarding Deploying Ejb in Weblogic server 5.1
About EJB Transaction in WLS 7.0 & 8.1
OutOfMemory Exception while building using eclipse compiler