Hi All,
Having quite a serious problem here…
Yesterday I’ve played around with the RunTime builder, without running into anything but selfinflicted problems. But today, when trying to start Servoy Developer, it doesn’t work anymore… I get the following errors in the CMD window:
Starting Servoy from C:\Program Files\Servoy212Servoy R2 2.1.2 build-315 on Windows XP using Java 1.4.2_06Loading servoy.properties from C:\Documents and Settings\pbakker\servoy.propertiesLoading - Donejava.io.IOException: CreateProcess: runtime_db\dbeng9.exe -ti 0 -ga -qs -qw -o runtime_db/sybase_log.txt database/example.db error=2java.io.IOException: CreateProcess: runtime_db\dbeng9.exe -ti 0 -ga -qs -qw -o runtime_db/sybase_log.txt database/example.db error=2
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.(Win32Process.java:66)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at java.lang.Runtime.exec(Runtime.java:491)
at java.lang.Runtime.exec(Runtime.java:457)
at com.servoy.j2db.develop.J2DBDeveloper$1.run(Unknown Source)
at com.servoy.j2db.util.aq.run(Unknown Source)
at java.lang.Thread.run(Thread.java:534)
com.servoy.j2db.persistence.RepositoryException: Could not find repository server: 'repository_server’com.servoy.j2db.persistence.RepositoryException: Could not find repository server: ‘repository_server’
at com.servoy.j2db.persistence.ServerManager.getRepositoryServer(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.b9(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.dataBaseInit(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.servoy.j2db.startup.Bootstrap.main(Bootstrap.java:119)
at Servoy.main(Servoy.java:27)
This happens when I start Servoy Developer from a Servoy installation where I played with the runtime builder (2.2 RC2), from directories where the runTime builder is not installed (2.2 RC2) and even in old Servoy install directories (Servoy versions before 2.2 RC2) where I didn’t do anything yesterday I now get the same errors…
I’ve rebooted the machine on which the different Servoy environments are multiple times now, but the result stays the same: Servoy cannot find it’s repository… If I look in the servoy.properties, all DB connections are correctly specified. But when I start Servoy Developer, clikc away the “Cannot find repository” error message and then go to Preferences, I see only one DB connection specified: the DB connection that I used yesterday for the building of my Runtime solution.
I’m quite puzzled, not knowing where to look now… Who can help?
Paul
Hello Paul
By coincidence I had exactly same problem couple of days ago. Had built a couple of runtime solutions successfully previous afternoon then closed Servoy. Tried to start next morning and Servoy could not find repository.
I assumed it was because I had moved the Servoy folder out of Program Files so moved the folder back but no change.
Saved all db’s & solutions, uninstalled and started again with a fresh install. On first start-up it seemed to stall at ‘initialising’ stage and I closed it down after several minutes. Second try was fine.
Hope this helps
GrahamG
Servoy Developer
Version R2 2.2rc2-build 320
Java version 1.4.2_06-b03 (Windows XP)
hi GrahamG,
Tnx for the reply. It means that at least I’m not the only one with this problem ![Smile :)]()
I do not know if a reinstall will work, since I have many different installs of servoy on my machine. they all seem to give the same problem.
When reinstallation would solve the problem, it looks to me that there are some registry settings that get overwritten or Services or something. I allready checked if there might be some sybase Db Services running, but cannot see any…
Quite puzzled still.. Hoping someone at Servoy can shed some light on this..
Paul
Hi Paul
Curiouser & curiouser …
Thought I should test again to see if problem reproduces - but it doesn’t.
Created another runtime - closed Servoy - played with runtime - re-opened Servoy. No problems at all.
Even tried having the Runtime & Developer open at same time. No Problem.
Have also resurrected older version R2 2.1.2 b315 and that also opens up fine.
Can only suggest you try fresh install.
All the best
Graham Greensall
Worxinfo
Strangest thing is that yesterday, I played with the runtime builder, started and stoppd developer multiple times, no problems.
Even shut down machine and fired it up in the evening and then was able to normally work in Developer (of multiple installations) and play with the runTime builder and RunTime solution without problems.
Only today the problem starts to occur… ![Rolling Eyes :roll:]()
Very puzzling…
Paul
Something strange is happening ![Confused :?]()
Just tried to re-open Servoy after using email/web and had message 'Cannot find repository version on current server connection. Do you want to create/upgrade .."
Clicked OK and opened successfully.
Servoy had been closed since previous post - although servoy_repository icon visible - and I had only used Outlook & Firefox.
Suggestions welcomed
Graham Greensall
Well, I found the problem… I guess it’s a bug…
I located a servoy.properties file in the "C:\Documents and Settings\username" directory (working in WinXP).
This file contains the property: “nativeStartupLauncher”, which was pointing to the Runtime DB, I guess. After renaming the servoy.properties file in the "C:\Documents and Settings\username" directory, Servoy Developer started almost correctly again.
Teh first time I started Developer (no sybase server running yet), I got a “Repository not found” error, eventhough I did see the Sybase Icon appear. I closed Developer and started it again. This time Devoper starts correctly.
So, conclusion: I guess I experienced two bug:
1: when playing with runTime builder and solutions, a property “nativeStartupLauncher” is stored in the servoy.properties on OS user level. This property causes the non runTime Servoy app not to work anymore
2: At first start of Servoy (developer), when sybase isn’t running, there is a timing issue between starting of Sybase and Servoy needing the connection.
Both issues are anoying, but at least i can work around them ![Smile :-)]()
Paul
Nice work Paul - I’ve saved a copy of the properties file now that everything working well.
Regards
GrahamG
pbakker:
1: when playing with runTime builder and solutions, a property “nativeStartupLauncher” is stored in the servoy.properties on OS user level. This property causes the non runTime Servoy app not to work anymore
Is already fixed in Servoy 2.2rc3