Resource Menu


posted by Sebastien Jourdain at May 30, 2007 10:51 PM
Quote
Ok, so you installed libresource from the source code...

Good to ear…

posted by Romain KEIRSEBILCK at May 30, 2007 9:56 PM
Quote
Erf...nevermind. should be a cache matter in my browser… Everything works fine after restarting Libresource twice…
posted by Romain KEIRSEBILCK at May 30, 2007 9:46 PM
Quote
I followed the article you gave in your first answer. And as in it, I have a problem whits links in first page wich pointing to the :9000 URL. So I changed the ls-config.properties settings so since stylesheets are not loaded and all the links generate an HTTP 502 error In this article your talk about a configure.sh script that I can't find whith libreSource 2.2. D oes its named has changed?

Thanks for help

posted by Romain KEIRSEBILCK at May 30, 2007 3:02 PM
Quote
All right lets try tonight at home...

Thanks a lot

Regards, Kerseub

posted by Sebastien Jourdain at May 30, 2007 3:00 PM
Quote
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 kerseub at May 30, 2007 2:30 PM
Quote
Hi everyone, I Have a LibreSource 2.2 server running on the 9000 Port. For several reasons I would like to make it listen on the 81 Port,if possible, without remove and reinstall LibreSource.

I think that all I have to do is

  1. stop libresource server
  2. change the kernel.serverUrl value from 9000 to 81 in libresourceDS.properties
  3. restart LibreSource with finger crossed
Is that Correct or do I have to do more configuration?