Hi,
I have a java program to do encryption and the same will be decrypted using a voltage API.
Here the issue is the java program is working fine
- Load the java bindings. This requires the simplejava.dll library to be
* in java.library.path. On Windows, put simplejava.dll in C:\WINDOWS.
System.loadLibrary(“simplejava”);
and the API Jar file for this is imported on my Windows 64 bit . Havind JDK version 1.8
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_92
The prgram works in JAVA application on Eclipse
ISSUE
The same program is giving an error in webMethods when run from the same as java service.
Error : -
Could not run ‘Sample’
java.lang.reflect.InvocationTargetException: Could not initialize class com.encrypt.toolkit.LibraryContext
I have placed the .dll file in
C:\SoftwareAG\IntegrationServer\instances\SAG99default\support\win32
and the jar are under C:\SoftwareAG\IntegrationServer\instances\SAG99default\packages\Samples\code\jars
As well as tried by placing the .dll under C:\SoftwareAG\lib
Nothing works and it keeps giving the same error.
This is a working JAVA program but when run from SAG java it is throwing an error.
Can you please help. This is urgent
#Integration-Server-and-ESB#Flow-and-Java-services#webMethods