| Author |
WAR inside EAR is not being deployed by WLS 8.1
|
Sanjay Shende
Greenhorn
Joined: Jan 11, 2003
Posts: 5
|
|
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
|
 |
Marcos Maia
Ranch Hand
Joined: Jan 06, 2001
Posts: 977
|
|
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.
|
 |
Kripal Singh
Ranch Hand
Joined: Jul 26, 2001
Posts: 254
|
|
|
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>
|
 |
Sanjay Shende
Greenhorn
Joined: Jan 11, 2003
Posts: 5
|
|
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
|
 |
 |
|
|
subject: WAR inside EAR is not being deployed by WLS 8.1
|
|
|