• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat Startup Problem

 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
yeah, but ... what would PIE do? Especially concerning this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic