Users cannot login and the following message is found in the application server log:
java.lang.UnsatisfiedLinkError: J2ZJNIJ4 (Library is already loaded in another ClassLoader)
The log may also include the following message:
java.lang.UnsatisfiedLinkError: CAS9LMJ4 (Library is already loaded in another ClassLoader)
Release : 14.0
Output Management Web Viewer
Web Viewer uses Common Services components Java to z/OS (J2Z) and LMP. These Common Services components include dynamic link library modules (DLLs) which are loaded into the application server and remain loaded as long as the application server remains active.
If one of the following occurs while the application server remains active:
- Stop, then restart the Web Viewer application.
- Undeploy, then redeploy the Web Viewer application.
The restart of Web Viewer will fail because the Common Services component DLLs were already loaded by the Web Viewer application instance previously stopped/undeployed.
The application server must be recycled to ensure the Common Services component DLLs are loaded by the first instance of the Web Viewer application.
Please make sure to recycle the application server when stopping and restarting Web Viewer, or when undeploying and redeploying Web Viewer.
Web Viewer uses a CCS common component called J2Z which is loaded as DLL’s. When Web Viewer is started the first time it loads the J2Z common service and the DLLs become associated with the initial class loader. If you stop and restart Web Viewer it will try to load the J2Z common service into the new class loader which fails as the DLL’s were already loaded. You need to recycle the application server in order to restart Web Viewer.