aspose file tools*
The moose likes Tomcat and the fly likes problem with starting tomcat 5.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "problem with starting tomcat 5.5" Watch "problem with starting tomcat 5.5" New topic
Author

problem with starting tomcat 5.5

Vardan Negi
Greenhorn

Joined: Jul 12, 2010
Posts: 15
Hi guys .. i am new to apache-tomcat .. kindly help me with this problem below

i started the server by executing the file tomcat5 from bin folder of root directory .. and then i typed http://localhost:8080 on mozilla browser but i find no response at all ... i had setup tomcat 5.5 to port-no 8080 ..
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
You need to provide more details, see The The Details. Is this a new installation? Did it work before? Have you checked log files? What operation system are you using?
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

To start Tomcat on windows you can't just execute tomcat5.exe - this file is used when a windows service is used, and then it uses some additional parameters.

If you want to see how tomcat5.exe is used, you can open service.bat (with a text editor) - which will install a windows service if executed.

You start Tomcat manually by executing startup.bat


Regards, Rene Larsen
Dropbox Invite
Vardan Negi
Greenhorn

Joined: Jul 12, 2010
Posts: 15
Rene Larsen wrote:To start Tomcat on windows you can't just execute tomcat5.exe - this file is used when a windows service is used, and then it uses some additional parameters.7 ..

If you want to see how tomcat5.exe is used, you can open service.bat (with a text editor) - which will install a windows service if executed.

You start Tomcat manually by executing startup.bat


When i execute tomcat5.exe it throws many exceptions .. i am using tomcat 5.5 ... there is no startup.bat file .. this file is available in tomcat 7.. wi

I am using windows 7 64-bit .. is the OS an issue ??
Vardan Negi
Greenhorn

Joined: Jul 12, 2010
Posts: 15
Misha Ver wrote:You need to provide more details, see The The Details. Is this a new installation? Did it work before? Have you checked log files? What operation system are you using?


i clearly mentioned that i am a rookie in apache not in JAVA !! of course it is a new installation .. OS windows 7 64bit .. no i din check the log files because i believe the problem is more specific to OS .. any help ???
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

Vardan Negi wrote:
Rene Larsen wrote:To start Tomcat on windows you can't just execute tomcat5.exe - this file is used when a windows service is used, and then it uses some additional parameters.7 ..

If you want to see how tomcat5.exe is used, you can open service.bat (with a text editor) - which will install a windows service if executed.

You start Tomcat manually by executing startup.bat


When i execute tomcat5.exe it throws many exceptions .. i am using tomcat 5.5 ... there is no startup.bat file .. this file is available in tomcat 7.. wi

I am using windows 7 64-bit .. is the OS an issue ??

I've just downloaded Tomcat 5.5.30 (just to verify if I was wrong or not) and it has a startup.bat (as all earlier version also have had) - maybe you should install the server again ??
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
Vardan Negi wrote:it is a new installation


In this case you need to step back and tell how did you install Tomcat.

Vardan Negi wrote: no i din check the log files because i believe the problem is more specific to OS


What if you are wrong?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12806
    
    5
It depends on the version you download -

The version of Tomcat that gets installed as an application by unzipping has startup.bat etc etc.

The version of Tomcat that gets installed as a service by the exe has to be started and stopped as a service- see your windows Services Dialog.

The only reason to use the service version is if you are done developing IMHO.

Developers and experimenters should use the application version for better control.

It is very very annoying that Apache has not seen fit to explain this better.

Bill
Vardan Negi
Greenhorn

Joined: Jul 12, 2010
Posts: 15
Rene Larsen wrote:
Vardan Negi wrote:
Rene Larsen wrote:To start Tomcat on windows you can't just execute tomcat5.exe - this file is used when a windows service is used, and then it uses some additional parameters.7 ..

If you want to see how tomcat5.exe is used, you can open service.bat (with a text editor) - which will install a windows service if executed.

You start Tomcat manually by executing startup.bat


When i execute tomcat5.exe it throws many exceptions .. i am using tomcat 5.5 ... there is no startup.bat file .. this file is available in tomcat 7.. wi

I am using windows 7 64-bit .. is the OS an issue ??

I've just downloaded Tomcat 5.5.30 (just to verify if I was wrong or not) and it has a startup.bat (as all earlier version also have had) - maybe you should install the server again ??


can you tell me the exact location of startup.bat ?
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

In the bin folder - same folder as tomcat5.exe
Vardan Negi
Greenhorn

Joined: Jul 12, 2010
Posts: 15
Vardan Negi wrote:
Rene Larsen wrote:
Vardan Negi wrote:
Rene Larsen wrote:To start Tomcat on windows you can't just execute tomcat5.exe - this file is used when a windows service is used, and then it uses some additional parameters.7 ..

If you want to see how tomcat5.exe is used, you can open service.bat (with a text editor) - which will install a windows service if executed.

You start Tomcat manually by executing startup.bat


When i execute tomcat5.exe it throws many exceptions .. i am using tomcat 5.5 ... there is no startup.bat file .. this file is available in tomcat 7.. wi

I am using windows 7 64-bit .. is the OS an issue ??

I've just downloaded Tomcat 5.5.30 (just to verify if I was wrong or not) and it has a startup.bat (as all earlier version also have had) - maybe you should install the server again ??


can you tell me the exact location of startup.bat ?


i downloaded 7.0 version and it works fine. Thank you for your time.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with starting tomcat 5.5