Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Help System Problem on Some Machines When RCP App is Installed.
Help System Problem on Some Machines When RCP App is Installed. [message #462470] Mon, 29 January 2007 19:15 Go to next message
Jeff is currently offline JeffFriend
Messages: 21
Registered: July 2009
Junior Member
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
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
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 #462478 is a reply to message #462476] Mon, 29 January 2007 21:06 Go to previous messageGo to next message
Jeff is currently offline JeffFriend
Messages: 21
Registered: July 2009
Junior Member
Thanks for the reply. I thought that it might be something related to your suggestions. I will do some playing around and post a resolution when I find one.

Yes, when I posted, it never returned. I went and checked the updated list of posts and did not see my post, so I tried again. I repeated this process a few times (thus the four posts) before I noticed that they were showing up. It did not have a problem previewing the post, it just seemed to hang when submitting the post. I am using Firefox 2.0.0.1 on a Win XP Pro box, if that helps at all.

Thanks,

Jeff
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 Go to previous messageGo to next message
Jeff is currently offline JeffFriend
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
Re: Help System Problem on Some Machines When RCP App is Installed. [message #462543 is a reply to message #462493] Tue, 30 January 2007 13:58 Go to previous message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
It looks like the proxy doesn't allow connections to 'localhost' to skip going via the proxy system, which is kinda stupid on their part.

There should be a checkbox there which is along the lines of "allow connections to localhost". It may be that they let through 'localhost' but don't let through '127.0.0.1' which is why your change works. If that's the case, you almost certainly don't need to specify the port as well, but just use 'localhost' instead of '127.0.0.1'.

You should also bring the issue up with wildblue; their config scripts should not be trying to proxy 127.0.0.1 or localhost. It sounds like they let one through, but not the other.

Alex.
Previous Topic:Prevent Editor from Closing
Next Topic:DataBinding and tables
Goto Forum:
  


Current Time: Wed Sep 11 21:08:12 GMT 2024

Powered by FUDForum. Page generated in 0.03505 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top