• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unabble to run tomcat 5.28

 
Ranch Hand
Posts: 37
MyEclipse IDE Oracle Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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....
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic