0% found this document useful (0 votes)
81 views2 pages

Document 1583119.1

Uploaded by

bjaguar33
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
81 views2 pages

Document 1583119.1

Uploaded by

bjaguar33
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Document 1583119.

  PowerView is On Ali (0) Contact Us Help


Support Identifer: 16112605 (Bluering S.A...

  Advanced
Dashboard Knowledge Service Requests Patches & Updates Search Knowledge Base

   

How to Add Manifest Entries into Custom Jar Files Such as jacob.jar or Jar Files Containing Icons (Doc ID To Bottom
1583119.1)
Modifed: 22-Feb-2014 Type: HOWTO Language: English
English

In this Document

Goal
Solution
References

APPLIES TO:

Oracle Forms - Version 11.1.1.6.0 and later


Information in this document applies to any platform.

GOAL

With  the release of JRE 1.7.0_25 permissions and codebase  attributes are expected to be included in the JAR Manifest File. Please see Note 1563023.1

Oracle provided jar fles such as frmall.jar, frmwebutil.jar etc are included with these manifest entries through Patch 17448420 .

If on 11.1.1.4 the manifest fx for Oracle provided jar fles is in Patch 17974937.

Custom jar fles such as jacob.jar, jar fles containing icons, or others may not have these attributes included in the  jar fles  so this note describes how to update
the manifest.

Warning:  Oracle currently does not support re-signing or altering in any way the jar fles provided by Oracle such as frmall.jar, frmwebutil.jar, etc.

SOLUTION

1. Create a text fle with the following entries and place it in the same directory as your jar fle. In this example, we will call it mymanifest.txt

Note that the following attributes should be included as a minimum but their values are examples only.  Depending on your application, you may wish to
consider different values. You can view further documentation on possible values here.  Also, note that in rare situations - especially when multiple jar fles are
being used - the  "Trusted-Library: true" attribute must also be added to the manifest  for jacob.jar or a java.lang.NoClassDefFoundError or
ClassNotFoundException will occur.  A possible explanation for this is found here.

Permissions: all-permissions
Codebase: *
Application-Name: OracleForms

 Note:  The last line of the manifest fle must end in a new line or carriage return.  See Modifying a Manifest File.

2. Include the JDK Path in the environment variable  PATH

     export PATH=<ORACLE_HOME>/jdk/bin:$PATH

3. Add the attributes of the text fle to an existing jar manifest by executing the following command:

    jar -ufm jacob.jar mymanifest.txt

    This will modify the manifest.mf inside the given jar fle.

4. Resign the Jar fle.   (Modifying a signed jar fle in any way will break the signature so resigning is necessary).

https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=232511540974903&id=1583119.1&_afrWindowMode=0&_adf.ctrl-state=o88kf1qzp_4[2/24/2014 3:50:58 PM]


Document 1583119.1

5. Restart the managed Server WLS_FORMS.

6. Clear the Client Jar Cache and retest.

REFERENCES

NOTE:1594575.1 - JRE Security Warning - UNKNOWN Publisher Blocked in Future Releases - JAR File Manifest Missing Permissions Attribute

NOTE:1563023.1 - Release of JRE 1.7.0_25 & 1.6.0_51 and Impact on Oracle Forms
NOTE:1076945.1 - Signing .jar Files for 11g / SIGN_WEBUTIL.BAT Command Results in Error "The Syntax of the Command is Incorrect"

http://www.oracle.com/technetwork/java/javase/7u25-relnotes-1955741.html

Related  

Products  

Middleware > Developer Tools > Database & PLSQL > Oracle Forms > Forms Services, C/S, Charmode > JAR/CAB fles
 

Keywords  

JAR; MANIFEST
 

Translations  

English Source Japanese 日本語

Back to Top
 
Copyright (c) 2014, Oracle. All rights reserved. Legal Notices and Terms of Use Privacy Statement
   

https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=232511540974903&id=1583119.1&_afrWindowMode=0&_adf.ctrl-state=o88kf1qzp_4[2/24/2014 3:50:58 PM]

You might also like