You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When developing molecule tests for JWS I found that the tomcat_native logic works and correctly unpacks the native zipfile, however it does not install the required dependencies for it to be loaded successfully. Section 2.1.3 of the JWS installation guide has more details, but basically you need to install openssl and apr, and remove (if installed, it shouldn't be) tomcatjss as it conflicts with tomcat-native.
ISSUE TYPE
Bug Report
ANSIBLE VERSION
You know :D
COLLECTION VERSION
Dev build of latest commit.
STEPS TO REPRODUCE
Execute playbook using rhn_zipfiles and tomcat_native: True, then observe the log.
EXPECTED RESULTS
The tomcat-native library is successfully loaded. Example log line below.
INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
ACTUAL RESULTS
Failure to load the tomcat-native library due to missing libapr-1.so.
WARNING [main] org.apache.catalina.core.AprLifecycleListener.init The Apache Tomcat Native library failed to load. The error reported was [/opt/jws-5.6/tomcat/lib/libtcnative-1.so.0.2.30: libapr-1.so.0: cannot open shared object file: No such file or directory]
java.lang.UnsatisfiedLinkError: /opt/jws-5.6/tomcat/lib/libtcnative-1.so.0.2.30: libapr-1.so.0: cannot open shared object file: No such file or directory
....
The text was updated successfully, but these errors were encountered:
SUMMARY
When developing molecule tests for JWS I found that the
tomcat_native
logic works and correctly unpacks the native zipfile, however it does not install the required dependencies for it to be loaded successfully. Section 2.1.3 of the JWS installation guide has more details, but basically you need to installopenssl
andapr
, and remove (if installed, it shouldn't be)tomcatjss
as it conflicts withtomcat-native
.ISSUE TYPE
ANSIBLE VERSION
You know :D
COLLECTION VERSION
Dev build of latest commit.
STEPS TO REPRODUCE
Execute playbook using
rhn_zipfiles
andtomcat_native: True
, then observe the log.EXPECTED RESULTS
The tomcat-native library is successfully loaded. Example log line below.
ACTUAL RESULTS
Failure to load the tomcat-native library due to missing
libapr-1.so
.The text was updated successfully, but these errors were encountered: