Highlighted
Absent Member.
Absent Member.
3147 views

Desktop based Java WebStart application

Hi,

We have a requirement to performance test a java webstart application which communicates with the server using java RMI calls. we tried the protocol Java  EJB/RMI but were not able capture any functions. Next we tried the java over http but we werent able to launch the applcaition . we encountered a hooking exception (EXCEPTION in JavaEngineHookArchive: com.segue.javahooking.transformer.HookException: Exception in hookArchive) and the application failed to launch stating  "cannot communicate with the Server". The JRE version is 1.6

 

 

0 Likes
3 Replies
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Hi

You need to be sure of the protocol in use for network communication and the process which generates the traffic (java or javaw.exe etc).  Its also possible that if you identify javaw for example as the process which generates the traffic, that this executable can exist in multiple forms and in multiple locations on the machine.  

Usually you can right click on the process in windows and choose open location (on newer operating systems) and find the exact location of the exe you need to hook.  This should then be added as an application profile.

0 Likes
Highlighted
Absent Member.
Absent Member.

Hi,

following your suggestion i added the JAVAWS.exe in the application profile

(path : C:\Prod\spa\jre6\bin\javaws.exe) and selected additional settings like Java EJB other , Java weblogic  and java RMI. I used the protocol Java RMI/EJB and launched the application from the recorder command line but still nothing is getting recorded.

Thanks

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Hi,

When working with Java WebStart, the following process usually works:

- save the jnlp file to local disk

- create SilkPerformer application profile that hooks javaw.exe (not http/javaws)

- start the recorder from the "record | recorder" menu option

- start the Java application via the jnlp file

Best Regards,

Neil

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.