Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JWS native zip install is missing dependencies #115

Closed
csutherl opened this issue May 10, 2022 · 0 comments · Fixed by #120
Closed

JWS native zip install is missing dependencies #115

csutherl opened this issue May 10, 2022 · 0 comments · Fixed by #120
Assignees
Labels
bugfixes Fixes that resolve issues. SHOULD not be used for minor enhancements

Comments

@csutherl
Copy link
Collaborator

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 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
    ....
@guidograzioli guidograzioli self-assigned this May 18, 2022
@guidograzioli guidograzioli added the bugfixes Fixes that resolve issues. SHOULD not be used for minor enhancements label May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfixes Fixes that resolve issues. SHOULD not be used for minor enhancements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants