• 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Difference between starting the service using .exe or .sh

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
.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,
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic