VEry Confused on License input

Hello,
Having problems and cannot find the answer. So here is some basic data first:
Dell Poweredge 1950 2 gig ram two 145 gig HD (mirrored)
OS is Elive (debian with Enlightenment WM)
using jdk1.5.0
server is new and runs great
Installed Servoy and I Anywhere as explained in docs
Put licenses in both developer and client as per docs
NOW, this is what I have to do to get it to run:
First, have to type in:
source “/srv/sybase/SYBSsa9/bin32/asa_config.sh”
(if I do not, I get loads of errors)
THEN:
java -jar servoy_developer.jar
THEN
java -jar servoy_server.jar

once it is up it runs great, here are the problems:
first, when i open servoy_server, I get loads of java errors is that because java is already running for developer?
Do I have to start developer at all? or can I just run the server?
second, when I shut the down developer and server, and restart them … the licenses go away, or scramble to a “learning license”… why do the licenses goober up when the machine is rebooted or when I shut programmes down?
And third, is this an issue of my own making? is my start up sequence wrong? is there a better way?

Thanks for reading this far into this ,

SteveK

Hi Steve,

I don’t know if this is causing all your java errors but…
There are separate license keys for Developer and clients.
So when you enter your license key in Developer and then launch Server it will see an invalid license key and vice versa.
So you can only run one or the other with a valid license key.

Hope this helps.

so does this mean I can run Servoy server (client) without first starting developer? Since client has the xxx licenses, and the developer only has one I should only have the xxx licenses entered? It seems the only reason to start developer is to start the database (dbserv9). Can I start this without starting developer?

Yes you can start Server with the servoy_server.sh script. But as you have noticed it doesn’t launch Sybase for you.
On Mac OS X I use the following…I suggest you change the paths accordingly and it should work for you as well.

servoy_server.sh:

#!/bin/sh

# Add this and change the paths accordingly...

cd /Applications/Servoy
export DYLD_LIBRARY_PATH=/Applications/Servoy/sybase_db
/Applications/Servoy/sybase_db/dbsrv9 @/Applications/Servoy/sybase_db/sybase.config &


# the following should be already there....don't copy this...

while true
do
	java -Djava.awt.headless=true # etc..etc..etc..
	EXITCODE=$?
	if [ "$EXITCODE" != 99 ]; then exit $EXITCODE; fi
done

Hope this helps.

Robert,

Thanks for the help.
I careated a script, included the lines you showed me and here is teh error I get:
./start_servoy_server.sh
/srv/servoy/sybase_db/dbsrv9: error while loading shared libraries: libdbserv9_r.so: cannot open shared object file: No such file or directory

now , here is the script I created with the info you gave me::

#!/bin/sh
cd /srv/servoy
export DYLD_LIBRARY_PATH=/srv/servoy/sybase_db
/srv/servoy/sybase_db/dbsrv9 @/srv/servoy/sybase_db/sybase.config &

while true
do
java -Djava.awt.headless=true -classpath .:lib/commons-collections.jar:lib/commons-dbcp.jar:lib/commons-pool.jar:lib/activation.jar:lib/antlr.jar:lib/j2db.jar:lib/j2dbdev.jar:lib/compat141.jar:lib/jh.jar:lib/jndi.jar:lib/js.jar:lib/jta.jar:lib/mail.jar:lib/jug.jar:lib/jdbc2_0-stdext.jar:lib/naming-common.jar:lib/naming-resources.jar:lib/servlet.jar:lib/xerces.jar:lib/server-bootstrap.jar:lib/commons-fileupload-1.0.jar:lib/commons-logging.jar:lib/hibernate2.jar com.servoy.j2db.server.ApplicationServer “$@”

EXITCODE=$?
if [ “$EXITCODE” != 99 ]; then exit $EXITCODE; fi
done

Did I goober it up?

Steve