This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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

Win a copy of Head First Android this week in the Android forum!
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
jQuery in Action, 3rd edition