I am using the Tomcat 6.0 version, and MyEclipse 3.3.5 GA. It runs on Windows Vista Home Premium Version.
I recently bought the HFSJ book, and started trying out the examples. The first time I set up Tomcat, I ensured that it has been installed properly by checking the link http://localhost:8080 to display the home page of Tomcat, which it did.
But since last night, I have not been able to view the html page upon running the tomcat server. After reading through the various pages, I am wondering if it has anything to do with disabling the User account control. I'll try that tonite.
However, I wanted to know if there is any difference or relative advantages in starting the service through the .exe or .sh. When I tried running it using start.sh, it wouldn't start and give a message that says "Could not find an appropriate program to run the script. Click here to search on the web or choose from a list of the installed programs". Alternatively I started using the .exe, but it doesn't seem to be working. Can anyone please throw some light on this issue.
Thanks in advance!
I like talking to myself, coz I always hear what I like!
.sh is shell script , designed mainly for UNIX/Liinux systems and .exe is designed for Windows OS. You have to use tomca6.exe, The better way to start it Go command prompt, Then open a tomcat home directory, where you installed the tomcat,(may be "C:\Program Files\Apache Software Foundation\Tomcat 6.0" ) And then go to 'bin' dir, and type tomcat6.exe and enter, and see what it shows the message !
I recently bought the HFSJ book, and started trying out the examples.
If you're learning Tomcat, Servlets, or JSP from this book, you're better off not using and IDE. That book assumes you're using a text editor, the command line javac, and a standalone instance of Tomcat.
Regardless of the book you're using, in my opinion, you're better off learning these things without an IDE. Then, if you find it makes you're life easier, pick one that speeds things up for you.
You're not going to have an IDE on your production servers and you will need to know how to debug things in that environment.