Developer on Vista

I was running Developer 3.1 on Vista, with Java 1.6 and it was working fine for a while, but now I can’t the dreaded Can’t connect to respository message. I’ve tried all the usual tricks, with no luck.
In desperation I copied the whole Servoy folder to a Win XP machine and it worked fine! When I moved the whole folder back to Vista it failed. SO, it seems like a problem with Vista rather than Servoy, but what? I’ve turned off firewalls and antivirus, checked that nothing was blocking Sybase or Servoy, updated Java etc.

Here’s what happens - Sybase loads normally and sybase log says ready to accept connections.
Then I get the Can’t connect to repository message, and this in the servoy log

2008-11-03 20:36:46,508 ERROR [TaskExecuter[0]] com.servoy.j2db.dataprocessing.ClientManager - org.apache.commons.dbcp.DbcpException: java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused: connect
2009-03-13 22:59:42,603 ERROR [main] com.servoy.j2db.persistence.Server - Final get connection failure for server repository_server in 6 times
2009-03-13 22:59:42,603 ERROR [main] com.servoy.j2db.util.Debug - Throwable
org.apache.commons.dbcp.DbcpException: java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused: connect
	at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:85)
	at com.servoy.j2db.persistence.datasource.n.createConnection(Unknown Source)
	at com.servoy.j2db.persistence.datasource.r.makeObject(Unknown Source)
	at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:816)
	at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:110)
	at com.servoy.j2db.persistence.datasource.i.getConnection(Unknown Source)
	at com.servoy.j2db.persistence.Server.getConnection(Unknown Source)
	at com.servoy.j2db.persistence.Server.testConnection(Unknown Source)
	at com.servoy.j2db.develop.J2DBDeveloper.bc(Unknown Source)
	at com.servoy.j2db.develop.J2DBDeveloper.dataBaseInit(Unknown Source)
	at com.servoy.j2db.develop.J2DBDeveloper.for(Unknown Source)
	at com.servoy.j2db.develop.J2DBDeveloper.main(Unknown Source)
	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 com.servoy.j2db.startup.Bootstrap.main(Unknown Source)
	at Servoy.main(Unknown Source)
Caused by: java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused: connect
	at com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:487)
	at com.sybase.jdbc2.jdbc.ErrorMessage.raiseErrorCheckDead(ErrorMessage.java:723)
	at com.sybase.jdbc2.tds.Tds.handleIOE(Tds.java:3071)
	at com.sybase.jdbc2.tds.Tds.login(Tds.java:394)
	at com.sybase.jdbc2.jdbc.SybConnection.tryLogin(SybConnection.java:218)
	at com.sybase.jdbc2.jdbc.SybConnection.regularConnect(SybConnection.java:195)
	at com.sybase.jdbc2.jdbc.SybConnection.<init>(SybConnection.java:174)
	at com.sybase.jdbc2.jdbc.SybConnection.<init>(SybConnection.java:126)
	at com.sybase.jdbc2.jdbc.SybDriver.connect(SybDriver.java:179)
	at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:83)
	... 17 more
2009-03-13 23:00:39,800 ERROR [AWT-EventQueue-0] com.servoy.j2db.util.Debug - Throwable
java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
	java.net.ConnectException: Connection refused: connect
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
	at sun.rmi.server.UnicastRef.newCall(Unknown Source)
	at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
	at java.rmi.Naming.lookup(Unknown Source)
	at com.servoy.j2db.plugins.ClientPluginAccessProvider.getServerService(Unknown Source)
	at com.it2be.servoy.plugin.q.a(Unknown Source)
	at com.it2be.servoy.plugin.q.a(Unknown Source)
	at com.it2be.servoy.plugin.datastream.client.b.c(Unknown Source)
	at com.it2be.common.y.e(Unknown Source)
	at com.it2be.common.fg.b(Unknown Source)
	at com.it2be.common.fg.a(Unknown Source)
	at com.it2be.common.datastream.md.a(Unknown Source)
	at com.it2be.servoy.plugin.datastream.client.d.unload(Unknown Source)
	at com.servoy.j2db.plugins.PluginManager.flushCachedItems(Unknown Source)
	at com.servoy.j2db.ClientState.shutDown(Unknown Source)
	at com.servoy.j2db.J2DBClient.shutDown(Unknown Source)
	at com.servoy.j2db.develop.J2DBDeveloper.shutDown(Unknown Source)
	at com.servoy.j2db.J2DBClient$7.windowClosing(Unknown Source)
	at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
	at java.awt.Window.processWindowEvent(Unknown Source)
	at javax.swing.JFrame.processWindowEvent(Unknown Source)
	at java.awt.Window.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.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.<init>(Unknown Source)
	at java.net.Socket.<init>(Unknown Source)
	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
	... 35 more
