tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "minky arora" <minky.ar...@gmail.com>
Subject Re: beginer question abt JSP with Tomcat
Date Thu, 13 Sep 2007 15:09:23 GMT
AS per christopher's intructions:

Catalina.out

Sep 13, 2007 11:10:03 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
Sep 13, 2007 11:10:03 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Sep 13, 2007 11:10:03 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 600 ms
Sep 13, 2007 11:10:04 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 13, 2007 11:10:04 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
Sep 13, 2007 11:10:05 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 13, 2007 11:10:05 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Sep 13, 2007 11:10:05 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31  config=null
Sep 13, 2007 11:10:05 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1593 ms

************************
catalina.2007-09-13.log

Sep 13, 2007 11:10:03 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
Sep 13, 2007 11:10:03 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Sep 13, 2007 11:10:03 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 600 ms
Sep 13, 2007 11:10:04 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 13, 2007 11:10:04 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
Sep 13, 2007 11:10:05 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 13, 2007 11:10:05 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Sep 13, 2007 11:10:05 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31  config=null
Sep 13, 2007 11:10:05 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1593 ms
***************
localhost.2007-09-13.log

Sep 13, 2007 11:10:05 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Sep 13, 2007 11:10:05 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
**********

On 9/13/07, Christopher Schultz <chris@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Minky,
>
> minky arora wrote:
> > SO, when i shutdown tomcat, using
> > $CATALINA_HOME/bin/shutdown.sh
> >
> > it says no such file or dir...
>
> Really? Where? I don't see such a message in your attached console
> output. I'm guessing that $CATALINA_HOME is not set to anything, or is
> not set properly.
>
> > and if I do ./shutdown.sh, then I get the foloowing.
> > Using CATALINA_BASE:   /users/meenaksharora/java/tomcat/apache-tomcat-6.0.14
> > Using CATALINA_HOME:   /users/meenaksharora/java/tomcat/apache-tomcat-6.0.14
> > Using CATALINA_TMPDIR:
> > /users/meenaksharora/java/tomcat/apache-tomcat-6.0.14/temp
> > Using JRE_HOME:
> > /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home
> > Sep 13, 2007 10:09:22 AM org.apache.catalina.startup.Catalina stopServer
> > SEVERE: Catalina.stop:
> > java.net.ConnectException: Connection refused
>
> This means that Tomcat is not running, or has been improperly configured.
>
> > Now I think I may have to diable APJ1.3 in my server.xml or get a
> > lower version of JRE/JDK ..Is that right?
>
> No. Don't change anything more than you have to. Forget ajp13, and keep
> the same JVM you're been trying to use. I'm sure that your Mac won't
> work properly now that you've gutted it's JVM several times over.
>
> > This is what someone else suggested:
> > The problem is that this version of Tomcat comes with commons-logging
> > version 1.0.2 which does not have the Jdk14Logger. When you run in a
> > 1.4 environment, it tries to use that logger by default.
> >
> > You can either upgrade your commons-logging package to 1.0.4 or point
> > your JAVA_HOME to a 1.3 JRE.
>
> Ignore all this crap. Tomcat works out of the box. Once it is working,
> you have all kinds of logging options if you want to change things. This
> is not the problem. Do not change your logger. Do not change anything
> else. Stop trying to create more problems.
>
> Since Tomcat is not running, do the following:
>
> $ rm /users/meenaksharora/java/tomcat/apache-tomcat-6.0.14/logs/*
> $ /users/meenaksharora/java/tomcat/apache-tomcat-6.0.14/bin/startup.sh
>
> Wait for a minute or two and then attach he entire contents of every
> single file in the
> /users/meenaksharora/java/tomcat/apache-tomcat-6.0.14/logs directory to
> your next post. Please indicate which contents belong to which files.
> Remember that attachments do not work on the list, and that you need to
> copy-and-paste.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFG6Ujs9CaO5/Lv0PARAvLpAKCHNljuC+Ygl7WAnBpd4ANHJqSOIACfcAdK
> oxAOeoEKyjsKRBb0v8sLubc=
> =DPcE
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message