RE: Re: Access server from outside

2006-04-21 Thread Jonathan Pare
Yeah but in my area, I don't have that much choices ! Plus, I have I package 
deal with that ISP (IP phone + log distance call + television + internet).  
Maybe I'll try the "other port" suggestion and see if they bother my with the 
"not running a server policy"...
 
Thanks guys !



> Subject: RE: Re: Access server from outside> Date: Fri, 21 Apr 2006 16:16:19 
> +0100> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> > > From: 
> Jonathan Pare [mailto:[EMAIL PROTECTED] > > I contacted my ISP and they are 
> blocking the port 80.> [...]> > So basicaly, that mean that I > > could just 
> uninstall tomcat and forget all about it !?! > > Or change ISP to one that 
> suits your needs.> > - Peter> > 
> -> To 
> unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: 
> [EMAIL PROTECTED]> 
_
Profitez des puissants filtres de courriels indésirables articulés sur la 
technologie brevetée MicrosoftMD SmartScreen.
http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail

RE: Re: Access server from outside

2006-04-21 Thread Jonathan Pare

I contacted my ISP and they are blocking the port 80. They also forbid to run 
any type of server "FTP, HTTP, IRC, MP3, PROXY, SMTP, POP or other". So 
basicaly, that mean that I could just uninstall tomcat and forget all about it 
!?! 

> Date: Fri, 21 Apr 2006 10:28:41 -0400> From: [EMAIL PROTECTED]> To: 
> users@tomcat.apache.org> Subject: Re: Access server from outside> > Does your 
> ISP allow you to run a server?  Mine blocks pretty much all > incoming 
> requests.> > > Jonathan Pare wrote:> > >Any of you have an idea why I can't 
> access my websites from outside my home ? > >Thanks.> >> >> >> >  > >> 
> >>From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Subject: Access 
> server from outside> Date: Thu, 20 Apr 2006 07:44:41 -0400> > Hi,>  > Why 
> can't I access my websites from outside my network ?  On the computer running 
> the server everything's fine:> I can access via > - http://localhost/> - 
> http://[myipaddress]/> - http://[mydyndnsservice.com]/>  > But when I try 
> from work, the page never loads.> I'm using Ubuntu 5.10, Tomcat 5.5.16 
> (configured on port 80 so I don't have to type :8080), D-Link DI624+ router 
> (configured with port fowarding: incomming request on port 80 -> send it to 
> the computer ip running tomcat) and Firestarter (IpTables) accepting inbound 
> connection from everyone on port 80.>  > Thanks.> 
> _> Profitez 
> des puissants filtres de courriels indésirables articulés sur la technologie 
> brevetée MicrosoftMD SmartScreen.> 
> http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail> >>> >>> 
> >_> >Profitez 
> des puissants filtres de courriels indésirables articulés sur la technologie 
> brevetée MicrosoftMD SmartScreen.> 
> >http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail> >  > >> > > > > 
> -> To 
> unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: 
> [EMAIL PROTECTED]> 
_
Profitez des puissants filtres de courriels indésirables articulés sur la 
technologie brevetée MicrosoftMD SmartScreen.
http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail

RE: Access server from outside

2006-04-21 Thread Jonathan Pare
Any of you have an idea why I can't access my websites from outside my home ? 
Thanks.



> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Subject: Access server 
> from outside> Date: Thu, 20 Apr 2006 07:44:41 -0400> > Hi,>  > Why can't I 
> access my websites from outside my network ?  On the computer running the 
> server everything's fine:> I can access via > - http://localhost/> - 
> http://[myipaddress]/> - http://[mydyndnsservice.com]/>  > But when I try 
> from work, the page never loads.> I'm using Ubuntu 5.10, Tomcat 5.5.16 
> (configured on port 80 so I don't have to type :8080), D-Link DI624+ router 
> (configured with port fowarding: incomming request on port 80 -> send it to 
> the computer ip running tomcat) and Firestarter (IpTables) accepting inbound 
> connection from everyone on port 80.>  > Thanks.> 
> _> Profitez 
> des puissants filtres de courriels indésirables articulés sur la technologie 
> brevetée MicrosoftMD SmartScreen.> 
> http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail
_
Profitez des puissants filtres de courriels indésirables articulés sur la 
technologie brevetée MicrosoftMD SmartScreen.
http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail

Tomcat cache

2006-04-20 Thread Jonathan Pare
Hi guys, another question:
 
is there some kind of cache in Tomcat that I have to manually clean up ?
Here's what I did: I replaced the default index.jsp welcome page in 
webapps/root/ (the one that says the server is up and running...) with a page 
of my own who access a MySql table and output its content.Then I wanted to put 
the default welcome page back but it's still my own page who's showing.
(I tried to restart tomcat, I even rebooted...)
 
Details:-Ubuntu 5.10-Tomcat 5.5.16
Thanks.
_
Profitez des puissants filtres de courriels indésirables articulés sur la 
technologie brevetée MicrosoftMD SmartScreen.
http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail

Access server from outside

2006-04-20 Thread Jonathan Pare
Hi,
 
Why can't I access my websites from outside my network ?  On the computer 
running the server everything's fine:
I can access via 
- http://localhost/
- http://[myipaddress]/
- http://[mydyndnsservice.com]/
 
But when I try from work, the page never loads.
I'm using Ubuntu 5.10, Tomcat 5.5.16 (configured on port 80 so I don't have to 
type :8080), D-Link DI624+ router (configured with port fowarding: incomming 
request on port 80 -> send it to the computer ip running tomcat) and 
Firestarter (IpTables) accepting inbound connection from everyone on port 80.
 
Thanks.
_
Profitez des puissants filtres de courriels indésirables articulés sur la 
technologie brevetée MicrosoftMD SmartScreen.
http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail

RE: Re: Directory listing... what happened ?

2006-04-18 Thread Jonathan Pare
Thanks a lot. You guys are great.  I found this tutorial on how to install AND 
connect tomcat to apache so here it is just in case it might help someone else:
http://agiletesting.blogspot.com/2005/10/configuring-apache-2-and-tomcat-55.html
 



> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Subject: RE: Re: 
> Directory listing... what happened ?> Date: Tue, 18 Apr 2006 08:18:49 -0500> 
> > ask in an ubuntu-related forum for help on permanently disabling your 
> apache> server, or, connect your apache server to tomcat with mod_jk.   > > 
> If you're unsure of how to do the first, you probably will feel more pain> 
> trying the second (so do that first thing).> > > > > -Original 
> Message-> > From: Jonathan Pare [mailto:[EMAIL PROTECTED] > > Sent: 
> Monday, April 17, 2006 5:20 PM> > To: Tomcat Users List> > Subject: RE: Re: 
> Directory listing... what happened ?> > > > > > That's it ! Thaks a lot !  I 
> changed the tomcat port back to > > 8080 and everything went back to normal.  
> But then I > > remembered why I change the port in the first place.  It's > > 
> because I want to use dyndns to access my website from > > outside my 
> network, so I have to use (I think) the port 80. > > Any suggestion ?> > > > 
> > > > From: [EMAIL PROTECTED]> > > 
> To: users@tomcat.apache.org> > > Subject: RE: Re: Directory listing... what 
> happened ?> > > Date: Mon, 17 Apr 2006 16:43:33 -0500> > > > > > buried in 
> your stacktrace:> > > > > > SEVERE: Error initializing endpoint> > > 
> java.net.BindException: Address already in use:80> > > > > > Combine this 
> with your previous statement "... until I rebooted my > > > computer"> > 
> > > > > Most likely there is a version of Apache web server that > > was 
> enabled > > > with your ubuntu installation, that at some point in the > > 
> past, you or > > > someone else turned off (and have subsequently forgotten > 
> > about).  On > > > restart, ubuntu is configured to start apache, which it > 
> > does, and it > > > grabs port 80.> > > > > > Then, tomcat fails to start as 
> stated in its logs.> > > > > > Which is why you see the default "congrats on 
> setting up apache" > > > message from apache. Even though you didn't install 
> apache, > > it's part > > > of your ubuntu setup and it restarts with your 
> box.> > > > > > > > > 
> -> To 
> unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: 
> [EMAIL PROTECTED]> 
_
Profitez des puissants filtres de courriels indésirables articulés sur la 
technologie brevetée MicrosoftMD SmartScreen.
http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail

RE: Re: Directory listing... what happened ?

2006-04-17 Thread Jonathan Pare
That's it ! Thaks a lot !  I changed the tomcat port back to 8080 and 
everything went back to normal.  But then I remembered why I change the port in 
the first place.  It's because I want to use dyndns to access my website from 
outside my network, so I have to use (I think) the port 80. Any suggestion ?


> From: [EMAIL PROTECTED]
> To: users@tomcat.apache.org
> Subject: RE: Re: Directory listing... what happened ?
> Date: Mon, 17 Apr 2006 16:43:33 -0500
> 
> buried in your stacktrace: 
> 
> SEVERE: Error initializing endpoint
> java.net.BindException: Address already in use:80
> 
> Combine this with your previous statement "... until I rebooted my
> computer"
> 
> Most likely there is a version of Apache web server that was enabled with
> your ubuntu installation, that at some point in the past, you or someone
> else turned off (and have subsequently forgotten about).  On restart, ubuntu
> is configured to start apache, which it does, and it grabs port 80.
> 
> Then, tomcat fails to start as stated in its logs. 
> 
> Which is why you see the default "congrats on setting up apache" message
> from apache. Even though you didn't install apache, it's part of your ubuntu
> setup and it restarts with your box. 
> 
> 
> 
> 
> > -Original Message-
> > From: Jonathan Pare [mailto:[EMAIL PROTECTED] 
> > Sent: Monday, April 17, 2006 4:18 PM
> > To: Tomcat Users List
> > Subject: RE: Re: Directory listing... what happened ?
> > 
> > 
> > There are my 2 logs:
> > 
> > SEVERE: Error initializing endpoint
> > java.net.BindException: Address already in use:80
> > at 
> > org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTc
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

_
Profitez des puissants filtres de courriels indésirables articulés sur la 
technologie brevetée MicrosoftMD SmartScreen.
http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Re: Directory listing... what happened ?

2006-04-17 Thread Jonathan Pare
9)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
17-Apr-2006 5:02:50 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 7924 ms
--



> Date: Mon, 17 Apr 2006 15:07:27 -0400
> From: [EMAIL PROTECTED]
> To: users@tomcat.apache.org
> Subject: Re: Directory listing... what happened ?
> 
> Have you looked at your logs?   This stinks of Apache HTTPd  on port 80 
> instead of Tomcat.   You might also want to use netstat to see what is 
> running and on what ports.
> 
>  --David
> 
> Jonathan Pare wrote:
> > I didn't install apache, I just installed tomcat 5.5.16. So it's tomcat 
> > who's listening on port 80. 
> > But why the index.jsp file in the webapps/ROOT/index.jsp is not showing 
> > when I go to http://localhost/ 
> > ?
> > And why do I have a file not found when I go to http://localhost/index.jsp 
> > ? (and the file exists !)
> >
> >   
> >> Date: Mon, 17 Apr 2006 13:43:03 -0500> From: [EMAIL PROTECTED]> To: 
> >> users@tomcat.apache.org> Subject: Re: Directory listing... what happened 
> >> ?> > who listens to port 80? Apache? if so, consult your apache docs.> > 
> >> if Tomcat listens to port 80, then the webapps/ROOT/ is your root > 
> >> application "/"> > Filip> > [EMAIL PROTECTED] wrote:> > Hi,> >> > I'm 
> >> running Ubuntu 5.10.> > I installed Tomcat 5.5.16.> >> > My webserver was 
> >> going fine until I rebooted my computer.> > Now when I go to 
> >> http://localhost/ I get a directory listing of "Index of/"> > with those 2 
> >> entries:> >> > [DIR]   Parent Directory  15-Apr-2006 15:22   -> > 
> >> [DIR]   apache2-default/  15-Apr-2006 15:22   -> >> > instead of 
> >> my webpage that I previously had. If I click on apache2-default/> > 
> >> directory this page appears:> >> >   
> >> ---> >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.> >   
> >> ---> >> > What's wrong with my server 
> >> ?> >> > All I remember changing is> > -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 just to see if it 
> >> was really> > needed in the /webapps/root/WEB-INF/ (but I put it back the 
> >> way is was).> >> >> > Thank you.> >> >> >> > 
> >> -> > 
> >> 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]> 
> >> 
> > _
> > Profitez des puissants filtres de courriels indésirables articulés sur la 
> > technologie brevetée MicrosoftMD SmartScreen.
> > http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail
> >   
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

_
Profitez des puissants filtres de courriels indésirables articulés sur la 
technologie brevetée MicrosoftMD SmartScreen.
http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Re: Directory listing... what happened ?

2006-04-17 Thread Jonathan Pare
Thanks for the reply,
I changed the port to 80:
 
File:
usr/local/tomcat/conf/server.xml
 
Changed this:
 Date: Mon, 17 Apr 2006 13:56:41 -0500> From: [EMAIL PROTECTED]> To: 
> users@tomcat.apache.org> Subject: Re: Directory listing... what happened ?> > 
> tomcat by default listens to port 8080, not 80, so if you just installed > 
> Tomcat, http://localhost:8080/> is the correct path> > Filip> > > Jonathan 
> Pare wrote:> > I didn't install apache, I just installed tomcat 5.5.16. So 
> it's tomcat who's listening on port 80. > > But why the index.jsp file in the 
> webapps/ROOT/index.jsp is not showing when I go to http://localhost/ > > ?> > 
> And why do I have a file not found when I go to http://localhost/index.jsp > 
> > ? (and the file exists !)> >> >   > >> Date: Mon, 17 Apr 2006 13:43:03 
> -0500> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Subject: Re: 
> Directory listing... what happened ?> > who listens to port 80? Apache? if 
> so, consult your apache docs.> > if Tomcat listens to port 80, then the 
> webapps/ROOT/ is your root > application "/"> > Filip> > [EMAIL PROTECTED] 
> wrote:> > Hi,> >> > I'm running Ubuntu 5.10.> > I installed Tomcat 5.5.16.> 
> >> > My webserver was going fine until I rebooted my computer.> > Now when I 
> go to http://localhost/ I get a directory listing of "Index of/"> > with 
> those 2 entries:> >> > [DIR]   Parent Directory  15-Apr-2006 15:22   
> -> > [DIR]   apache2-default/  15-Apr-2006 15:22   -> >> > instead of 
> my webpage that I previously had. If I click on apache2-default/> > directory 
> this page appears:> >> >   
> ---> >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.> >   
> ---> >> > What's wrong with my server ?> 
> >> > All I remember changing is> > -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 just to see if it was 
> really> > needed in the /webapps/root/WEB-INF/ (but I put it back the way is 
> was).> >> >> > Thank you.> >> >> >> > 
> -> > 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]> > >> > > 
> _> > Profitez 
> des puissants filtres de courriels indésirables articulés sur la technologie 
> brevetée MicrosoftMD SmartScreen.> > 
> http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail> >   > > > > 
> -> To 
> unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: 
> [EMAIL PROTECTED]> 
_
Profitez des puissants filtres de courriels indésirables articulés sur la 
technologie brevetée MicrosoftMD SmartScreen.
http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail

RE: Re: Directory listing... what happened ?

2006-04-17 Thread Jonathan Pare

I didn't install apache, I just installed tomcat 5.5.16. So it's tomcat who's 
listening on port 80. 
But why the index.jsp file in the webapps/ROOT/index.jsp is not showing when I 
go to http://localhost/ 
?
And why do I have a file not found when I go to http://localhost/index.jsp 
? (and the file exists !)

> Date: Mon, 17 Apr 2006 13:43:03 -0500> From: [EMAIL PROTECTED]> To: 
> users@tomcat.apache.org> Subject: Re: Directory listing... what happened ?> > 
> who listens to port 80? Apache? if so, consult your apache docs.> > if Tomcat 
> listens to port 80, then the webapps/ROOT/ is your root > application "/"> > 
> Filip> > [EMAIL PROTECTED] wrote:> > Hi,> >> > I'm running Ubuntu 5.10.> > I 
> installed Tomcat 5.5.16.> >> > My webserver was going fine until I rebooted 
> my computer.> > Now when I go to http://localhost/ I get a directory listing 
> of "Index of/"> > with those 2 entries:> >> > [DIR]   Parent Directory  
> 15-Apr-2006 15:22   -> > [DIR]   apache2-default/  15-Apr-2006 15:22  
>  -> >> > instead of my webpage that I previously had. If I click on 
> apache2-default/> > directory this page appears:> >> >   
> ---> >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.> >   
> ---> >> > What's wrong with my server ?> 
> >> > All I remember changing is> > -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 just to see if it was 
> really> > needed in the /webapps/root/WEB-INF/ (but I put it back the way is 
> was).> >> >> > Thank you.> >> >> >> > 
> -> > 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]> 
_
Profitez des puissants filtres de courriels indésirables articulés sur la 
technologie brevetée MicrosoftMD SmartScreen.
http://join.msn.com/?pgmarket=fr-ca&page=features/junkmail

