Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with starting tomcat 5.5

 
Vardan Negi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 470
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Vardan Negi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 470
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the bin folder - same folder as tomcat5.exe
 
Vardan Negi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic