• Change OpenKM default web service deploy port

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
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.
 #183  by jlx
 
Hi

I need to change the default port OpenKM is listening. I\'ve changed default jboss port in
Code: Select all
server/default/deploy/jbossweb-tomcat55.sar/server.xml
and in
Code: Select all
server/default/deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xml
but now I can\'t access OpenKM login page because in console.log is deployed in 8080 port.

This is the log:
Code: Select all
11:41:11,059 INFO  [AxisService] Web Service deployed: http://server101:8080/OpenKM/OKMAuth
11:41:11,133 INFO  [AxisService] WSDD published to: /home/jboss/OpenKM/server/default/data/wsdl/OpenKM.ear/OpenKM.war/OKMRepository.wsdd
11:41:11,141 INFO  [AxisService] Web Service deployed: http://server101:8080/OpenKM/OKMRepository
11:41:11,249 INFO  [AxisService] WSDD published to: /home/jboss/OpenKM/server/default/data/wsdl/OpenKM.ear/OpenKM.war/OKMDocument.wsdd
11:41:11,258 INFO  [AxisService] Web Service deployed: http://server101:8080/OpenKM/OKMDocument
11:41:11,307 INFO  [AxisService] WSDD published to: /home/jboss/OpenKM/server/default/data/wsdl/OpenKM.ear/OpenKM.war/OKMFolder.wsdd
11:41:11,650 INFO  [AxisService] Web Service deployed: http://server101:8080/OpenKM/OKMFolder
11:41:11,703 INFO  [AxisService] WSDD published to: /home/jboss/OpenKM/server/default/data/wsdl/OpenKM.ear/OpenKM.war/OKMSearch.wsdd
11:41:11,707 INFO  [AxisService] Web Service deployed: http://server101:8080/OpenKM/OKMSearch
11:41:11,734 INFO  [EARDeployer] Started J2EE application: file:/home/jboss/OpenKM/server/default/deploy/OpenKM.ear
11:41:11,817 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8556
11:41:11,912 INFO  [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
11:41:11,921 INFO  [JkMain] Jk running ID=0 time=0/47  config=null
11:41:11,927 INFO  [Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)] Started in 18s:644ms
I couldn\'t find what other files I need to modify.

Thanks in advance.

Best regards.
 #184  by pavila
 
You only have to change the connector port in the file server/default/deploy/jbossweb-tomcat55.sar/server.xml
Code: Select all
<!-- A HTTP/1.1 Connector on port 8080 -->
<Connector port=\"8080\" address=\"${jboss.bind.address}\"
         maxThreads=\"250\" strategy=\"ms\" maxHttpHeaderSize=\"8192\"
         emptySessionPath=\"true\"
         enableLookups=\"false\" redirectPort=\"8443\" acceptCount=\"100\"
         connectionTimeout=\"20000\" disableUploadTimeout=\"true\"/>
The log messages are erroneous: they always show port 8080.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.