Database not starting

Questions and answers for all installation-related topics for Servoy products

Database not starting

Postby ashutos » Sat Sep 24, 2011 9:21 am

Hi All,

I have downloaded the servoy cross platform installer. I have installed the servoy instance perfectly. I am using the servoy default bundled postgresql database. But when I am opening servoy the database is not getting started. Also not any other
postgresql database is running. So It should start. I am not getting the problem. It is also not required to explicitly start the database from the command line. Please do help.







Thanks in advance. Waiting for your feedback.
Thanks
Ashutos
ashutos
 
Posts: 72
Joined: Fri Apr 16, 2010 1:06 pm

Re: Database not starting

Postby ROCLASI » Sat Sep 24, 2011 12:31 pm

Hi Ashutos,

You say you start Servoy. Is that Developer or Server ?
Only Developer will launch (and quit) the bundled PostgreSQL instance for you. Server does not.
If it's Developer you are launching and PostgreSQL doesn't come up check to see if PostgreSQL has problems by checking it's log (postgres_log.txt) in the postgres_db directory.

Hope this helps.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Database not starting

Postby ashutos » Sun Sep 25, 2011 7:34 pm

Hi Robert,

Thanks for your quick reply. There is no postgres_log.txt file in the postgres_db directory. In the servoy_log file there are some problems found. Please find the "servoy_log" file below.


