According to Sun's bug database, they deliberately restrict the set of VM 
args that can be passed to web start as a security precaution.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6224426

I suggest you try using the JAVAWS_VM_ARGS environment variable to pass 
the VM args locally (since you wouldn't want to do this in an arbitrary 
webstarted instance of your application anyway.)  This is discussed 
briefly in the following webstart troubleshooting guide (section 3.2):

http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/troubleshooting.03.06.html

Hope this helps,
--Joe

Joe Toomey 
Senior Software Engineer
Rational Software
IBM Software Group 



"Chiquet Thomas" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
02/09/2007 09:58 AM
Please respond to
TPTP Tracing and Profiling Tools Project developer discussions 
<tptp-tracing-profiling-tools-dev@eclipse.org>


To
<[EMAIL PROTECTED]>, <tptp-tracing-profiling-tools-dev@eclipse.org>, 
<[EMAIL PROTECTED]>
cc

Subject
RE: [tptp-tracing-profiling-tools-dev] Profiling Java Web       Start 
Application with TPTP






Hi, Eugene
 
Yes, we tried - from our JNLP file :
 
...
   <resources>
 
        <!-- J2SE version and vm args -->
        <!--<j2se version="1.4+" initial-heap-size="32m" 
max-heap-size="512m" java-vm-args="-Xss512k -XrunpiAgent"/>-->
         <j2se version="1.4+" initial-heap-size="32m" max-heap-size="512m" 
java-vm-args="-XrunpiAgent"/>
 
 
 <!-- Libraries --> 
...
 
 
But we are not sure about the section.
 
Note : the application starts, but the TPTP agent don't see the JWS 
process (also, we started a dummy Java program that is seen by the agent).

De : Eugene Chan [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 8 février 2007 17:00
À : TPTP Tracing and Profiling Tools Project developer discussions; 
Mercier Stephane
Cc : Chiquet Thomas; tptp-tracing-profiling-tools-dev@eclipse.org; 
[EMAIL PROTECTED]
Objet : Re: [tptp-tracing-profiling-tools-dev] Profiling Java Web Start 
Application with TPTP


Hi Stephane, 

Thank you for your interest in TPTP. 

Have you tried 
java-vm-args="-XrunpiAgent" 
in your JNLP file? 

Regards. 
------------------------------------------------------------------------------
Eugene Chan
IBM Toronto Laboratory, Canada




"Mercier Stephane" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED] 
02/08/2007 10:18 AM 

Please respond to
TPTP Tracing and Profiling Tools Project developer discussions 
<tptp-tracing-profiling-tools-dev@eclipse.org>



To
<tptp-tracing-profiling-tools-dev@eclipse.org> 
cc
Chiquet Thomas <[EMAIL PROTECTED]> 
Subject
[tptp-tracing-profiling-tools-dev] Profiling Java Web Start Application 
with TPTP








Hello, 
  
    We are working on a product and we would like to use TPTP 4.3.0 in 
order to benchmark our product. 
We use JavaWebStart to launch our application. But, we have a problem : we 
don't know how to set the runpiAgent:server parameter. 
  
We tried to include this parameter in our JNLP file without any succes. 
  
Have you a solution or a sample JNLP file ? 
  
Thanks 
  
Stephane_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev
_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev

_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev

Reply via email to