Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: My webapp is oddly asking for user and password

Dani

2006-12-18

Replies:

I solved the problem.

These lines in the server.xml were preventing my webapp to deploy.

<Context path="/RMS" reloadable="true" docBase="C:\Documents and
Settings\dgonzalez\workspace\RMS" workDir="C:\Documents and
Settings\dgonzalez\workspace\RMS\work" />
<Context path="rms" reloadable="true" docBase="C:\Documents and
Settings\dgonzalez\workspace\RMS" workDir="C:\Documents and
Settings\dgonzalez\workspace\RMS\work" >

They were there because of the configuration of my project within
Eclipse and Sysdeo plugin.

I still don't understand why Tomcat asked for user/password, though.

Thank you Chuck, David, Siomara and Olivier.

On 12/18/06, Caldarale, Charles R Chuck.Caldarale-at-unisys.com
|tomcat| <7bmojacqti0t...............> wrote:
> > From: Dani [mailto:gka4cj702...............]
> > Subject: Re: My webapp is oddly asking for user and password
> >
> > Can I deploy hello.html without a .war file?
>
> Yes, I just verified (again) that 5.5.20 with the default config will
> deploy a webapp that has only a single .html file in its directory. To
> be explicit:
>
> 1) create webapps/dummy
>
> 2) put your hello.html file into webapps/dummy
> <html>
>  <head>
>   <title>Testing</title>
>  </head>
>  <body>
> This is a dummy application.
>  </body>
> </html>
>
> 3) start Tomcat, if not already running
>
> 4) access the page with http://localhost:8080/dummy/hello.html
>
> If you've changed the port number in server.xml, use that one instead,
> of course.
>
> - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>


--
......................
Email / Google Talk (Jabber) / MSN: ................

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.