• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem with starting tomcat 5.5

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ..
 
Ranch Hand
Posts: 470
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 1179
Mac OS X Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Mac OS X Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Mac OS X Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic