root@c145 [/usr/local/servoy/application_server]# sybase_db/dbsrv11 @sybase_db/sybase.config
sybase_db/dbsrv11: error while loading shared libraries: libdbserv11_r.so: cannot open shared object file: No such file or directory
root@c145 [/usr/local/servoy/application_server]#
servoy_log.txt contains the following:
2010-02-14 00:11:03,619 ERROR [main] com.servoy.j2db.util.Debug - Cannot start repository: com.servoy.j2db.persistence.RepositoryException: Error checking repository
2010-02-14 00:11:03,622 ERROR [main] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database!
2010-02-14 00:13:23,407 ERROR [main] com.servoy.j2db.util.Debug - Cannot start repository: com.servoy.j2db.persistence.RepositoryException: Error checking repository
2010-02-14 00:13:23,409 ERROR [main] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database!
2010-02-14 00:19:36,639 ERROR [main] com.servoy.j2db.util.Debug - Cannot start repository: com.servoy.j2db.persistence.RepositoryException: Error checking repository
2010-02-14 00:19:36,641 ERROR [main] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database!
2010-02-14 00:20:30,951 ERROR [main] com.servoy.j2db.util.Debug - Cannot start repository: com.servoy.j2db.persistence.RepositoryException: Error checking repository
2010-02-14 00:20:30,952 ERROR [main] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database!
2010-02-14 00:21:54,544 ERROR [main] com.servoy.j2db.util.Debug - Cannot start repository: com.servoy.j2db.persistence.RepositoryException: Error checking repository
2010-02-14 00:21:54,546 ERROR [main] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database!
2010-02-14 00:36:08,854 ERROR [main] com.servoy.j2db.util.Debug - Cannot start repository: com.servoy.j2db.persistence.RepositoryException: Error checking repository
2010-02-14 00:36:08,855 ERROR [main] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database!
Does anyone know what I need to do to correct this. It looks like the application server will start if I can get past this issue. Thank you in advance for your help on this.
Did you install the Sybase Developer tools? If not, download these for Linux @ Sybase.
Then you can make a simple SH script file like this, located in the same directory as Sybase (from the Servoy installation, usually /usr/local/servoy/application_server/sybase_db) :
I’m having problems finding a link for sysbase sql anywhere developer tools for linux. There is nothing in the downloads section. I checked the servoy documentation again and found this link:
It won’t open though. I am not currently registered with sysbase in a tech suport role. Do I have to call them to upgrade my account to gain access or do I just have old information.
I’m surprised that the installer does not load everything that is necessary to run (I used the graphical install script) - this leads ne to believe it may be more of a linux settings/package issue.
Chuck.Amata:
I’m having problems finding a link for sysbase sql anywhere developer tools for linux. There is nothing in the downloads section. I checked the servoy documentation again and found this link:
It won’t open though. I am not currently registered with sysbase in a tech suport role. Do I have to call them to upgrade my account to gain access or do I just have old information.
I’m surprised that the installer does not load everything that is necessary to run (I used the graphical install script) - this leads ne to believe it may be more of a linux settings/package issue.
Servoy server does not start the database (like Servoy developer does).
To start the bundled sybase on linux you need to set the LD_LIBRARY_PATH as well (see the nativeStartupLauncher setting in the servoy.properties file):
cd /path/to/servoy/application_server
LD_LIBRARY_PATH=sybase_db sybase_db/dbspawn sybase_db/dbsrv11 @sybase_db/sybase.config
Thank you for the information and the link. One question, why isn’t the dev lib included in the servoy install? I can understand why it might not be loaded or installed because of different linux releases. Just seems odd that after a graphical install on linux, the program is non-functional and I have to go off and find/download additional software. Servoy may want to consider including a readme or something at least in the install directory with common linux installation questions and/or download links (for us newbies).
I’ll post success or failure after I’ve downloaded and installed the package.
Not having a lot of luck. Received the following error when running ./setup -h:
root@c145 [/usr/local/servoy/ga1101]# ./setup
./bin/scripts/platform.sh: fork: Cannot allocate memory
/tmp/SqlAnySetup.22230: line 1: =./bin:$: No such file or directory
export CLASSPATH=“.:/usr/local/jdk/lib/classes.zip”
export EDITOR=“pico”
export HOME=“/root”
export JAVA_HOME=“/usr/local/jdk”
export LOGNAME=“root”
export LS_COLORS=“no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arj=01;31:.taz=01;31:.lzh=01;31:.zip=01;31:.z=01;31:.Z=01;31:.gz=01;31:.bz2=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.avi=01;35:.fli=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.flac=01;35:.mp3=01;35:.mpc=01;35:.ogg=01;35:.wav=01;35:”
export LS_OPTIONS=“–color=tty -F -a -b -T 0”
export MAIL=“/var/mail/root”
export OLDPWD=“/usr/local/servoy/ga1101”
export PATH=“/usr/local/servoy/ga1101/./bin:/usr/local/jdk/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/X11R6/bin”
export PWD=“/usr/local/servoy/ga1101”
export SHELL=“/bin/bash”
export SHLVL=“2”
export SQLANY_STATE=“cd6e41d87a4b68337d73c7015943908f”
export SSH_CLIENT=“65.186.193.57 46174 22”
export SSH_CONNECTION=“65.186.193.57 46174 204.93.155.186 22”
export SSH_TTY=“/dev/pts/0”
export TERM=“xterm-color”
export USER=“root”
export VISUAL=“pico”
./bin/scripts/platform.sh: fork: Cannot allocate memory
This O/S is not supported
root@c145 [/usr/local/servoy/ga1101]#
Has anyone managed to get sysbase on Centos? If so, what did you do to get things working? Do have to install the whole dev system or are there just a couple of files needed. All I want to do is get the application server to run. I do not plan to develop on this server (it’s my production/test server).
I am running centOS5.4-x86_64 (64 bit) locally under parallels 5.x on osx snow leopard. I need to install under this version because that is what is running remote headless server (vps at a remote data center running in a virtuoso container). I’ve tried installations both locally and remotely, and both servers act the same way. I just tried reinstalling servoy 5.0.1 developer with all options checked in graphical mode. Install proceeded with no errors. Developer appears to launch properly and eclipse starts up with no errors. During launch, however, the following status messages are displayed:
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
com.servoy.j2db.persistence.RepositoryException: java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused JZ006: Caught IOException: java.net.ConnectException: Connection refused
at com.servoy.j2db.persistence.Server.loadTables(Server.java:23)
at com.servoy.j2db.persistence.Server.loadTablesIfNecessary(Server.java:657)
at com.servoy.j2db.persistence.Server.getDBObjectNames(Server.java:869)
at com.servoy.j2db.persistence.Server.getTableNames(Server.java:1204)
at com.servoy.eclipse.core.Zb.Zi.Zb(Zi.java:519)
at com.servoy.eclipse.core.Zj.Zr(Zj.java:555)
at com.servoy.eclipse.core.ServoyModelManager$1.run(ServoyModelManager.java:5)
at com.servoy.eclipse.core.Zk.Za(Zk.java:9)
at com.servoy.eclipse.appserver.Activator.Za(Activator.java:53)
at com.servoy.eclipse.appserver.Activator.access$200(Activator.java:23)
at com.servoy.eclipse.appserver.Activator$2.run(Activator.java:6)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4113)
at com.servoy.eclipse.appserver.Activator.getDefault(Activator.java:1)
at com.servoy.eclipse.ui.actions.OpenFormInClientActionDelegate.Za(OpenFormInClientActionDelegate.java:5)
at com.servoy.eclipse.ui.actions.Za.selectionChanged(Za.java:9)
at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:206)
at org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:126)
at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:275)
at org.eclipse.ui.internal.WWinPluginAction.refreshSelection(WWinPluginAction.java:275)
at org.eclipse.ui.internal.WWinPluginAction.(WWinPluginAction.java:121)
at org.eclipse.ui.internal.ActionDescriptor.createAction(ActionDescriptor.java:265)
at org.eclipse.ui.internal.ActionDescriptor.(ActionDescriptor.java:176)
at org.eclipse.ui.internal.PluginActionSetBuilder.createActionDescriptor(PluginActionSetBuilder.java:132)
at org.eclipse.ui.internal.PluginActionBuilder.readElement(PluginActionBuilder.java:161)
at org.eclipse.ui.internal.registry.RegistryReader.readElements(RegistryReader.java:144)
at org.eclipse.ui.internal.registry.RegistryReader.readElementChildren(RegistryReader.java:133)
at org.eclipse.ui.internal.PluginActionBuilder.readElement(PluginActionBuilder.java:144)
at org.eclipse.ui.internal.registry.RegistryReader.readElements(RegistryReader.java:144)
at org.eclipse.ui.internal.PluginActionSetBuilder.readActionExtensions(PluginActionSetBuilder.java:259)
at org.eclipse.ui.internal.PluginActionSetBuilder.processActionSets(PluginActionSetBuilder.java:221)
at org.eclipse.ui.internal.ActionPresentation.setActionSets(ActionPresentation.java:184)
at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:3233)
at org.eclipse.ui.internal.WorkbenchWindow$27.run(WorkbenchWindow.java:2984)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2945)
at org.eclipse.ui.internal.WorkbenchWindow$21.runWithException(WorkbenchWindow.java:2262)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
com.servoy.j2db.persistence.RepositoryException: java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused JZ006: Caught IOException: java.net.ConnectException: Connection refused
at com.servoy.j2db.persistence.Server.loadTables(Server.java:23)
at com.servoy.j2db.persistence.Server.loadTablesIfNecessary(Server.java:657)
at com.servoy.j2db.persistence.Server.getDBObjectNames(Server.java:869)
at com.servoy.j2db.persistence.Server.getTableNames(Server.java:1204)
at com.servoy.eclipse.core.Zb.Zi.Zb(Zi.java:519)
at com.servoy.eclipse.core.Zj.Zr(Zj.java:555)
at com.servoy.eclipse.core.ServoyModelManager$1.run(ServoyModelManager.java:5)
at com.servoy.eclipse.core.Zk.Za(Zk.java:9)
at com.servoy.eclipse.appserver.Activator.Za(Activator.java:53)
at com.servoy.eclipse.appserver.Activator.access$200(Activator.java:23)
at com.servoy.eclipse.appserver.Activator$2.run(Activator.java:6)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4113)
at com.servoy.eclipse.appserver.Activator.getDefault(Activator.java:1)
at com.servoy.eclipse.ui.actions.OpenFormInClientActionDelegate.Za(OpenFormInClientActionDelegate.java:5)
at com.servoy.eclipse.ui.actions.Za.selectionChanged(Za.java:9)
at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:206)
at org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:126)
at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:275)
at org.eclipse.ui.internal.WWinPluginAction.refreshSelection(WWinPluginAction.java:275)
at org.eclipse.ui.internal.WWinPluginAction.(WWinPluginAction.java:121)
at org.eclipse.ui.internal.ActionDescriptor.createAction(ActionDescriptor.java:265)
at org.eclipse.ui.internal.ActionDescriptor.(ActionDescriptor.java:176)
at org.eclipse.ui.internal.PluginActionSetBuilder.createActionDescriptor(PluginActionSetBuilder.java:132)
at org.eclipse.ui.internal.PluginActionBuilder.readElement(PluginActionBuilder.java:161)
at org.eclipse.ui.internal.registry.RegistryReader.readElements(RegistryReader.java:144)
at org.eclipse.ui.internal.registry.RegistryReader.readElementChildren(RegistryReader.java:133)
at org.eclipse.ui.internal.PluginActionBuilder.readElement(PluginActionBuilder.java:144)
at org.eclipse.ui.internal.registry.RegistryReader.readElements(RegistryReader.java:144)
at org.eclipse.ui.internal.PluginActionSetBuilder.readActionExtensions(PluginActionSetBuilder.java:259)
at org.eclipse.ui.internal.PluginActionSetBuilder.processActionSets(PluginActionSetBuilder.java:221)
at org.eclipse.ui.internal.ActionPresentation.setActionSets(ActionPresentation.java:184)
at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:3233)
at org.eclipse.ui.internal.WorkbenchWindow$27.run(WorkbenchWindow.java:2984)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2945)
at org.eclipse.ui.internal.WorkbenchWindow$21.runWithException(WorkbenchWindow.java:2262)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
com.servoy.j2db.persistence.RepositoryException: java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused JZ006: Caught IOException: java.net.ConnectException: Connection refused
at com.servoy.j2db.persistence.Server.loadTables(Server.java:23)
at com.servoy.j2db.persistence.Server.loadTablesIfNecessary(Server.java:657)
at com.servoy.j2db.persistence.Server.getDBObjectNames(Server.java:869)
at com.servoy.j2db.persistence.Server.getTableNames(Server.java:1204)
at com.servoy.eclipse.core.Zb.Zi.Zb(Zi.java:519)
at com.servoy.eclipse.core.Zj.Zr(Zj.java:555)
at com.servoy.eclipse.core.ServoyModelManager$1.run(ServoyModelManager.java:5)
at com.servoy.eclipse.core.Zk.Za(Zk.java:9)
at com.servoy.eclipse.appserver.Activator.Za(Activator.java:53)
at com.servoy.eclipse.appserver.Activator.access$200(Activator.java:23)
at com.servoy.eclipse.appserver.Activator$2.run(Activator.java:6)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4113)
at com.servoy.eclipse.appserver.Activator.getDefault(Activator.java:1)
at com.servoy.eclipse.ui.actions.OpenFormInClientActionDelegate.Za(OpenFormInClientActionDelegate.java:5)
at com.servoy.eclipse.ui.actions.Za.selectionChanged(Za.java:9)
at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:206)
at org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:126)
at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:275)
at org.eclipse.ui.internal.WWinPluginAction.refreshSelection(WWinPluginAction.java:275)
at org.eclipse.ui.internal.WWinPluginAction.(WWinPluginAction.java:121)
at org.eclipse.ui.internal.ActionDescriptor.createAction(ActionDescriptor.java:265)
at org.eclipse.ui.internal.ActionDescriptor.(ActionDescriptor.java:176)
at org.eclipse.ui.internal.PluginActionSetBuilder.createActionDescriptor(PluginActionSetBuilder.java:132)
at org.eclipse.ui.internal.PluginActionBuilder.readElement(PluginActionBuilder.java:161)
at org.eclipse.ui.internal.registry.RegistryReader.readElements(RegistryReader.java:144)
at org.eclipse.ui.internal.registry.RegistryReader.readElementChildren(RegistryReader.java:133)
at org.eclipse.ui.internal.PluginActionBuilder.readElement(PluginActionBuilder.java:144)
at org.eclipse.ui.internal.registry.RegistryReader.readElements(RegistryReader.java:144)
at org.eclipse.ui.internal.PluginActionSetBuilder.readActionExtensions(PluginActionSetBuilder.java:259)
at org.eclipse.ui.internal.PluginActionSetBuilder.processActionSets(PluginActionSetBuilder.java:221)
at org.eclipse.ui.internal.ActionPresentation.setActionSets(ActionPresentation.java:184)
at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:3233)
at org.eclipse.ui.internal.WorkbenchWindow$27.run(WorkbenchWindow.java:2984)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2945)
at org.eclipse.ui.internal.WorkbenchWindow$21.runWithException(WorkbenchWindow.java:2262)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
com.servoy.j2db.persistence.RepositoryException: java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused JZ006: Caught IOException: java.net.ConnectException: Connection refused
at com.servoy.j2db.persistence.Server.loadTables(Server.java:23)
at com.servoy.j2db.persistence.Server.loadTablesIfNecessary(Server.java:657)
at com.servoy.j2db.persistence.Server.getDBObjectNames(Server.java:869)
at com.servoy.j2db.persistence.Server.getTableNames(Server.java:1204)
at com.servoy.eclipse.core.Zb.Zi.Zb(Zi.java:519)
at com.servoy.eclipse.core.Zj.Zr(Zj.java:555)
at com.servoy.eclipse.core.ServoyModelManager$1.run(ServoyModelManager.java:5)
at com.servoy.eclipse.core.Zk.Za(Zk.java:9)
at com.servoy.eclipse.appserver.Activator.Za(Activator.java:53)
at com.servoy.eclipse.appserver.Activator.access$200(Activator.java:23)
at com.servoy.eclipse.appserver.Activator$2.run(Activator.java:6)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4113)
at com.servoy.eclipse.appserver.Activator.getDefault(Activator.java:1)
at com.servoy.eclipse.ui.actions.OpenFormInClientActionDelegate.Za(OpenFormInClientActionDelegate.java:5)
at com.servoy.eclipse.ui.actions.Za.selectionChanged(Za.java:9)
at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:206)
at org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:126)
at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:275)
at org.eclipse.ui.internal.WWinPluginAction.refreshSelection(WWinPluginAction.java:275)
at org.eclipse.ui.internal.WWinPluginAction.(WWinPluginAction.java:121)
at org.eclipse.ui.internal.ActionDescriptor.createAction(ActionDescriptor.java:265)
at org.eclipse.ui.internal.ActionDescriptor.(ActionDescriptor.java:176)
at org.eclipse.ui.internal.PluginActionSetBuilder.createActionDescriptor(PluginActionSetBuilder.java:132)
at org.eclipse.ui.internal.PluginActionBuilder.readElement(PluginActionBuilder.java:161)
at org.eclipse.ui.internal.registry.RegistryReader.readElements(RegistryReader.java:144)
at org.eclipse.ui.internal.registry.RegistryReader.readElementChildren(RegistryReader.java:133)
at org.eclipse.ui.internal.PluginActionBuilder.readElement(PluginActionBuilder.java:144)
at org.eclipse.ui.internal.registry.RegistryReader.readElements(RegistryReader.java:144)
at org.eclipse.ui.internal.PluginActionSetBuilder.readActionExtensions(PluginActionSetBuilder.java:259)
at org.eclipse.ui.internal.PluginActionSetBuilder.processActionSets(PluginActionSetBuilder.java:221)
at org.eclipse.ui.internal.ActionPresentation.setActionSets(ActionPresentation.java:184)
at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:3233)
at org.eclipse.ui.internal.WorkbenchWindow$27.run(WorkbenchWindow.java:2984)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2945)
at org.eclipse.ui.internal.WorkbenchWindow$21.runWithException(WorkbenchWindow.java:2262)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
When I attempt to check out one of the sample solutions, I get a connection refused error. I also can not import a solution (when I try to load the crm solution, it can’t access the udm database. I then tried installing the sysbase developer tools to /usr/local/servoy/sqlanywhere11 The developer tools installed fine and I can select applications from the menu and they seem to load properly. When I select Network Server 64 from the menu I get:
Failed to execute child process “/usr/local/servoy/sqlanywhere11/bin64s/dbsrv11” (Permission denied)
If I try to start the application server in the background, I get the following:
LD_LIBRARY_PATH=sybase_db sybase_db/dbspawn sybase_db/dbsrv11 @sybase_db/sybase.config
SQL Anywhere Start Server In Background Utility Version 11.0.1.2044
sybase_db/dbsrv11: error while loading shared libraries: sybase_db/libdbserv11_r.so: cannot restore segment prot after reloc: Permission denied
DBSPAWN ERROR: -80
Unable to start database server
From what I can tell, I seem to have permissions problems with the /usr/local/servoy directory and it’s various subdirectories. If anyone has any ideas on how to resolve, it would be appreciated.
Ok, I dont know if it works under CentOS 5.x x64, but is works on the 32bit version.
I also installed Servoy Application Server on it, so maybe you could try this?
After the above, the repository was populated properly but I could not find an active service or process for the application server. servoy_log.txt is empty.
Yes. The only thing that seems to change between runs is the process number killed at line 8 (see text at beginning of console output.). When I invoke servoy server command, it goes away for nearly a minute before the console messages shown are generated and the command prompt comes back. This would suggest a service is getting started but then bombs out. The logs that generate are not helpful (one is empty, the other just has some status messages) even with the debug flag set to yes.
The only thing that can be confirmed is that the application server can connect to the database (the empty repository database stub was populated with the 15 or so tables normally present and records).
I’ve tracked this down to a java memory issue (java is requesting more resources than the container can provide and the container is terminating the service). On the java application server you can control the memory reservation of java application server via java command line switches:
-Xms set initial heap size
-Xmx set maximum heap size
-Xss set thread stack size
Does anyone know what the defaults are for the above and/or what initialization file these are set in? Also, what are the minimum requirements for servoy to run?