Smart Client launch issue

Questions, answers, tips and ideas on Servoy Client

Smart Client launch issue

Postby jdcunha » Fri Mar 06, 2009 4:59 pm

Hi,

OS: windows XP
Servoy 4.1
JRE 1.6

We have a solution that we use using smart client. It works fine on all PC's except this one PC.

The PC is question can access the solution inside our office network. The moment we try to access the same solution from an outside network it launches the smart client but then just stalls. Seems to me that it doesn't connect to the repository. I tried to clear the java cache,.servoy folder and the Application Data\Sun\Java\Deployment\cache folder and then try to download the smart client again it still does not work outside office network. I tried to make sure that the firewall and the antivirus setting do not conflict with the smart client launch.

I tried to compare the java console message with the other working PC's but I noticed regardless of the launch of the solution inside our office network (where it works) or outside our office network, we get the following message on the java console.

Code: Select all
java.io.FileNotFoundException: http://{IP Address}/wpad.dat
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sun.deploy.net.proxy.AbstractAutoProxyHandler.getJSFileFromURL(Unknown Source)
at com.sun.deploy.net.proxy.AbstractAutoProxyHandler.init(Unknown Source)
at com.sun.deploy.net.proxy.DynamicProxyManager.reset(Unknown Source)
at com.sun.deploy.net.proxy.DeployProxySelector.reset(Unknown Source)
at com.sun.javaws.Main.initializeExecutionEnvironment(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)
INFO  - Debug                      - Starting Servoy from C:\Documents and Settings\charper\Desktop
INFO  - Debug                      - Servoy 4.1.0  build-651 on Windows XP using Java 1.6.0_11
ERROR - Debug                      - Throwable
java.net.SocketException: factory already defined
at java.rmi.server.RMISocketFactory.setSocketFactory(Unknown Source)
at com.servoy.j2db.J2DBClient.Za(J2DBClient.java:664)
at com.servoy.j2db.J2DBClient.Zi(J2DBClient.java:1514)
at com.servoy.j2db.J2DBClient.startupApplication(J2DBClient.java:618)
at com.servoy.j2db.J2DBClient.main(J2DBClient.java:150)
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)
ERROR - Debug                      - Already factory registered com.sun.deploy.net.protocol.rmi.DeployRMISocketFactory


I am running out of options. Any Idea on how to resolve this?

Regards
jdcunha
Last edited by jdcunha on Fri Mar 06, 2009 5:15 pm, edited 1 time in total.
jdcunha
 
Posts: 93
Joined: Wed Dec 19, 2007 7:59 pm

Re: Smart Client launch issue

Postby popdizzle » Fri Mar 06, 2009 5:05 pm

Have you tried installing the client when you're outside the network? If you install inside the network, then take the machine outside, you may be trying to access a different IP address for the server that you can't get to. Just a thought.

--Jason
popdizzle
 
Posts: 144
Joined: Fri Feb 08, 2008 6:07 am

Re: Smart Client launch issue

Postby mboegem » Fri Mar 06, 2009 9:20 pm

Did you try to set the java console settings to 'direct connection' instead of using default browser settings?
I had some strange issue on just 1 desktop like 2 weeks ago. Couldn't get to the real problem, but changing these settings got it working again!
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1742
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Smart Client launch issue

Postby jdcunha » Fri Mar 06, 2009 10:06 pm

Hi,

popdizzle wrote:Have you tried installing the client when you're outside the network? If you install inside the network, then take the machine outside, you may be trying to access a different IP address for the server that you can't get to. Just a thought.

--Jason


Initially i thought the same. I did a clean install outside the network and still had the same issue.

mboegem wrote:Did you try to set the java console settings to 'direct connection' instead of using default browser settings?
I had some strange issue on just 1 desktop like 2 weeks ago. Couldn't get to the real problem, but changing these settings got it working again!


I have never done this before. I will try this out and let you guys know if it worked.

Thanks for the suggestions.

James Dcunha
jdcunha
 
Posts: 93
Joined: Wed Dec 19, 2007 7:59 pm

Re: Smart Client launch issue

Postby andres_achiary » Fri Jun 05, 2009 6:46 pm

mboegem wrote:Did you try to set the java console settings to 'direct connection' instead of using default browser settings?
I had some strange issue on just 1 desktop like 2 weeks ago. Couldn't get to the real problem, but changing these settings got it working again!


this worked for me, thank you very much!
andres_achiary
 
Posts: 31
Joined: Tue Aug 19, 2008 5:19 pm


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 8 guests