users@glassfish.java.net

Re: Glassfish web start application client connection settings

From: <glassfish_at_javadesktop.org>
Date: Thu, 28 Aug 2008 08:58:01 PDT

> * How can I make Glassfish include the correct
> protocol, host name and port number in the JNLP file
> it generates? (It's putting in
> http://localhost:8080/, which is obviously useless.
> It should be https://www.supplierdna.com/.)

GlassFish uses whatever is returned by servletRequest.getRemoteHost and getRemotePort. Do Dick's earlier comments help?

> * How can I tell the application client to use SSL
> and to correct to the right server and port?
> (Glassfish seems to be ignoring both the sun-acc.xml
> file in the application client, as well as the
> sun-acc.xml file in the domain config directory. I
> have target-server www.supplierdna.com and port 3820
> in both, but the app tries to connect to server
> 127.0.1.1, port 3700, which is obviously useless).

See https://glassfish.dev.java.net/issues/show_bug.cgi?id=3900. We hope to address this soon.
[Message sent by forum member 'tjquinn' (tjquinn)]

http://forums.java.net/jive/thread.jspa?messageID=295963