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.
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 JSPServlet JEE6 exam.
I know i m wrong some where technically...so please suggest me appropriate solution.....