aspose file tools*
The moose likes Tomcat and the fly likes Installation problem for tomcat 7.0 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 "Installation problem for tomcat 7.0" Watch "Installation problem for tomcat 7.0" New topic
Author

Installation problem for tomcat 7.0

Annie Arora
Greenhorn

Joined: Feb 13, 2013
Posts: 9
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

Joined: Jul 26, 2007
Posts: 157
    
    1

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

Joined: Feb 16, 2013
Posts: 18
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

Joined: Feb 13, 2013
Posts: 9
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

Joined: Jul 26, 2007
Posts: 157
    
    1

what happened when you ran startup.bat from command prompt? Give me the console output.
nagraj patel
Greenhorn

Joined: Feb 16, 2013
Posts: 18
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

Joined: Feb 16, 2013
Posts: 18
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

Joined: Apr 29, 2011
Posts: 75

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

Joined: Feb 13, 2013
Posts: 9
Hello Members,

Thanks for your response.It is problem of compatiablity of JDK with tomcat .
 
Consider Paul's rocket mass heater.
 
subject: Installation problem for tomcat 7.0