Reporting server JSCOM3 JAVA services failed

Reporting server JSCOM3 JAVA services failed

book

Article ID: KB0070855

calendar_today

Updated On:

Products Versions
ibi WebFOCUS WebFOCUS version 82 to 92x

Description

 Errors in edaprint.log 11/27/2023 13:58:25.880 E Failed to load JVM (module jvm) 11/27/2023 13:58:25.880 I   11/27/2023 13:58:25.880 E JSCOM3 start failed: Java JVM DLL failed to load. 11/27/2023 13:58:25.881 E   11/27/2023 13:58:25.881 E  JVM dll is located (and directories added to PATH) by searching ... 11/27/2023 13:58:25.881 E   11/27/2023 13:58:25.881 E  Subdirectories indicated by JDK_HOME environment variable value, then... 11/27/2023 13:58:25.881 E  Subdirectories indicated by JAVA_HOME environment variable value. 11/27/2023 13:58:25.881 E  If variables not set then registry searched for JDK/JRE locations. 11/27/2023 13:58:25.881 E   11/27/2023 13:58:25.881 E  Variables can be set at the machine's global property level or 11/27/2023 13:58:25.881 E  in the server's EDACONF bin\edaenv.cfg configuration file. 11/27/2023 13:58:25.881 E   11/27/2023 13:58:25.881 E  JDK_HOME is set to "c:\bin\Sun\Java\jre1.8" 11/27/2023 13:58:25.881 E  JAVA_HOME is set to "C:\bin\sun\java\jre1.8" 11/27/2023 13:58:25.881 E   11/27/2023 13:58:25.881 E   11/27/2023 13:58:25.881 E  Also see earlier "Configuring..." section of this log (near top) for further 11/27/2023 13:58:25.881 E  information or errors that may have occurred during the JVM configure phase. 11/27/2023 13:58:25.881 E   11/27/2023 13:58:25.881 E jscom3c: js3crt failed 11/27/2023 13:58:25.885 W request by edapmon to notify JSCOM3 Java service (jscomid=2) failed to start 11/27/2023 13:58:25.885 W JSCOM3 Java service is required to access JDBC based datasources and use WebFOCUS graph reports 

Environment

Reporting Servers

Resolution

You will need to add the following to the edaenv.cfg file and re-start the server.

JAVA_HOME=pathtojaveinstall/jre
CLASSPATH=pathtojarfile

Once you have fixed the problem you should see the JAVA path in edaprint.log and the issue has been fixed

Edaprint log: 
01/30/2023 11:12:19.498 I Configuring PATH for Java JVM for JSCOM3 Listener...
01/30/2023 11:12:19.498 I
01/30/2023 11:12:19.498 I  Java location variables are not set, checking if valid JDK or JRE values available from registry.
01/30/2023 11:12:19.498 I  Java JRE found in registry, setting JAVA_HOME=C:\Program Files\Java\jre1.8.0_341
01/30/2023 11:12:19.514 I
01/30/2023 11:12:19.514 I  JAVA_HOME "C:\Program Files\Java\jre1.8.0_341\bin\server\jvm.dll" found, adding
01/30/2023 11:12:19.514 I  directory and parent "C:\Program Files\Java\jre1.8.0_341\bin" directory to path.
User-added image

Issue/Introduction

How to resolve Reporting server JSCOM3 JAVA services failed

Additional Information

Configuring Java Services:- https://docs.tibco.com/pub/wf-rs/9.1.1/doc/pdf/TIB_wf-rs_9.1.1_administration.pdf?id=1
Video - https://www.youtube.com/watch?v=275hA5Hd-nE
Video IBI_CLASSPATH and Java Services Settings - https://www.youtube.com/watch?v=275hA5Hd-nE
Case/02223241