mturk 2002/06/30 02:59:02 Modified: jk/java/org/apache/jk/apr AprImpl.java Log: Removed the jkStatus native call. Use the jkSetAttribute for TC startup signaling. Revision Changes Path 1.23 +1 -11 jakarta-tomcat-connectors/jk/java/org/apache/jk/apr/AprImpl.java Index: AprImpl.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/apr/AprImpl.java,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- AprImpl.java 29 Jun 2002 07:43:24 -0000 1.22 +++ AprImpl.java 30 Jun 2002 09:59:02 -0000 1.23 @@ -119,9 +119,6 @@ */ public native void jkRecycle(long xEnv, long endpointP); - /* Send a TC status code to the server */ - public static native void jkStatus(int code); - // -------------------- Called from C -------------------- // XXX Check security, add guard or other protection // It's better to do it the other way - on init 'push' AprImpl into @@ -166,6 +163,7 @@ loadNative(); initialize(); + jkSetAttribute(0, 0, "channel:jni", "starting"); } catch( Throwable t ) { throw new IOException( t.getMessage() ); } @@ -183,14 +181,6 @@ jniMode=true; } - public static void jniStatus(int code) throws IOException { - try { - jkStatus( code); - } catch( Throwable t) { - throw new IOException( t.getMessage() ); - } - } - /** This method of loading the libs doesn't require setting * LD_LIBRARY_PATH. Assuming a 'right' binary distribution, * or a correct build all files will be in their right place.
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>