Re: [veryquickwiki-users] Configure HTTP port for stand-alone version?
Status: Abandoned
Brought to you by:
mteodori
From: Marcello T. <mte...@us...> - 2010-03-07 16:26:23
|
Hi Adam, Il giorno 05/mar/2010, alle ore 19.37, Adam Rosi-Kessel ha scritto: > Not sure if this was best raised as an issue or forum posting: can > anyone tell me how to configure the HTTP port to something other than > 8080 for the standalone vqwiki JAR download? On a related note, is it > possible to run multiple instances on different ports? I think it's ok to post in this mailing list, maybe we should add something in the docs about this. VQWiki in standalone mode embeds the Winstone Servlet container, so all its command line options apply, you can find a full list here: http://winstone.sourceforge.net/#commandLine So to start it on, say, a 9090 port you should use: java -jar vqwiki.jar --httpPort=9090 You can run multiple instances, but in that case I think it's easier to change settings using an external servlet container or if you're ok with it, use the virtual wikis feature in a single instance. With the embedded servlet container it's tricky but you can do it: 1) add on the command line --jndi.param.propertiesFile.value=<your_custom_vqwiki.properties_file_path> 2) add on the command line --httpPort=<your_custom_port> 3) specify a custom tmp dir for Winstone: -Djava.io.tmpdir=<your_custom_tmpdif> 4) once started, go to admin and change the vqwiki home dir from the default <home>/wiki to a custom one I hope I've answered your question. --m |