View | Details | Raw Unified | Return to bug 47712
Collapse All | Expand All

(-)container/catalina/src/share/org/apache/catalina/core/AprLifecycleListener.java (-4 / +4 lines)
Lines 81-96 Link Here
81
                Class clazz = Class.forName("org.apache.tomcat.jni.Library");
81
                Class clazz = Class.forName("org.apache.tomcat.jni.Library");
82
                Method method = clazz.getMethod(methodName, paramTypes);
82
                Method method = clazz.getMethod(methodName, paramTypes);
83
                method.invoke(null, paramValues);
83
                method.invoke(null, paramValues);
84
85
                major = clazz.getField("TCN_MAJOR_VERSION").getInt(null);
86
                minor = clazz.getField("TCN_MINOR_VERSION").getInt(null);
87
                patch = clazz.getField("TCN_PATCH_VERSION").getInt(null);
84
                
88
                
85
                methodName = "randSet";
89
                methodName = "randSet";
86
                paramValues[0] = SSLRandomSeed;
90
                paramValues[0] = SSLRandomSeed;
87
                clazz = Class.forName("org.apache.tomcat.jni.SSL");
91
                clazz = Class.forName("org.apache.tomcat.jni.SSL");
88
                method = clazz.getMethod(methodName, paramTypes);
92
                method = clazz.getMethod(methodName, paramTypes);
89
                method.invoke(null, paramValues);
93
                method.invoke(null, paramValues);
90
91
                major = clazz.getField("TCN_MAJOR_VERSION").getInt(null);
92
                minor = clazz.getField("TCN_MINOR_VERSION").getInt(null);
93
                patch = clazz.getField("TCN_PATCH_VERSION").getInt(null);
94
            } catch (Throwable t) {
94
            } catch (Throwable t) {
95
                if (!log.isDebugEnabled()) {
95
                if (!log.isDebugEnabled()) {
96
                    log.info(sm.getString("aprListener.aprInit", 
96
                    log.info(sm.getString("aprListener.aprInit", 

Return to bug 47712