*
The moose likes Tomcat and the fly likes help i cant start tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "help i cant start tomcat" Watch "help i cant start tomcat" New topic
Author

help i cant start tomcat

nana Amr
Ranch Hand

Joined: May 18, 2005
Posts: 53
hi all ,,
im lerning servlets by my self, i cant run the program i think the problem on tomcat installation.
i try to download Tomcat server and i will write the steps which i did:


but the tomcat did not start and this what happened:
Kj Reddy
Ranch Hand

Joined: Sep 20, 2003
Posts: 1704
Originally posted by nana:
hi all ,,
im lerning servlets by my self, i cant run the program i think the problem on tomcat installation.
i try to download Tomcat server and i will write the steps which i did:


but the tomcat did not start and this what happened:


You need to set TOMCAT and JAVA Home for each window. When you open new window to run Tomact it wont recognise the other values you set in other window. You can put this values in enviroment vairables or copy this settings in .bat file and run each time when you open DOS prompt.

Hope it will helpful to you.
nana Amr
Ranch Hand

Joined: May 18, 2005
Posts: 53
"You need to set TOMCAT and JAVA Home for each window"
what you mean??

"You can put this values in enviroment vairables or copy this settings in .bat file and run each time when you open DOS prompt."
and how could i do this plz tell me in detils if u can
praveen kanakarajan
Ranch Hand

Joined: Apr 27, 2005
Posts: 54
Im not an expert.i had seen this problem in win98 system to avoid you had to select the properties of startup.bat file and increase the memory to the maximum.Hope it will help you.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

"nana",
please look at the request about your display name more closely here.

Please edit your display name again. Accounts with invalid display names get deleted.

thanks,
Dave
nana Amr
Ranch Hand

Joined: May 18, 2005
Posts: 53
ok im sorry
i but my real name: nana Amr
is this ok?
im really sorry but i cant understand all the police coz im not English
nana Amr
Ranch Hand

Joined: May 18, 2005
Posts: 53
i try this but nothing happened

start->run->sysedit
PATH=%PATH%;.;C:\jdk1.3.1\bin
set classpath=C:\jdk1.3.1\lib\tools.jar;.;c:\jakarta-tomcat-3.2.3\lib\servlet.jar
set TOMCAT_HOME=C:\jakarta-tomcat-3.2.3
set JAVA_HOME=C:\jdk1.3.1
Eric Lemaitre
Ranch Hand

Joined: Jul 03, 2004
Posts: 538

Hi nana !

i try this but nothing happened

start->run->sysedit
PATH=%PATH%;.;C:\jdk1.3.1\bin
set classpath=C:\jdk1.3.1\lib\tools.jar;.;c:\jakarta-tomcat-3.2.3\lib\servlet.jar
set TOMCAT_HOME=C:\jakarta-tomcat-3.2.3
set JAVA_HOME=C:\jdk1.3.1


Use the graphical workbench to sent your environment variables instead, using right mouse button and "properties" settings.
You should define "JAVA_HOME=C:\jdk1.3.1" and "JAKARTA_HOME=C:\jakarta-tomcat-3.2.3" as system environment variables, I insist, not as USER environment variables but as SYSTEM environment variables. You shouldn't have to reboot your machine, but close command line interfaces if you tried to launch Tomcat this way, and open new ones so that environment variables are taken into account.

Best regards.


Eric LEMAITRE
CNAM IT Engineer, MS/CS (RHCE, RHCX, SCJA, SCJP, SCJD, SCWCD, SCBCD, SCEA, Net+)
Free Online Tutorials: http://www.free-tutorials-online.net/
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Originally posted by nana Amr:
is this ok?
im really sorry but i cant understand all the police coz im not English


Thank you
nana Amr
Ranch Hand

Joined: May 18, 2005
Posts: 53
is this right
JAKARTA_HOME=C:\jakarta-tomcat-3.2.3
instat of
TOMCAT_HOME=C:\jakarta-tomcat-3.2.3
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

I believe it is supposed to be CATALINA_HOME. I am moving this to the Tomcat forum since, well, this is about Tomcat and not Servlets.


GenRocket - Experts at Building Test Data
nana Amr
Ranch Hand

Joined: May 18, 2005
Posts: 53
plz tell me what to do i cant startup tomcat
nana Amr
Ranch Hand

Joined: May 18, 2005
Posts: 53
plz help me i dont know what to do,,
i have this message
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
Out of environment space messages indicate you are stuck with Win98 or ME - systems that do not provide enough memory for the extensive environment variable manipulation that Tomcat startup uses.
I found this discussion via google.
This problem has been discussed MANY times in this and other forums.
Bill
 
 
subject: help i cant start tomcat
 
Similar Threads
Another Win98 Tomcat install problem
Tomcat
getting started?
i cant run my program
Have trouble to install Tomcat on Win98