Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Installation problem for tomcat 7.0

 
Annie Arora
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • 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

 
harshvardhan ojha
Ranch Hand
Posts: 157
1
Android Java MySQL Database
  • Mark post as helpful
  • send pies
  • 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.
 
nagraj patel
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • 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
  • 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 Java MySQL Database
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
 
K. Gil
Ranch Hand
Posts: 75
Java Linux Tomcat Server
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Hello Members,

Thanks for your response.It is problem of compatiablity of JDK with tomcat .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic