Not open solution

Hi all

I have a problem for open my applications through the wan network

If I open my application through the Lan, all is Ok but through the wan, it dosen´t show the applications to open

I don’t have firewalls, proxy, and nothing. I use 1099 port for smart an 5432 port for PostgreSql. These ports are open in my router

If I use the tunnel on Servoy server, the application works fine, but It´s very slow.

What needs to change on the server?.

This occurs with Windows, Linux y Mac

I use Servoy 5.2.1

Thanks

if tunnel is working, than I think 1099 is closed!!

Does the server has 2 networkcards? or is it behind a NAT?

Thanks Harjo.

The 1099 port it´s allready open, and even changed the port for probe and nothing.

I don´t have NAT, in my router I have directed 1099 port to the server.

Thanks

You say you dont have NAT on your router, but you pointed the port to the server?? that I don’t understand.

if you are pointing a port to a server, than that is NAT.

what does the java webstart console on the client say when you show the client through wan.

Thanks Jcompagner.

In my java client console I have this:

Debug class loaded with class org.apache.commons.logging.LogFactory
Debug log initialized
06-oct-2010 23:05:41 com.servoy.j2db.util.Debug error
GRAVE: Throwable
java.rmi.ConnectException: Connection refused to host: 192.168.0.3; nested exception is:
java.net.ConnectException: 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.invoke(Unknown Source)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unknown Source)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source)
at $Proxy0.getClientHost(Unknown Source)
at com.servoy.j2db.ClientState.createClientHost(ClientState.java:782)
at com.servoy.j2db.ClientState.getClientHost(ClientState.java:715)
at com.servoy.j2db.ClientState.registerClient(ClientState.java:570)
at com.servoy.j2db.smart.J2DBClient.registerClient(J2DBClient.java:3327)
at com.servoy.j2db.ClientState.applicationServerInit(ClientState.java:289)
at com.servoy.j2db.smart.J2DBClient.applicationServerInit(J2DBClient.java:1069)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:744)
at com.servoy.j2db.smart.J2DBClient$5.run(J2DBClient.java:663)
at com.servoy.j2db.smart.J2DBClient.mainImpl(J2DBClient.java:687)
at com.servoy.j2db.smart.J2DBClient.main(J2DBClient.java:651)
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.net.ConnectException: Connection timed out: 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 com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(Unknown Source)
at com.servoy.j2db.rmi.RMIClientSSLSocketFactory.createSocket(RMIClientSSLSocketFactory.java:76)
… 26 more

Thanks

i tries to connect to 192.168.0.3; which sounds like an internal address

what is the rmihostname on the server? is that 127.0.0.1 ?

Ok I change to 127.0.0.1 and works fine

when I try to download the Servoy Smart Client, I get the following error in relation to org.eclipse.swt.win32.win32.x86_3.6.0.v3650b.jar:

console:

Java Web Start Error:

Impossibile caricare la risorsa: (http://192.168.1.234:8080/browser_suite … 1919568000, 1281919568000)

wrapper exception:
ava.io.FileNotFoundException: http://192.168.1.234:8080/browser_suite … 1919568000
at sun.reflect.GeneratedConstructorAccessor2.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: http://192.168.1.234:8080/browser_suite … 1919568000
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
… 20 more

My Server Information is:
Servoy version 4.1.7 -build 690

JDK Information
java.vm.name=Java HotSpot™ Client VM
java.version=1.6.0_17-b04
java.vm.info=mixed mode, sharing
java.vm.vendor=Sun Microsystems Inc.

Operating System Information
os.name=Windows XP
os.version=5.1
os.arch=x86

Client information:
java version “1.6.0_17”
Java™ SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot™ Client VM (build 14.3-b01, mixed mode, sharing)

did you install the browsersuite bean?

I think you are missing some files, that can be found under: application_server/server/web_apps/root/browsersuite…

btw; this has nothing to do with this topic subject, so it’s better to open a new topic… ;-)

Thank Harjo!
Now I try your suggestion! :)