Hello,
I am having an issue starting a web app, which is packed as war, using tomcat as a server. I get the following error - Internal error (H0400). I google around a bit, and found that libhasp_linux_xxxxx.so were missing.
After that I have generate those files also, and put them at the same folder were the war is. I does not work still.
So basically what I have done so far:
- Installed Sentinel_LDK_Ubuntu_DEB_Run-time installer version 7.5.1
- Copied libHASPJava.so and libHASP_x86_64.so to the java library path
- Copied safenet-sentinel-hasp-api-j2ee.jar to the Tomcat/lib
- Check the image for the file structure in the webapps folder tomcat (first image)
- Inside the war, in the WEB-INF/lib, there three jars are located (second image)
- The war was protected by using Envelop 7.5 in Windows 8, by selecting Java option
The Ubuntu is a virtual image mounted by Using Oracle Vm Virtual Box.
Any clues what is going on ?
First image
Second image
Best regards! :)
Update -
I just have tried the same setup, but only for .jar (hello world example), and it works.
I forgot to mentioned that we are using a headless version of OS, and it didn't work until I installed a lxde Desktop for ubuntu. Is there a way to use HASP protection in headless regime?