I have changed the %%user.dir%% in the startup launcher preferences to an other direction, but that won’t work. Now I returned to the default setting like
I made the changes in both. First in the preferences panel, but without success and than in the servoy.properties. Also no success. In the meantime I made a complete new install of Servoy 4.1 and launching the sybase db on startup works.
Is it possible launching the sybase db in the Servoy 4.1 direction on starting Servoy 3.5.7? How must I set that properties?
Hi, [all on Mac OS X 10.5.6]
I just had to re-install Servoy 4.1 from scratch (luckily I’m not doing proper dev. with it yet…).
It all worked fine on first launch, but then when I quit it and stopped Sybase, when I try and re-launch Servoy, Sybase doesn’t start!
I have checked the properties file & it seems to be fine.
It used to work perfectly, but that was my Servoy 4 install from a beta of 4.0 that has been updated various times.
I did the terminal update to latest Servoy 4.1, but I still can’t get it to work
I have not done anything else.
I’ve tried un-installing it and doing it all again. No luck.
I installed, using same installer on my WinXP under VMWare, and it all works great (Sybase stopped & then launched when Servoy did).
Any ideas?
Startup line from properties is
since my last post here I made a new clean install of Servoy 4.1 and 3.5.7 by default both with the Sybase DB on Mac OS X 10.5.6. All is working well and when I would like to change from one Servoy version to the other, I stop the dbserv10 in the Activity Monitor before launching. No changes in the properties or anything else…
If possible try a complete new install (hopefully your solution and data is backed up) and I think it shall works.
tgs:
Hello Rafi,
If possible try a complete new install (hopefully your solution and data is backed up) and I think it shall works.
Thomas
I did do a complete re-install & that was when the problems started (I had done something bad to my original Servoy 4.x install, so I uninstalled it first, then tried clean install).
I am installing in a directory called ‘Servoy4’ not ‘Servoy’, but this has not been an issue before.
The thing that is confusing me a bit is the ‘merge fields’ that are in the properties file
%%servoy_app_server_dir%%
used in
log4j.appender.file.File=%%servoy_app_server_dir%%/servoy_log.txt
and
%%user.dir%%
used in
nativeStartupLauncher=%%user.dir%%/sybase_db/dbspawn|%%user.dir%%/sybase_db/dbsrv10|@sybase_db/sybase.config#LC_CTYPE=C|LANG=C|DYLD_LIBRARY_PATH=sybase_db
where can I find what these are set to?
The log file is obviously being written to and a ‘sybase_db/dbspawn’ is being called somewhere, but I guess the ‘dbsrv10’ is not being spawned correctly
Both variables with %% should point to application server dir. They are replaced from our code with that value. First I would check if there is something in sybase log ( maybe there is an error there), if nothing is written there then it is a path problem. You can try that launcher from command line to see if it works ( replacing the variables, of course).
I guess you are not running developer while updating, right ? Don’t you have in developer/plugins a jar starting with : org.eclipse.dltk.javascript.core ?
Karel Broer:
I run into same problem using a clean 4.1.1 instance on OS X 10.5.6.
Have a look in the the log file in app server dir. If native startup launcher fails you should see an error message there.
If you see no message there, please tell me exactly what you did.