users@glassfish.java.net

Re: Major Application client frustrations

From: <glassfish_at_javadesktop.org>
Date: Sat, 28 Apr 2007 17:06:20 PDT

Hi.

Are the errors you included from an attempt to have the client use a server on another system? I assume that's the case, because the error reports that it cannot connect to localhost, which I also assume means you did not have a server running there when you launched the client.

What do you do to try to use a different server?

Are you using the appclient script to start the client? If so, it by default uses the sun-acc.xml file in the ${install-dir}/domains/${domain-name}/config directory to find out what host and port to use in connecting to the server. When you create a domain (which is done automatically as part of installing or as part of the maven configure-runtime or configure-cluster) a default sun-acc.xml is generated.

Check the contents of that file and edit it - or you can make a copy, edit the copy, and specify

-xml <path-for-the-revised-sun-acc.xml>

when you run the appclient script to launch the client.

Check that out and please post your results.

- Tim
[Message sent by forum member 'tjquinn' (tjquinn)]

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