2009-03-13 23:00:40,800 ERROR [AWT-EventQueue-0] com.servoy.j2db.util.Debug - Throwable
java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
	java.net.ConnectException: Connection refused: connect
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
	at sun.rmi.server.UnicastRef.newCall(Unknown Source)
	at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
	at java.rmi.Naming.lookup(Unknown Source)
	at com.servoy.j2db.plugins.ClientPluginAccessProvider.getServerService(Unknown Source)
	at com.it2be.servoy.plugin.q.a(Unknown Source)
	at com.it2be.servoy.plugin.q.a(Unknown Source)
	at com.it2be.servoy.plugin.tools.b.c(Unknown Source)
	at com.it2be.common.y.e(Unknown Source)
	at com.it2be.common.fg.b(Unknown Source)
	at com.it2be.common.fg.a(Unknown Source)
	at com.it2be.servoy.plugin.tools.c.unload(Unknown Source)
	at com.servoy.j2db.plugins.PluginManager.flushCachedItems(Unknown Source)
	at com.servoy.j2db.ClientState.shutDown(Unknown Source)
	at com.servoy.j2db.J2DBClient.shutDown(Unknown Source)
	at com.servoy.j2db.develop.J2DBDeveloper.shutDown(Unknown Source)
	at com.servoy.j2db.J2DBClient$7.windowClosing(Unknown Source)
	at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
	at java.awt.Window.processWindowEvent(Unknown Source)
	at javax.swing.JFrame.processWindowEvent(Unknown Source)
	at java.awt.Window.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.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.<init>(Unknown Source)
	at java.net.Socket.<init>(Unknown Source)
	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
	... 34 more
2009-03-13 23:00:41,800 ERROR [AWT-EventQueue-0] com.servoy.j2db.util.Debug - Throwable
java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
	java.net.ConnectException: Connection refused: connect
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
	at sun.rmi.server.UnicastRef.newCall(Unknown Source)
	at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
	at java.rmi.Naming.lookup(Unknown Source)
	at com.servoy.j2db.plugins.ClientPluginAccessProvider.getServerService(Unknown Source)
	at com.it2be.servoy.plugin.q.a(Unknown Source)
	at com.it2be.servoy.plugin.q.a(Unknown Source)
	at com.it2be.servoy.plugin.cryptor.b.c(Unknown Source)
	at com.it2be.common.y.e(Unknown Source)
	at com.it2be.common.fg.b(Unknown Source)
	at com.it2be.common.fg.a(Unknown Source)
	at com.it2be.servoy.plugin.cryptor.c.unload(Unknown Source)
	at com.servoy.j2db.plugins.PluginManager.flushCachedItems(Unknown Source)
	at com.servoy.j2db.ClientState.shutDown(Unknown Source)
	at com.servoy.j2db.J2DBClient.shutDown(Unknown Source)
	at com.servoy.j2db.develop.J2DBDeveloper.shutDown(Unknown Source)
	at com.servoy.j2db.J2DBClient$7.windowClosing(Unknown Source)
	at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
	at java.awt.Window.processWindowEvent(Unknown Source)
	at javax.swing.JFrame.processWindowEvent(Unknown Source)
	at java.awt.Window.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.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.<init>(Unknown Source)
	at java.net.Socket.<init>(Unknown Source)
	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
	... 34 more
2009-03-13 23:00:42,800 ERROR [AWT-EventQueue-0] com.servoy.j2db.util.Debug - Throwable
java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
	java.net.ConnectException: Connection refused: connect
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
	at sun.rmi.server.UnicastRef.newCall(Unknown Source)
	at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
	at java.rmi.Naming.lookup(Unknown Source)
	at com.servoy.j2db.plugins.ClientPluginAccessProvider.getServerService(Unknown Source)
	at com.it2be.servoy.plugin.q.a(Unknown Source)
	at com.it2be.servoy.plugin.q.a(Unknown Source)
	at com.it2be.servoy.plugin.ftp.b.c(Unknown Source)
	at com.it2be.common.y.e(Unknown Source)
	at com.it2be.common.fg.b(Unknown Source)
	at com.it2be.common.fg.a(Unknown Source)
	at com.it2be.servoy.plugin.ftp.c.unload(Unknown Source)
	at com.servoy.j2db.plugins.PluginManager.flushCachedItems(Unknown Source)
	at com.servoy.j2db.ClientState.shutDown(Unknown Source)
	at com.servoy.j2db.J2DBClient.shutDown(Unknown Source)
	at com.servoy.j2db.develop.J2DBDeveloper.shutDown(Unknown Source)
	at com.servoy.j2db.J2DBClient$7.windowClosing(Unknown Source)
	at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
	at java.awt.Window.processWindowEvent(Unknown Source)
	at javax.swing.JFrame.processWindowEvent(Unknown Source)
	at java.awt.Window.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.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.<init>(Unknown Source)
	at java.net.Socket.<init>(Unknown Source)
	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
	... 34 more
