wood burning stoves*
The moose likes EJB and other Java EE Technologies and the fly likes Error in deploying EJ B Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Error in deploying EJ B" Watch "Error in deploying EJ B" New topic
Author

Error in deploying EJ B

Nalini Reddy
Greenhorn

Joined: Jul 01, 2004
Posts: 18
Hi All,
I have created a simple EJB and made a jar.I have also put the ejb-jar.xml and weblogic-ejb-jar.xml files in meta-inf.When trying to deploy it on the managed server ,I am getting the error as :

[J2EE:160043]Missing deployment descriptor "META-INF/ejb-jar.xml" at "C:\bea\user_projects\domains\mydomain\myserver\upload\World.jar"


Could any of u please help me out soon.

Thanks,in advance
Nalini.
Tom George
Ranch Hand

Joined: Jan 28, 2004
Posts: 41
Assuming your folder structure is correct, the next step is to check the case of the meta-inf folder. It should be META-INF, not meta-inf.

Better use ant for building instead of manually zipping the files. Ant will take care of these problems. The weblogic examples will give you a good starting point for build scripts. Good luck !
Anand Gondhiya
Ranch Hand

Joined: Feb 24, 2004
Posts: 155
I am also having the same problem..

What is the correct directory structure ??

where does META-INF go ? How do you create META-INF ? Could anybody give more details ??

Thanks in advance.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30086
    
149

Anand,
This article shows the directory structure.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
 
subject: Error in deploying EJ B
 
Similar Threads
CHKJ2802E Error
OpenEJB + JUnit + Ant
Error while deploying jar in Weblogic
CHKJ2802E Error
Deploy problem