Red Hat Bugzilla – Bug 1310346
APR not working with JBoss EAP due to missing 32-bit tc-native and libapr
Last modified: 2016-08-26 16:36:38 EDT
Description of problem:
When trying to enable APR for HTTP connector, JBoss EAP won't start properly. The problem is that OpenShift Online only has 32-bit JVM, while the APR and tc-native in the JBoss EAP module are 64-bit
Version-Release number of selected component (if applicable):
JBoss EAP 6.4.5.GA with 64-bit libapr and tc-native
OpenJDK Runtime Environment (build 1.8.0_71-b15) 32-bit
Steps to Reproduce:
1. Create a gear with JBoss EAP
2. Edit standalone.xml. In urn:jboss:domain:web:1.5, set native="true", set connector protocol="org.apache.coyote.http11.Http11AprProtocol"
3. git commit, git push
4. Restart gear
5. rhc tail (check the output)
Exception thrown and app did not deploy
Should works without error
Red Hat need to use 32-bit libapr + tc-native since the JVM is 32-bit. Alternatively, change the JVM to 64-bit
To resolve this, updates to the java openjdk and apr packages would be necessary. These changes can be intrusive and are not likely to happen unless absolutely necessary. I am setting this bug CLOSED DEFERRED.
I recommend checking out the new OpenShift Online (Next Gen) Dev Preview, where this issue will already be resolved.