2009-03-13 23:00:43,800 ERROR [AWT-EventQueue-0] com.servoy.j2db.util.Debug - Throwable
java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
	java.net.ConnectException: Connection refused: connect
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
	at sun.rmi.server.UnicastRef.newCall(Unknown Source)
	at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
	at java.rmi.Naming.lookup(Unknown Source)
	at com.servoy.j2db.plugins.ClientPluginAccessProvider.getServerService(Unknown Source)
	at com.it2be.servoy.plugin.q.a(Unknown Source)
	at com.it2be.servoy.plugin.q.a(Unknown Source)
	at com.it2be.servoy.plugin.menubar.b.c(Unknown Source)
	at com.it2be.common.y.e(Unknown Source)
	at com.it2be.common.fg.b(Unknown Source)
	at com.it2be.common.fg.a(Unknown Source)
	at com.it2be.servoy.plugin.menubar.c.unload(Unknown Source)
	at com.servoy.j2db.plugins.PluginManager.flushCachedItems(Unknown Source)
	at com.servoy.j2db.ClientState.shutDown(Unknown Source)
	at com.servoy.j2db.J2DBClient.shutDown(Unknown Source)
	at com.servoy.j2db.develop.J2DBDeveloper.shutDown(Unknown Source)
	at com.servoy.j2db.J2DBClient$7.windowClosing(Unknown Source)
	at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
	at java.awt.Window.processWindowEvent(Unknown Source)
	at javax.swing.JFrame.processWindowEvent(Unknown Source)
	at java.awt.Window.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.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.<init>(Unknown Source)
	at java.net.Socket.<init>(Unknown Source)
	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
	... 34 more
2009-03-13 23:00:44,800 ERROR [AWT-EventQueue-0] com.servoy.j2db.util.Debug - Throwable
java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
	java.net.ConnectException: Connection refused: connect
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
	at sun.rmi.server.UnicastRef.newCall(Unknown Source)
	at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
	at java.rmi.Naming.lookup(Unknown Source)
	at com.servoy.j2db.plugins.ClientPluginAccessProvider.getServerService(Unknown Source)
	at com.it2be.servoy.plugin.q.a(Unknown Source)
	at com.it2be.servoy.plugin.q.a(Unknown Source)
	at com.it2be.servoy.plugin.data.b.c(Unknown Source)
	at com.it2be.common.y.e(Unknown Source)
	at com.it2be.common.fg.b(Unknown Source)
	at com.it2be.common.fg.a(Unknown Source)
	at com.it2be.servoy.plugin.data.c.unload(Unknown Source)
	at com.servoy.j2db.plugins.PluginManager.flushCachedItems(Unknown Source)
	at com.servoy.j2db.ClientState.shutDown(Unknown Source)
	at com.servoy.j2db.J2DBClient.shutDown(Unknown Source)
	at com.servoy.j2db.develop.J2DBDeveloper.shutDown(Unknown Source)
	at com.servoy.j2db.J2DBClient$7.windowClosing(Unknown Source)
	at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
	at java.awt.Window.processWindowEvent(Unknown Source)
	at javax.swing.JFrame.processWindowEvent(Unknown Source)
	at java.awt.Window.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.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.<init>(Unknown Source)
	at java.net.Socket.<init>(Unknown Source)
	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
	... 34 more
