Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] WebFocus: JSCOM3 start failed: could not load JavaVM libraries.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] WebFocus: JSCOM3 start failed: could not load JavaVM libraries.
 Login/Join
 
Gold member
posted
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
 
Posts: 68 | Registered: February 20, 2004Report This Post
Virtuoso
posted Hide Post
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
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Gold member
posted Hide Post
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
 
Posts: 68 | Registered: February 20, 2004Report This Post
Gold member
posted Hide Post
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
 
Posts: 68 | Registered: February 20, 2004Report This Post
Virtuoso
posted Hide Post
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
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Gold member
posted Hide Post
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
 
Posts: 68 | Registered: February 20, 2004Report This Post
Virtuoso
posted Hide Post
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
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Gold member
posted Hide Post
Amazing. That is solved when I installed 64bit version of Java.


Wf7704/WF8,Win64/32
 
Posts: 68 | Registered: February 20, 2004Report This Post
Virtuoso
posted Hide Post
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
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] WebFocus: JSCOM3 start failed: could not load JavaVM libraries.

Copyright © 1996-2020 Information Builders