[jboss-jira] [JBoss JIRA] (AS7-3310) User insn't properly informed that APR is used
Rostislav Svoboda (JIRA)
jira-events at lists.jboss.org
Mon Jan 16 06:36:18 EST 2012
[ https://issues.jboss.org/browse/AS7-3310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rostislav Svoboda reopened AS7-3310:
------------------------------------
Hi Remy, the log isn't 100% identical to EAP5. When natives are present EAP5 provides more details in log:
'Loaded Apache Tomcat Native library'
'APR capabilities: IPv6 [true], sendfile [true], random [true]'
*Suggestion for additional message into log:*
On machine with apr:
_'Loaded Apache Tomcat Native library'_
On machine with apr + native="false":
_'Apache Tomcat Native library is present, web component configured not to use native library'_
*Current status:*
On machine without apr: (the same like in EAP5)
{code}
03:41:37,702 INFO [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-6) The Apache Tomcat Native library which allows optimal performance in production environments was
not found on the java.library.path: /qa/tools/opt/ia64/jdk1.6.0_26/jre/lib/ia64/server:/qa/tools/opt/ia64/jdk1.6.0_26/jre/lib/ia64:/qa/tools/opt/ia64/jdk1.6.0_26/jre/../lib/ia64:/qa/tools/opt/ia64/subversion-1.4.0/lib/::/usr/java/packages/lib/ia64:/lib:/usr/lib
03:41:39,119 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-3) Starting Coyote HTTP/1.1 on http-localhost.localdomain-127.0.0.1-8080
{code}
On machine with apr: (NOT the same like in EAP5)
{code}
12:10:49,143 INFO [org.apache.coyote.http11.Http11AprProtocol] (MSC service thread 1-4) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
{code}
On machine with apr + native="false": (NOT the same like in EAP5)
{code}
12:10:10,039 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-3) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
{code}
> User insn't properly informed that APR is used
> ----------------------------------------------
>
> Key: AS7-3310
> URL: https://issues.jboss.org/browse/AS7-3310
> Project: Application Server 7
> Issue Type: Bug
> Components: Web
> Affects Versions: 7.1.0.Beta1b
> Reporter: Rostislav Svoboda
> Assignee: Remy Maucherat
> Fix For: 7.1.0.Final
>
>
> AS7 log doesn't show sufficient information that APR is used or not. Currently the only clue is that org.apache.coyote.http11.Http11AprProtocol is used instead of org.apache.coyote.http11.Http11Protocol. But it's implementation details and many users can miss that.
> Add log message to inform users if APR is used or not!
> For example APR affect https connector definition which must use openssl based keys and not keystore. And if users do not know APR is used they can be easily confused and blame AS7 as broken.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list