2011-09-25 22:16:48,281 ERROR [pool-1-thread-1] com.servoy.j2db.util.Debug - Throwable
java.io.IOException: Cannot run program "/D:/Test 300/Installation/developer/../application_server/\postgres_db\bin\pg_ctl" (in directory "D:\Test 300\Installation\developer\..\application_server"): CreateProcess error=14001, This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at com.servoy.j2db.server.main.Zj.run(Zj.java:5)
at java.util.concurrent.ThreadPoolExecutor.runWorker(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, This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 6 more
2011-09-25 22:17:14,953 ERROR [Thread-4] com.servoy.j2db.server.Za.Zo - Final get connection failure for server repository_server in 6 times
2011-09-25 22:17:14,953 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.<init>(AbstractJdbc2Connection.java:125)
at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
at org.postgresql.jdbc3.Jdbc3Connection.<init>(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:3)
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:68)
at com.servoy.j2db.server.Za.Zo.getRawConnection(Zo.java:642)
at com.servoy.j2db.server.Za.Zo.Zf(Zo.java:1532)
at com.servoy.j2db.server.Za.Zo.testConnection(Zo.java:1458)
at com.servoy.j2db.server.main.ApplicationServer.initStandalone(ApplicationServer.java:368)
at com.servoy.j2db.server.starter.StandaloneServerStarter.initFromDeveloper(StandaloneServerStarter.java:1)
at com.servoy.j2db.server.starter.EclipseServerStarter.startApplicationServer(EclipseServerStarter.java:5)
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.TwoStacksPlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(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.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.postgresql.core.PGStream.<init>(PGStream.java:62)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:76)
... 23 more
2011-09-25 22:17:20,421 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-09-25 22:17:20,421 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:18)
at com.servoy.j2db.server.Za.Zo.Zk(Zo.java:1359)
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:675)
at com.servoy.j2db.server.Za.Zo.getTableNames(Zo.java:692)
at com.servoy.eclipse.core.repository.EclipseUserManager.setFormAndTableChangeAware(EclipseUserManager.java:212)
at com.servoy.eclipse.core.ServoyModel.initialize(ServoyModel.java:2522)
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.<init>(WWinPluginAction.java:121)
at org.eclipse.ui.internal.ActionDescriptor.createAction(ActionDescriptor.java:265)
at org.eclipse.ui.internal.ActionDescriptor.<init>(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-09-25 22:17:21,515 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-09-25 22:17:21,515 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:18)
at com.servoy.j2db.server.Za.Zo.Zk(Zo.java:1359)
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:675)
at com.servoy.j2db.server.Za.Zo.getTableNames(Zo.java:692)
at com.servoy.eclipse.core.repository.EclipseUserManager.setFormAndTableChangeAware(EclipseUserManager.java:212)
at com.servoy.eclipse.core.ServoyModel.initialize(ServoyModel.java:2522)
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.<init>(WWinPluginAction.java:121)
at org.eclipse.ui.internal.ActionDescriptor.createAction(ActionDescriptor.java:265)
at org.eclipse.ui.internal.ActionDescriptor.<init>(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-09-25 22:17:22,609 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-09-25 22:17:22,609 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:18)
at com.servoy.j2db.server.Za.Zo.Zk(Zo.java:1359)
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:675)
at com.servoy.j2db.server.Za.Zo.getTableNames(Zo.java:692)
at com.servoy.eclipse.core.repository.EclipseUserManager.setFormAndTableChangeAware(EclipseUserManager.java:212)
at com.servoy.eclipse.core.ServoyModel.initialize(ServoyModel.java:2522)
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.<init>(WWinPluginAction.java:121)
at org.eclipse.ui.internal.ActionDescriptor.createAction(ActionDescriptor.java:265)
at org.eclipse.ui.internal.ActionDescriptor.<init>(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-09-25 22:17:23,593 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-09-25 22:17:23,593 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:18)
at com.servoy.j2db.server.Za.Zo.Zk(Zo.java:1359)
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:675)
at com.servoy.j2db.server.Za.Zo.getTableNames(Zo.java:692)
at com.servoy.eclipse.core.repository.EclipseUserManager.setFormAndTableChangeAware(EclipseUserManager.java:212)
at com.servoy.eclipse.core.ServoyModel.initialize(ServoyModel.java:2522)
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.<init>(WWinPluginAction.java:121)
at org.eclipse.ui.internal.ActionDescriptor.createAction(ActionDescriptor.java:265)
at org.eclipse.ui.internal.ActionDescriptor.<init>(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-09-25 22:17:24,578 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-09-25 22:17:24,578 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:18)
at com.servoy.j2db.server.Za.Zo.Zk(Zo.java:1359)
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:675)
at com.servoy.j2db.server.Za.Zo.getTableNames(Zo.java:692)
at com.servoy.eclipse.core.repository.EclipseUserManager.setFormAndTableChangeAware(EclipseUserManager.java:212)
at com.servoy.eclipse.core.ServoyModel.initialize(ServoyModel.java:2522)
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.<init>(WWinPluginAction.java:121)
at org.eclipse.ui.internal.ActionDescriptor.createAction(ActionDescriptor.java:265)
at org.eclipse.ui.internal.ActionDescriptor.<init>(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-09-25 22:17:25,671 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-09-25 22:17:25,671 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:18)
at com.servoy.j2db.server.Za.Zo.Zk(Zo.java:1359)
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:675)
at com.servoy.j2db.server.Za.Zo.getTableNames(Zo.java:692)
at com.servoy.eclipse.core.repository.EclipseUserManager.setFormAndTableChangeAware(EclipseUserManager.java:212)
at com.servoy.eclipse.core.ServoyModel.initialize(ServoyModel.java:2522)
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.<init>(WWinPluginAction.java:121)
at org.eclipse.ui.internal.ActionDescriptor.createAction(ActionDescriptor.java:265)
at org.eclipse.ui.internal.ActionDescriptor.<init>(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-09-25 22:17:26,765 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-09-25 22:17:26,765 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:18)
at com.servoy.j2db.server.Za.Zo.Zk(Zo.java:1359)
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:675)
at com.servoy.j2db.server.Za.Zo.getTableNames(Zo.java:692)
at com.servoy.eclipse.core.repository.EclipseUserManager.setFormAndTableChangeAware(EclipseUserManager.java:212)
at com.servoy.eclipse.core.ServoyModel.initialize(ServoyModel.java:2522)
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.<init>(WWinPluginAction.java:121)
at org.eclipse.ui.internal.ActionDescriptor.createAction(ActionDescriptor.java:265)
at org.eclipse.ui.internal.ActionDescriptor.<init>(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-09-25 22:17:30,375 ERROR [Worker-0] com.servoy.j2db.server.Za.Zo - Final get connection failure for server repository_server in 1 times
2011-09-25 22:17:31,468 ERROR [Worker-0] com.servoy.j2db.server.Za.Zo - Final get connection failure for server bug_db in 1 times
2011-09-25 22:17:32,562 ERROR [Worker-0] com.servoy.j2db.server.Za.Zo - Final get connection failure for server example_data in 1 times
2011-09-25 22:17:33,656 ERROR [Worker-0] com.servoy.j2db.server.Za.Zo - Final get connection failure for server log_server in 1 times
2011-09-25 22:17:34,640 ERROR [Worker-0] com.servoy.j2db.server.Za.Zo - Final get connection failure for server pdf_forms in 1 times
2011-09-25 22:17:35,625 ERROR [Worker-0] com.servoy.j2db.server.Za.Zo - Final get connection failure for server udm in 1 times
2011-09-25 22:17:36,718 ERROR [Worker-0] com.servoy.j2db.server.Za.Zo - Final get connection failure for server user_data in 1 times
2011-09-25 22:19:26,640 ERROR [main] com.servoy.j2db.server.Za.Zo - Final get connection failure for server repository_server in 1 times



Thanks in advance.waiting for your feedback.
Thanks
Ashutos
ashutos
 
Posts: 72
Joined: Fri Apr 16, 2010 1:06 pm

Re: Database not starting

Postby ROCLASI » Sun Sep 25, 2011 9:24 pm

Hi Ashutos,

Only the first line in that log is interesting. The rest is essentially a result of that first issue.
Just a quick check. Does your database directory inside the application_server directory have any content ? This should hold a bunch of 'pg_' prefixed directories among others.
If this is empty then your PostgreSQL cluster was never initialized (the installer should do this).
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Database not starting

Postby ashutos » Tue Sep 27, 2011 7:25 am

Hi Robert,

Thanks for your reply. My database directory inside the application_server directory is not having any content. It is empty. It there any problem with my downloaded installer ?. But I believe my installation process is right. Please do help.




Thanks in advance. Waiting for your reply.
Thanks
Ashutos
ashutos
 
Posts: 72
Joined: Fri Apr 16, 2010 1:06 pm

Re: Database not starting

Postby ROCLASI » Tue Sep 27, 2011 9:25 am

Hi Ashutos,

So your database cluster was never initialized. You can do this manually using the initdb command.
The initdb command has many options which will show if you launch it with the --help argument.

But I think you can safely use the following parameters:
Code: Select all
/path/to/application_server/postgres_db/bin/initdb -D /path/to/application_server/database -E utf8 --no-locale -U dba -W

Please adjust the paths accordingly.

Of course this doesn't create (and fill) and of the demo databases, you need to create these yourself using a tool like PgAdmin.

Hope this helps.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Database not starting

Postby Mark Crichton » Fri May 25, 2012 10:10 pm

I have just resolved problems installing Servoy 6.06 on windows XP with SP3, so am posting to help others who may have this.

Install fails with empty database folder
Running initdb from command line gives gave error "The system cannot execute the specified program"

I did all the other posts and suggestions I could find.
I downloaded and installed C++ runtimes with no success.
Also *VC90* with no success.

I then installed the MYOB 19,5 accounting package( Aus/NZ Version) which also installed .NET 3.5 and other things I know not what.
Servoy install then worked perfectly installing the database.
INITDB run form command line also returned no error. ( Did not need to run it. Just done as test)

Conclusion. Clean XP with SP3 will not install Servoy without additional system files, therefore install another application first.

:o Mark Crichton
Mark Crichton
DataWise Ltd - New Zealand
http://www.datawise.co.nz
User avatar
Mark Crichton
 
Posts: 109
Joined: Mon Jan 24, 2011 10:01 am
Location: Auckland, New Zealand

Re: Database not starting

Postby mdeian » Tue May 29, 2012 9:17 am

This happens with some Windows XP SP3 installs, due to some missing libraries in windows install.
Seems to only happen due to bundled PostgreSQL version.
The postgresql executables (initdb) throw an exception (can be viewed in Event Viewer).
The installer will finish without any errors but postgresql is not initialized.
This can be fixed by installing: Microsoft Visual C++ 2005 SP1 (!not 2008) - prior to installing Servoy.
mdeian
 
Posts: 3
Joined: Tue Apr 01, 2008 12:07 pm
Location: Timisoara

Re: Database not starting

Postby Mark Crichton » Thu May 31, 2012 3:27 am

Hi mdian

Thanks for the feedback. I checked and it is version C++ 2010 that I got as a download.
I did a google search and found the correct version to download.
I'll keep that available for the next time.

Cheers
Mark
Mark Crichton
DataWise Ltd - New Zealand
http://www.datawise.co.nz
User avatar
Mark Crichton
 
Posts: 109
Joined: Mon Jan 24, 2011 10:01 am
Location: Auckland, New Zealand


Return to Installation

Who is online

Users browsing this forum: No registered users and 2 guests