fritsyrules wrote:hello i am trying to install servoy on my linux suse 9.3 server ,java vers 1.5.0_06
download size ok +30MB tried it several times
i can run developer with command" java -jar servoy_developer.jar"
but when i run servoy server i keep getting this
linux:/usr/local/servoy # java -jar servoy_server.sh
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:112)
at java.util.jar.JarFile.<init>(JarFile.java:127)
at java.util.jar.JarFile.<init>(JarFile.java:65)
i have reinstalled servoy but that diddent work.
help
:cry: :cry:
You would start your server by just starting the shell script:
./servoy_server.sh
This file rights should be set on read and execute for all (user, group and world).
I made a small deamon start script for SuSE Linux 9.x/10.x, you can download it here:
http://www.xpertmind.de/dl/servoy/servoysrvstart.tgzIn it, you'll find init script for servoy server called - of course, servoy :D.
Copy it into your /etc/init.d/ folder, change the rights to 755 (chmod 755 servoy) and change the settings/paths in it to match your needs.
My setings look like this:
SERVOY_DIR=/opt/servoy
SERVOY_LOG=$SERVOY_DIR/startserver.log
SERVOY_PROG=servoy_server.sh
SERVOY_BIN=$SERVOY_DIR/$SERVOY_PROG
Note: I usually install "foreign" applications, like Servoy or Tomcat in /opt folder.
To start the server just enter
/etc/init.d/servoy start
To stop it:
/etc/init.d/servoy stop
You can use one of the following options: start|stop|status|try-restart|restart|force-reload|reload.
What database are you going to deploy on your server?