LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-29-2008, 07:57 AM   #1
prasunhowlader
LQ Newbie
 
Registered: Apr 2008
Posts: 12

Rep: Reputation: 0
Tomcat setup problem


I am using redhat linux 9. Now i am trying to setup jakarta-tomcat-5.0.28.tar.gz. My catalina_home directory is /opt/tomcat. When i run ./startup.sh it dispaly
Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JAVA_HOME: /opt/java6
When i use this command-http://localhost:8080 then it dispaly error connectio.It's catalina.out gives this result-

May 29, 2008 3:16:13 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 29, 2008 3:16:13 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3426 ms
May 29, 2008 3:16:14 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 29, 2008 3:16:14 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
May 29, 2008 3:16:14 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
May 29, 2008 3:16:14 PM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
May 29, 2008 3:16:14 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/opt/tomcat/conf/Catalina/localhost/admin.xml
May 29, 2008 3:16:15 PM org.apache.catalina.startup.ContextConfig applicationConfig
INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/admin]
May 29, 2008 3:16:15 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/opt/tomcat/conf/Catalina/localhost/balancer.xml
May 29, 2008 3:16:16 PM org.apache.catalina.startup.ContextConfig applicationConfig
INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/balancer]
May 29, 2008 3:16:16 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/opt/tomcat/conf/Catalina/localhost/manager.xml
May 29, 2008 3:16:16 PM org.apache.catalina.startup.ContextConfig applicationConfig
INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/manager]
May 29, 2008 3:16:16 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 29, 2008 3:16:16 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
May 29, 2008 3:16:16 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=2/117 config=/opt/tomcat/conf/jk2.properties
May 29, 2008 3:16:16 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3034 ms

What is the problem?
 
Old 05-29-2008, 09:38 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,251

Rep: Reputation: 4432Reputation: 4432Reputation: 4432Reputation: 4432Reputation: 4432Reputation: 4432Reputation: 4432Reputation: 4432Reputation: 4432Reputation: 4432Reputation: 4432
Quote:
Originally Posted by prasunhowlader View Post
I am using redhat linux 9. Now i am trying to setup jakarta-tomcat-5.0.28.tar.gz. My catalina_home directory is /opt/tomcat. When i run ./startup.sh it dispaly
Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JAVA_HOME: /opt/java6
When i use this command-http://localhost:8080 then it dispaly error connectio.It's catalina.out gives this result-

INFO: Missing application web.xml, using defaults only
INFO: Processing Context configuration file URL file:/opt/tomcat/conf/Catalina/localhost/manager.xml
INFO: Server startup in 3034 ms
What is the problem?
So you've already set up Tomcat, and are having problems getting in? From what you've posted, it's started up (as indicated by the last line, "Server startup in 3034 ms).

Have you tried using the IP address, instead of localhost? Also, check your config files, since it may not be listening on port 8080.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Need to setup a subdomain in Tomcat 5.5.9 CentOS 4.2 thedonkdonk Linux - General 2 09-27-2006 10:41 AM
I had Java and Tomcat working until I tried setup of Mod_JK booga Linux - Software 1 05-15-2006 05:32 PM
Is there any Apache-Tomcat "connector" setup tutorial that addresses this scenario??? sairndain Fedora 1 11-03-2005 06:37 AM
TOMCAT init script not working on startup -- tomcat 4.x / Mandrake Linux 8.0 jmartinph Mandriva 0 03-08-2004 02:31 AM
tomcat- apache setup question doublefailure Linux - Software 0 08-09-2002 11:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration