*
The moose likes Servlets and the fly likes APACHE/TOMCAT INSTALLATION STEP-BY-STEP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "APACHE/TOMCAT INSTALLATION STEP-BY-STEP" Watch "APACHE/TOMCAT INSTALLATION STEP-BY-STEP" New topic
Author

APACHE/TOMCAT INSTALLATION STEP-BY-STEP

shomalbafna
Greenhorn

Joined: Jul 31, 2001
Posts: 4
I'M USING A WIN98 SYSTEM. AND HAVE DOWNLOADED TOMCAT 3.2.3.
1) jdk1.3 is installed in the directory 'D:\jdk1.3"
2) tomcat is unzipped in the directory 'D:\Tomcat"
VARIABLE 'JAVA_HOME' IS SET TO 'D:\JDK1.3'
'TOMCAT_HOME' IS SET TO 'D:\TOMCAT'
AFTER FOLLOWING THE NECESSARY INSTALLATION INSTRUCTIONS OF SETTING-UP THE 'JAVA_HOME' AND 'TOMCAT_HOME' VARIABLES WHEN I TRIED TO RUN THE 'STARTUP' BATCH FILE IN THE DIRECTORY 'D:\TOMCAT\BIN' WITHOUT SUPPLYING ANY PARAMETERS I GOT AN ERROR LIKE THIS ON MY DOS SCREEN :
"Out of environment space
Out of environment space
Out of environment space
Out of environment space
Starting Tomcat in new window
Bad Command or filename"
This is confusing me and brings me to a basic question as whether it is possible to INSTALL TOMCAT ON WIN98 SYSTEM
Swami nathan
Ranch Hand

Joined: Sep 30, 2000
Posts: 57
Hi.
Yes.You can use Win 98.
I think your problem can be solved by changing/increasing the MS-DOS' initial environment memory.
Just open MS DOS prompt window,click the properties button and then choose memory,increase the ini.env to say 4096 and restart your computer.
this should solve your problem.
Hope this helps.
regds.
swaminathan.

byw,on behalf of the moderators:
JavaRanch has a Naming Policy(http://www.javaranch.com/name.jsp) Please reregister with your full name.
Thanks.

SCJP, SCWCD, SCEA
shomalbafna
Greenhorn

Joined: Jul 31, 2001
Posts: 4
Thank you Swaminathan for replying. As per your advice i could manage to recover from the problem faced. But now on running startup i get a window titled 'java' (dosbased) and with the following content.
Tomcat: setAttribute home=D:\Tomcat
2001-08-01 19:00:34 - ContextXmlReader: Context Config=$TOMCAT_HOME\conf\apps-127.0.0.1.xml
2001-08-01 19:00:34 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-examples.xml
2001-08-01 19:00:34 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-admin.xml
2001-08-01 19:00:34 - AutoWebApp: Already loaded: DEFAULT:/admin
2001-08-01 19:00:34 - AutoWebApp: Already loaded: DEFAULT:/examples
2001-08-01 19:00:34 - AutoWebApp: Auto-Adding DEFAULT:/
2001-08-01 19:00:34 - ContextManager: Adding DEFAULT:/examples
2001-08-01 19:00:34 - ContextManager: Adding DEFAULT:/admin
2001-08-01 19:00:34 - ContextManager: Adding DEFAULT:/ROOT
2001-08-01 19:00:35 - ContextManager: Init time 1160
2001-08-01 19:00:35 - Http10Interceptor: Starting on 8080
2001-08-01 19:00:35 - Ajp12Interceptor: Starting on 8007
2001-08-01 19:00:35 - Ajp13Interceptor: Starting on 8009
2001-08-01 19:00:35 - ContextManager: Startup 50
What can i make out of this. Does it mean that Tomcat has started and i can now start working on. Can i start the administration? If yes, what should be done.
Regards Shomal
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
Thanks, Swami.
- satya

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

Shomal:
Yes, Tomcat seems to have started on port 8080.
Now point your browser to:
http://localhost:8080
This URL will take you to the default tomcat home page
on your installation and you can run the examples.
Good luck.

- satya
shomalbafna
Greenhorn

Joined: Jul 31, 2001
Posts: 4
Thanx Swami and Swami
Where do i keep my Servlet Class files so that when i point to these classes from my HTML i should be able to launch them
Regards
Shomal
 
 
subject: APACHE/TOMCAT INSTALLATION STEP-BY-STEP
 
Similar Threads
Tomcat Error: JAVA_HOME must point...
Problem in starting Tomcat.
Tomcat & NT
Tomcat
setting JAVA_HOME