• 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

Installation problem for tomcat 7.0

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Experts,

I am trying to install Tomcat 7.0 verson in my system.I am doing installation for windows xp.I have unzipped file in path :C:\apache-tomcat-7.0.34.Now i using startup.bat to run my tomcat server.
As i clicked on it,window pop up and close suddenly.I have also tried to run my .sh file in command prompt and the script opens in notepad.

I have already defined following variables in system variables section in My Computer properties:-
JAVA_HOME :- C:\Program Files\Java\jdk1.5.0_15
PATH : C:\Program Files\Java\jdk1.5.0_15\bin

Can you please put limelight on reason of not getting anything on typing : http://localhost:8080 in browser?

Thanks,
Annie

 
Ranch Hand
Posts: 157
1
Android MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Annie,

Did you checked your localhost log file in $CATALINA_HOME/logs folder?

Don't click on startup.bat file, instead issue command from command prompt, this will show error on console.
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Annie Arora wrote:Hello Experts,

I am trying to install Tomcat 7.0 verson in my system.I am doing installation for windows xp.I have unzipped file in path :C:\apache-tomcat-7.0.34.Now i using startup.bat to run my tomcat server.
As i clicked on it,window pop up and close suddenly.I have also tried to run my .sh file in command prompt and the script opens in notepad.

I have already defined following variables in system variables section in My Computer properties:-
JAVA_HOME :- C:\Program Files\Java\jdk1.5.0_15
PATH : C:\Program Files\Java\jdk1.5.0_15\bin

Can you please put limelight on reason of not getting anything on typing : http://localhost:8080 in browser?

Thanks,
Annie


Have you checked any application running on 8080 port?
or you can run startup.bat run as admin
 
Annie Arora
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

Thanks for your suggestions.

@harshvardhan : I have set my CATALINA_HOME and check logs in path CATALINA_HOME/logs,i dont find any logs there.Can you suggest how can i see logs of my start up?
@nagraj : i have checked in my window for open ports.Port 8080 is not used by any processes.

Let me know your feedbacks for the problem

Regards,
Annie
 
harshvardhan ojha
Ranch Hand
Posts: 157
1
Android MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
what happened when you ran startup.bat from command prompt? Give me the console output.
 
nagraj patel
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

nagraj patel wrote:

Annie Arora wrote:Hello Experts,

I am trying to install Tomcat 7.0 verson in my system.I am doing installation for windows xp.I have unzipped file in path :C:\apache-tomcat-7.0.34.Now i using startup.bat to run my tomcat server.
As i clicked on it,window pop up and close suddenly.I have also tried to run my .sh file in command prompt and the script opens in notepad.

I have already defined following variables in system variables section in My Computer properties:-
JAVA_HOME :- C:\Program Files\Java\jdk1.5.0_15
PATH : C:\Program Files\Java\jdk1.5.0_15\bin

Can you please put limelight on reason of not getting anything on typing : http://localhost:8080 in browser?

Thanks,
Annie
Have You check appache version 7.x required jdk 1.6.x?


Have you checked any application running on 8080 port?
or you can run startup.bat run as admin

 
nagraj patel
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

nagraj patel wrote:

nagraj patel wrote:

Annie Arora wrote:Hello Experts,

I am trying to install Tomcat 7.0 verson in my system.I am doing installation for windows xp.I have unzipped file in path :C:\apache-tomcat-7.0.34.Now i using startup.bat to run my tomcat server.
As i clicked on it,window pop up and close suddenly.I have also tried to run my .sh file in command prompt and the script opens in notepad.

I have already defined following variables in system variables section in My Computer properties:-
JAVA_HOME :- C:\Program Files\Java\jdk1.5.0_15
PATH : C:\Program Files\Java\jdk1.5.0_15\bin

Can you please put limelight on reason of not getting anything on typing : http://localhost:8080 in browser?

Thanks,
Annie
Have You check appache version 7.x required jdk 1.6.x?
http://tomcat.apache.org/whichversion.html
checked this link here clearly mention that minimum requirement is 1.6 jdk


Have you checked any application running on 8080 port?
or you can run startup.bat run as admin

 
Ranch Hand
Posts: 75
Tomcat Server Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You know that JDK 1.5 is not supported with Tomcat 7, right?
so what's the reason to use JDK 1.5 released in 2004 with latest versions of tomcat?
if you really need to decrease your applications performance, security and run legacy software, try tomcat 4.
 
Annie Arora
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Members,

Thanks for your response.It is problem of compatiablity of JDK with tomcat .
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic