My Oracle Support Banner

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 JUNE 28, 2021

Applies to:

Oracle Agile PLM Framework - Version 9.3.4.0 and later
Oracle 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

  1. Open a Command Prompt on the Application Server
  2. Go to the $AGILE_HOME\agileDomain\tools\FixVault directory
  3. 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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.