ADADMIN JAR Generation Error: Failed To Generate Product JAR Files In JAVA_TOP :Caused by: java.lang.ClassNotFoundException: sun.security.tools.JarSigner
(Doc ID 2863773.1)
Last updated on SEPTEMBER 20, 2023
Applies to:
Oracle E-Business Suite Technology Stack - Version 12.1.3 to 12.2.11 [Release 12.1 to 12.2]Information in this document applies to any platform.
Symptoms
On : 12.1.3 version, Jserv, JDK, JVM, JRE
Running adadmin to regenerate JAR fails with below error:
ERROR
-----------------------
Validating the files/directories specified for -areas option
ERROR: File/directory xxxx does not exist
ERROR: File/directory -keyPass does not exist
ERROR: File/directory xxx does not exist
ERROR: File/directory -storePass does not exist
ERROR: File/directory -keysEncrypted does not exist
Validating the files/directories specified for -outputSpec option
Validating the directory specified for -lstDir option
Error(s) have occurred; exiting with status 1
Error(s) have occurred; exiting with status 1
Failed to generate product JAR files in JAVA_TOP -
/appl/xxxx/apps/apps_st/comn/java/classes.
adogjf() Unable to generate jar files under JAVA_TOP
Time is: Sat Mar 26 2022 09:29:57
Backing up restart files, if any......Done.
You should check the file
/appl/xxxx/apps/apps_st/appl/admin/ERPPROD/log/JAR26maradadmin.log
for errors.
About to Sign fndnetcharts.jar : Sat Mar 26 2022 09:29:32
Executing: /appl/xxx/apps/tech_st/10.1.3/appsutil/jdk/jre/bin/java -Djava.security.egd=file:/dev/urandom sun.security.tools.JarSigner -keystore ******** -sigfile CUST -signedjar /appl/xxx/apps/apps_st/comn/java/classes/oracle/apps/fnd/jar/fndnetcharts.jar.sig /appl/xxx/apps/apps_st/comn/java/classes/oracle/apps/fnd/jar/fndnetcharts.jar.uns ERPPROD_gnnerp41
ERROR: JarSigner subcommand exited with status 1
No standard output from jarsigner
JarSigner error output:
Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/JarSigner
Caused by: java.lang.ClassNotFoundException: sun.security.tools.JarSigner
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: sun.security.tools.JarSigner. Program will exit.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |