Skip to main content



      Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Is there an external method to get the randomly chosen port number when standalone help is launched
Is there an external method to get the randomly chosen port number when standalone help is launched [message #471299] Wed, 19 December 2007 15:09 Go to next message
Eclipse UserFriend
Originally posted by: nospam_kowalskilee.gmail.com

Hi,

This is a repost of a question originally posted by Pierre Candela. I
responded incorrectly to his original post, so am reposting the question
in case it accidentally got overlooked.

When you launch the standalone help by API, the help system randomly
selects a port for the internal app server to run on.

Post-launch, are there any external methods or other API to find out
which port was selected?

Pierre pointed out the internal
org.eclipse.help.internal.standalone.Options.getConnectionFi le(). But is
there something that is external to get this info?

Thanks!
Lee Anne

(Pierre, if I have again misunderstood the gist of your original
question, do let us know.)
Re: Is there an external method to get the randomly chosen port number when standalone help is launc [message #471429 is a reply to message #471299] Thu, 03 January 2008 14:43 Go to previous message
Eclipse UserFriend
Looking through the source it looks as though this static method would
work. It's internal and therefore could change without notice in a
future release.

org.eclipse.help.internal.server.WebappManager.getPort()

Lee Anne wrote:
> Hi,
>
> This is a repost of a question originally posted by Pierre Candela. I
> responded incorrectly to his original post, so am reposting the question
> in case it accidentally got overlooked.
>
> When you launch the standalone help by API, the help system randomly
> selects a port for the internal app server to run on.
>
> Post-launch, are there any external methods or other API to find out
> which port was selected?
>
> Pierre pointed out the internal
> org.eclipse.help.internal.standalone.Options.getConnectionFi le(). But is
> there something that is external to get this info?
>
> Thanks!
> Lee Anne
>
> (Pierre, if I have again misunderstood the gist of your original
> question, do let us know.)
Re: Is there an external method to get the randomly chosen port number when standalone help is launc [message #606321 is a reply to message #471299] Thu, 03 January 2008 14:43 Go to previous message
Eclipse UserFriend
Looking through the source it looks as though this static method would
work. It's internal and therefore could change without notice in a
future release.

org.eclipse.help.internal.server.WebappManager.getPort()

Lee Anne wrote:
> Hi,
>
> This is a repost of a question originally posted by Pierre Candela. I
> responded incorrectly to his original post, so am reposting the question
> in case it accidentally got overlooked.
>
> When you launch the standalone help by API, the help system randomly
> selects a port for the internal app server to run on.
>
> Post-launch, are there any external methods or other API to find out
> which port was selected?
>
> Pierre pointed out the internal
> org.eclipse.help.internal.standalone.Options.getConnectionFi le(). But is
> there something that is external to get this info?
>
> Thanks!
> Lee Anne
>
> (Pierre, if I have again misunderstood the gist of your original
> question, do let us know.)
Previous Topic:Re: [User Assistance] Help weird content
Next Topic:JavaScript to tell if ActiveHelp is available?
Goto Forum:
  


Current Time: Sun May 18 17:02:47 EDT 2025

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

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

Back to the top