Difference between starting the service using .exe or .sh
posted 17 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Hello,
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 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!
posted 17 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
.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 !
Try 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 !
Try it,
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
posted 17 years ago
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.
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Originally posted by Praveen Shivashankar:
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.
| Hey, check out my mega multi devastator cannon. It's wicked. It makes this tiny ad look weak: The new gardening playing cards kickstarter is now live! https://www.kickstarter.com/projects/paulwheaton/garden-cards |








