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

Error in deploying EJ B

 
Nalini Reddy
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34680
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anand,
This article shows the directory structure.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic