SAPWebAs :: SAP JVM : Native method decryptString does not exist in JDecrypt

Document ID : KB000049547
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

I have upgraded SAP and now, instead of having the JVM 1.4.2, I have the SAP JVM which is 1.4.2_34. But, the Agent does not recognize the license for SAPWebAs as it does not find JDecrypt:

#1.5 #7A74D7956604001F0000000000EC00380004BBD18719700E#
1332408495943#/System/Security#sap.com/irj#
com.netegrity.siteminder.sap.webas.util.JavaDecrypt#
Guest#0##n/a##5a780e80740111e1c96e0000005cdbae#
SAPEngine_Application_Thread[impl:3]
_30##0#0#Fatal#1#com.netegrity.siteminder.sap.webas.util.
JavaDecrypt#Plain###no JDecrypt in java.library.path#

#1.5 #7A74D7956604001F0000000200EC00380004BBD187197BAE#
1332408495995#/System/Security#sap.com/irj#com.netegrity.
siteminder.sap.webas.util.JavaDecrypt.ndsDecrypt()#
Guest#0##n/a##5a780e80740111e1c96e0000005cdbae#
SAPEngine_Application_Thread[impl:3]_30##0#0#Fatal#1#
com.netegrity.siteminder.sap.webas.util.JavaDecrypt#
Plain###Native method decryptString does not exist in JDecrypt#

and then it cannot take the license:

#1.5 #7A74D7956604001F0000000F00EC00380004BBD1871A04F6#
1332408496030#/System/Security#sap.com/irj#
com.netegrity.siteminder.sap.webas.jaas.SiteMinderLoginModule.
login()#Guest#0##n/a##5a780e80740111e1c96e0000005cdbae#
SAPEngine_Application_Thread[impl:3]_30##0#0#Error#1#
com.netegrity.siteminder.sap.webas.jaas.
SiteMinderLoginModule#Java###[License is invalid]
[{0}]#1#<null>#

How can I solve this issue?

Solution:

If you get an error like "no JDecrypt found in java.library.path" on AIX and SAP Netweaver Versions are greater than 7.0, even though you have the library in the System path with extension "*.a" (eg: libJDecrypt.a), you need to change the shared library file extension in os_libs folder of SAP Netweaver

from "libJDecrypt.a" to "libJDecrypt.so"

You will solve the problem by copying the "*.a" SiteMinder files in the os_libs folder to "*.so".