Glassfish web start application client connection settings
I'm having a lot of trouble getting an application client to work correctly being served via web start with Glassfish v2ur2 behind an Apache web server serving as reverse proxy. Glassfish seems to be ignoring all my attempts to tell the client where to connect to, and it's impossible to find any decent documentation about the Glassfish application client web start mechanism.
Hopefully someone here can help me answer these questions:
* 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/.)
* 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).
* Where can I find some comprehensive, in-depth documentation about how all this works (especially how the connection settings are communicated to the client, and where the server gets them from)?