Page 1 of 1

Existing Tomcat install

PostPosted:Wed Jan 20, 2010 11:24 am
by davegball
Hi
I'm installing OpenKM on a server which already has a tomcat install listening on port 8080 and get the following error:
Code: Select all
java.net.BindException: Address already in use:8080 
I have another app which is installed and configured to use tomcat so I need to keep it at 8080. I expect the solution is to change the listening port for the Openkm install. Is there a config file where I can do this? run.sh doesn't appear to have anything.

Thanks.

Re: Existing Tomcat install

PostPosted:Thu Jan 21, 2010 4:26 am
by ticl
It's in the following directory: server/default/deploy/jboss-web.deployer/server.xml
Code: Select all
    <Connector port="8080" address="${jboss.bind.address}"
         maxThreads="250" maxHttpHeaderSize="8192"
         emptySessionPath="true" protocol="HTTP/1.1"
         enableLookups="false" redirectPort="8443" acceptCount="100"
         connectionTimeout="20000" disableUploadTimeout="true" />

Re: Existing Tomcat install

PostPosted:Thu Jan 21, 2010 11:07 am
by davegball
thanks that did the trick

Re: Existing Tomcat install

PostPosted:Tue Feb 07, 2012 10:37 am
by ruchika2353
i have this same problem but i am not able to edit in server.xml file pls help

Re: Existing Tomcat install

PostPosted:Fri Feb 10, 2012 6:34 am
by jllort