File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

APACHE/TOMCAT INSTALLATION STEP-BY-STEP

 
shomalbafna
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 57
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
shomalbafna
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5040
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Swami.
- satya
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic