How to resolve an error message regarding invalid .dll files.

How to resolve an error message regarding invalid .dll files.

book

Article ID: KB0082779

calendar_today

Updated On:

Products Versions
Spotfire S+ All supported versions

Description

When loading certain libraries in S+ or TSSS you may see an error message stating that certain .dll files cannot be opened.  
 
Example error message:

Loading the NuOpt library:
Initializing ... Warning messages:
1: "C:\PROGRAM FILES (X86)\TIBCO\splus82\module\nuopt\simInit.dll" can't be opened as a DLL; check how it was loaded in: dyn.open(paste(dirs,
"/simInit.dll", sep = ""))
2: "C:\PROGRAM FILES (X86)\TIBCO\splus82\module\nuopt\sim.dll" can't be opened as a DLL; check how it was loaded in: dyn.open(paste(dirs,
"/sim.dll", sep = ""))

Problem in .C("getScallbackFuns",: "getScallbackFuns" is not a symbol in the load table, while calling subroutine getScallbackFuns
Use traceback() to see the call stack

Loading the bigdata or winjava libraries:
1: "C:/PROGRAM FILES/TIBCO/splus81/library/../java/jre/bin/client/jvm.dll" can't be opened as a DLL; check how it was loaded in: dyn.open(jvm.loc)
2: "C:/PROGRAM FILES/TIBCO/splus81/library/winjava/Swinjava.dll" can't be opened as a DLL; check how it was loaded in: dyn.open(dll.loc)

Problem in bd.internal.system.load.error(paste("java not available: ", "failed t..: Error loading big data library: java not available: failed to load library winjava
Use traceback() to see the call stack

Loading a library in TSSS:
Error in jakarta_service_20100830.log:
 ---------------------------------------------
 [2010-08-30 10:46:37] [info] Procrun (2.0.4.0) started [2010-08-30 10:46:37] [info] Running Service...
 [2010-08-30 10:46:37] [info] Starting service...
 [2010-08-30 10:46:37] [174  javajni.c] [error] The specified module could not be found.
 [2010-08-30 10:46:37] [994  prunsrv.c] [error] Failed creating java C:\tibco\tss\3.1/jdk\jre\bin\server\jvm.dll
 [2010-08-30 10:46:37] [1269 prunsrv.c] [error] ServiceStart returned 1 [2010-08-30 10:46:37] [info] Run service finished.
 ----------------------------------------------

 

Issue/Introduction

How to resolve an error message regarding invalid .dll files.

Environment

Product: TIBCO Spotfire S+ Version: 8.2 OS: All supported Operating Systems

Resolution

There are two required .dll files that occasionally do not get loaded into the correct location when Java is initially installed and configured. (See the URL in the Reference section of this KB for more information.) To resolve the error you need to locate the following .dll files.

MSVCR71.DLL
MSVCP71.DLL

These files may be found in another location on your C:\ drive, or you can find free downloads with an Internet search. Once you have these two files, save a copy of each to these two locations on your C:\ drive :

C:\Windows\System32
C:\Windows\SysWOW64

Additional Information

http://www.duckware.com/tech/java6msvcr71.html