sybase SQL never launches on starting Servoy 4.1

Hello,

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

%%user.dir%%/sybase_db/dbspawn|%%user.dir%%/sybase_db/dbsrv10|@sybase_db/sybase.config#LC_CTYPE=C|LANG=C|DYLD_LIBRARY_PATH=sybase_db

but the dbsrv10 will not start. What I’m doing wrong?

Thomas

Thomas,

Did you change the setting in servoy developer in the preferences panel or directly in servoy.poperties (the latter needs some extra escaping)

Also, make sure that the dbspawn binary is there (it is only shipped with one of the latest v4.1 betas)

Rob

Hi Rob,

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?

Regards, Thomas

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 :x
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

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

Using Activity Monitor, I see the ‘dbspawn’ process appear and then disappear, without dbsrv10 starting…
Thanks,
Rafi

Hello Rafi,

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.

Thomas

Hi Thomas,
thanks for replying.

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 :cry:

Thanks,
Rafi

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 ?

lvostinar:
I guess you are not running developer while updating, right ?

No. And Sybase is shutdown as well.

Don’t you have in developer/plugins a jar starting with : org.eclipse.dltk.javascript.core ?

I have
org.eclipse.dltk.javascript.core_1.0.0.200811111417.jar
org.eclipse.dltk.javascript.core.dom.support_1.0.0.200811102354.jar

I am just using the installer from Servoy into a new directory it is creating.

Thanks
Rafi

Maybe is the same problem as : viewtopic.php?f=8&t=11648 ?

Is there a fix for this issue available yet? I run into same problem using a clean 4.1.1 instance on OS X 10.5.6.

Karel Broer:
Is there a fix for this issue available yet? I run into same problem using a clean 4.1.1 instance on OS X 10.5.6.

Karel this is confusing you are posting on a 4.1 thread with a 4.1.1 issue.

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.

Hi Andrei,
I noticed there is a Servoy 4.1.1 topic on this also:
http://forum.servoy.com/viewtopic.php?f=11&t=12187#p61530

I’ll continue my postings regarding this issue there.