cancel
Showing results for 
Search instead for 
Did you mean: 

com.sap.tools.commons.exception.NestedException: Interface requested not found : csLIB

Former Member
0 Kudos

Hi we have this error launching java idt sdk

Quote:

com.sap.tools.commons.exception.NestedException: Interface requested not found : csLIB
 
win32_x86\cs_jni.dll: The specified procedure could not be found


the command is
 

Code:

set CLASSPATH=E:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\SL SDK\java\sl_sdk.jar;E:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer\java\*;D:\ebiexpertsGIT\codenet\XComponents\SoftnTic\UserLibrary - ebi-framework-slsdk\ebi-framework-slsdk-0.0.4-test.jar
 
"E:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\sapjvm\bin\java" -Xmx1g -cp "%CLASSPATH%" "-Dbusinessobjects.connectivity.directory=E:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer" TestOpenBLX BI41SP5 manager boss secEnterprise 785447
 
 


 
Any help thanks

_________________
Jean-Philippe Golay
ebiexperts
SAP-BI Version Manager, Enterprise Manager, Java Abstration Framefork, Development, API, Versionning, Auditing, Migration on All BI 3.x and 4.x Environments

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

The error message you getting is because you have not specified the path variable  for the SL application.

Set the

PATH environment variable to the Connection Server binaries directory:Run for example the following command:

set PATH=<bip-install-dir>\SAP BusinessObjects Enterprise XI 4.0\win32_x86;%path%

Thanks,

Prithvi

Former Member
0 Kudos

It is defined I have this line in my bat before

set PATH=E:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86;%PATH%

It is working on the cms server but not on the client bi41sp5

My colleague get this working with SP4 and SP6

Former Member
0 Kudos

Can you provide the full stack trace of the error?

Have you tested with 32 bit java version.

Attaching a sample compile.bat file, try to test with that. attaching it in txt format as it do not allow me to attach zip files.

Thanks,

Prithvi

Former Member
0 Kudos

Stack trace

D:\ebiexpertsGIT\codenet\XComponents\SoftnTic\UserLibrary - ebi-framework-slsdk>run.bat

ebiexperts SL SDK Framework v0.0.4 using SL SDK v14.1.5.r1501_v20141110

com.sap.tools.commons.exception.NestedException: Interface requested not found : csLIB

        at com.sap.tools.commons.exception.NestedException.create(Unknown Source)

        at com.businessobjects.mds.services.parser.decoder.DataFoundationSQLDecoder.getPRM(DataFoundationSQLDecoder.java:82)

        at com.businessobjects.mds.services.parser.decoder.DataFoundationSQLDecoder.<init>(DataFoundationSQLDecoder.java:97)

        at com.businessobjects.mds.services.parser.decoder.UniverseSQLDecoder.<init>(UniverseSQLDecoder.java:40)

        at com.businessobjects.mds.services.parser.EncodeDecodeHelper.decodeExpression(EncodeDecodeHelper.java:301)

        at com.businessobjects.mds.services.helpers.BindingHelper.decodeExpression(BindingHelper.java:250)

        at com.businessobjects.mds.services.helpers.BindingHelper.decodeResultExpression(BindingHelper.java:264)

        at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.getResultExpression(MdsToSdkBusin

essLayerConverter.java:356)

        at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.copyBusinessItemProperties(MdsToS

dkBusinessLayerConverter.java:311)

        at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.createSdkItem(MdsToSdkBusinessLay

erConverter.java:260)

        at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.copyMdsToSdk(MdsToSdkBusinessLaye

rConverter.java:212)

        at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.copyMdsToSdk(MdsToSdkBusinessLaye

rConverter.java:219)

        at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.createSdkModel(MdsToSdkBusinessLa

yerConverter.java:151)

        at com.sap.sl.sdk.authoring.businesslayer.internal.services.BusinessLayerModelToModel.createSdkModel(BusinessLayerModelToMod

el.java:31)

        at com.sap.sl.sdk.authoring.local.internal.services.LocalResourceServiceImpl.createSdkBusinessLayer(LocalResourceServiceImpl

.java:191)

        at com.sap.sl.sdk.authoring.local.internal.services.LocalResourceServiceImpl.loadInternal(LocalResourceServiceImpl.java:170)

        at com.sap.sl.sdk.authoring.local.internal.services.LocalResourceServiceImpl.load(LocalResourceServiceImpl.java:131)

        at com.ebiexperts.framework.slsdk.IDTApp.openLocalResource(IDTApp.java:244)

        at com.ebiexperts.framework.slsdk.IDTApp.openBusinessLayer(IDTApp.java:200)

        at TestOpenBLX.main(TestOpenBLX.java:21)

