I didn't take the default. I changed the port to 80:
File:
usr/local/tomcat/conf/server.xml
Changed this:
<Connector port="8080" ...
maxThreads="150" minSpareThreads="25" ...
to this:
<Connector port="80" ...
maxThreads="150" minSpareThreads="25" ...
What's bugging me is that my server was running fine and I must have
changed something somewhere but I don't know what !
David Kerber
<[EMAIL PROTECTED]
.net> A
Tomcat Users List
2006-04-17 13:20 <[email protected]>
cc
Veuillez répondre Objet
à Re: 404
"Tomcat Users
List"
<[EMAIL PROTECTED]
che.org>
If you took all the defaults, as it says in that document, Tomcat is on
8080, not 80. So try:
http://localhost:8080
[EMAIL PROTECTED] wrote:
>Sorry guys about my reply to another thread, I didn't realize.
>
>I'm new at this so...
>
>I only installed tomcat following this guide:
>http://www.ubuntuforums.org/showthread.php?t=44006&highlight=tomcat
>
>Maybe apache comes with tomcat (I didn't manually installed apache) ? But
I
>thing it's tomcat who's running on port 80.
>
>
>
>>So what do you have running on port 80? Apache or Tomcat?
>>
>>On 4/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>>wrote:
>>
>>
>>Yes I've tried with the port number (in my case it's 80) and also with
>>
>>
>the
>
>
>>APPLICATION_NAME.
>>
>>But the weird thing is that yesterday everything was going fine and now I
>>get that directory listing instead of the jsp page.
>>
>>Here's what I get when I click on the apache2-default directory:
>> ---------------------------------------
>> If you can see this, it means that the installation of the Apache web
>>server software on this system was successful. You may now add content to
>> this directory and replace this page.
>>
>> Seeing this instead of the website you expected?
>>
>> This page is here because the site administrator has changed the
>>configuration of this web server. Please contact the person responsible
>>for
>>maintaining this server with questions. The Apache Software Foundation,
>>which wrote the web server software this site administrator is using, has
>> nothing to do with maintaining this site and cannot help resolve
>> configuration issues.
>> ---------------------------------------
>>
>>Is there something that I could have changed in one of the config file
>>that's causing that ?
>>All I remember is changing:
>>-the owner of the /usr/local/tomcat/webapps/root/ from "root" to myself
>>
>>
>so
>
>
>>I could edit the files.
>>-I renamed the file web.xml to web_bak.xml but I put it back the way is
>>was.
>>
>>Thanks for your help.
>>
>>
>>
>>
>> Edoardo Panfili
>> <[EMAIL PROTECTED]
>> > A
>> Tomcat Users List
>> 2006-04-17 12:44 <[email protected]>
>> cc
>>
>> Veuillez répondre Objet
>> à Re: 404
>> "Tomcat Users
>> List"
>> <[EMAIL PROTECTED]
>> che.org>
>>
>>
>>
>>
>>
>>
>>[EMAIL PROTECTED] ha scritto:
>>
>>
>>>Why when I go to http://localhost/ I get a directory listing containing
>>>those 2 elements:
>>>
>>>[DIR] Parent Directory 15-Apr-2006 15:22 -
>>>[DIR] apache2-default/ 15-Apr-2006 15:22 -
>>>
>>>And when I go to http://localhost/index.jsp I get a file not found
>>>
>>>
>error
>
>
>>>although THE FILE EXISTS !
>>>
>>>
>>Have you tried
>>http://localhost:8080/
>>?
>>
>>or
>>http://localhost:8080/APPLICATION_NAME/index.jsp
>>?
>>
>>Edoardo Panfili
>>
>>--
>>[EMAIL PROTECTED]
>>AIM: edoardopn
>>Jabber: [EMAIL PROTECTED]
>>tel:075 9142766
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>
>
>--
>Marc Farrow
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]