2009-03-13 23:00:45,800 ERROR [AWT-EventQueue-0] com.servoy.j2db.util.Debug - Throwable
java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
	java.net.ConnectException: Connection refused: connect
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
	at sun.rmi.server.UnicastRef.newCall(Unknown Source)
	at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
	at java.rmi.Naming.lookup(Unknown Source)
	at com.servoy.j2db.plugins.ClientPluginAccessProvider.getServerService(Unknown Source)
	at com.it2be.servoy.plugin.q.a(Unknown Source)
	at com.it2be.servoy.plugin.q.a(Unknown Source)
	at com.it2be.servoy.plugin.decorator.c.c(Unknown Source)
	at com.it2be.common.y.e(Unknown Source)
	at com.it2be.common.fg.b(Unknown Source)
	at com.it2be.common.fg.a(Unknown Source)
	at com.it2be.servoy.plugin.decorator.d.unload(Unknown Source)
	at com.servoy.j2db.plugins.PluginManager.flushCachedItems(Unknown Source)
	at com.servoy.j2db.ClientState.shutDown(Unknown Source)
	at com.servoy.j2db.J2DBClient.shutDown(Unknown Source)
	at com.servoy.j2db.develop.J2DBDeveloper.shutDown(Unknown Source)
	at com.servoy.j2db.J2DBClient$7.windowClosing(Unknown Source)
	at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
	at java.awt.Window.processWindowEvent(Unknown Source)
	at javax.swing.JFrame.processWindowEvent(Unknown Source)
	at java.awt.Window.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.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.<init>(Unknown Source)
	at java.net.Socket.<init>(Unknown Source)
	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
	... 34 more

Interestingly, in Servoy Prefs>Database tab I can see the repository and other connections, they all look good.
I can’t connect to localhost:8080, and the HTTP test in Prefs fails.

I wonder if it’s the Vista UAC - but I can’t see why it was working before and now it’s broken.
Very grateful if anyone has suggestions, short of re-installing Vista, which I may have to do.

Is your firewall blocking your iAnywhere port? Did you copy the database files correctly? Maybe rights are no longer correct under vista. What does your sybase log file say (sybase_log.txt in sybase_db) ?

Hi Jan,

Firewall turned off, makes not difference.
I copied the whole folder from Vista to XP, it worked, copied it back, it didn’t work. I checked the file attributes, all were marked read-only on both XP and windows. Changing this had no effect.

Here;s the Sybase log

I. 03/15 15:53:50. Database server started at Sun Mar 15 2009 15:53
I. 03/15 15:53:50. Trying to start SharedMemory link ...
I. 03/15 15:53:50.     SharedMemory link started successfully
I. 03/15 15:53:50. Trying to start TCPIP link ...
I. 03/15 15:53:51. Starting on port 2638
I. 03/15 15:53:51.     TCPIP link started successfully
I. 03/15 15:53:51. Now accepting requests

So it looks like Sybase can open them, but not servoy.

antonio:
Hi Jan,

Firewall turned off, makes not difference.
I copied the whole folder from Vista to XP, it worked, copied it back, it didn’t work. I checked the file attributes, all were marked read-only on both XP and windows. Changing this had no effect.

Here;s the Sybase log

I. 03/15 15:53:50. Database server started at Sun Mar 15 2009 15:53

I. 03/15 15:53:50. Trying to start SharedMemory link …
I. 03/15 15:53:50. SharedMemory link started successfully
I. 03/15 15:53:50. Trying to start TCPIP link …
I. 03/15 15:53:51. Starting on port 2638
I. 03/15 15:53:51. TCPIP link started successfully
I. 03/15 15:53:51. Now accepting requests




So it looks like Sybase can open them, but not servoy.

While I realize that Australia is in a different timezone March 15 looks like you’re looking at an old entry. Conclusion:

  • either Sybase is not starting at all (no execution rights?)
  • there is no write access to the logfile?

It was a log file I’d saved for reference. The current one is the same. Sybase starts fine in every case.

ok, I’m confused now, both your logfiles are from earlier dates and your database is running fine. Messy.

I recommend clean install and upload the results of those logfiles here so we are all looking at the something that is actually happening as opposed to random historical logfiles.

Have you tried disabling Vista’s UAC yet? We had a lot of trouble installing Servoy on Vista, and one of the first things we did was to disable UAC. That allowed us to get Servoy up and running and to debug the other issues we were having. Once everything was debugged, we re-enabled UAC.

Also, check your Windows firewall settings…make certain you allow ports 1099, 8080, and 2638 (this was another problem we had).

You do not need to re-install Vista.

Hi Jan,

Problem fixed, the hard drive just died. We’ll have a nice fresh OS shortly.

Tony

FWIW, the latest logs were exactly the same as the many others I’d saved, Sybase was starting, Servoy wasn’t.