Tries with tomcat 5.5.7, i put in webapps/ directory a theTest.war file
with only one html file inside. Works perfectly, here is output in console:

INFO: Deploying web application archive theTest.war
Dec 18, 2006 1:04:46 PM org.apache.catalina.startup.ContextConfig
applicationWebConfig
INFO: Missing application web.xml, using defaults only
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/theTest]

How did you deploy your simple webapp?

Dani a écrit :
> My out-of-the-box Tomcat is asking for user/password when I try to
> connect to a hello world HTML in a new webapp.
>
> On 12/17/06, olivier nouguier olivier.nouguier-at-......... |tomcat|
> <nazyjafop80t...............> wrote:
>> http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html
>
> I don't have a web.xml in my project yet.  And the default web.xml
> doesn't have any <security-constraint> or any <login-config> tags.
>
>> http://java.sun.com/products/servlet/download.html
>
> I have JDK installed.  I tried a hellow world .jsp in tomcat/ROOT/ and
> it worked.  Why if I try a hellow world .jsp or .html in a new webapp
> directory Tomcat asks for user/password?
>
>> On 12/17/06, Dani <gka4cj702...............> wrote:
>> > I have my webapp in c:\tomcat\webapps\rms\ and when I access
>> > http://localhost/rms/ Tomcat asks me for a user and a password.  Even
>> > if I try a hello world HTML file.  Why?
>> >
>> > I guess it's something I have to fix in web.xml or server.xml.  What
>> > should I modify?
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to