Hello,
I’ve been away from Servoy for quite some time. I’m back to have another go. This question was answered for me before but for the life of me I can’t remember how I fixed this. I’ve installed version 5 on a remote 2003 server. If I start developer on that remote server, I can then access the servoy-admin from outside. When I stop developer on that server, I can no longer access the servoy-admin nor any hosted databases even though the servoy application server is running as a service on this server. It seems I needed to do something to keep the repository server running after I shut down developer. I used to be able to just run the service, access servoy-admin and upload solutions and have them served up by the application server. This seems so basic, can I get some help?
Thanks Harjo,
I see servoy application services in my services directory. I can start it, but it won’t stay running. I suspect that’s because there is no database running. I opened the wrapper.conf but I must confess I have no idea what to do there with any paths. I was really hoping the new 5.0 installer would have resolved theses issues with a new installation. I suppose my reasoning is that if a beginner chooses to install the service, it should be wired correctly to run at least the demos.
Launching Developer creates a local instance of Sybse SQL Anywhere and Servoy Server (which is why you can remotely access Servoy Server). When you close Developer, Servoy Server shuts down (why you cannot connect), however, the instance of SQL Anywhere still runs and has to be shut down manually.
An easy way to tell if Servoy Server is running as a local instance rather than as a service is to look for the ‘Restart Server’ button on the administrative screen. If it is missing, then Servoy Server is running as a local instance; if the button is there, then Servoy Server is running as a service.
You are correct, if your underlying database engine is not running, then Servoy Server will not run, because it does not have access to the repository. That makes Servoy Server dependent on having the database engine running.
In Windows, we have two services…one for the SQL database engine, and the other for Servoy Server. You can set service dependencies to rely on one another, so we make the Servoy Server service dependent on the SQL database engine service. You can set a time delay to allow the first service (SQL) to start before the second service (Servoy) attempts to start. You can also set actions to take, if the services do not start.
If you are, in fact, running SQL Anywhere, you have to use Sybase Central to make it run as a service.
Thanks Kim,
I navigated to the sybase folder
C:\Program Files\Servoy\application_server\sybase_db
Started the dbsrv11.exe and started the servoy_repository. I Also started the user_data, but I can’t access that database with servoy-client.
I can access the servoy-admin now, but not the servoy-client.
I had sybase central on this server but was unable to install the new 5.0 because something was running. So I cleaned out the old version of Servoy and I think the sybase central too thinking that the new community version 5.0 would include it.
Not sure why there’s a sybase folder in the Servoy folder but not the sybase central application if that’s what we need.
If the problem is that we need to register with sybase to get that, then couldn’t we have a link? I’ve been to the sybase site and have no clue of what I need.
The Sybase SQL Anywhere database engine that ships with Servoy is not the full-blown version, so you don’t get Sybsase Central with it.
Download the full SQL Anywhere package from the Sybase web site. You will first have to fill out an on-line form to get access to the download area. Make certain to let Sybase know that you are a Servoy developer…that way, they will give you a registration number that will unlock the package.
Also, you can search the Servoy forum for ‘Sybase Central Download’ to get other ideas on how to get Sybase Central.
I’ve downloaded and installed the sybase central. It looks like it installed SQL Anywhere ASA server as a service and the service says it’s starting, but won’t move beyond that. I’ve restarted the server without help. Can you tell me what it is supposed to “start”? I have it pointing to
When you use Sybase Central to create the service, you must also specify the following parameter:
@C:\Program Files\Servoy\sybase_db\sybase.config
so that the service knows which Servoy databases to start, including the respository. Don’t forget to include your database(s) in the ‘sybase.conf’ file.
I’ve made those changes. The ASA server still says it’s “starting”. I suppose it’s stuck and I really can’t restart that server right now. I launched the dbeng11.exe manually and had it open the servoy_repository. I can now access the servoy-admin remotely but no other databases. I tried starting user_data also but I still can’t get the java client to work. When I right click the lightning bolt icon in the task bar to shut down the servoy_repository, it says there are 8 connections, so I’m assuming all the demo databases are being served.
Still getting an “unable to launch application” error when I try to launch the client. I am able to get at the servoy repository using servoy-admin, so I’m not sure what else is the hang up. I would think that the ASA service doesn’t need to be running since I launched the .exe manually right?
Sorry Patrick, I was using the same URL as servoy-admin but using servoy-client instead.
As soon as I left off the “servoy-client” and just left the port :8080, everything is working fine.
Thanks for your help.