Discussion:
deploying WAR file gets error
(too old to reply)
Rukmini Nagalla
2005-02-13 06:25:08 UTC
Permalink
Hi,
I am new to weblogic and am trying to deploy jsps and servlets. This is my directory structure:
MiniEjbs --> src, build, myapp dirs
src ---->CalculateHOme,Calculate,CalculateBean. java files
build----> src ----> ejb's class files
----> META-INF-----> *.xml (for ejb)
--->MiniEjb.jar,Miniwebapps.war

myapp--->WEB-INF--->*.xml(web)
--->class---> accessServlet.class
---> calc_num.jsp
when I deploy the war file using console I get an error
J2EE:160043]Missing deployment descriptor "WEB-INF/web.xml"at "C:\bea\user_projects\domains\AnilRukkuDomain\AnilRukku\upload\Miniwebapp.war"
I created a new domain AnilRukkuDomain,but all my ejbs and client apps are in C:\MiniEjbs dir.Is this a problem for my deployment? After I deploy would my context root be myapp or do I set that explicitly? My ejbs are deployed without any problem.Will my application run if I create seperate modules and deploy individually?Is it mandatory for me to create an application?
Kindly help me out with this. I appreciate your help.

Thanks,
Rukmini
Kuldeep Bahth
2005-02-16 10:51:34 UTC
Permalink
Hello,

Could you check weblogic.xml?

Specifically the element jsp-descriptors.

For example:

One can receive the same error if weblogic.xml had specified workingDir to a non-existent directory i.e d:\foo.

The problem was that the weblogic.xml specified a non-existent directory for "workingDir" parameter for jsp-descriptor. Check once weblogic.xml especially <jsp-descriptor>.

<jsp-descriptor>
<jsp-param>
<param-name>compileCommand</param-name>
<param-value>javac</param-value>
</jsp-param>
<jsp-param>
<param-name>workingDir</param-name>
<param-value>d:\foo</param-value>
</jsp-param>
<jsp-param>
<param-name>keepgenerated</param-name>
<param-value>true</param-value>
</jsp-param>

Try to comment any elements in weblogic.xml that is either not used or redundant.
There is one CR also filed for prabably similar issue. You can get more informaiton about CR200819 from bea support.

Regards,

Kuldeep Singh.

Loading...