Focal Point
[SOLVED] WebFocus: JSCOM3 start failed: could not load JavaVM libraries.

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/6997039096

November 22, 2018, 01:34 PM
Piter
[SOLVED] WebFocus: JSCOM3 start failed: could not load JavaVM libraries.
Hello,

It looks this problem discussed many many times, but I cannot solve even spend 10h on search and test.

I have Excel issue with Excel2016 and trying to use SET EXCELSERVURL = ''

But I am gettitng error

CPJAVA: Error in processing INIT command for Class ibi.jsexcel.JscomExcelZip

So I understood I need ot setup java path. My envinroment contains 2 servers :Reporting server one machine, Portal/Client another machine).

On server there were no java at all. So I installed and tested different versions.

Now I have JRE 8 installed. I see in logs:
11/22/2018 20:19:59.628 I Workspace initialization completed
11/22/2018 20:19:59.628 I (EDA13023) ALL INITIAL SERVERS STARTED
11/22/2018 20:19:59.628 I ----------------------------------------------------------
11/22/2018 20:19:59.628 I HTTP listening on tcp :::8121
11/22/2018 20:19:59.628 I HTTP thread stack size
11/22/2018 20:19:59.628 I request by t3rp3200 to notify agent is ready (tscomid=1)
11/22/2018 20:19:59.644 I request by t3rp240 to notify agent is ready (tscomid=2)
11/22/2018 20:19:59.644 I request by t3rp3960 to notify agent is ready (tscomid=3)
11/22/2018 20:19:59.644 E Failed to load JVM (module jvm)
11/22/2018 20:19:59.644 E JSCOM3 start failed: could not load JavaVM libraries.
11/22/2018 20:19:59.644 - Use jscom3 trace to get detailed diagnostic information.
11/22/2018 20:19:59.644 -
11/22/2018 20:19:59.644 - To specify the location of java installation, set
11/22/2018 20:19:59.644 - the environment variable JDK_HOME (if JDK is installed)
11/22/2018 20:19:59.644 - or JAVA_HOME (if only JRE is installed).
11/22/2018 20:19:59.644 - This path is searched in a platform-specific way for
11/22/2018 20:19:59.644 - location of JVM. You can override this by exporting
11/22/2018 20:19:59.644 - environment variable IBI_JNIPATH pointing to a
11/22/2018 20:19:59.644 - list of paths which will be searched for JVM.
11/22/2018 20:19:59.644 -
11/22/2018 20:19:59.644 - Search for JVM was controlled by
11/22/2018 20:19:59.644 - JAVA_HOME=C:\Java8JRE
11/22/2018 20:19:59.644 - and resulted in the following list:
11/22/2018 20:19:59.644 - _IBI_JNIPATH:
11/22/2018 20:19:59.644 - C:\Java8JRE\bin
11/22/2018 20:19:59.644 - C:\Java8JRE\lib
11/22/2018 20:19:59.644 - C:\Java8JRE\bin\server
11/22/2018 20:19:59.644 - C:\Java8JRE\bin\client
11/22/2018 20:19:59.644 - C:\Java8JRE\jre\lib
11/22/2018 20:19:59.644 E jscom3c: js3crt failed

I have JAVA_HOME defined, Server see that. Server founding directories but still does not work. What can be an issue?

ps: I did nothing till now on Portal/Client machine as I like to make server forking first.

Thank you in advance for any help

This message has been edited. Last edited by: FP Mod Chuck,


Wf7704/WF8,Win64/32
November 22, 2018, 02:22 PM
BabakNYC
It looks like you don’t have the right version of Java. If you’re running WebFOCUS 8.2xx download the latest JDK that matches your OS.


WebFOCUS 8206, Unix, Windows
November 22, 2018, 02:40 PM
Piter
That issue is on 7704. Correct version will be java 7?

I tried 8, 11 both JDK or JRE- that does not give me solution. Ok, Will try to find version 7.


If any other opinions I will be grateful


Wf7704/WF8,Win64/32
November 22, 2018, 02:53 PM
Piter
No, version is not an issue, imo. Tried with version 7


11/22/2018 21:51:41.181 E Failed to load JVM (module jvm)
11/22/2018 21:51:41.182 E JSCOM3 start failed: could not load JavaVM libraries.
11/22/2018 21:51:41.182 - Use jscom3 trace to get detailed diagnostic information.
11/22/2018 21:51:41.182 -
11/22/2018 21:51:41.182 - To specify the location of java installation, set
11/22/2018 21:51:41.182 - the environment variable JDK_HOME (if JDK is installed)
11/22/2018 21:51:41.182 - or JAVA_HOME (if only JRE is installed).
11/22/2018 21:51:41.182 - This path is searched in a platform-specific way for
11/22/2018 21:51:41.182 - location of JVM. You can override this by exporting
11/22/2018 21:51:41.182 - environment variable IBI_JNIPATH pointing to a
11/22/2018 21:51:41.182 - list of paths which will be searched for JVM.
11/22/2018 21:51:41.182 -
11/22/2018 21:51:41.182 - Search for JVM was controlled by
11/22/2018 21:51:41.182 - JDK_HOME=C:\Java7\jdk1.7.0_80
11/22/2018 21:51:41.182 - and resulted in the following list:
11/22/2018 21:51:41.182 - _IBI_JNIPATH:
11/22/2018 21:51:41.182 - C:\Java7\jdk1.7.0_80\bin
11/22/2018 21:51:41.182 - C:\Java7\jdk1.7.0_80\lib
11/22/2018 21:51:41.182 - C:\Java7\jdk1.7.0_80\jre\bin
11/22/2018 21:51:41.182 - C:\Java7\jdk1.7.0_80\jre\bin\server
11/22/2018 21:51:41.182 - C:\Java7\jdk1.7.0_80\jre\bin\client
11/22/2018 21:51:41.182 - C:\Java7\jdk1.7.0_80\jre\lib
11/22/2018 21:51:41.182 E jscom3c: js3crt failed


Wf7704/WF8,Win64/32
November 23, 2018, 07:39 AM
BabakNYC
32 bit or 64 bit?

Also, try system environment variables by adding JDK_HOME instead of
using JAVA_HOME to see if it makes a difference.


WebFOCUS 8206, Unix, Windows
November 23, 2018, 08:20 AM
Piter
Yes, tried to have only JAVA_HOME or only JDK_HOME or both together. As well tried to use Java 1.5

Same issue. Sure 32bit, from what I saw in forums, WF signaling errors if 64bit is in use.

I understand that WF see all needed directories, so Path must be ok. But probably WF miss some specific file.

Is there any way to trace jscom3? Trace at the moment is empty.

I was thinking to copy JSCOM3 from wf8, but will it work? also there are *.jat, *.exe and jscom3.dll. Which one RepServer uses to start Java service?

p.s. now tested java 6 also. same issue...

This message has been edited. Last edited by: Piter,


Wf7704/WF8,Win64/32
November 23, 2018, 09:24 AM
BabakNYC
I doubt swapping JSCOMS from different versions is the way to go. Take a look at edaprint on the server. However, if none of these work, you ought to open a case with IB tech support. They can trace things much better.


WebFOCUS 8206, Unix, Windows
November 23, 2018, 12:59 PM
Piter
Amazing. That is solved when I installed 64bit version of Java.


Wf7704/WF8,Win64/32
November 23, 2018, 06:40 PM
FP Mod Chuck
PIter

It really isnt that amazing. The WF Reporting server can be either 32 bit or 64 bit so you have to match the java version to the server version in that regard. The edaprint.log file will tell you which one you have.

buildsys = Windows 2012 R2 Server Family X86_64 64bit


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats