Logo QF-Test

Finding valuable answers
in the Mailing List Archive.

 

Free Trial  Download  Buy

Thomas Max, QF-Test training and support

Use the full-text search on our web site to find helpful tips on the mailing list.

Thomas Max, 
Sr. Software Engineer & Trainer, QFS

2016 up to now | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2007


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] Question : How to Instrument the JRE on the fly?


  • Subject: Re: [QF-Test] Question : How to Instrument the JRE on the fly?
  • From: Laurent Dolle <ldolle@?.com>
  • Date: Thu, 5 Jul 2007 11:26:14 +0200


Hi,

    > At the end of installation The setup launch a java application (just freshly installed by the setup) which includes its own JVM.
What you call "its own JVM" is usually a JRE which is installed by IA during the installation process and which can be chosen in the "Build" section of your *.iap_xml file.
This JRE is actually a *.vm file located in ...\resource\installer_vms\.

So you can easily choose another JRE (one you have instrumented and then packed into a *.vm file). This JRE will eventually be used to launch your Java application.

Instrumenting the JRE afterwards is a good idea, but I have never done it.
However, since embedding a JRE in an installer is usually a good idea, why not taking advantage of this fact by instrumenting the JRE before the installation?

Rgds,
Laurent Dollé
---
Thales Security Solutions & Services, on behalf of:
Amadeus - Global Core - Java Middleware
+33 (0)4 97 15 34 24



Stéphane Savariau <ssavariau@?.com>
To
"Laurent Dolle" <ldolle@xxxxxxxxxxx>
cc
<qftest-list@?.de>, <qftest-list-bounces@?.de>
bcc
Subject
RE: [QF-Test] Question : How to Instrument the JRE on the fly?


Stéphane Savariau <ssavariau@?.com>  

05/07/2007 10:51




Hi,
 
I guess I was not enough clear.
For your information, I am able to automate IA install by launching the setup and force it using an already instrumented VM. The option is LAX_VM <path_to_vm>
 
The problem is
At the end of installation The setup launch a java application (just freshly installed by the setup) which includes its own JVM.
The JVM (just installed) is not yet instrumented and I’m searching a way to instrument it without doing it manually through Extra menu.
 
How can I instrumentate this new installed JVM by copying the right files and updating the right properties files.
 
HTH
 
Stephane s
 
Infovista.com
 
From: Laurent Dolle [mailto:ldolle@?.com]
Sent:
jeudi 5 juillet 2007 10:43
To:
Stéphane Savariau
Cc:
qftest-list@?.de; qftest-list-bounces@?.de
Subject:
Re: [QF-Test] Question : How to Instrument the JRE on the fly?

 

Hi Stéphane,


Usually, InstallAnywhere uses a special *.vm file (located in ...\resource\installer_vms\) to wrap the JRE.

We have discovered empirically that such files can be opened with Winzip (other zip tools will probably work also). So my advice would be to create your own *.vm file by using an already manually instrumented JRE.


Hope this is enough for you to understand.


Rgds,
Laurent Dollé
---
Thales Security Solutions & Services, on behalf of:
Amadeus - Global Core - Java Middleware
+33 (0)4 97 15 34 24


Stéphane Savariau <ssavariau@?.com>


To
<qftest-list@?.de>
cc
bcc
Subject
[QF-Test] Question : How to Instrument the JRE on the fly?

 



Stéphane Savariau <ssavariau@?.com>  

Sent by: qftest-list-bounces@?.de  
05/07/2007 09:38





Context :
------------

With QFTEST 2.0, I’m currently designing a test-set that deploy one of our product with InstallAnywhere.

The installation behavior of this application deployment is the following:

Just before the end of installation process, the setup launch a java application (Database configuration) that uses the freshly installed JRE.

 
 
My problem:  

----------------

I would like to instrumentate this freshly installed jre. But every way I used failed.

 
1-      I have tried to instrumentate with QFTEST Console, but unfortunately, the setup delete all files if already exist. So that the instrumentation is lost. I have to manage instrumentation manually and this is a blocking issue for full automation deployment.

2-      I tried to  copy the correct files at the correct place (as we did previously with QFTest 1.06) but QFTEST indicates that the JRE is not correctly instrumentate.
 
Accessibility.properties in <product name>\jre\lib

Qfconnect.jar in <product name>\jre\lib\ext

Update qfconnect.properties with correct properties

 
Something missing here?

 
 
Question:
---------

Is it possible to instrumentate on the fly a specific JRE?

If yes, could you please indicates the step by step and/or needed files?

 
Thanks in advance.

 
Stephane S

Infovista.com_______________________________________________
qftest-list mailing list
qftest-list@?.de
http://www.qfs.de/mailman/listinfo/qftest-list


Videos Downloads Documentation Buy Free Trial