File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Using weblogic.ejbc Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply Bookmark "Using weblogic.ejbc" Watch "Using weblogic.ejbc" New topic
Author

Using weblogic.ejbc

Priya Venkatesan
Ranch Hand

Joined: Nov 02, 2002
Posts: 61
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

Joined: Jul 22, 2002
Posts: 104
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.


Student of Business Informatics<br />Kepler University Linz, Austria
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Using weblogic.ejbc
 
Similar Threads
Deployable JAR file not Creating. please help?
ejbc error
EJB deployment
How to do EJB Deployment?
EJBC