File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes Using weblogic.ejbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Using weblogic.ejbc" Watch "Using weblogic.ejbc" New topic

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.
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:
subject: Using weblogic.ejbc
It's not a secret anymore!