Page 1 of 1

Changing OpenKM's default port

PostPosted:Fri Jun 12, 2009 8:33 pm
by Flogeras
Hello,

I have installed OpenKM 3 on a test machine, but now I wish to deploy it on another server. Unfortunately this server already has an application using port 8080. How can I change the port that OpenKM listens on. I tried uncommenting the line in OpenKM.cfg and changing the port as follows:
Code: Select all
application.url=http://localhost:8081/OpenKM/es.git.openkm.frontend.Main/index.jsp
But this seemed to do nothing.

Thanks for any help,

Dave

Re:Changing OpenKM's default port

PostPosted:Sat Jun 13, 2009 8:16 am
by jllort
Really you want to change application server port not OpenKM.

It\'s a jboss configuration. For do it, find on jboss /server/default/deploy/jboss-web.deployer the file server.xml. Edit server.xml and find 8080 you\'ll find some line like this
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\" />
Simply change 8080 to 8081, if it\'s your case.

Note, you must do it with jboss stoped.

Re:Changing OpenKM's default port

PostPosted:Sat Jun 13, 2009 3:54 pm
by Flogeras
thank you, jllort, that worked perfectly