This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat Startup Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Startup Problem" Watch "Tomcat Startup Problem" New topic
Author

Tomcat Startup Problem

John Vergis
Ranch Hand

Joined: Feb 24, 2004
Posts: 59
Hi,
I have extrated jakarta4.1.29 to c:\TOMCAT41
when i run catalina.bat i get the following error..
"Directory C:\TOMCAT41\bin\..\lib does not exist"
After creating a folder lib in C:\TOMCAT41 the above error is resolved,
but then after starting TOMCAT, when i access the TOMCAT homepage i get the foll error in the browser

HTTP Status 503 - Servlet jsp is currently unavailable
--------------------------------------------------------------------------------
type Status report
message Servlet jsp is currently unavailable
description The requested service (Servlet jsp is currently unavailable) is not currently available.

--------------------------------------------------------------------------------
Apache Tomcat/4.1.29

Could anyone help me out...
Regards
Johnny
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12759
    
    5
I'm wondering if you didn't get a bad download - did you do the MD5 check on the integrity of the file? Are you sure this is the exact msg?
"Directory C:\TOMCAT41\bin\..\lib does not exist"

I say that because my tomcat 4.1.27 and .30 installations don't have any subdirectory to the \bin directory.
Which SDK do you have installed? As I recall there is a different version for SDK 1.3 users.
Bill
John Vergis
Ranch Hand

Joined: Feb 24, 2004
Posts: 59
Hi William,
The download is proper, i did check that... I am posting the foll msgs so that you get a better picture and possibly help me out....
C:\Tomcat41\bin>catalina.bat run
Using CATALINA_BASE: C:\Tomcat41
Using CATALINA_HOME: C:\Tomcat41
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME: C:\j2sdk1.4.2_01
Directory C:\Tomcat41\bin\..\lib does not exist............................
//////////////////////////////////////////////////////////////////////////
After creating a folder lib in c:\Tomcat41 and running catalina .. server
started...
C:\Tomcat41\jakarta-tomcat-4.1.29\bin>catalina.bat run
Using CATALINA_BASE: C:\Tomcat41
Using CATALINA_HOME: C:\Tomcat41
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME: C:\j2sdk1.4.2_01
Mar 21, 2004 1:23:32 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8081
Starting service Tomcat-Standalone
Apache Tomcat/4.1.29
Mar 21, 2004 1:23:34 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8081
Mar 21, 2004 1:23:34 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Mar 21, 2004 1:23:34 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31 config=C:\Tomcat41\jakarta-tomcat-4.1.29\bin\..
\conf\jk2.properties
//////////////////////////////////////////////////////////////////////////
Message on the browser while accessing http://localhost:8081/index.jsp

HTTP Status 503 - Servlet jsp is currently unavailable
--------------------------------------------------------------------------------
type Status report
message Servlet jsp is currently unavailable
description The requested service (Servlet jsp is currently unavailable) is not currently available.

--------------------------------------------------------------------------------
Apache Tomcat/4.1.29................
//////////////////////////////////////////////////////////////////////////

Thanks
Johnny
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12759
    
    5
I am mystified - I have never seen a message like
Directory C:\Tomcat41\bin\..\lib does not exist..........................

but of course I always execute startup.bat instead of catalina.bat.
Did you have any earlier version of Tomcat installed on this machine?
Do you define the JAVA_HOME and CATALINA_HOME environment variables.
Have you tried executing startup.bat instead of catalina.bat?
Bill
John Vergis
Ranch Hand

Joined: Feb 24, 2004
Posts: 59
Hi Bill,
There are no previous installations of Tomcat, I tried using startup.bat
but the results are still the same. Also the env variables are set for
JAVA_HOME & CATALINA_HOME. But still the error msgs persist...

Thanks
John
 
 
subject: Tomcat Startup Problem
 
Similar Threads
Servlet invoker is currently unavailable
HTTP Status 503 - Servlet action is currently unavailable
servlet destroy method and session
Apache Tomcat/4.0.2 - HTTP Status 503 - Servlet SendMailServlet is currently unavaila
HTTP Status 405 - HTTP method POST is not supported by this URL