Re: 404

2006-04-17 Thread jonathan . pare

What are the files that I should check if they're ok ?

/usr/local/tomcat/conf/server.xml
/usr/loca/tomcat/webapps/root/WEB-INF/web.xml

what should I look for in those files ? Could you show me examples of
"working" configuration

Is there other config files I should check ?

Thanks



   
 [EMAIL PROTECTED] 
 jardins.com   
 A 
 2006-04-17 13:29  "Tomcat Users List" 
  
cc 
 Veuillez répondre 
 à   Objet 
   "Tomcat Users   Re: 404 
   List"   
 <[EMAIL PROTECTED] 
 che.org>  
   
   
   





I didn't take the default. I changed the port to 80:

File:
usr/local/tomcat/conf/server.xml

Changed this:
   A
   Tomcat Users List
 2006-04-17 13:20  
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  
>>   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

Re: 404

2006-04-17 Thread jonathan . pare

I didn't take the default. I changed the port to 80:

File:
usr/local/tomcat/conf/server.xml

Changed this:
   A 
   Tomcat Users List   
 2006-04-17 13:20 
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  
>>   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 PROTECT

404

2006-04-17 Thread jonathan . pare
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  
>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]



Re: 404

2006-04-17 Thread jonathan . pare

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 
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]



404

2006-04-17 Thread jonathan . pare

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 !

Thanks.
(using ubuntu 5.10 and tomcat 5.5.16)



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Directory listing... what happened ?

2006-04-17 Thread jonathan . pare
Hi,

I'm running Ubuntu 5.10.
I installed Tomcat 5.5.16.

My webserver was going fine until I rebooted my computer.
Now when I go to http://localhost/ I get a directory listing of "Index of/"
with those 2 entries:

[DIR]   Parent Directory  15-Apr-2006 15:22   -
[DIR]   apache2-default/  15-Apr-2006 15:22   -

instead of my webpage that I previously had. If I click on apache2-default/
directory this page appears:

  ---
   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.
  ---

What's wrong with my server ?

All I remember changing is
-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 just to see if it was really
needed in the /webapps/root/WEB-INF/ (but I put it back the way is was).


Thank you.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]