• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Unabble to run tomcat 5.28

 
Ranch Hand
Posts: 37
MyEclipse IDE Oracle Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
As I am trying to run my first program from Chp 01 of HFSJ,
I compiled my program as from command prompt
javac -classpath C:\Apache_Software_Foundation\Tomcat_5.0\common\lib\servlet-api.jar -d classes src\Ch1Servlet.java

It compile fine.
But I am not able to run my tomcat both from command prompt (I am using windows XP), and when i am try to start from Start menu->all programs->Apache Program 5.0->Monitor Tomcat
then instance of tomcat is run in system try, but when i click on tomcat icon ...it showed
service status : Stopped
then i clicked on Start tab to start the service but it does not change status....its shows old Stopped status.

I was try it to many time but i am unable to start services of tomcat.

Please also suggest me how to run tomcat from windows command prompt.

As currently i am using tomcat 5.28, in installed in C drive in which OS installed.
Thanks in advance.
 
Ranch Hand
Posts: 470
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How did you install Tomcat?
 
Arvind Gangwar
Ranch Hand
Posts: 37
MyEclipse IDE Oracle Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
thanks Var for here to solve my problem.
I installed my tomcat as...
1- dowanload exe file of tomcat 5.28 in my f: drive
2- click on this exe file to install tomcat and set the path as C:\Apache Software Foundation\Tomcat 5.0
3- no change in server port as defult is 8080 then set the password
3- set the jre path as C:\Program Files\Java\jre6

those all step I fallowed.

After that when my tomcat not start service I was un-installed and again installed in same step ....but still not able to success run tomcat service...
So please tell me proper way of installing tomcat.
And Please also suggest me that which one version is appropriate to use for SCWCD 5 or new JSP Servlet JEE6 exam.
I know i m wrong some where technically...so please suggest me appropriate solution.....

Thanks in advance for any suggestion....
 
He was expelled for perverse baking experiments. This tiny ad is a model student:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic