Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have followed similar steps and got it working on windows.

Here is my connector and listner in apache tomcat's server.xml:

 <Connector
             executor="tomcatThreadPool"
             port="8080"
             protocol="org.apache.coyote.http11.Http11AprProtocol"
             connectionTimeout="-1"
             redirectPort="8443"
             acceptCount="10000"
             maxConnections="-1"
             maxKeepAliveRequests="-1"/>

...

 <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="off" />

When I run sh configtest.sh configtest I get:

Using CATALINA_BASE:   /home/abhijit/apache-tomcat-7.0.42
Using CATALINA_HOME:   /home/abhijit/apache-tomcat-7.0.42
Using CATALINA_TMPDIR: /home/abhijit/apache-tomcat-7.0.42/temp
Using JRE_HOME:        /usr/lib/jvm/java-7-oracle
Using CLASSPATH:       /home/abhijit/apache-tomcat-7.0.42/bin/bootstrap.jar:/home/abhijit/apache-tomcat-7.0.42/bin/tomcat-juli.jar
Sep 05, 2013 5:46:44 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.8.
Sep 05, 2013 5:46:44 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Sep 05, 2013 5:46:44 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-8080"]
Sep 05, 2013 5:46:44 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-apr-8009"]
Sep 05, 2013 5:46:44 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 587 ms

But when I start tomcat, it doesn't start and my netstat -ntlp | grep LISTEN doesn't show port 8080(tomcat) :

(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 192.168.0.135:6379      0.0.0.0:*               LISTEN      13558/redis-server 
tcp        0      0 127.0.0.1:6379          0.0.0.0:*               LISTEN      13558/redis-server 
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      -               
tcp        0      0 127.0.1.1:53            0.0.0.0:*               LISTEN      -               
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      -               
tcp6       0      0 :::139                  :::*                    LISTEN      -               
tcp6       0      0 :::445                  :::*                    LISTEN      -               

Please ask if anything else is needed. Thank you.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.