java - Can't deploy my web application in Netbeans on Tomcat 8.0.2 (getting below error) -
i have read many threads regarding issue none of solutions worked me. i'm going crazy trying troubleshoot this. web application worked , couple of days ago started receiving following exception when either trying run application or starting tomcat (from netbeans). (rarely) , tomcat start netbeans8.1 still can't deploy application (deployement error: starting of tomcat failed ).
28-jan-2016 15:32:17.947 severe [main] org.apache.coyote.abstractprotocol.init failed initialize end point associated protocolhandler ["ajp-apr-8009"] java.lang.exception: socket bind failed: [730048] 1 usage of each socket address (protocol/network address/port) permitted. @ org.apache.tomcat.util.net.aprendpoint.bind(aprendpoint.java:471) @ org.apache.tomcat.util.net.abstractendpoint.init(abstractendpoint.java:742) @ org.apache.coyote.abstractprotocol.init(abstractprotocol.java:457) @ org.apache.catalina.connector.connector.initinternal(connector.java:960) @ org.apache.catalina.util.lifecyclebase.init(lifecyclebase.java:102) @ org.apache.catalina.core.standardservice.initinternal(standardservice.java:567) @ org.apache.catalina.util.lifecyclebase.init(lifecyclebase.java:102) @ org.apache.catalina.core.standardserver.initinternal(standardserver.java:851) @ org.apache.catalina.util.lifecyclebase.init(lifecyclebase.java:102) @ org.apache.catalina.startup.catalina.load(catalina.java:576) @ org.apache.catalina.startup.catalina.load(catalina.java:599) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:497) @ org.apache.catalina.startup.bootstrap.load(bootstrap.java:310) @ org.apache.catalina.startup.bootstrap.main(bootstrap.java:484) 28-jan-2016 15:32:17.947 severe [main] org.apache.catalina.core.standardservice.initinternal failed initialize connector [connector[ajp/1.3-8009]] org.apache.catalina.lifecycleexception: failed initialize component [connector[ajp/1.3-8010]] @ org.apache.catalina.util.lifecyclebase.init(lifecyclebase.java:106) @ org.apache.catalina.core.standardservice.initinternal(standardservice.java:567) @ org.apache.catalina.util.lifecyclebase.init(lifecyclebase.java:102) @ org.apache.catalina.core.standardserver.initinternal(standardserver.java:851) @ org.apache.catalina.util.lifecyclebase.init(lifecyclebase.java:102) @ org.apache.catalina.startup.catalina.load(catalina.java:576) @ org.apache.catalina.startup.catalina.load(catalina.java:599) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:497) @ org.apache.catalina.startup.bootstrap.load(bootstrap.java:310) @ org.apache.catalina.startup.bootstrap.main(bootstrap.java:484) ...
i should colleagues have same tomcat configuration , version problem exists on pc only. anyway, here's part of server.xml
<connector connectiontimeout="20000" port="8081" protocol="http/1.1" redirectport="8443"/> <!-- "connector" using shared thread pool--> <!-- <connector executor="tomcatthreadpool" port="8080" protocol="http/1.1" connectiontimeout="20000" redirectport="8443" /> --> <!-- define ssl/tls http/1.1 connector on port 8443 connector uses nio implementation requires jsse style configuration. when using apr/native implementation, openssl style configuration required described in apr/native documentation --> <!-- <connector port="8443" protocol="org.apache.coyote.http11.http11nioprotocol" maxthreads="150" sslenabled="true" scheme="https" secure="true" clientauth="false" sslprotocol="tls" /> --> <!-- define ajp 1.3 connector on port 8009 --> <connector port="8009" protocol="ajp/1.3" redirectport="8443"/>
as far can tell (i've used netstat -aon) , no other process using port (8009) , tried other ports no avail.
thank you
it seems 8009 port using where
please check port running or not using below command in window
netstat -aon | findstr 8009
and kill process if find using
taskkill /pid <pid>
Comments
Post a Comment