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

2006-04-18 Thread GB Developer
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]



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 mycomputer  
 Most likely there is a version of Apache web server that   was 
 enabledwith your ubuntu installation, that at some point in the   
 past, you orsomeone else turned off (and have subsequently forgotten  
  about).  Onrestart, ubuntu is configured to start apache, which it  
  does, and itgrabs port 80.  Then, tomcat fails to start as 
 stated in its logs.  Which is why you see the default congrats on 
 setting up apachemessage from apache. Even though you didn't install 
 apache,   it's partof 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-capage=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 formaintaining 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-capage=features/junkmail

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

2006-04-17 Thread Jonathan Pare
There are my 2 logs:

--
localhost.2006-04-17.log: 

Apr 17, 2006 5:02:38 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Apr 17, 2006 5:02:38 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Apr 17, 2006 5:02:38 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Apr 17, 2006 5:02:38 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
17-Apr-2006 5:02:47 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet controller as unavailable
17-Apr-2006 5:02:47 PM org.apache.catalina.core.ApplicationContext log
SEVERE: Error loading WebappClassLoader

  delegate: false

  repositories:

/WEB-INF/classes/

-- Parent Classloader:

[EMAIL PROTECTED]

 com.mycompany.mypackage.ControllerServlet
java.lang.ClassNotFoundException: com.mycompany.mypackage.ControllerServlet
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1034)
at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4197)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)
at 
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)
at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1112)
at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:450)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
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:47 PM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet  threw load() exception
java.lang.ClassNotFoundException: com.mycompany.mypackage.ControllerServlet
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1034)
at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4197)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)
at 
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)
at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1112)
at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at 

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

2006-04-17 Thread GB Developer
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]



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-capage=features/junkmail
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]