"Connection to Servoy Server is invalid"

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

"Connection to Servoy Server is invalid"

Postby bobm » Fri Aug 02, 2013 2:06 pm

I am getting the message "Connection to Servoy Server is invalid" when launching the Smart Client from a new installation
The Java Console notes mention Missing permissions and Missing Codebase ...

However the Web Client runs as expected.
I am running version 6.1 and have tried setting the SocketFactory.tunnelConnectionMode to Http&Socket mode.

Could this be how the Cloud Server is set up and if so what settings do I need to have my Cloud Server Provider set for me?

Thanks,
Bob

Java Web Start 10.25.2.17
Using JRE version 1.7.0_25-b17 Java HotSpot(TM) Client VM
User home directory = C:\Users\bmezz_000
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
0-5: set trace level to <n>
----------------------------------------------------
CacheEntry[http://server/servoy-client/my.jnlp]: updateAvailable=true,lastModified=Thu Aug 01 14:49:57 EDT 2013,length=-1
Missing Permissions manifest attribute for: http://server/lib/j2db.jar
Missing Codebase manifest attribute for: http://server/lib/j2db.jar
Missing Permissions manifest attribute for: http://server/lib/js.jar
Missing Codebase manifest attribute for: http://server/lib/js.jar
Missing Permissions manifest attribute for: http://server/lib/commons-logging.jar
Missing Codebase manifest attribute for: http://server/lib/commons-logging.jar
Missing Permissions manifest attribute for: http://server/lib/rmitnl.jar
Missing Codebase manifest attribute for: http://server/lib/rmitnl.jar
Missing Permissions manifest attribute for: http://server/lib/slf4j-api.jar
Missing Codebase manifest attribute for: http://server/lib/slf4j-api.jar
Missing Permissions manifest attribute for: http://server/lib/slf4j-jdk14.jar
Missing Codebase manifest attribute for: http://server/lib/slf4j-jdk14.jar
Aug 02, 2013 7:54:57 AM com.servoy.j2db.util.Debug error
SEVERE: Throwable
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
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 sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.<init>(Unknown Source)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(Unknown Source)
at com.servoy.j2db.rmi.SignallingChannel.connect(SignallingChannel.java:141)
at com.servoy.j2db.rmi.SignallingChannel.<init>(SignallingChannel.java:49)
at com.servoy.j2db.rmi.ClientTwoWaySocketFactory.establishSignallingChannel(ClientTwoWaySocketFactory.java:138)
at com.servoy.j2db.rmi.DefaultClientSocketFactoryFactory.initRMISocketFactory(DefaultClientSocketFactoryFactory.java:55)
at com.servoy.j2db.rmi.DefaultClientSocketFactoryFactory.<init>(DefaultClientSocketFactoryFactory.java:41)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.servoy.j2db.smart.J2DBClient.initRMISocketFactory(J2DBClient.java:830)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:767)
at com.servoy.j2db.smart.J2DBClient$4.run(J2DBClient.java:684)
at com.servoy.j2db.smart.J2DBClient.mainImpl(J2DBClient.java:708)
at com.servoy.j2db.smart.J2DBClient.main(J2DBClient.java:671)
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.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Aug 02, 2013 7:54:57 AM com.servoy.j2db.util.Debug error
SEVERE: Already factory registered com.servoy.j2db.rmi.ClientTwoWaySocketFactory
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
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 sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.<init>(Unknown Source)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(Unknown Source)
at com.servoy.j2db.rmi.ClientTwoWaySocketFactory.createSocket(ClientTwoWaySocketFactory.java:198)
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 com.servoy.j2db.smart.J2DBClient.connectApplicationServer(J2DBClient.java:1854)
at com.servoy.j2db.smart.J2DBClient.startApplicationServerConnection(J2DBClient.java:1833)
at com.servoy.j2db.ClientState.applicationServerInit(ClientState.java:306)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:773)
at com.servoy.j2db.smart.J2DBClient$4.run(J2DBClient.java:684)
at com.servoy.j2db.smart.J2DBClient.mainImpl(J2DBClient.java:708)
at com.servoy.j2db.smart.J2DBClient.main(J2DBClient.java:671)
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.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Aug 02, 2013 7:55:19 AM com.servoy.j2db.util.Debug error
SEVERE: Connection failed to: 173.213.230.12:1099 with endpoint: Endpoint:173.213.230.12:1099, waiting a bit (4s)
java.io.IOException: Connection timed out: connect
at com.servoy.j2db.rmi.ClientTwoWaySocketFactory.createSocket(ClientTwoWaySocketFactory.java:207)
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 com.servoy.j2db.smart.J2DBClient.connectApplicationServer(J2DBClient.java:1854)
at com.servoy.j2db.smart.J2DBClient.startApplicationServerConnection(J2DBClient.java:1833)
at com.servoy.j2db.ClientState.applicationServerInit(ClientState.java:306)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:773)
at com.servoy.j2db.smart.J2DBClient$4.run(J2DBClient.java:684)
at com.servoy.j2db.smart.J2DBClient.mainImpl(J2DBClient.java:708)
at com.servoy.j2db.smart.J2DBClient.main(J2DBClient.java:671)
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.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
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 sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.<init>(Unknown Source)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(Unknown Source)
at com.servoy.j2db.rmi.ClientTwoWaySocketFactory.createSocket(ClientTwoWaySocketFactory.java:198)
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 com.servoy.j2db.smart.J2DBClient.connectApplicationServer(J2DBClient.java:1854)
at com.servoy.j2db.smart.J2DBClient.startApplicationServerConnection(J2DBClient.java:1833)
at com.servoy.j2db.ClientState.applicationServerInit(ClientState.java:306)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:773)
at com.servoy.j2db.smart.J2DBClient$4.run(J2DBClient.java:684)
at com.servoy.j2db.smart.J2DBClient.mainImpl(J2DBClient.java:708)
at com.servoy.j2db.smart.J2DBClient.main(J2DBClient.java:671)
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.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Aug 02, 2013 7:55:44 AM com.servoy.j2db.util.Debug error
SEVERE: Connection failed to: 173.213.230.12:1099 with endpoint: Endpoint:173.213.230.12:1099, waiting a bit (8s)
java.io.IOException: Connection timed out: connect
at com.servoy.j2db.rmi.ClientTwoWaySocketFactory.createSocket(ClientTwoWaySocketFactory.java:207)
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 com.servoy.j2db.smart.J2DBClient.connectApplicationServer(J2DBClient.java:1854)
at com.servoy.j2db.smart.J2DBClient.startApplicationServerConnection(J2DBClient.java:1833)
at com.servoy.j2db.ClientState.applicationServerInit(ClientState.java:306)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:773)
at com.servoy.j2db.smart.J2DBClient$4.run(J2DBClient.java:684)
at com.servoy.j2db.smart.J2DBClient.mainImpl(J2DBClient.java:708)
at com.servoy.j2db.smart.J2DBClient.main(J2DBClient.java:671)
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.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
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 sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.<init>(Unknown Source)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(Unknown Source)
at com.servoy.j2db.rmi.ClientTwoWaySocketFactory.createSocket(ClientTwoWaySocketFactory.java:198)
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 com.servoy.j2db.smart.J2DBClient.connectApplicationServer(J2DBClient.java:1854)
at com.servoy.j2db.smart.J2DBClient.startApplicationServerConnection(J2DBClient.java:1833)
at com.servoy.j2db.ClientState.applicationServerInit(ClientState.java:306)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:773)
at com.servoy.j2db.smart.J2DBClient$4.run(J2DBClient.java:684)
at com.servoy.j2db.smart.J2DBClient.mainImpl(J2DBClient.java:708)
at com.servoy.j2db.smart.J2DBClient.main(J2DBClient.java:671)
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.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Aug 02, 2013 7:56:13 AM com.servoy.j2db.util.Debug error
SEVERE: Connection failed to: 173.213.230.12:1099 with endpoint: Endpoint:173.213.230.12:1099, waiting a bit (12s)
java.io.IOException: Connection timed out: connect
at com.servoy.j2db.rmi.ClientTwoWaySocketFactory.createSocket(ClientTwoWaySocketFactory.java:207)
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 com.servoy.j2db.smart.J2DBClient.connectApplicationServer(J2DBClient.java:1854)
at com.servoy.j2db.smart.J2DBClient.startApplicationServerConnection(J2DBClient.java:1833)
at com.servoy.j2db.ClientState.applicationServerInit(ClientState.java:306)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:773)
at com.servoy.j2db.smart.J2DBClient$4.run(J2DBClient.java:684)
at com.servoy.j2db.smart.J2DBClient.mainImpl(J2DBClient.java:708)
at com.servoy.j2db.smart.J2DBClient.main(J2DBClient.java:671)
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.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
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 sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.<init>(Unknown Source)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(Unknown Source)
at com.servoy.j2db.rmi.ClientTwoWaySocketFactory.createSocket(ClientTwoWaySocketFactory.java:198)
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 com.servoy.j2db.smart.J2DBClient.connectApplicationServer(J2DBClient.java:1854)
at com.servoy.j2db.smart.J2DBClient.startApplicationServerConnection(J2DBClient.java:1833)
at com.servoy.j2db.ClientState.applicationServerInit(ClientState.java:306)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:773)
at com.servoy.j2db.smart.J2DBClient$4.run(J2DBClient.java:684)
at com.servoy.j2db.smart.J2DBClient.mainImpl(J2DBClient.java:708)
at com.servoy.j2db.smart.J2DBClient.main(J2DBClient.java:671)
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.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Aug 02, 2013 7:56:46 AM com.servoy.j2db.util.Debug error
SEVERE: Connection failed to: 173.213.230.12:1099 with endpoint: Endpoint:173.213.230.12:1099, waiting a bit (16s)
java.io.IOException: Connection timed out: connect
at com.servoy.j2db.rmi.ClientTwoWaySocketFactory.createSocket(ClientTwoWaySocketFactory.java:207)
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 com.servoy.j2db.smart.J2DBClient.connectApplicationServer(J2DBClient.java:1854)
at com.servoy.j2db.smart.J2DBClient.startApplicationServerConnection(J2DBClient.java:1833)
at com.servoy.j2db.ClientState.applicationServerInit(ClientState.java:306)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:773)
at com.servoy.j2db.smart.J2DBClient$4.run(J2DBClient.java:684)
at com.servoy.j2db.smart.J2DBClient.mainImpl(J2DBClient.java:708)
at com.servoy.j2db.smart.J2DBClient.main(J2DBClient.java:671)
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.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
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 sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.<init>(Unknown Source)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(Unknown Source)
at com.servoy.j2db.rmi.ClientTwoWaySocketFactory.createSocket(ClientTwoWaySocketFactory.java:198)
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 com.servoy.j2db.smart.J2DBClient.connectApplicationServer(J2DBClient.java:1854)
at com.servoy.j2db.smart.J2DBClient.startApplicationServerConnection(J2DBClient.java:1833)
at com.servoy.j2db.ClientState.applicationServerInit(ClientState.java:306)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:773)
at com.servoy.j2db.smart.J2DBClient$4.run(J2DBClient.java:684)
at com.servoy.j2db.smart.J2DBClient.mainImpl(J2DBClient.java:708)
at com.servoy.j2db.smart.J2DBClient.main(J2DBClient.java:671)
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.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Aug 02, 2013 7:57:23 AM com.servoy.j2db.util.Debug error
SEVERE: Connection failed to: 173.213.230.12:1099 with endpoint: Endpoint:173.213.230.12:1099, waiting a bit (20s)
java.io.IOException: Connection timed out: connect
at com.servoy.j2db.rmi.ClientTwoWaySocketFactory.createSocket(ClientTwoWaySocketFactory.java:207)
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 com.servoy.j2db.smart.J2DBClient.connectApplicationServer(J2DBClient.java:1854)
at com.servoy.j2db.smart.J2DBClient.startApplicationServerConnection(J2DBClient.java:1833)
at com.servoy.j2db.ClientState.applicationServerInit(ClientState.java:306)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:773)
at com.servoy.j2db.smart.J2DBClient$4.run(J2DBClient.java:684)
at com.servoy.j2db.smart.J2DBClient.mainImpl(J2DBClient.java:708)
at com.servoy.j2db.smart.J2DBClient.main(J2DBClient.java:671)
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.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
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 sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.<init>(Unknown Source)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(Unknown Source)
at com.servoy.j2db.rmi.ClientTwoWaySocketFactory.createSocket(ClientTwoWaySocketFactory.java:198)
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 com.servoy.j2db.smart.J2DBClient.connectApplicationServer(J2DBClient.java:1854)
at com.servoy.j2db.smart.J2DBClient.startApplicationServerConnection(J2DBClient.java:1833)
at com.servoy.j2db.ClientState.applicationServerInit(ClientState.java:306)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:773)
at com.servoy.j2db.smart.J2DBClient$4.run(J2DBClient.java:684)
at com.servoy.j2db.smart.J2DBClient.mainImpl(J2DBClient.java:708)
at com.servoy.j2db.smart.J2DBClient.main(J2DBClient.java:671)
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.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Aug 02, 2013 7:58:05 AM com.servoy.j2db.util.Debug error
SEVERE: Error getting the service servoy.IApplicationServer from host 173.213.230.12:1099
java.rmi.ConnectIOException: Exception creating connection to: 173.213.230.12; nested exception is:
java.io.IOException: Connection timed out: 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 com.servoy.j2db.smart.J2DBClient.connectApplicationServer(J2DBClient.java:1854)
at com.servoy.j2db.smart.J2DBClient.startApplicationServerConnection(J2DBClient.java:1833)
at com.servoy.j2db.ClientState.applicationServerInit(ClientState.java:306)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:773)
at com.servoy.j2db.smart.J2DBClient$4.run(J2DBClient.java:684)
at com.servoy.j2db.smart.J2DBClient.mainImpl(J2DBClient.java:708)
at com.servoy.j2db.smart.J2DBClient.main(J2DBClient.java:671)
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.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Connection timed out: connect
at com.servoy.j2db.rmi.ClientTwoWaySocketFactory.createSocket(ClientTwoWaySocketFactory.java:207)
... 21 more
Bob Mezzadri
EyeCOR By Nteon
bobm
 
Posts: 81
Joined: Thu Dec 29, 2011 8:24 pm

Re: "Connection to Servoy Server is invalid"

Postby peterbliskavka » Fri Aug 02, 2013 4:04 pm

peterbliskavka
 
Posts: 30
Joined: Tue May 21, 2013 3:42 pm

Re: "Connection to Servoy Server is invalid"

Postby bobm » Fri Aug 02, 2013 5:03 pm

Thanks for the reply Peter. I have already tried setting the SocketFactory.tunnelConnectionMode to http&socket and that did not correct the issue
also my Java is set for the "Direct Connect"

Any other suggestions?
Bob Mezzadri
EyeCOR By Nteon
bobm
 
Posts: 81
Joined: Thu Dec 29, 2011 8:24 pm

Re: "Connection to Servoy Server is invalid"

Postby bobm » Fri Aug 02, 2013 8:04 pm

Turns out my Cloud Server provider had two separate firewalls that the ports needed to be opened for.
After opening the ports on both firewalls everything seams to be working fine.
Bob Mezzadri
EyeCOR By Nteon
bobm
 
Posts: 81
Joined: Thu Dec 29, 2011 8:24 pm


Return to Installation

Who is online

Users browsing this forum: No registered users and 3 guests