problem solved. port 8080 was blocked on my server. oops.. sorry for wasting your time. and thanks for the replies Kaustubh
On 8/24/06, kaustubh shinde <[EMAIL PROTECTED]> wrote:
This is the log entry when I start tomcat. Apart from the first entry, everything seems to be fine to me. I haven't changed anything in server.xml Aug 24, 2006 3:01:18 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/jdk1.5.0_08/jre/lib/i386/server:/usr/local/jdk1.5.0_08/jre/lib/i386:/usr/local/jdk1.5.0_08/jre/../lib/i386 Aug 24, 2006 3:01:18 PM org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Aug 24, 2006 3:01:18 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 853 ms Aug 24, 2006 3:01:18 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Aug 24, 2006 3:01:18 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.17 Aug 24, 2006 3:01:18 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Aug 24, 2006 3:01:20 PM org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Aug 24, 2006 3:01:20 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Aug 24, 2006 3:01:20 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/30 config=null Aug 24, 2006 3:01:20 PM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource On 8/24/06, David Smith <[EMAIL PROTECTED]> wrote: > At first guess, a config problem with the connector element of your > server.xml. Have you altered the server.xml at all from initial install? > > --David > > kaustubh shinde wrote: > > > webapps is installed. > > i have following directories in $CATALINA_HOME > > bin,conf,logs,common,server,shared,.ssh,temp,webapps,work. > > > > I just checked catalina.2006-08-22.log > > and it has following > > > > Aug 22, 2006 8:26:06 PM org.apache.catalina.connector.Connector pause > > SEVERE: Protocol handler pause failed > > java.lang.NullPointerException > > at org.apache.jk.server.JkMain.pause(JkMain.java:677) > > at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java > > :162) > > at org.apache.catalina.connector.Connector.pause(Connector.java > > :1031) > > at org.apache.catalina.core.StandardService.stop( > > StandardService.java:491) > > at > > org.apache.catalina.core.StandardServer.stop(StandardServer.java > > :743) > > at org.apache.catalina.startup.Catalina.stop(Catalina.java:601) > > at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run( > > Catalina.java:644) > > > > any idea what it means? I have added the relevant directories to > > CLASSPATH. > > Thanks for your help > > Kaustubh > > > > > > On 8/23/06, Lung Chan <[EMAIL PROTECTED]> wrote: > > > >> > >> Is webapps installed??? > >> > >> in my windows configuration, I have > >> tomcat-XXX > >> ---server > >> ------webapps > >> ------lib > >> ------classes > >> > >> On 8/23/06, kaustubh shinde <[EMAIL PROTECTED]> wrote: > >> > > >> > tomcat is installed on 8080. > >> > apache is on 80. > >> > so there is no conflict. > >> > > >> > On 8/23/06, Lung Chan <[EMAIL PROTECTED]> wrote: > >> > > > >> > > Is tomcat install on the port 8080?? > >> > > How about Apache, is it on port 8080 too?? > >> > > > >> > > maybe a conflit. > >> > > > >> > > On 8/23/06, kaustubh shinde <[EMAIL PROTECTED]> wrote: > >> > > > > >> > > > Hi, > >> > > > > >> > > > I am trying to install tomcat 5.5.17 on suse 9.2 > >> > > > I have jdk 1.5 which is required by tomcat 5.5.17 > >> > > > After following the steps mentioned in docs I do following. > >> > > > > >> > > > ./startup.sh > >> > > > Using CATALINA_BASE: /usr/local/apache-tomcat-5.5.17 > >> > > > Using CATALINA_HOME: /usr/local/apache-tomcat-5.5.17 > >> > > > Using CATALINA_TMPDIR: /usr/local/apache-tomcat-5.5.17/temp > >> > > > Using JRE_HOME: /usr/local/jdk1.5.0_08 > >> > > > > >> > > > It seems to be working as I don't get any error msg. > >> > > > Also ps -def|grep tomcat gives > >> > > > > >> > > > tomcat 19597 1 0 20:20 pts/3 00:00:03 > >> > > > /usr/local/jdk1.5.0_08/bin/java > >> > > > -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager > >> > > > - > >> > > > > >> > > > >> > > >> > Djava.util.logging.config.file=/usr/local/apache-tomcat-5.5.17/conf/logging.properties > >> > >> > > > > >> -Djava.endorsed.dirs=/usr/local/apache-tomcat-5.5.17/common/endorsed > >> > > > -classpath :/usr/local/apache-tomcat-5.5.17 > >> > > > /bin/bootstrap.jar:/usr/local/apache-tomcat-5.5.17/bin/commons- > >> > > > logging-api.jar > >> > > > -Dcatalina.base=/usr/local/apache-tomcat-5.5.17 > >> > > > -Dcatalina.home=/usr/local/apache-tomcat-5.5.17 > >> > > > -Djava.io.tmpdir=/usr/local/apache-tomcat-5.5.17/temp > >> > > > org.apache.catalina.startup.Bootstrap start > >> > > > > >> > > > But when I try to point to http://my-machine-ip:8080 I get > >> nothing. > >> > > > > >> > > > Trying to shutdown also seems to be working without any probs. > >> > > > > >> > > > > >> > > > ./shutdown.sh > >> > > > Using CATALINA_BASE: /usr/local/apache-tomcat-5.5.17 > >> > > > Using CATALINA_HOME: /usr/local/apache-tomcat-5.5.17 > >> > > > Using CATALINA_TMPDIR: /usr/local/apache-tomcat-5.5.17/temp > >> > > > Using JRE_HOME: /usr/local/jdk1.5.0_08 > >> > > > > >> > > > > >> > > > I have apache2 running on the machine but I haven't integrated > >> tomcat > >> > > > yet with it. As far as I understand, it shouldn't be a prob. > >> > > > I tried shutting down apache2 but tomcat still doesn't work. > >> > > > > >> > > > I am not sure what the problem is and would really appreciate any > >> > > ideas. > >> > > > Thank you, > >> > > > Kaustubh > >> > > > > >> > > > > >> > > > >> > > > >> > > >> > > >> > >> > > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]