Re: help deploying war file

"Burke, Timothy R" <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
Scott

Just a guess, but this type of thing bit me when I didn't use relative URLs in my web app.
Hope this helps you.
--
______________________________________________________________________
Timothy Burke <[email protected]> DSS id 0xF4C2D990
DSS F20 = B5AD 6495 D7B8 381F 91F8  D929 E47A A82D F4C2 D990 (1024)
(303)977-0691 (work) / (303)977-4965 (work fax)




-----Original Message-----
From: Carter, Scott [mailto:[email protected]]
Sent: Monday, September 22, 2003 1:49 PM
To: [email protected]
Subject: help deploying war file


I know this process should be very straight forward, but I am having a
little trouble.

I created a war file at the top level of my web application
$TOMCAT_HOME/webapps/j by using jar cvf xsite.war  .
I moved this file (xsite.war) to $TOMECAT_HOME/webapps/x  and made a new
entry in server.xml as follows:

        <Context path="/x" docBase="x" debug="0" reloadable="false"
crossContext="true"/>

when I went to hit the site http://localhost:8080/x it gave me the screen
for a directory listing just showing xsite.xml even though the web.xml file
in the war file has a welcome file.  The site works fine unpackaged under
the /j/ path.



please help

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.