|
Re: Help System Problem on Some Machines When RCP App is Installed. [message #462474 is a reply to message #462470] |
Mon, 29 January 2007 19:46 |
Eclipse User |
|
|
|
Originally posted by: dpierre.fnfr.com
Jeff wrote:
> When I install my RCP app on some of my Windows XP machines, the Eclipse help system is not accessible. I get an error saying that the network resource is not available, inside the help window. The help browser never shows, just the error message. It sounds like the help server is not getting started, or maybe an issue with a firewall on the machine??
>
> Has anyone seen/resolved a similar issue on a consistent basis?
>
> Thanks,
>
> Jeff
Hi Jeff,
Make sure that you add the relevant help plugins to your project:
org.apache.lucene
org.eclipse.help.appserver
org.eclipse.help.base
org.eclipse.help.ui
org.eclipse.help.webapp
org.eclipse.tomcat
org.eclipse.ui.forms
*Also ensure that you check off the "unpack after installation" check
box in the plugin tab for the tomcat and webapp plugins
Derek
|
|
|
Re: Help System Problem on Some Machines When RCP App is Installed. [message #462476 is a reply to message #462470] |
Mon, 29 January 2007 20:58 |
Alex Blewitt Messages: 946 Registered: July 2009 |
Senior Member |
|
|
This can happen if your windows machine has a built-in firewall (either the MS one or another, like Symantec/Norton etc.) and it's refusing connections. Or, it might be that your browser is configured with a proxy (though I'm not sure why a home machine might have that; but it's quite possible that a corporate machine will have a proxy installed).
What you should do is try to open a page in a browser on the local machine; generally, it will be of the form http://127.0.0.1:12345. I suspect that the URL or port of the help server may be written out in the log when it starts, but I'm not sure.
Of course, the exact problem is likely to be a mystery; but that can happen in those circumstances.
PS Did you have to wait a long time for your post to show up, or hit refresh multiple times? There were four pretty much identical posts made, and we're trying to track down how such duplicates occur, so if you had any problems posting it and could let us know what they were, that would be great.
Alex.
|
|
|
|
Re: Help System Problem on Some Machines When RCP App is Installed. [message #462493 is a reply to message #462474] |
Tue, 30 January 2007 02:05 |
Jeff Messages: 21 Registered: July 2009 |
Junior Member |
|
|
Thanks for the suggestions. I do have all the necessary plugins.
Actually, I played around with it a little and managed to track down the problem. I have Wildblue satellite Internet service (I live out in the sticks). Their software uses some kind of configuration script in IE that does something strange to the Eclipse help system. Here is what happens:
When you launch the help from the app, the Tomcat server starts correctly on a different port each time (normal). I verified this by doing a netstat -a and looking for a new listening port. I was able to connect from an external Web browser and see my help content. However, Eclipse tried to connect to a strange IP address instead of the 127.0.0.1:12345. It used 67.54.129.55 and the default port 80. Totally wrong! So, the server is running, but the client within Eclipse is choosing the wrong info for some reason and can't connect.
When I go into IE->Tools->Options->Connections->LAN Settings and uncheck the auto detect and use auto config script checkboxes, everything works fine. I'm not familiar with these types of scripts, but it looks like it is doing something with IP addresses and such. I had to do this on my laptop to connect to the Internet through other wireless networks when using IE (obviously Firefox did not have this problem) so that is what made me think to try this.
Disabling the Wildblue wierdism is probably not an option for my end users because they will not be power users by any means and I really don't know what if any implications there might be. So, I found that the following lines of code added to my IPlatformRunnable implementation in my RCP app at the beginning of the run() method allows me to specify a host and port that the application will be forced to use:
System.setProperty("server_host", "localhost");
System.setProperty("server_port", "12345");
Working this into my configuration should take care of the problem.
I hope this helps anyone else who encounters this problem. Wildblue is becoming more and more popular especially in rural areas, so if you are developing a consumer type RCP application, you might want to consider this.
Thanks again for the suggestions,
Jeff
|
|
|
|
Powered by
FUDForum. Page generated in 0.03505 seconds