FixFileSizeUtility Fails to Run With Error "A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.NoClassDefFoundError"
(Doc ID 2530314.1)
Last updated on MAY 01, 2023
Applies to:
Oracle Agile PLM Framework - Version 9.3.4.0 and laterOracle Agile Product Collaboration - Version 9.3.4.0 and later
Information in this document applies to any platform.
Symptoms
When running the FixFileSizeUtility the following error occurs
Error
D:\Java\jdk1.8.0_xxx\bin\java.exe -classpath FixFileSizeUtility.jar com.agile.webfs.tools.upgrade.FixFileSizeUtility -dburl xxx.xx.xxx.com:1521:xx -dbuserid agile -dbpassword xxx -ifsuser ifsuser -ifspassword xxx
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: javax/ejb/EJBObject
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
Steps
- Open a Command Prompt on the Application Server
- Go to the $AGILE_HOME\agileDomain\tools\FixVault directory
- Run
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 |
Cause |
Solution |