Here is my catalina.out Feb 14, 2014 11:30:29 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based 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 I confirmed tomcat is running by doing ps -ef|grep tomcat myMac@18.144.67.89:/Users/test/software/runtime/logs>ps -ef|grep tomcat 501 29266 28511 0 11:51AM ttys002 0:00.00 grep tomcat 501 29192 1 0 11:30AM ttys003 0:02.01 /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -Djava.util.logging.config.file=/Users/test/software/runtime/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/Users/test/software/runtime/endorsed -classpath /Users/test/software/runtime/bin/bootstrap.jar:/Users/test/software/runtime/bin/tomcat-juli.jar -Dcatalina.base=/Users/test/software/runtime -Dcatalina.home=/Users/test/software/runtime -Djava.io.tmpdir=/Users/test/software/runtime/temp org.apache.catalina.startup.Bootstrap start On Fri, Feb 14, 2014 at 11:40 AM, Neven Cvetkovic <neven.cvetko...@gmail.com > wrote: > On Feb 14, 2014 8:29 PM, "Pooja Swamy" <poojasw...@gmail.com> wrote: > > > > Thank you so much for working with me on this. I am on mac OS, and I am > > using tomcat-7.0.50 > > > > 1. Here is my server.xml without comments - > > > > <?xml version='1.0' encoding='utf-8'?> > > > > <Server port="8005" shutdown="SHUTDOWN"> > > <Listener className="org.apache.catalina.core.AprLifecycleListener" > > SSLEngine="on" /> > > <Listener className="org.apache.catalina.core.JasperListener" /> > > <Listener > > className="org.apache.catalina.core.JreMemoryLeakPreventionListener" /> > > <Listener > > className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" > /> > > <Listener > > className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" /> > > > > <GlobalNamingResources> > > <Resource name="UserDatabase" auth="Container" > > type="org.apache.catalina.UserDatabase" > > description="User database that can be updated and saved" > > > factory="org.apache.catalina.users.MemoryUserDatabaseFactory" > > pathname="conf/tomcat-users.xml" /> > > </GlobalNamingResources> > > <Service name="Catalina"> > > <Connector port="8080" protocol="HTTP/1.1" > > connectionTimeout="20000" > > redirectPort="8443" /> > > So it is port 8080. > > > <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" /> > > <Engine name="Catalina" defaultHost="localhost"> > > <Realm className="org.apache.catalina.realm.LockOutRealm"> > > <Realm className="org.apache.catalina.realm.UserDatabaseRealm" > > resourceName="UserDatabase"/> > > </Realm> > > > > <Host name="localhost" appBase="webapps" > > unpackWARs="true" autoDeploy="true"> > > <Valve className="org.apache.catalina.valves.AccessLogValve" > > directory="logs" > > prefix="localhost_access_log." suffix=".txt" > > pattern="%h %l %u %t "%r" %s %b" /> > > > > </Host> > > </Engine> > > </Service> > > </Server> > > > > 2. My startup port is 8080. Here is what I see after starting up - Its > blank > > myMAC-dev:bin test$ lsof -i TCP | grep 8080 > > myMAC-dev:bin test$ > > > > Are you sure your tomcat is running? > > How did you check that it is running? > > Try starting tomcat with this instead: > ./catalina.sh run > > To see exactly startup errors. > > > 3. Where can I get startup log file? > > > > > > In tomcat log directory. See catalina.out > > E.g. > > tail -f catalina.out >