| 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
|
 |
 |
|
|
subject: Error while executing java weblogic.ejbc ?
|
|
|