Resource Menu


RE : Change LibreSource Port
To change the libresource listening port you surely don't have to reinstall it. In fact, it will depend on the installation that you finally want.

A way to do it

  1. stop libresource server
  2. edit JONAS_ROOT/conf/libresourceConfig.properties (not libresourceDS.properties) to specify the expected adress of your server. (kernel.serverUrl=http://localhost:81)
  3. edit JONAS_ROOT/conf/server.xml to change the listening port of tomcat. (search 9000 and replace it to the desired port)
  4. start libresource server.

Caution

under linux if you are not the root user you are not allowed to run an application that listen on a port below 1024. So to solve this, you can use either:

  • an apache with a virtual host
  • or a port forwarding with iptable
Some more information about using an apache as front end is available here: apache/jonas/LibreSource

Regards,

Seb

posted by Sebastien Jourdain at May 30, 2007 3:00 PM