Hi guys. I am struggling to install and upload a solution onto the servoy server. I am using the developer 6.2 Beta. I cannot get the server to independently start up and stay up. I can see the server whilst developer is running, but cannot upload anything to it. I am probably doing something very wrong, but I am at a loss. Can someone point me in the right direction? Thanks
Hi,
I assume you mean Servoy 6.0beta.
When Developer is running then Server is running in a different state. Hence the reason you can’t use the servoy-admin pages to upload any solution.
For that you need to launch Servoy Server by itself, but you say you can’t get it to launch and/or stay up.
What OS are you running and how are you launching Servoy server ? And is there a repository server connection defined (you can see that in Developer).
Als in the application_developer directory you find a log file, check that for possible reasons why it doesn’t launch for you.
Then this is where I am probably going wrong. I am running vista. I have literally installed the developer and server. It will have installed the defaults - so not too sure about repository server. I get this on the log file:-
2011-05-29 19:00:06,276 ERROR [pool-1-thread-1] com.servoy.j2db.util.Debug - Throwable
java.io.IOException: Cannot run program “/C:/Servoy/developer/…/application_server/\postgres_db\bin\pg_ctl” (in directory “C:\Servoy\developer..\application_server”): CreateProcess error=14001, The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at com.servoy.j2db.server.main.Zj.run(Zj.java:2)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: CreateProcess error=14001, The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
… 6 more
2011-05-29 19:00:43,638 ERROR [Thread-4] com.servoy.j2db.server.Za.Zo - Final get connection failure for server repository_server in 6 times
2011-05-29 19:00:43,638 ERROR [Thread-4] com.servoy.j2db.util.Debug - Throwable
org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:136)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:125)
at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:30)
at org.postgresql.jdbc3.Jdbc3Connection.(Jdbc3Connection.java:24)
at org.postgresql.Driver.makeConnection(Driver.java:393)
at org.postgresql.Driver.connect(Driver.java:267)
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
at com.servoy.j2db.Za.Zo.createConnection(Zo.java:2)
at com.servoy.j2db.Za.Zd.createConnection(Zd.java:5)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1158)
at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
at com.servoy.j2db.Za.Za.getConnection(Za.java:96)
at com.servoy.j2db.server.Za.Zo.getRawConnection(Zo.java:770)
at com.servoy.j2db.server.Za.Zo.Zf(Zo.java:961)
at com.servoy.j2db.server.Za.Zo.testConnection(Zo.java:1268)
at com.servoy.j2db.server.main.ApplicationServer.initStandalone(ApplicationServer.java:50)
at com.servoy.j2db.server.starter.StandaloneServerStarter.initFromDeveloper(StandaloneServerStarter.java:1)
at com.servoy.j2db.server.starter.EclipseServerStarter.startApplicationServer(EclipseServerStarter.java:1)
at com.servoy.eclipse.appserver.Activator.startAppServer(Activator.java:158)
at com.servoy.eclipse.core.ServoyModel.startAppServer(ServoyModel.java:478)
at com.servoy.eclipse.core.util.SplashHandler$1.run(SplashHandler.java:52)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.(Unknown Source)
at java.net.Socket.(Unknown Source)
at org.postgresql.core.PGStream.(PGStream.java:62)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:76)
… 23 more
2011-05-29 19:01:04,053 ERROR [main] com.servoy.j2db.server.Za.Zo - org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
2011-05-29 19:01:04,053 ERROR [main] com.servoy.j2db.util.Debug - Throwable
com.servoy.j2db.persistence.RepositoryException: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:909)
at com.servoy.j2db.server.Za.Zo.Zk(Zo.java:937)
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:1221)
at com.servoy.j2db.server.Za.Zo.getTableNames(Zo.java:814)
at com.servoy.eclipse.core.repository.EclipseUserManager.setFormAndTableChangeAware(EclipseUserManager.java:212)
at com.servoy.eclipse.core.ServoyModel.initialize(ServoyModel.java:2489)
at com.servoy.eclipse.core.ServoyModelManager$1.run(ServoyModelManager.java:71)
at com.servoy.eclipse.core.ServoyModelManager.getServoyModel(ServoyModelManager.java:80)
at com.servoy.eclipse.ui.actions.ShowI18NDialogActionDelegate.selectionChanged(ShowI18NDialogActionDelegate.java:224)
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:141)
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:268)
at org.eclipse.ui.internal.PluginActionSetBuilder.processActionSets(PluginActionSetBuilder.java:230)
at org.eclipse.ui.internal.ActionPresentation.setActionSets(ActionPresentation.java:184)
at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:3261)
at org.eclipse.ui.internal.WorkbenchWindow$27.run(WorkbenchWindow.java:3012)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2973)
at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:771)
at org.eclipse.ui.internal.Workbench$23.runWithException(Workbench.java:1221)
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:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
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:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
2011-05-29 19:01:05,067 ERROR [main] com.servoy.j2db.server.Za.Zo - org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
2011-05-29 19:01:05,067 ERROR [main] com.servoy.j2db.util.Debug - Throwable
com.servoy.j2db.persistence.RepositoryException: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:909)
at com.servoy.j2db.server.Za.Zo.Zk(Zo.java:937)
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:1221)
at com.servoy.j2db.server.Za.Zo.getTableNames(Zo.java:814)
at com.servoy.eclipse.core.repository.EclipseUserManager.setFormAndTableChangeAware(EclipseUserManager.java:212)
at com.servoy.eclipse.core.ServoyModel.initialize(ServoyModel.java:2489)
at com.servoy.eclipse.core.ServoyModelManager$1.run(ServoyModelManager.java:71)
at com.servoy.eclipse.core.ServoyModelManager.getServoyModel(ServoyModelManager.java:80)
at com.servoy.eclipse.ui.actions.ShowI18NDialogActionDelegate.selectionChanged(ShowI18NDialogActionDelegate.java:224)
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:141)
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:268)
at org.eclipse.ui.internal.PluginActionSetBuilder.processActionSets(PluginActionSetBuilder.java:230)
at org.eclipse.ui.internal.ActionPresentation.setActionSets(ActionPresentation.java:184)
at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:3261)
at org.eclipse.ui.internal.WorkbenchWindow$27.run(WorkbenchWindow.java:3012)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2973)
at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:771)
at org.eclipse.ui.internal.Workbench$23.runWithException(Workbench.java:1221)
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:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
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:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
2011-05-29 19:01:06,066 ERROR [main] com.servoy.j2db.server.Za.Zo - org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
2011-05-29 19:01:06,066 ERROR [main] com.servoy.j2db.util.Debug - Throwable
com.servoy.j2db.persistence.RepositoryException: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:909)
at com.servoy.j2db.server.Za.Zo.Zk(Zo.java:937)
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:1221)
at com.servoy.j2db.server.Za.Zo.getTableNames(Zo.java:814)
at com.servoy.eclipse.core.repository.EclipseUserManager.setFormAndTableChangeAware(EclipseUserManager.java:212)
at com.servoy.eclipse.core.ServoyModel.initialize(ServoyModel.java:2489)
at com.servoy.eclipse.core.ServoyModelManager$1.run(ServoyModelManager.java:71)
at com.servoy.eclipse.core.ServoyModelManager.getServoyModel(ServoyModelManager.java:80)
at com.servoy.eclipse.ui.actions.ShowI18NDialogActionDelegate.selectionChanged(ShowI18NDialogActionDelegate.java:224)
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:141)
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:268)
at org.eclipse.ui.internal.PluginActionSetBuilder.processActionSets(PluginActionSetBuilder.java:230)
at org.eclipse.ui.internal.ActionPresentation.setActionSets(ActionPresentation.java:184)
at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:3261)
at org.eclipse.ui.internal.WorkbenchWindow$27.run(WorkbenchWindow.java:3012)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2973)
at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:771)
at org.eclipse.ui.internal.Workbench$23.runWithException(Workbench.java:1221)
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:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
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:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
2011-05-29 19:01:07,064 ERROR [main] com.servoy.j2db.server.Za.Zo - org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
2011-05-29 19:01:07,064 ERROR [main] com.servoy.j2db.util.Debug - Throwable
com.servoy.j2db.persistence.RepositoryException: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:909)
at com.servoy.j2db.server.Za.Zo.Zk(Zo.java:937)
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:1221)
at com.servoy.j2db.server.Za.Zo.getTableNames(Zo.java:814)
at com.servoy.eclipse.core.repository.EclipseUserManager.setFormAndTableChangeAware(EclipseUserManager.java:212)
at com.servoy.eclipse.core.ServoyModel.initialize(ServoyModel.java:2489)
at com.servoy.eclipse.core.ServoyModelManager$1.run(ServoyModelManager.java:71)
at com.servoy.eclipse.core.ServoyModelManager.getServoyModel(ServoyModelManager.java:80)
at com.servoy.eclipse.ui.actions.ShowI18NDialogActionDelegate.selectionChanged(ShowI18NDialogActionDelegate.java:224)
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:141)
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:268)
at org.eclipse.ui.internal.PluginActionSetBuilder.processActionSets(PluginActionSetBuilder.java:230)
at org.eclipse.ui.internal.ActionPresentation.setActionSets(ActionPresentation.java:184)
at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:3261)
at org.eclipse.ui.internal.WorkbenchWindow$27.run(WorkbenchWindow.java:3012)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2973)
at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:771)
at org.eclipse.ui.internal.Workbench$23.runWithException(Workbench.java:1221)
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:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
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:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
2011-05-29 19:01:08,063 ERROR [main] com.servoy.j2db.server.Za.Zo - org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
2011-05-29 19:01:08,063 ERROR [main] com.servoy.j2db.util.Debug - Throwable
com.servoy.j2db.persistence.RepositoryException: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:909)
at com.servoy.j2db.server.Za.Zo.Zk(Zo.java:937)
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:1221)
at com.servoy.j2db.server.Za.Zo.getTableNames(Zo.java:814)
at com.servoy.eclipse.core.repository.EclipseUserManager.setFormAndTableChangeAware(EclipseUserManager.java:212)
at com.servoy.eclipse.core.ServoyModel.initialize(ServoyModel.java:2489)
at com.servoy.eclipse.core.ServoyModelManager$1.run(ServoyModelManager.java:71)
at com.servoy.eclipse.core.ServoyModelManager.getServoyModel(ServoyModelManager.java:80)
at com.servoy.eclipse.ui.actions.ShowI18NDialogActionDelegate.selectionChanged(ShowI18NDialogActionDelegate.java:224)
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:141)
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:268)
at org.eclipse.ui.internal.PluginActionSetBuilder.processActionSets(PluginActionSetBuilder.java:230)
at org.eclipse.ui.internal.ActionPresentation.setActionSets(ActionPresentation.java:184)
at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:3261)
at org.eclipse.ui.internal.WorkbenchWindow$27.run(WorkbenchWindow.java:3012)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2973)
at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:771)
at org.eclipse.ui.internal.Workbench$23.runWithException(Workbench.java:1221)
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:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
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:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
2011-05-29 19:01:09,077 ERROR [main] com.servoy.j2db.server.Za.Zo - org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
2011-05-29 19:01:09,077 ERROR [main] com.servoy.j2db.util.Debug - Throwable
com.servoy.j2db.persistence.RepositoryException: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:909)
at com.servoy.j2db.server.Za.Zo.Zk(Zo.java:937)
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:1221)
at com.servoy.j2db.server.Za.Zo.getTableNames(Zo.java:814)
at com.servoy.eclipse.core.repository.EclipseUserManager.setFormAndTableChangeAware(EclipseUserManager.java:212)
at com.servoy.eclipse.core.ServoyModel.initialize(ServoyModel.java:2489)
at com.servoy.eclipse.core.ServoyModelManager$1.run(ServoyModelManager.java:71)
at com.servoy.eclipse.core.ServoyModelManager.getServoyModel(ServoyModelManager.java:80)
at com.servoy.eclipse.ui.actions.ShowI18NDialogActionDelegate.selectionChanged(ShowI18NDialogActionDelegate.java:224)
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:141)
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:268)
at org.eclipse.ui.internal.PluginActionSetBuilder.processActionSets(PluginActionSetBuilder.java:230)
at org.eclipse.ui.internal.ActionPresentation.setActionSets(ActionPresentation.java:184)
at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:3261)
at org.eclipse.ui.internal.WorkbenchWindow$27.run(WorkbenchWindow.java:3012)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2973)
at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:771)
at org.eclipse.ui.internal.Workbench$23.runWithException(Workbench.java:1221)
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:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
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:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
2011-05-29 19:01:10,075 ERROR [main] com.servoy.j2db.server.Za.Zo - org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
2011-05-29 19:01:10,075 ERROR [main] com.servoy.j2db.util.Debug - Throwable
com.servoy.j2db.persistence.RepositoryException: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:909)
at com.servoy.j2db.server.Za.Zo.Zk(Zo.java:937)
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:1221)
at com.servoy.j2db.server.Za.Zo.getTableNames(Zo.java:814)
at com.servoy.eclipse.core.repository.EclipseUserManager.setFormAndTableChangeAware(EclipseUserManager.java:212)
at com.servoy.eclipse.core.ServoyModel.initialize(ServoyModel.java:2489)
at com.servoy.eclipse.core.ServoyModelManager$1.run(ServoyModelManager.java:71)
at com.servoy.eclipse.core.ServoyModelManager.getServoyModel(ServoyModelManager.java:80)
at com.servoy.eclipse.ui.actions.ShowI18NDialogActionDelegate.selectionChanged(ShowI18NDialogActionDelegate.java:224)
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:141)
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:268)
at org.eclipse.ui.internal.PluginActionSetBuilder.processActionSets(PluginActionSetBuilder.java:230)
at org.eclipse.ui.internal.ActionPresentation.setActionSets(ActionPresentation.java:184)
at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:3261)
at org.eclipse.ui.internal.WorkbenchWindow$27.run(WorkbenchWindow.java:3012)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2973)
at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:771)
at org.eclipse.ui.internal.Workbench$23.runWithException(Workbench.java:1221)
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:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
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:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
2011-05-29 19:01:25,019 ERROR [Worker-5] com.servoy.j2db.server.Za.Zo - Final get connection failure for server repository_server in 1 times
2011-05-29 19:01:26,017 ERROR [Worker-5] com.servoy.j2db.server.Za.Zo - Final get connection failure for server bug_db in 1 times
2011-05-29 19:01:27,015 ERROR [Worker-5] com.servoy.j2db.server.Za.Zo - Final get connection failure for server example_data in 1 times
2011-05-29 19:01:28,014 ERROR [Worker-5] com.servoy.j2db.server.Za.Zo - Final get connection failure for server log_server in 1 times
2011-05-29 19:01:29,012 ERROR [Worker-5] com.servoy.j2db.server.Za.Zo - Final get connection failure for server pdf_forms in 1 times
2011-05-29 19:01:30,073 ERROR [Worker-5] com.servoy.j2db.server.Za.Zo - Final get connection failure for server udm in 1 times
2011-05-29 19:01:31,227 ERROR [Worker-5] com.servoy.j2db.server.Za.Zo - Final get connection failure for server user_data in 1 times
2011-05-29 19:04:54,230 ERROR [main] com.servoy.j2db.util.Debug - Throwable
java.io.IOException: Cannot run program “/C:/Servoy/developer/…/application_server/\postgres_db\bin\pg_ctl” (in directory “C:\Servoy\developer..\application_server”): CreateProcess error=14001, The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at com.servoy.j2db.server.main.ApplicationServer.doNativeShutdown(ApplicationServer.java:27)
at com.servoy.j2db.server.main.ApplicationServer.doNativeShutdown(ApplicationServer.java:146)
at com.servoy.eclipse.appserver.Activator.stop(Activator.java:99)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:843)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:836)
at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:501)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:550)
at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1097)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:597)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266)
at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:690)
at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:588)
at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:415)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:198)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
Caused by: java.io.IOException: CreateProcess error=14001, The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
… 26 more
2011-05-30 10:46:41,269 ERROR [pool-1-thread-1] com.servoy.j2db.util.Debug - Throwable
java.io.IOException: Cannot run program “/C:/Servoy/developer/…/application_server/\postgres_db\bin\pg_ctl” (in directory “C:\Servoy\developer..\application_server”): CreateProcess error=14001, The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at com.servoy.j2db.server.main.Zj.run(Zj.java:2)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: CreateProcess error=14001, The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
… 6 more
2011-05-30 10:47:12,422 ERROR [Thread-3] com.servoy.j2db.server.Za.Zo - Final get connection failure for server repository_server in 6 times
2011-05-30 10:47:12,422 ERROR [Thread-3] com.servoy.j2db.util.Debug - Throwable
org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:136)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:125)
at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:30)
at org.postgresql.jdbc3.Jdbc3Connection.(Jdbc3Connection.java:24)
at org.postgresql.Driver.makeConnection(Driver.java:393)
at org.postgresql.Driver.connect(Driver.java:267)
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
at com.servoy.j2db.Za.Zo.createConnection(Zo.java:2)
at com.servoy.j2db.Za.Zd.createConnection(Zd.java:5)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1158)
at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
at com.servoy.j2db.Za.Za.getConnection(Za.java:96)
at com.servoy.j2db.server.Za.Zo.getRawConnection(Zo.java:770)
at com.servoy.j2db.server.Za.Zo.Zf(Zo.java:961)
at com.servoy.j2db.server.Za.Zo.testConnection(Zo.java:1268)
at com.servoy.j2db.server.main.ApplicationServer.initStandalone(ApplicationServer.java:50)
at com.servoy.j2db.server.starter.StandaloneServerStarter.initFromDeveloper(StandaloneServerStarter.java:1)
at com.servoy.j2db.server.starter.EclipseServerStarter.startApplicationServer(EclipseServerStarter.java:1)
at com.servoy.eclipse.appserver.Activator.startAppServer(Activator.java:158)
at com.servoy.eclipse.core.ServoyModel.startAppServer(ServoyModel.java:478)
at com.servoy.eclipse.core.util.SplashHandler$1.run(SplashHandler.java:52)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.(Unknown Source)
at java.net.Socket.(Unknown Source)
at org.postgresql.core.PGStream.(PGStream.java:62)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:76)
… 23 more
2011-05-30 10:47:49,846 ERROR [main] com.servoy.j2db.server.Za.Zo - org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
2011-05-30 10:47:49,846 ERROR [main] com.servoy.j2db.util.Debug - Throwable
com.servoy.j2db.persistence.RepositoryException: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:909)
at com.servoy.j2db.server.Za.Zo.Zk(Zo.java:937)
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:1221)
at com.servoy.j2db.server.Za.Zo.getTableNames(Zo.java:814)
at com.servoy.eclipse.core.repository.EclipseUserManager.setFormAndTableChangeAware(EclipseUserManager.java:212)
at com.servoy.eclipse.core.ServoyModel.initialize(ServoyModel.java:2489)
at com.servoy.eclipse.core.ServoyModelManager$1.run(ServoyModelManager.java:71)
at com.servoy.eclipse.core.ServoyModelManager.getServoyModel(ServoyModelManager.java:80)
at com.servoy.eclipse.ui.actions.ShowI18NDialogActionDelegate.selectionChanged(ShowI18NDialogActionDelegate.java:224)
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:141)
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:268)
at org.eclipse.ui.internal.PluginActionSetBuilder.processActionSets(PluginActionSetBuilder.java:230)
at org.eclipse.ui.internal.ActionPresentation.setActionSets(ActionPresentation.java:184)
at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:3261)
at org.eclipse.ui.internal.WorkbenchWindow$27.run(WorkbenchWindow.java:3012)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2973)
at org.eclipse.ui.internal.WorkbenchWindow$21.runWithException(WorkbenchWindow.java:2290)
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:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
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:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
Looks like PostgreSQL is not running.
When you run Developer does the connections have a red cross (see solution explorer view > Database Servers ?
Also does the database directory in the application_server directory have anything in there?
Yes the databases all have red crosses
The database directory is empty.
This means your installation isn’t complete. Your database cluster was never initialized and the demo database never created.
Did you run the installer with administrator rights (right-click on installer)?
Hi there, just to check I have uninstalled and installed again with admin rights. It still has made no difference. Do you have any other suggestions?
Should I have to install anything else?
Hi,
On Windows it seems to be better to not install it in the applications directory due to permission issues. Try reinstalling it again but just as a directory in the root.
looking at the error:
"java.io.IOException: Cannot run program “/C:/Servoy/developer/”
it was not installed in the default windows application dir (c:\programs files) so thats good.
So the database should be installed just fine, currently no idea why that wouldn’t go ok for you
Did you try with the latest beta if 6? Does anybody else has problems with that?
OK - so I have now installed it onto an intel Mac - again cannot run the server without running the developer. I can see the databases (no red crosses), I can access through localhost (when developer is running) the server. Now what do I do?
Developer starts AND stops PostgreSQL for you. When you run Server you have to do this yourself.
Normally you don’t run Server on your development machine but on a separate server, be it a test server or a production server (or a team server).
When you run Server then you usually control your database server yourself. Other systems might require access to it and such.
You should consider the bundled PostgreSQL instance for use in Developer only. When you want to deploy on a server you should install your own PostgreSQL instance than runs as a service.
I can recommend the EnterpriseDB installer for this, which is a one-click installer for PostgreSQL and makes it run as a service on your platform of your choosing (check the 3rd column of the matrix).
Hope this helps.
Not Servoy server specific but a few ideas here that may help a bit:
Yesterday i have this problem in SERVOY 5.8: if you delete the file POSTMASTER.PID you solve the problem.
ROCLASI:
Developer starts AND stops PostgreSQL for you. When you run Server you have to do this yourself.
Normally you don’t run Server on your development machine but on a separate server, be it a test server or a production server (or a team server).
When you run Server then you usually control your database server yourself. Other systems might require access to it and such.
You should consider the bundled PostgreSQL instance for use in Developer only. When you want to deploy on a server you should install your own PostgreSQL instance than runs as a service.
I can recommend the EnterpriseDB installer for this, which is a one-click installer for PostgreSQL and makes it run as a service on your platform of your choosing (check the 3rd column of the matrix).Hope this helps.
OK, I have installed the postgres server for 32 bit. What do I do next?
Now you can use this PostgreSQL instance for your server (or even for your Developer if you want). But you need to create some of your databases.
You can use PgAdmin for this (comes in the EDB installer).
After you have done this you need to change the database connections in Servoy to point to this PostgreSQL instance, you can do this in Developer (this saves it to the servoy.properties file that Server also uses).
Now if you want to launch Server then you can use the shell script servoy_server.sh in the application_server directory for this (using the terminal).
Hi there, I think I must be being a little slow. I have started the Postgres 9 on my PC server. I cannot connect to any of the databases on the PC server running postgresql 9.x. I am running developer on my dev Mac, but cannot connect to the PC. I can ping it. I get the message asking if I have the right TCP/IP address etc. I do . It is definitely running, as I have checked the services on the machine. Is there a manual that gives me sa step by step on how to do this as it is really frustrating. I have a lot of development to do and I am falling at getting my test environment set up
I am however sure it will get easier.
Yea, but do you have a clear connection to the port postgres is running on? Ping isn’t the tool for that:
OK, here is where I am up to
uninstalled and removed all files and folders relating to postgres and servoy
reinstalled postgres from enterprisedb and then installed servoy
have successfully added two bank databases using pgadmin and have connected to them through Servoy developer.
Now cannot get onto the admin page using http://localhost:8080/servoy-admin
any suggestions?
Is Developer or Server running ?