You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2009/12/01 00:57:10 UTC

DO NOT REPLY [Bug 48311] New: AprLifecycleListener: Bogus behaviour with Http11AprProtocol and java.library.path

https://issues.apache.org/bugzilla/show_bug.cgi?id=48311

           Summary: AprLifecycleListener: Bogus behaviour with
                    Http11AprProtocol and java.library.path
           Product: Tomcat 5
           Version: 5.5.28
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Native:Integration
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: phps@gmx.de


This was originally bug 48300 but was lost in issues.a.o data loss on
2009-11-26/27 and re-created from the archives.

AprLifecycleListenes says "apr not found" but loads Http11AprProtocol connector

27.11.2009 21:07:45 org.apache.catalina.core.AprLifecycleListener
lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal
performance in production environments was not found on the java.library.path:
/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/i386/server:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/../lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/i386:/usr/lib/xulrunner-addons:/usr/lib/xulrunner-addons:/usr/java/packages/lib/i386:/lib:/usr/lib
27.11.2009 21:07:45 org.apache.coyote.http11.Http11AprProtocol init INFO:
Initializing Coyote HTTP/1.1 on http-8080 27.11.2009 21:07:45
org.apache.coyote.http11.Http11AprProtocol init INFO: Initializing Coyote
HTTP/1.1 on http-8443 27.11.2009 21:07:45 org.apache.coyote.ajp.AjpAprProtocol
init

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48311] AprLifecycleListener: Bogus behaviour with Http11AprProtocol and java.library.path

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48311

--- Comment #2 from Hendrik Saly <ph...@gmx.de> 2009-11-30 16:36:11 UTC ---
This was originally attachment ID 24631 that was lost as part of the
issues.apache.org data loss on 2009-11-26/27.

Note that this attachment ID has since been re-used.

The original attachment comment was:

A first Patch

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48311] AprLifecycleListener: Bogus behaviour with Http11AprProtocol and java.library.path

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48311

--- Comment #7 from Mark Thomas <ma...@apache.org> 2009-11-30 16:38:42 GMT ---
Exactly. APR getting loaded even if the listener disabled is a bug. That is
totally separate from the issue with the APR listener described in 47712. The
only similarity between these bugs is that they are both to do with the APR
listener. There are two separate, independent bugs here.

This bug has already been fixed in trunk. I have proposed the fix for back port
to 6.0.x and 5.5.x.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48311] AprLifecycleListener: Bogus behaviour with Http11AprProtocol and java.library.path

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48311

--- Comment #1 from Hendrik Saly <ph...@gmx.de> 2009-11-30 16:35:38 UTC ---
Seems that org.apache.tomcat.jni.SSL has no Field named TCN_MAJOR_VERSION as
expected in org.apache.catalina.core.AprLifecycleListener line 91-93.

This cause a java.lang.NoSuchFieldException: TCN_MAJOR_VERSION, caught by the
catch(Throwable t) in line 94 in org.apache.catalina.core.AprLifecycleListener.
APR gets loaded but worong message is generated: INFO: The Apache Tomcat Native
library which allows optimal performance in production environments was not
found on the java.library.path: /usr/lib ...

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48311] AprLifecycleListener: Bogus behaviour with Http11AprProtocol and java.library.path

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48311

--- Comment #5 from Mark Thomas <ma...@apache.org> 2009-11-30 16:37:54 GMT ---
Again, you have misunderstood this bug. It is not at all related to bug 47712.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48311] AprLifecycleListener: Bogus behaviour with Http11AprProtocol and java.library.path

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48311

--- Comment #4 from Hendrik Saly <ph...@gmx.de> 2009-11-30 16:37:30 UTC ---
sorry for not seeing bug #47712

*** This bug has been marked as a duplicate of bug 47712 ***

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48311] AprLifecycleListener: Bogus behaviour with Http11AprProtocol and java.library.path

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48311

--- Comment #3 from Mark Thomas <ma...@apache.org> 2009-11-30 16:36:54 GMT ---
The patch is in the wrong format. Please use diff -u.

Also, you are confusing this issue with bug 47712 which has already been fixed.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48311] AprLifecycleListener: Bogus behaviour with Http11AprProtocol and java.library.path

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48311

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #9 from Mark Thomas <ma...@apache.org> 2010-01-30 11:46:05 GMT ---
This has been fixed in 5.5.x and will be included in 5.5.29 onwards.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48311] AprLifecycleListener: Bogus behaviour with Http11AprProtocol and java.library.path

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48311

--- Comment #8 from Mark Thomas <ma...@apache.org> 2009-12-15 11:01:37 GMT ---
This has been fixed in 6.0.x and will be included in 6.0.21 onwards.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48311] AprLifecycleListener: Bogus behaviour with Http11AprProtocol and java.library.path

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48311

--- Comment #6 from Hendrik Saly <ph...@gmx.de> 2009-11-30 16:38:15 UTC ---
The only difference (related to bug 47712) i see is that APR get loaded even if
AprLifecycleListenes was commented out, right? The other problems seems solved
by fixing bug 47712. 

I had not reported the problem if I had found previously bug 47712

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org