Quantcast
Channel: SCN : Popular Discussions - SAP NetWeaver Gateway Developer Center
Viewing all articles
Browse latest Browse all 1657

Library sapscc20jni could not be loaded

$
0
0

Hi Team,

 

I am trying to start the SAP Hana Cloud connector via the go.bat command. I dont get any error when i start the application i get the osgi prompt on my command window, but after i give the first Administrator login credentials on https://localhost:8443 i get the below error

 

HTTP Status 500 - java.lang.IllegalStateException: Cannot load the Cloud Connector native library. (exception java.lang.UnsatisfiedLinkError: com.sap.scc.jni.SecStoreAccess.getRecord(Ljava/lang/String;)[C)

 

type Exception report

messagejava.lang.IllegalStateException: Cannot load the Cloud Connector native library. (exception java.lang.UnsatisfiedLinkError: com.sap.scc.jni.SecStoreAccess.getRecord(Ljava/lang/String;)[C)

descriptionThe server encountered an internal error that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: java.lang.IllegalStateException: Cannot load the Cloud Connector native library. (exception java.lang.UnsatisfiedLinkError: com.sap.scc.jni.SecStoreAccess.getRecord(Ljava/lang/String;)[C) Check if you have installed the Visual Studio 2010 runtime libraries in the correct version. (vcredist.msi) The 64bit msi can be downloaded from http://www.microsoft.com/download/en/details.aspx?id=14632  org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:465) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) javax.servlet.http.HttpServlet.service(HttpServlet.java:848) com.sap.scc.ui.rt.UTF8Filter.doFilter(UTF8Filter.java:23) 

 

root cause

java.lang.IllegalStateException: Cannot load the Cloud Connector native library. (exception java.lang.UnsatisfiedLinkError: com.sap.scc.jni.SecStoreAccess.getRecord(Ljava/lang/String;)[C) Check if you have installed the Visual Studio 2010 runtime libraries in the correct version. (vcredist.msi) The 64bit msi can be downloaded from http://www.microsoft.com/download/en/details.aspx?id=14632  com.sap.scc.jni.SecStoreAccess.getRec(SecStoreAccess.java:133) com.sap.scc.jni.SecStoreAccess.getRecAsString(SecStoreAccess.java:176) com.sap.scc.config.HttpsProxyValue.loadFromStorage(HttpsProxyValue.java:68) com.sap.scc.config.SccConfig.<init>(SccConfig.java:74) com.sap.scc.config.SccConfig.getInstance(SccConfig.java:56) org.apache.jsp.TunnelServices_jsp._jspService(TunnelServices_jsp.java:609) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:848) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) javax.servlet.http.HttpServlet.service(HttpServlet.java:848) com.sap.scc.ui.rt.UTF8Filter.doFilter(UTF8Filter.java:23) 

 

root cause

 

 

I checked the log file under the log directory ljs_trace.log and i found the following entries before the native x64 libraries error.

 

2013 12 06 12:06:54#+0100#DEBUG#com.sap.scc.jni##anonymous#Start Level Event Dispatcher###Load library sapscc20jni|

2013 12 06 12:06:54#+0100#ERROR#com.sap.scc.jni##anonymous#Start Level Event Dispatcher###Library sapscc20jni could not be loaded

java.lang.UnsatisfiedLinkError: no sapscc20jni in java.library.path

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

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

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

  at com.sap.scc.jni.SecStoreAccess.initialize(SecStoreAccess.java:31)

  at com.sap.scc.jni.Activator.start(Activator.java:11)

  at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)

  at java.security.AccessController.doPrivileged(Native Method)

  at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)

  at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)

  at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)

  at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:389)

  at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1131)

  at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)

  at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)

  at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)

  at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)

  at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)

  at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)

  at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)

  at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)|

 

I have tried searching on the forums but there is no place where i find any information about this. Can anyone help me.

 

BTW i have already tried downloading the x64 libraries, installed the same and tried but the error does not change.

 

I have using the latest SAP HANA Cloud Connector -> sapcc-2.1.1-windows-x64

 

rgds

aditya


Viewing all articles
Browse latest Browse all 1657

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>