User: starksm
Date: 01/11/20 01:25:34
Modified: src/main/org/jboss/mq/il/uil Tag: Branch_2_4
UILServerILService.java
Log:
Change to the unified log4j based org.jboss.logging.Logger class.
Revision Changes Path
No revision
No revision
1.2.2.5 +10 -10 jbossmq/src/main/org/jboss/mq/il/uil/UILServerILService.java
Index: UILServerILService.java
===================================================================
RCS file:
/cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/uil/UILServerILService.java,v
retrieving revision 1.2.2.4
retrieving revision 1.2.2.5
diff -u -r1.2.2.4 -r1.2.2.5
--- UILServerILService.java 2001/10/03 02:36:02 1.2.2.4
+++ UILServerILService.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 UILServerILService extends org.jboss.mq.il.ServerILJMXService
implements Runnable, UILServerILServiceMBean {
protected ServerSocket serverSocket;
@@ -133,7 +133,7 @@
serverSocket.setSoTimeout(SO_TIMEOUT);
InetAddress socketAddress = serverSocket.getInetAddress();
- category.info("JBossMQ UIL service available at : " + socketAddress + ":" +
serverSocket.getLocalPort());
+ log.info("JBossMQ UIL service available at : " + socketAddress + ":" +
serverSocket.getLocalPort());
worker = new Thread(server.threadGroup, this, "UIL Worker");
worker.start();
@@ -194,7 +194,7 @@
in = new ObjectInputStream( new BufferedInputStream(
mSocket.getInputStream( 1 ) ) );
} catch ( IOException e ) {
- category.warn( "Could not initialize the UILServerIL Service.", e );
+ log.warn( "Could not initialize the UILServerIL Service.", e );
running = false;
return;
}
@@ -210,7 +210,7 @@
break;
}
- category.warn( "Connection failure (1).", e );
+ log.warn( "Connection failure (1).", e );
break;
}
@@ -220,11 +220,11 @@
switch ( code ) {
case m_setSpyDistributedConnection:
- category.debug( "Setting up the UILClientIL Connection" );
+ log.debug( "Setting up the UILClientIL Connection" );
connectionToken = ( ConnectionToken )in.readObject();
( ( UILClientIL )connectionToken.clientIL ).mSocket = mSocket;
( ( UILClientIL )connectionToken.clientIL ).createConnection();
- category.debug( "The UILClientIL Connection is set up" );
+ log.debug( "The UILClientIL Connection is set up" );
break;
case m_acknowledge:
AcknowledgementRequest ack = new AcknowledgementRequest();
@@ -305,7 +305,7 @@
break;
}
- category.warn( "Connection failure (2).", e );
+ log.warn( "Connection failure (2).", e );
break;
}
@@ -314,7 +314,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 );
@@ -326,7 +326,7 @@
break;
}
- category.warn( "Connection failure (3).", e );
+ log.warn( "Connection failure (3).", e );
break;
}
}
@@ -342,7 +342,7 @@
}
mSocket.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