David,

In the sequence of events to start Tomcat, binding to the port comes 
first. If the log says that this failed, then Tomcat is not listening 
there. I have seen many times the 404 error to know that it doesn't 
tell me much about what it is really happening. The Tomcat logs are the 
place to look.

Gerardo

On Wed, 8 Sep 2004, Lash, David A (David) wrote:

> Hi all 
> 
> Here is the contents of webapps/ROOT
> 
> WEB-INF/             index.jsp            jakarta-banner.gif   tomcat-power.gif 
> tomcat.gif
> 
> I also tried http://localserver:8080/index.jsp 
> 
> 
> And got the same 404 error. So its like tomcat is looking in a different directory. 
> Is there a config file that defines where tomcat looks for root files? (perhaps 
> someone (at my site) changed this).
> 
> Thanks
> Dave lash
> 
> 
> -----Original Message-----
> From: Avinash R S [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, September 08, 2004 11:47 AM
> To: Tomcat Users List
> Subject: Re: Help with Tomcat Install?
> 
> John,
> 
> Root App does not have a servlet. The page accessed is a static html page
> ROOT/index.html.
> 
> Then verify whether index.html file along with 3 image files is available at
> location ROOT app.
> 
> Best Regards,
> Avinash R S
> 
> 
> ----- Original Message ----- 
> From: "John Villar" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Wednesday, September 08, 2004 10:08 PM
> Subject: Re: Help with Tomcat Install?
> 
> 
> > I think that's not the case, look that he gets a 404 status from tomcat
> > with a "Apache Tomcat/4.1.18" signature at the end....
> > the problem he's having is that the default servlet for tomcat root
> > isn't insatalled.... very rare indeed, but that's the case
> >
> > Shapira, Yoav escribió:
> >
> > >Hi,
> > >There is at least one of other possible cause for this error.
> > >
> > >Perhaps your shutdown cannot be completed normally.  For example, if you
> > >start a non-daemon thread from your app and never shut it down, it will
> > >keep running.  That will prevent the JVM process from exiting and the
> > >port will stay bound, even though all the Tomcat stuff is gone and you
> > >won't be able to connect to Tomcat with a browser.
> > >
> > >In that case, you'd need to kill the process in order to release the
> > >port.  Then you'll be able to start up again.  Of course, you should
> > >debug why this is happening.
> > >
> > >Yoav Shapira
> > >Millennium Research Informatics
> > >
> > >
> > >
> > >
> > >>-----Original Message-----
> > >>From: Avinash R S [mailto:[EMAIL PROTECTED]
> > >>Sent: Wednesday, September 08, 2004 12:24 PM
> > >>To: Tomcat Users List
> > >>Subject: Re: Help with Tomcat Install?
> > >>
> > >>It looks like the port is being used by another application.
> > >>
> > >>Run Shutdown.sh once, and then run startup.sh and still if you get the
> > >>
> > >>
> > >same
> > >
> > >
> > >>error as Catalina.start: LifecycleException:  Protocol handler
> > >>initialization failed: java.net.BindException: Address already in
> > >>
> > >>
> > >use:8080
> > >
> > >
> > >>Then some other application is using the port
> > >>
> > >>Access server.xml file and change port from 8080 to say 7645 .
> > >>
> > >>Try to start the server and access the page at http://localhost:7645
> > >>
> > >>Best Regards,
> > >>Avinash
> > >>
> > >>
> > >>----- Original Message -----
> > >>From: "John Villar" <[EMAIL PROTECTED]>
> > >>To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > >>Sent: Wednesday, September 08, 2004 9:45 PM
> > >>Subject: Re: Help with Tomcat Install?
> > >>
> > >>
> > >>
> > >>
> > >>>>Catalina.start: LifecycleException:  Protocol handler initialization
> > >>>>
> > >>>>
> > >>failed: java.net.BindException: Address already in use:8080
> > >>
> > >>
> > >>>>LifecycleException:  Protocol handler initialization failed:
> > >>>>
> > >>>>
> > >>java.net.BindException: Address already in use:8080
> > >>
> > >>
> > >>>>
> > >>>>
> > >>>This error is saying that port 8080 is already taken, probably by
> > >>>
> > >>>
> > >your
> > >
> > >
> > >>>already running Tomcat daemon, it is common in that case
> > >>>
> > >>>--
> > >>>John Villar
> > >>>Gerente de Proyectos
> > >>>Computadores Flor Hard Soft 2058 C.A.
> > >>>www.florhard.com
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>-----------------------------------------------------------------------
> > >>
> > >>
> > >----
> > >
> > >
> > >>-
> > >>----
> > >>
> > >>
> > >>
> > >>
> > >>>---------------------------------------------------------------------
> > >>>To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >>>For additional commands, e-mail: [EMAIL PROTECTED]
> > >>>
> > >>>
> > >>
> > >>DISCLAIMER:
> > >>This message (including attachment if any) is confidential and may be
> > >>privileged. Before opening attachments please check them for viruses
> > >>
> > >>
> > >and
> > >
> > >
> > >>defects. MindTree Consulting Private Limited (MindTree) will not be
> > >>responsible for any viruses or defects or any forwarded attachments
> > >>emanating either from within MindTree or outside. If you have received
> > >>
> > >>
> > >this
> > >
> > >
> > >>message by mistake please notify the sender by return  e-mail and
> > >>
> > >>
> > >delete
> > >
> > >
> > >>this message from your system. Any unauthorized use or dissemination of
> > >>this message in whole or in part is strictly prohibited.  Please note
> > >>
> > >>
> > >that
> > >
> > >
> > >>e-mails are susceptible to change and MindTree shall not be liable for
> > >>
> > >>
> > >any
> > >
> > >
> > >>improper, untimely or incomplete transmission.
> > >>
> > >>---------------------------------------------------------------------
> > >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >>For additional commands, e-mail: [EMAIL PROTECTED]
> > >>
> > >>
> > >
> > >
> > >
> > >
> > >This e-mail, including any attachments, is a confidential business
> communication, and may contain information that is confidential, proprietary
> and/or privileged.  This e-mail is intended only for the individual(s) to
> whom it is addressed, and may not be saved, copied, printed, disclosed or
> used by anyone else.  If you are not the(an) intended recipient, please
> immediately delete this e-mail from your computer system and notify the
> sender.  Thank you.
> > >
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> > >
> >
> > -- 
> > John Villar
> > Gerente de Proyectos
> > Computadores Flor Hard Soft 2058 C.A.
> > www.florhard.com
> >
> >
> >
> 
> 
> ----------------------------------------------------------------------------
> ----
> 
> 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> DISCLAIMER:
> This message (including attachment if any) is confidential and may be privileged. 
> Before opening attachments please check them for viruses and defects. MindTree 
> Consulting Private Limited (MindTree) will not be responsible for any viruses or 
> defects or any forwarded attachments emanating either from within MindTree or 
> outside. If you have received this message by mistake please notify the sender by 
> return  e-mail and delete this message from your system. Any unauthorized use or 
> dissemination of this message in whole or in part is strictly prohibited.  Please 
> note that e-mails are susceptible to change and MindTree shall not be liable for any 
> improper, untimely or incomplete transmission.
> 
> ---------------------------------------------------------------------
> 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]
> 


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

Reply via email to