• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

Error while executing java weblogic.ejbc ?

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Shaan patil
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


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



Regards
Shaan
 
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure but you might want to try out the weblogic builder.
 
Don't listen to Steve. Just read this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!