Hi Paola,
sorry for the late reply, but at least I bring good news. :-)
> I've tried to create different workspaces, butI'm afraid I'm making some mistakes. I've created a H2GIS database for each instance and
>I manage to shift from one to another by changing the name of the reference database in the run.sh file.
> Anyway, by acting so, I can't run more than one instance simultaneously. Is it correct?
It should. The run.sh script usually looks like:
VERSION=3.3.0
WORKSPACE=/home/hydrologis/TMP/GSS/
MEM=-Xmx4g
java $MEM -jar gss-backbone-$VERSION.jar -w $WORKSPACE -mp testPwd
If you create a folder structure using the groups you need to handle, ex.
/home/school/workspaces/class1/
/home/school/workspaces/class2/
/home/school/workspaces/class3/
/home/school/workspaces/class4/
You would just use these paths to the WORKSPACE variable and it should
work out of the box.
BUT! If you run multiple instances on the same machine, only the first
one will run, because they will all try to use the 8080 port and only
the first will succeed. Any other run should fail telling you about
the port already being in use.
But the change is already done to be able to specify the port like:
java $MEM -jar gss-backbone-$VERSION.jar -w $WORKSPACE -mp testPwd -pt 8083
So if you make a couple of run.sh scripts with set WORKSPACE and port,
you should be able to make this work. You will have to just wait for a
couple of days for the new release.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/geopaparazzi-users/887856af-0434-421d-8dcf-ab55dad3fc2en%40googlegroups.com.