Hello, I have exploded EAR directory containing exploded WAR directory and EJB jar files. Even though I have mentioned everything in META-INF\application.xml file, WAR is not deployed and surprisingly it throws exception for WEB-INF\web-services.xml File not found. Here is directory structure of my Enterprise Application which is stored at location bea\weblogic81\server\bin\application\ MyEAR | |- META-INF\application.xml(this contains info of all modules ) ejb1.jar ejb2.jar | |-MyWAR | |-WEB-INF\web.xml | |-classes\myapplication\servlets(all the servlet classes) When ejb module and WAR modules are deployed seperately it works fine. But when I deploy these in a single EAR it does not work. Waiting for your reply. Regds, Sanjay
Hi, I didn't get. Why are your web.xml and servlet classes outside the war file???they should be packaged together. Also the servlet and classes for the web app should be posted under the WEB-INF/classes directory.. regards.
If your EAR and WAR are packaged properly there should not any problems. Once you deploy the ear file click on EAR deployment deploy tab then click on the WAR application > target tab. Target your WAR app on the desired servers.
# Help an unprivileged kid.<br /> Whatever u do will make a difference...<br /> ...to a child's life & ur own #<br /><a href="http://www.cry.org/" target="_blank" rel="nofollow">www.cry.org/</a>
Joined: Jan 11, 2003
Hello, No. my WEB-INF and classes are inside WAR directory and not outside. Till its not working properly. Today its giving me : following exception. java.util.zip.ZipException: ZIP file must have at least one entry Thanks & Regards Sanjay 9868006867