Caused by: com.sap.connectivity.cs.core.CSError: Interface requested not found : csLIB

        at com.sap.connectivity.cs.extended.ImplementationManager.getImplementation(ImplementationManager.java:151)

        at com.sap.connectivity.cs.extended.ImplementationManager.getConfiguration(ImplementationManager.java:195)

        at com.sap.connectivity.cs.extended.NLDBProvider.populateMap(NLDBProvider.java:49)

        at com.sap.connectivity.cs.extended.NLDBProvider.getManager(NLDBProvider.java:157)

        at com.sap.connectivity.cs.extended.Provider.getEnvironment(Provider.java:93)

        at com.sap.connectivity.cs.extended.ConnectionServer.JobProfile(ConnectionServer.java:532)

        at com.sap.connectivity.cs.api.trace.EnvironmentLogger.JobProfile(EnvironmentLogger.java:609)

        at com.businessobjects.mds.services.relational.PrmProperties.getDbParameterSet(PrmProperties.java:1403)

        at com.businessobjects.mds.services.relational.PrmProperties.loadFunctions(PrmProperties.java:1446)

        at com.businessobjects.mds.services.relational.PrmProperties.loadParameters(PrmProperties.java:1420)

        at com.businessobjects.mds.services.relational.PrmProperties.<init>(PrmProperties.java:155)

        at com.businessobjects.mds.services.relational.CsService.getPRMProperties(CsService.java:1194)

        at com.businessobjects.mds.services.parser.decoder.DataFoundationSQLDecoder.getPRM(DataFoundationSQLDecoder.java:80)

        ... 18 more

Caused by: java.lang.UnsatisfiedLinkError: E:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x8

6\cs_jni.dll: The specified procedure could not be found

        at java.lang.ClassLoader$NativeLibrary.load(Native Method)

        at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1928)

        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1852)

        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1839)

        at java.lang.Runtime.loadLibrary0(Runtime.java:823)

        at java.lang.System.loadLibrary(System.java:1035)

        at com.sap.connectivity.cs.library.ConnectionServer.<clinit>(ConnectionServer.java:330)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:249)

        at com.businessobjects.connectionserver.ConnectionServer.getImplementation(ConnectionServer.java:428)

        at com.businessobjects.connectionserver.ConnectionServer.getInstance(ConnectionServer.java:132)

        at com.sap.connectivity.cs.extended.ImplementationManager.getImplementation(ImplementationManager.java:144)

        ... 30 more

Former Member
0 Kudos

Are you using 32 bit java or 64 bit java?

As the path variable is set, I would check for the java version.

If you load a 32 bit version of a dll with a 64 bit JRE you could have this issue. That was one of the case I observed earlier.

Thanks,

Prithvi

Former Member
0 Kudos

We use SAP 32 bit jvm in
E:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\sapjvm\bin\java

is that a problem

version is :

Java(TM) SE Runtime Environment (build 6.1.066)

SAP Java Server VM (build 6.1.066 24.55-b13, May  7 2014 19:13:34 - 61_REL - optU - windows x86 - 6 - bas2:217766 (mixed mode))

Former Member
0 Kudos

I have tested yout .bat but same error

I had also updated to SP6

Former Member
0 Kudos

I have not used SL SDKs with sap jvm. Have used oracle jvm, so would need to test it with sap jvm to comment further on it.

Can you check what is the difference between your machine & your colleague's, whether he uses sap jvm to run the application? You may compare the environment variables.

mahieuk
Explorer
0 Kudos

Hello Jean-Philippe

I don't know if you have found a solution for this. I had the same error.

However, after reinstalling/repairing the SAP BO client tools (SP6), the problem was solved.