Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Trouble starting TOMCAT

Reply
Thread Tools

Trouble starting TOMCAT

 
 
Prabh
Guest
Posts: n/a
 
      02-11-2004
Hello all,
I've just downloaded TOMCAT 4.1.29 on WIN XP and trying to start it
up.
From the bin folder of TOMCAT, I tried running the .bat file,
"startup".
Nothing much seemed to happen. I ran "shutdown" .bat and it fails
complaining:

================================================== ===================
C:\tomcat\jakarta-tomcat-4.1.29-src\catalina\src\bin>shutdown
Using CATALINA_BASE:
C:\tomcat\jakarta-tomcat-4.1.29-src\catalina\src
Using CATALINA_HOME:
C:\tomcat\jakarta-tomcat-4.1.29-src\catalina\src
Using CATALINA_TMPDIR:
C:\tomcat\jakarta-tomcat-4.1.29-src\catalina\src\temp
Using JAVA_HOME: C:\JBuilder7\jdk1.3.1
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/catalina/startup/Bootstrap
================================================== ===================

I made sure to add "CATALINA_HOME" to my CLASSPATH.
The CATALINA_HOME, JAVA_HOME is all set, but it isnt able to find the
BootStrap. Within C:\tomcat, I tried to search for "BootStrap.jar",
"BootStrap.class"...nope, I cant find any.

I do find a BootStrap.java, does that mean I've to compile the .java
src code in the standard distribution?

2) Also, a lot of posts on comp.lang.java.* groups talk about
tomcat.bat and tomcat.sh, I'm not able to find these shell scripts.
Arent they distributed with the newer versions of Tomcat?

Thanks for your time,
Prab
 
Reply With Quote
 
 
 
 
Wendy S
Guest
Posts: n/a
 
      02-11-2004
"Prabh" <> wrote in message
news: om...
> I've just downloaded TOMCAT 4.1.29 on WIN XP and trying to start it
> up.


How did you install it? The Windows Installer, or just unzipping the
_binary_ distribution? It looks like you downloaded the source, probably
not what you want.

Try this page to find the link and download it again:
http://jakarta.apache.org/site/binindex.cgi

Just download the jakarta-tomcat-4.1.29.zip file, unzip it wherever you
prefer (in a path with NO SPACES preferably). Then put yourself in the
'bin' directory and try the startup.bat file again. (I start with:
'catalina.bat jpda start' for debugging.)

--
Wendy in Chandler, AZ


 
Reply With Quote
 
 
 
 
Shane Mingins
Guest
Posts: n/a
 
      02-11-2004

"Prabh" <> wrote in message
news: om...
> Hello all,
> I've just downloaded TOMCAT 4.1.29 on WIN XP and trying to start it
> up.
> From the bin folder of TOMCAT, I tried running the .bat file,
> "startup".
> Nothing much seemed to happen. I ran "shutdown" .bat and it fails
> complaining:
>


Not sure if of any help. When I installed Tomcat on Windows 2000 it created
all the shortcuts for me ... did this not happen for you? Did you download
the .exe and run it?

The start icon runs
"C:\j2sdk1.4.1_01\bin\java.exe -jar -Duser.dir="C:\tomcat"
"C:\tomcat\bin\bootstrap.jar" start"

Cheers
Shane


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
3 ESSENTIAL TOOLS FOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLSFOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLS FOR STARTING ANDMAINTAINING... Oanh Bui C++ 0 04-27-2009 12:51 PM
3 ESSENTIAL TOOLS FOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLSFOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLS FOR STARTING ANDMAINTAINING... Oanh Bui C Programming 0 04-27-2009 12:51 PM
3 ESSENTIAL TOOLS FOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLSFOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLS FOR STARTING ANDMAINTAINING... Oanh Bui Python 0 04-27-2009 12:46 PM
Trouble starting TOMCAT Prabh Java 0 02-11-2004 09:43 PM
starting tomcat Hiranya Samarasekera Java 0 07-29-2003 03:15 AM



Advertisments