Existing Tomcat install

Problems with installing OpenKM? No problemo, the solution is closer than you think.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
davegball
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: Tue Jun 03, 2008 7:04 am

Existing Tomcat install

Post by davegball » Wed Jan 20, 2010 11:24 am

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.

ticl
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: Wed Jan 06, 2010 1:39 pm

Re: Existing Tomcat install

Post by ticl » Thu Jan 21, 2010 4:26 am

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" />

davegball
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: Tue Jun 03, 2008 7:04 am

Re: Existing Tomcat install

Post by davegball » Thu Jan 21, 2010 11:07 am

thanks that did the trick

ruchika2353
Junior Boarder
Junior Boarder
Posts: 22
Joined: Tue Jan 31, 2012 11:25 am

Re: Existing Tomcat install

Post by ruchika2353 » Tue Feb 07, 2012 10:37 am

i have this same problem but i am not able to edit in server.xml file pls help

jllort
Moderator
Moderator
Posts: 10834
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Existing Tomcat install

Post by jllort » Fri Feb 10, 2012 6:34 am


Post Reply