users@glassfish.java.net

Re: Java Web Start Client with -javaagent option

From: <glassfish_at_javadesktop.org>
Date: Thu, 11 Feb 2010 16:10:47 PST

A few things...

1. The -javaagent option will be ignored. The appclient script treats everything after the -client (clientJar) option as an argument to pass to the client itself, not to be interpreted by the java command.

2. You should not need to specify the agent in any way when using the GlassFish appclient command. If I understand correctly, the TopLink Essentials agent is useful for Java SE clients. You are launching a Java EE client, and the app client container's class loader knows how to work with TLE to accomplish the same thing as the -javaagent setting does for Java SE clients.

After you deployed the EAR with the asadmin command and retrieved the required JAR file, launching the client using the appclient command I suggested should have worked. Can you post the output from your attempt to run? You mentioned a TopLink Essentials exception but didn't post it.

Thanks.

- Tim
[Message sent by forum member 'tjquinn' (timothy.quinn_at_sun.com)]

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