User: starksm
Date: 01/11/20 01:25:34
Modified: src/main/org/jboss/mq/il/oil Tag: Branch_2_4
OILServerILService.java
Log:
Change to the unified log4j based org.jboss.logging.Logger class.
Revision Changes Path
No revision
No revision
1.2.2.5 +9 -9 jbossmq/src/main/org/jboss/mq/il/oil/OILServerILService.java
Index: OILServerILService.java
===================================================================
RCS file:
/cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/oil/OILServerILService.java,v
retrieving revision 1.2.2.4
retrieving revision 1.2.2.5
diff -u -r1.2.2.4 -r1.2.2.5
--- OILServerILService.java 2001/10/03 02:36:02 1.2.2.4
+++ OILServerILService.java 2001/11/20 09:25:34 1.2.2.5
@@ -50,7 +50,7 @@
*
* @author Hiram Chirino ([EMAIL PROTECTED])
* @created August 16, 2001
- * @version $Revision: 1.2.2.4 $
+ * @version $Revision: 1.2.2.5 $
*/
public class OILServerILService extends org.jboss.mq.il.ServerILJMXService
implements Runnable, OILServerILServiceMBean {
protected ServerSocket serverSocket;
@@ -132,7 +132,7 @@
serverSocket.setSoTimeout(SO_TIMEOUT);
InetAddress socketAddress = serverSocket.getInetAddress();
- category.info("JBossMQ OIL service available at : " + socketAddress + ":" +
serverSocket.getLocalPort());
+ log.info("JBossMQ OIL service available at : " + socketAddress + ":" +
serverSocket.getLocalPort());
worker = new Thread(server.threadGroup, this, "OIL Worker");
worker.start();
@@ -188,7 +188,7 @@
in = new ObjectInputStream( new BufferedInputStream(
socket.getInputStream() ) );
} catch ( IOException e ) {
- category.warn( "Could not initialize the OILServerIL Service.", e );
+ log.warn( "Could not initialize the OILServerIL Service.", e );
running = false;
return;
}
@@ -203,7 +203,7 @@
if ( closed || !running ) {
break;
}
- category.warn( "Connection failure (1).", e );
+ log.warn( "Connection failure (1).", e );
break;
}
@@ -214,7 +214,7 @@
switch ( code ) {
case m_setSpyDistributedConnection:
connectionToken = ( ConnectionToken )in.readObject();
- category.debug( "The OILClientIL Connection is set up" );
+ log.debug( "The OILClientIL Connection is set up" );
break;
case m_acknowledge:
AcknowledgementRequest ack = new AcknowledgementRequest();
@@ -295,7 +295,7 @@
break;
}
- category.warn( "Connection failure (2).", e );
+ log.warn( "Connection failure (2).", e );
break;
}
@@ -304,7 +304,7 @@
break;
}
- category.info( "Client request resulted in a server exception: ", e );
+ log.info( "Client request resulted in a server exception: ", e );
try {
out.writeByte( 2 );
@@ -316,7 +316,7 @@
break;
}
- category.warn( "Connection failure (3).", e );
+ log.warn( "Connection failure (3).", e );
break;
}
}
@@ -331,7 +331,7 @@
}
socket.close();
} catch ( IOException e ) {
- category.warn( "Connection failure during connection close.", e );
+ log.warn( "Connection failure during connection close.", e );
}
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development