...
- Run the stopLS.sh script located in the
<LS_INSTALL>/app
directory to stop Tomcat Server. Open stopLS.sh file in an editor and add the
-DuseExternalLock=true
argument to theJAVA_OPTS
configuration:Code Block export JAVA_OPTS=%JAVA"$JAVA_OPTS%OPTS -DuseExternalLock=true true"
- By default, USB devices are configured with 66* permissions, but USB HASP keys require 666. Locate the udev.rules file responsible for USB devices on your Linux distribution and modify the
usb_device
entry to useMODE="0666"
. On Ubuntu 18.04, for example, the configuration would be set in the 50-udev-default.rules file located in the/lib/udev/rules.d/
directory. Execute the following command:
Code Block udevadm control --reload-rules
Plug the USB HASP key into your machine. If the USB HASP key is already plugged in, run the following command as the root user to programmatically insert key:
Code Block udevadm trigger
- Run the startLS.sh script located in the
<LS_INSTALL>/app
directory to start Tomcat Server.
...