Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using weblogic.ejbc

 
Priya Venkatesan
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Iam new to weblogic and Iam trying to run the weblogic.ebjc to generate the necessary container classes. I made a jar file with all the Remote, Home, Bean classes and all required deployment descriptors.(ejb-jar.xml,weblogic-ejb-jar.xml and weblogic-cmp-rbdms-jar.xml).
When I ran weblogic.ejbc, I am getting the error:
ERROR: Error from ejbc: Error: The deployment descriptor 'META-INF/ejb-jar.xml'
was not found in 'cabin.jar'. Please add this file to the jar and try again.
Can someone help me. I want to get this done quickly.
Thanks
 
Maximilian Trenks
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to make a META-INF directory which includes all .xml files. This structure as well as your package structure must also be present within you .jar file, otherwise you will get errors.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic