This seems to be a result of following change in CoG JGlobus:
"(11/06) Changed the default port returned by https handler to 443
instead of 8443:
http://bugzilla.globus.org/globus/show_bug.cgi?id=4842"
Despite the bug stating that it has been fixed in globus_4_0_branch, I see
that the Handler class in 4.0.x for https, continues to return 8443. I
presume this is to keep backwards compatibility. In 4.2 (and trunk), the
https handler, sets it to 443.
As mentioned in the bug, looks like there is a ServiceURL class that can be
used to expand contact strings and it uses default of 443 for https in both
trunk and branch. Delegation service does not use the ServiceURL class and
hence directly uses CoG values.
It seems to that it was intended to move to 443 as default port for https.
So if anything, branch returning 8443 seems incorrect. I'll add a note on
this change to the documentation once 4.2 documents are open for commits.
But don't think reverting to 8443 is the solution in trunk nor is changing
4.0.x delegation client behavior because of backwards compatibility
constraints.
Rachana
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jaime Frey
> Sent: Wednesday, June 25, 2008 12:01 PM
> To: [email protected]
> Subject: Re: [gt-user] default WS port in 4.2
>
> I'm using the DelegationUtil class's delegate() function. I'm
> converting code written for Globus 4.0 to work with 4.2. Under 4.0,
> calling DelegationUtil.delegate() with a bare hostname
> delegated just
> fine to a container listening on port 8443. With 4.2, I have to
> include the port to avoid a connection refused exception.
>
> -- Jaime
>
> On Jun 25, 2008, at 11:47 AM, Charles Bacon wrote:
>
> > Can you be more specific about what APIs you're using? I'm
> not sure
> > the java clientside APIs are as monolithic as all that.
> 8443 should
> > still be the default.
> >
> >
> > Charles
> >
> > On Jun 25, 2008, at 11:29 AM, Jaime Frey wrote:
> >
> >> The default port used in the java client web services
> tools doesn't
> >> appear to be 8443 anymore in Globus 4.2. But that is the default
> >> port when I stand up a 4.2 WS container. Thus, when I
> don't include
> >> the port with the service location, the client tools report
> >> connection failed. But I can't determine what port they
> are trying
> >> to connect to.
> >>
> >> Is this change intentional?
>
>
> +--------------------------------+-----------------------------------+
> | Jaime Frey | I used to be a heavy gambler. |
> | [EMAIL PROTECTED] | But now I just make mental bets. |
> | http://www.cs.wisc.edu/~jfrey/ | That's how I lost my mind. |
> +--------------------------------+-----------------------------------+
>
>