Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

How to extract jar files for java over http applications for recording.

How to extract jar files for java over http applications for recording.

 When you browse a website that use java over http, the server will load java jar files into your browser so you can see java GUI’s,


Now If you want to record java over http applications using SilkPerformer, you will need to upload those jar files in Silk Performer as data files. Those jar files reside on the Server where the web service of java over http is.

The main function of those Jar files is to do the deserialization of java into xml. Imagine there are hundreds if not thousand jar files on the Server and we do not know which is which is which.... Therefore, downloading the right files will be very time consuming.

In general, Java Over Http applications will store the .jar files within a temp folder on your local machine when you are loading such applications.

You can grab the .jar files (or their file names) via the information given under the Java Control Panel. The .jar files are actually located at the JAR cache.

You can access the Java Control Panel via Windows Control Panel > Java > General Tab > Temporary Internet Files > Settings > Delete Files.

These are the steps you can take in order to extract the .jar files:

1) You need to clear the .jar cache first. Select Control Panel > Java > General Tab > Temporary Internet Files > Settings > Delete Files. This clears everything within the cache.

2) You need to populate the application's jar files by starting it up. Since the cache is empty, the jar files belong only to the application in this case. So open the application and run what you need in order to repopulate the JAR cache with .jar files from your application. When you are finished, close your application. IMPORTANT: Do not attempt to try any other such applications as this will add unnecessary .jar files to the cache.

3) Select Control Panel > Java > General Tab > Temporary Internet Files > View. This lists the JAR cache and should only contain the .jar files used by your application.

4) From this point onwards, you have 3 options to get these .jar files. Option 1 being the first option you should take and option 3 being the last.

Option 1: For each .jar file, go to the listed URL and download the file. If you cannot download one or all of the .jar files, continue with the next option.

Option 2: Clear the cache again. Open your application again and perform a few business processes. Do not close your application. Open the Java Console . There should be a message for each .jar file telling you the location it is stored in a temporary file on your computer. The files are usually hashed and don’t have .jar extensions. Change the name (including changing each extension to .jar) and copy the file to a known location.

Option 3: If the files don’t show up in the Java console, locate the temporary directory as listed in Control Panel > Java > General Tab >Temporary Internet Files > Settings > Location. Open the specified location and rename all the files in the sub-folders to .jar. Do not rename all the files in the main folder.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2015-05-15 03:25
Updated by:
 
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.