Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

configuring tomcat  RSS feed

 
Cameron Park
Ranch Hand
Posts: 371
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have some really frustrating problems configuring tomcat. At DOS prompt, I put
c:\set JAVA_HOME=c:\jdk1.2.1
c:\set TOMCAT_HOME=c:\tomcat
c:\set "PATH=%PATH%";"%JAVA_HOME\bin"
Then after
c:\tomcat\bin\startup
I got
Out of environment space
Unable to set CLASSPATH dynamically
Starting tomcat in new window
Bad command or file name
Then nothing happened. Can someone please help me? I think I need to know how to increase my environment space. Can someone please tell me?
Thank you.


[This message has been edited by Cameron Park (edited April 12, 2001).]
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello friend

you must have edit your startup file which is in bin directory
i.e. c:\tomcat\bin\startup
and set JAVA_HOME=c:\jdk1.2.2
means give jdk path to JAVA_HOME option

I think this may help u

 
vaibhav punekar
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you should install tomcat on c: directly and give the tomacat home=c:\jakarta-tomact-3.2.1 as it is the default directory created after unzipping tomcat zip file.
 
Danish Shaukat
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !
Its really easy. Check this out.
http://www.webappcabaret.com/javachina/tomcathowto.htm
Regards
Danish Shaukat
 
Nitin Dubey
Ranch Hand
Posts: 126
Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
It does'nt matter whether u install tomcat on drive c or d or ...
On any drive it will run well.
Please follow these steps to install and configure jakarta-tomcat-3.2.1
I have taken c drive for example
==>
1. Extract tomcat from zip to c drive in default folder i.e. c:\jakarta-tomcat-3.2.1.
2. Right click mycomputer and go to Advanced tab click Button Environment Variables.
3. create New System variable JAVA_HOME value should be "c:\jdk1.3"
4. create New System variable TOMCAT_HOME value should be "c:\jakarta-tomcat-3.2.1".
5. append PATH with "c:\jakarta-tomcat-3.2.1\bin;"
6. append classpath with "c:\jakarta-tomcat\lib\servlet.jar;" for using servlet.jar supplied with tomcat.
7. go to dos prompt and type "tomcat start". Tomcat will start in another window.
8. to stop tomcat give "tomcat stop".

To Increase Environment Space
==>
1. go to dos prompt [windowed]
2. select properties by clicking on left top corner of the window.
now find an option to set it. I don't remember now

hope this helps....
nitin
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!