[JBoss-dev] CVS update: jboss/src/main/org/jboss/logging/log4j JBossCategory.java
User: starksm Date: 01/07/15 15:34:56 Modified:src/main/org/jboss/logging/log4j JBossCategory.java Log: trace signature should use Object rather than String for the msg Revision ChangesPath 1.2 +3 -3 jboss/src/main/org/jboss/logging/log4j/JBossCategory.java Index: JBossCategory.java === RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/logging/log4j/JBossCategory.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- JBossCategory.java2001/06/20 04:02:39 1.1 +++ JBossCategory.java2001/07/15 22:34:56 1.2 @@ -15,7 +15,7 @@ @see TracePriority @author [EMAIL PROTECTED] -@version $Revision: 1.1 $ +@version $Revision: 1.2 $ */ public class JBossCategory extends Category { @@ -63,14 +63,14 @@ /** Issue a log msg with a priority of TRACE. Invokes super.log(TracePriority.TRACE, message); */ - public void trace(String message) + public void trace(Object message) { super.log(TracePriority.TRACE, message); } /** Issue a log msg and throwable with a priority of TRACE. Invokes super.log(TracePriority.TRACE, message, t); */ - public void trace(String message, Throwable t) + public void trace(Object message, Throwable t) { super.log(TracePriority.TRACE, message, t); } ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: CVSROOT loginfo log_accum.pl
User: gropi Date: 01/07/15 15:57:05 Modified:.loginfo log_accum.pl Log: Sent copies of changes in the manual to the jboss-docs list also. Revision ChangesPath 1.5 +7 -1 CVSROOT/loginfo Index: loginfo === RCS file: /cvsroot/jboss/CVSROOT/loginfo,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- loginfo 2001/03/22 19:32:17 1.4 +++ loginfo 2001/07/15 22:57:04 1.5 @@ -24,5 +24,11 @@ #DEFAULT (echo ; id; echo %s; date; cat) $CVSROOT/CVSROOT/commitlog # or #DEFAULT (echo ; id; echo %{sVv}; date; cat) $CVSROOT/CVSROOT/commitlog -DEFAULT $CVSROOT/CVSROOT/log_accum.pl -u $USER %s +# +# sent all CVS changes to jboss-dev +ALL $CVSROOT/CVSROOT/log_accum.pl -u $USER %s #DEFAULT mail -s CVS update: %s [EMAIL PROTECTED] +# +# sent a copy of JBoss manual changes to jboss-docs +^manual $CVSROOT/CVSROOT/log_accum.pl -to [EMAIL PROTECTED] -from [EMAIL PROTECTED] %s + 1.4 +6 -1 CVSROOT/log_accum.pl Index: log_accum.pl === RCS file: /cvsroot/jboss/CVSROOT/log_accum.pl,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- log_accum.pl 2001/07/05 06:48:04 1.3 +++ log_accum.pl 2001/07/15 22:57:04 1.4 @@ -67,6 +67,7 @@ $MAIL_CMD = | /usr/lib/sendmail -i -t; $MAIL_TO = '[EMAIL PROTECTED]'; #$MAIL_FROM = $ENV{'USER'}\@users.sourceforge.net; +undef $MAIL_FROM; $SUBJECT_PRE = 'CVS update:'; @@ -311,7 +312,7 @@ print Mailing the commit message...\n; open(MAIL, $MAIL_CMD); -#print MAIL From: $MAIL_FROM\n; +print MAIL From: $MAIL_FROM\n if defined($MAIL_FROM); print MAIL To: $MAIL_TO\n; print MAIL Subject: $SUBJECT_PRE $ARGV[0]\n\n; print(MAIL join(\n, @text)); @@ -333,6 +334,10 @@ if ($arg eq '-u') { $cvs_user = shift @argv; + } elsif ($arg eq '-to') { +$MAIL_TO = shift @argv; + } elsif ($arg eq '-from') { +$MAIL_FROM = shift @argv; } else { ($donefiles) die Too many arguments!\n; $donefiles = 1; ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: manual/src/docs jdbc-database.xml
User: gropi Date: 01/07/15 16:03:52 Modified:src/docs jdbc-database.xml Log: Increase level of examples so they can be directly seen in the table of contents. Revision ChangesPath 1.11 +2 -1 manual/src/docs/jdbc-database.xml Index: jdbc-database.xml === RCS file: /cvsroot/jboss/manual/src/docs/jdbc-database.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- jdbc-database.xml 2001/07/09 20:03:19 1.10 +++ jdbc-database.xml 2001/07/15 23:03:52 1.11 @@ -356,6 +356,8 @@ /table /section /section + /section + section titleConnection Pool Configuration Examples and Driver Notes/title paraHere are some sample database pool configuration file exerpts for a variety of database products. Note that your configuration may differ slightly if you're @@ -745,7 +747,6 @@ /listitem /itemizedlist /section - /section section titleUpgrading from JBoss 2.0 FINAL/title paraAuthor:author ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosstest/src/main/org/jboss/test/dbtest/test Main.java
User: gropi Date: 01/07/15 16:13:13 Modified:src/main/org/jboss/test/dbtest/test Main.java Log: Dummy change to test the new CVS update mailing setup. Revision ChangesPath 1.10 +1 -1 jbosstest/src/main/org/jboss/test/dbtest/test/Main.java Index: Main.java === RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/dbtest/test/Main.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- Main.java 2001/07/10 02:34:03 1.9 +++ Main.java 2001/07/15 23:13:13 1.10 @@ -322,7 +322,7 @@ System.out.println(_); System.out.println(); System.out.println(JBoss, the EJB Open Source Server); - System.out.println(Copyright (C), The jBoss Organization, 2000,2001); + System.out.println(Copyright (C), The JBoss Organization, 2000,2001); System.out.println(_); System.out.println(); System.out.println(Welcome to the database test); ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] CVS update: jbosstest/src/main/org/jboss/test/dbtest/test Main.java
Phew, it looks like everything still works like it should right now. :-) If other JBoss subprojects would like to get their changes mailed too, you can easily include this into CVSROOT/loginfo now. Ciao, Tobias Tobias Frech wrote: User: gropi Date: 01/07/15 16:13:13 Modified:src/main/org/jboss/test/dbtest/test Main.java Log: Dummy change to test the new CVS update mailing setup. Revision ChangesPath 1.10 +1 -1 jbosstest/src/main/org/jboss/test/dbtest/test/Main.java Index: Main.java === RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/dbtest/test/Main.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- Main.java 2001/07/10 02:34:03 1.9 +++ Main.java 2001/07/15 23:13:13 1.10 @@ -322,7 +322,7 @@ System.out.println(_); System.out.println(); System.out.println(JBoss, the EJB Open Source Server); - System.out.println(Copyright (C), The jBoss Organization, 2000,2001); + System.out.println(Copyright (C), The JBoss Organization, 2000,2001); System.out.println(_); System.out.println(); System.out.println(Welcome to the database test); ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] jboss daily test results
JBoss daily test results SUMMARY Number of tests run: 132 Successful tests: 132 Errors:0 Failures: 0 [time of test: 16 July 2001 2:52 GMT] See http://lubega.com for full details NOTE: If there are any errors shown above - this mail is only highlighting them - it is NOT indicating that they are being looked at by anyone. It is assumed that whoever makes change(s) to jboss that break the test will be fixing the test or jboss, as appropriate! DETAILS OF ERRORS ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbossmq/src/resources - New directory
User: chirino Date: 01/07/15 19:41:14 jbossmq/src/resources - New directory ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbossmq/src/client jbossmq.properties
User: chirino Date: 01/07/15 19:51:44 Removed: src/client jbossmq.properties Log: Moved the rest of JBossMQ over to log4j logging. - The jbossmq-client.jar now includes a log4j.properties which sets up the logging subsystems on the client side. To chanage the logging levels, just place your log4j.properties in the classpath betfore the jbossmq-client.jar ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbossmq/src/build build.xml
User: chirino Date: 01/07/15 19:51:44 Modified:src/build build.xml Log: Moved the rest of JBossMQ over to log4j logging. - The jbossmq-client.jar now includes a log4j.properties which sets up the logging subsystems on the client side. To chanage the logging levels, just place your log4j.properties in the classpath betfore the jbossmq-client.jar Revision ChangesPath 1.10 +3 -3 jbossmq/src/build/build.xml Index: build.xml === RCS file: /cvsroot/jboss/jbossmq/src/build/build.xml,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- build.xml 2001/07/11 03:05:58 1.9 +++ build.xml 2001/07/16 02:51:44 1.10 @@ -100,11 +100,9 @@ !-- === -- target name=jar depends=compile -!-- copy todir=${build.classes.dir} fileset dir=${src.resources}/ /copy --- mkdir dir=${build.lib.dir}/ext/ jar jarfile=${build.lib.dir}/ext/jbossmq.jar @@ -114,7 +112,9 @@ mkdir dir=${build.dir}/client/ jar jarfile=${build.dir}/client/jbossmq-client.jar basedir=${build.classes.dir} - includes=org/jbossmq/*, + includes= + log4j.properties, + org/jbossmq/*, org/jbossmq/referenceable/**, org/jbossmq/il/**, org/jbossmq/cluster/**, ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbossmq/src/main/org/jbossmq/pm PersistenceManager.java TxManager.java
User: chirino Date: 01/07/15 19:51:46 Modified:src/main/org/jbossmq/pm PersistenceManager.java TxManager.java Log: Moved the rest of JBossMQ over to log4j logging. - The jbossmq-client.jar now includes a log4j.properties which sets up the logging subsystems on the client side. To chanage the logging levels, just place your log4j.properties in the classpath betfore the jbossmq-client.jar Revision ChangesPath 1.2 +0 -0 jbossmq/src/main/org/jbossmq/pm/PersistenceManager.java Index: PersistenceManager.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/pm/PersistenceManager.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- PersistenceManager.java 2001/07/11 02:46:19 1.1 +++ PersistenceManager.java 2001/07/16 02:51:46 1.2 @@ -25,7 +25,7 @@ * @author Hiram Chirino ([EMAIL PROTECTED]) * @author Paul Kendall ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public interface PersistenceManager { 1.2 +0 -0 jbossmq/src/main/org/jbossmq/pm/TxManager.java Index: TxManager.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/pm/TxManager.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- TxManager.java2001/07/11 02:46:19 1.1 +++ TxManager.java2001/07/16 02:51:46 1.2 @@ -25,7 +25,7 @@ * @author Hiram Chirino ([EMAIL PROTECTED]) * @author Paul Kendall ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class TxManager { ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbossmq/src/main/org/jbossmq/cluster/transport/udp UDPAdminStream.java UDPStream.java UDPTransport.java
User: chirino Date: 01/07/15 19:51:45 Modified:src/main/org/jbossmq/cluster/transport/udp UDPAdminStream.java UDPStream.java UDPTransport.java Log: Moved the rest of JBossMQ over to log4j logging. - The jbossmq-client.jar now includes a log4j.properties which sets up the logging subsystems on the client side. To chanage the logging levels, just place your log4j.properties in the classpath betfore the jbossmq-client.jar Revision ChangesPath 1.2 +5 -3 jbossmq/src/main/org/jbossmq/cluster/transport/udp/UDPAdminStream.java Index: UDPAdminStream.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/cluster/transport/udp/UDPAdminStream.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- UDPAdminStream.java 2001/03/02 07:04:53 1.1 +++ UDPAdminStream.java 2001/07/16 02:51:45 1.2 @@ -14,8 +14,8 @@ import java.util.HashMap; import java.util.Vector; -import org.jbossmq.Log; + /** * The UDPAdminStream class blocks on a UDP socket * waiting for admin packets. @@ -25,7 +25,7 @@ * * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ class UDPAdminStream implements Runnable { @@ -88,7 +88,7 @@ // Is the packet ok? if (packet.getLength() Datagram.HEADER_SIZE) { - Log.notice([ + this +] Packet was too small, dropping.); + cat.info([ + this +] Packet was too small, dropping.); continue; } @@ -143,4 +143,6 @@ public String toString() { return org.jbossmq.cluster.udp.UDPAdminStream; } + + static org.apache.log4j.Category cat = org.apache.log4j.Category.getInstance(UDPAdminStream.class); } 1.2 +7 -5 jbossmq/src/main/org/jbossmq/cluster/transport/udp/UDPStream.java Index: UDPStream.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/cluster/transport/udp/UDPStream.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- UDPStream.java2001/03/02 07:04:54 1.1 +++ UDPStream.java2001/07/16 02:51:45 1.2 @@ -14,9 +14,9 @@ import java.util.HashMap; import java.util.Vector; -import org.jbossmq.Log; + /** * The UDPStream class blocks on a UDP socket * waiting for input. Since a message is made up @@ -40,7 +40,7 @@ * * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ class UDPStream implements Runnable { @@ -155,7 +155,7 @@ // TODO: make it also happen when a message sits too long on // the stream. private void handleNodeUnresponsive(NodeState nodeState) { - Log.error(NODE IS UNRESPONSIVE!!!); + cat.error(NODE IS UNRESPONSIVE!!!); } /** @@ -216,7 +216,7 @@ // Is the packet ok? if (packet.getLength() Datagram.HEADER_SIZE) { - Log.notice([+this+] Packet was too small, dropping.); + cat.info([+this+] Packet was too small, dropping.); continue; } @@ -326,7 +326,7 @@ UDPNodeId senderId = dg.getSenderId(); int id = dg.getId(); short fragmentId = dg.getFragmentId(); - Log.log([+this+] Processing datagram: + id); + cat.debug([+this+] Processing datagram: + id); NodeState nodeState = getNodeState(senderId); MessageState ds = getMessageState(nodeState, id); @@ -443,4 +443,6 @@ public String toString() { return org.jbossmq.cluster.udp.UDPStream:+name; } + + static org.apache.log4j.Category cat = org.apache.log4j.Category.getInstance(UDPStream.class); } 1.2 +16 -14 jbossmq/src/main/org/jbossmq/cluster/transport/udp/UDPTransport.java Index: UDPTransport.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/cluster/transport/udp/UDPTransport.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- UDPTransport.java 2001/03/02 07:04:54 1.1 +++ UDPTransport.java
[JBoss-dev] CVS update: jbossmq/src/main/org/jbossmq/il/rmi RMIClientIL.java RMIClientILRemote.java RMIClientILService.java RMIServerIL.java RMIServerILRemote.java RMIServerILService.java RMIServerILServiceMBean.java
User: chirino Date: 01/07/15 19:51:46 Modified:src/main/org/jbossmq/il/rmi RMIClientIL.java RMIClientILRemote.java RMIClientILService.java RMIServerIL.java RMIServerILRemote.java RMIServerILService.java RMIServerILServiceMBean.java Log: Moved the rest of JBossMQ over to log4j logging. - The jbossmq-client.jar now includes a log4j.properties which sets up the logging subsystems on the client side. To chanage the logging levels, just place your log4j.properties in the classpath betfore the jbossmq-client.jar Revision ChangesPath 1.2 +0 -0 jbossmq/src/main/org/jbossmq/il/rmi/RMIClientIL.java Index: RMIClientIL.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/rmi/RMIClientIL.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- RMIClientIL.java 2001/07/11 02:28:34 1.1 +++ RMIClientIL.java 2001/07/16 02:51:46 1.2 @@ -20,7 +20,7 @@ * @author Norbert Lataille ([EMAIL PROTECTED]) * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class RMIClientIL extends java.rmi.server.UnicastRemoteObject implements RMIClientILRemote { 1.2 +0 -0 jbossmq/src/main/org/jbossmq/il/rmi/RMIClientILRemote.java Index: RMIClientILRemote.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/rmi/RMIClientILRemote.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- RMIClientILRemote.java2001/07/11 02:28:34 1.1 +++ RMIClientILRemote.java2001/07/16 02:51:46 1.2 @@ -20,7 +20,7 @@ * @author Norbert Lataille ([EMAIL PROTECTED]) * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public interface RMIClientILRemote extends ClientIL, java.rmi.Remote { 1.2 +0 -0 jbossmq/src/main/org/jbossmq/il/rmi/RMIClientILService.java Index: RMIClientILService.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/rmi/RMIClientILService.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- RMIClientILService.java 2001/07/11 02:28:34 1.1 +++ RMIClientILService.java 2001/07/16 02:51:46 1.2 @@ -21,7 +21,7 @@ * @author Norbert Lataille ([EMAIL PROTECTED]) * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class RMIClientILService implements org.jbossmq.il.ClientILService { 1.2 +0 -0 jbossmq/src/main/org/jbossmq/il/rmi/RMIServerIL.java Index: RMIServerIL.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/rmi/RMIServerIL.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- RMIServerIL.java 2001/07/11 02:28:34 1.1 +++ RMIServerIL.java 2001/07/16 02:51:46 1.2 @@ -27,7 +27,7 @@ * @author Hiram Chirino ([EMAIL PROTECTED]) * @author Norbert Lataille ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class RMIServerIL extends java.rmi.server.UnicastRemoteObject implements RMIServerILRemote { 1.2 +0 -0 jbossmq/src/main/org/jbossmq/il/rmi/RMIServerILRemote.java Index: RMIServerILRemote.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/rmi/RMIServerILRemote.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- RMIServerILRemote.java2001/07/11 02:28:34 1.1 +++ RMIServerILRemote.java2001/07/16 02:51:46 1.2 @@ -27,7 +27,7 @@ * @author Hiram Chirino ([EMAIL PROTECTED]) * @author Norbert Lataille ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public interface RMIServerILRemote extends ServerIL, java.rmi.Remote { 1.2 +0 -0 jbossmq/src/main/org/jbossmq/il/rmi/RMIServerILService.java Index: RMIServerILService.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/rmi/RMIServerILService.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- RMIServerILService.java 2001/07/11 02:28:34 1.1 +++ RMIServerILService.java 2001/07/16 02:51:46 1.2 @@ -22,7 +22,7 @@ * manage the JVM IL. *
[JBoss-dev] CVS update: jbossmq/src/main/org/jbossmq/il/uil UILClientIL.java UILClientILService.java UILServerIL.java UILServerILService.java UILServerILServiceMBean.java
User: chirino Date: 01/07/15 19:51:46 Modified:src/main/org/jbossmq/il/uil UILClientIL.java UILClientILService.java UILServerIL.java UILServerILService.java UILServerILServiceMBean.java Log: Moved the rest of JBossMQ over to log4j logging. - The jbossmq-client.jar now includes a log4j.properties which sets up the logging subsystems on the client side. To chanage the logging levels, just place your log4j.properties in the classpath betfore the jbossmq-client.jar Revision ChangesPath 1.2 +1 -1 jbossmq/src/main/org/jbossmq/il/uil/UILClientIL.java Index: UILClientIL.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/uil/UILClientIL.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- UILClientIL.java 2001/07/11 02:28:35 1.1 +++ UILClientIL.java 2001/07/16 02:51:46 1.2 @@ -28,7 +28,7 @@ * @author Norbert Lataille ([EMAIL PROTECTED]) * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class UILClientIL implements ClientIL, java.io.Serializable { @@ -59,7 +59,7 @@ cat.debug(Done); } - final static org.apache.log4j.Category cat = org.apache.log4j.Category.getInstance(UILClientIL.class); + static org.apache.log4j.Category cat = org.apache.log4j.Category.getInstance(UILClientIL.class); private transient ObjectInputStream in; static final int m_close = 2; static final int m_deleteTemporaryDestination = 1; 1.2 +5 -5 jbossmq/src/main/org/jbossmq/il/uil/UILClientILService.java Index: UILClientILService.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/uil/UILClientILService.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- UILClientILService.java 2001/07/11 02:28:35 1.1 +++ UILClientILService.java 2001/07/16 02:51:46 1.2 @@ -29,10 +29,9 @@ * @author Norbert Lataille ([EMAIL PROTECTED]) * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class UILClientILService implements org.jbossmq.il.ClientILService, Runnable { - //the client IL UILClientIL clientIL; @@ -71,6 +70,7 @@ worker.interrupt(); } + static org.apache.log4j.Category cat = org.apache.log4j.Category.getInstance(UILClientILService.class); //A link on my connection private Connection connection; // Attributes @@ -83,7 +83,7 @@ Thread worker; public void run() { - org.jbossmq.Log.log(UILClientILService.run()); + cat.debug(UILClientILService.run()); Socket socket = null; int code = 0; @@ -92,7 +92,7 @@ ObjectInputStream in = null; try { - org.jbossmq.Log.log(getting streams); + cat.debug(getting streams); UILServerIL serverIL = (UILServerIL)connection.getServerIL(); out = new ObjectOutputStream(new BufferedOutputStream(serverIL.mSocket.getOutputStream(2))); @@ -108,9 +108,9 @@ while (running) { try { - org.jbossmq.Log.log(Waiting for a request); + cat.debug(Waiting for a request); code = in.readByte(); - org.jbossmq.Log.log(Got it); + cat.debug(Got it); } catch (IOException e) { if (running) 1.2 +0 -0 jbossmq/src/main/org/jbossmq/il/uil/UILServerIL.java Index: UILServerIL.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/uil/UILServerIL.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- UILServerIL.java 2001/07/11 02:28:35 1.1 +++ UILServerIL.java 2001/07/16 02:51:46 1.2 @@ -36,7 +36,7 @@ * @author Hiram Chirino ([EMAIL PROTECTED]) * @author Norbert Lataille ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class UILServerIL implements ServerIL, java.io.Serializable, Cloneable { 1.2 +8 -9 jbossmq/src/main/org/jbossmq/il/uil/UILServerILService.java Index: UILServerILService.java
[JBoss-dev] CVS update: jbossmq/src/main/org/jbossmq/il ClientIL.java ClientILService.java ServerIL.java ServerILFactory.java ServerILJMXService.java ServerILJMXServiceMBean.java
User: chirino Date: 01/07/15 19:51:45 Modified:src/main/org/jbossmq/il ClientIL.java ClientILService.java ServerIL.java ServerILFactory.java ServerILJMXService.java ServerILJMXServiceMBean.java Log: Moved the rest of JBossMQ over to log4j logging. - The jbossmq-client.jar now includes a log4j.properties which sets up the logging subsystems on the client side. To chanage the logging levels, just place your log4j.properties in the classpath betfore the jbossmq-client.jar Revision ChangesPath 1.2 +0 -0 jbossmq/src/main/org/jbossmq/il/ClientIL.java Index: ClientIL.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/ClientIL.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ClientIL.java 2001/07/11 02:28:34 1.1 +++ ClientIL.java 2001/07/16 02:51:45 1.2 @@ -16,7 +16,7 @@ * @author Hiram Chirino ([EMAIL PROTECTED]) * @author Norbert Lataille ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public interface ClientIL { 1.2 +0 -0 jbossmq/src/main/org/jbossmq/il/ClientILService.java Index: ClientILService.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/ClientILService.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ClientILService.java 2001/07/11 02:28:34 1.1 +++ ClientILService.java 2001/07/16 02:51:45 1.2 @@ -14,7 +14,7 @@ * Implementations of this class should have a default constructor. * * @author Hiram Chirino ([EMAIL PROTECTED]) - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public interface ClientILService { 1.2 +0 -0 jbossmq/src/main/org/jbossmq/il/ServerIL.java Index: ServerIL.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/ServerIL.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ServerIL.java 2001/07/11 02:28:34 1.1 +++ ServerIL.java 2001/07/16 02:51:45 1.2 @@ -26,7 +26,7 @@ * * @author Hiram Chirino ([EMAIL PROTECTED]) * @author Norbert Lataille ([EMAIL PROTECTED]) - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public interface ServerIL { 1.2 +0 -0 jbossmq/src/main/org/jbossmq/il/ServerILFactory.java Index: ServerILFactory.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/ServerILFactory.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ServerILFactory.java 2001/07/11 02:28:34 1.1 +++ ServerILFactory.java 2001/07/16 02:51:45 1.2 @@ -16,7 +16,7 @@ * Implementations should provide a default constructor. * * @author Hiram Chirino ([EMAIL PROTECTED]) - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public interface ServerILFactory { // init is called before any calls are made to getServerIL() 1.2 +0 -0 jbossmq/src/main/org/jbossmq/il/ServerILJMXService.java Index: ServerILJMXService.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/ServerILJMXService.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ServerILJMXService.java 2001/07/11 02:28:34 1.1 +++ ServerILJMXService.java 2001/07/16 02:51:45 1.2 @@ -24,7 +24,7 @@ * * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ abstract public class ServerILJMXService extends ServiceMBeanSupport implements ServerILJMXServiceMBean, MBeanRegistration { 1.2 +0 -0 jbossmq/src/main/org/jbossmq/il/ServerILJMXServiceMBean.java Index: ServerILJMXServiceMBean.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/ServerILJMXServiceMBean.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ServerILJMXServiceMBean.java 2001/07/11 02:28:34 1.1 +++ ServerILJMXServiceMBean.java 2001/07/16 02:51:45 1.2 @@ -13,7 +13,7 @@ * via JMX. * * @author Hiram Chirino ([EMAIL PROTECTED]) - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public interface ServerILJMXServiceMBean extends org.jboss.util.ServiceMBean {
[JBoss-dev] CVS update: jbossmq/src/main/org/jbossmq/il/uil/multiplexor DemuxInputStream.java MultiplexorTest.java MuxOutputStream.java SocketMultiplexor.java StreamDemux.java StreamMux.java
User: chirino Date: 01/07/15 19:51:46 Modified:src/main/org/jbossmq/il/uil/multiplexor DemuxInputStream.java MultiplexorTest.java MuxOutputStream.java SocketMultiplexor.java StreamDemux.java StreamMux.java Log: Moved the rest of JBossMQ over to log4j logging. - The jbossmq-client.jar now includes a log4j.properties which sets up the logging subsystems on the client side. To chanage the logging levels, just place your log4j.properties in the classpath betfore the jbossmq-client.jar Revision ChangesPath 1.2 +0 -0 jbossmq/src/main/org/jbossmq/il/uil/multiplexor/DemuxInputStream.java Index: DemuxInputStream.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/uil/multiplexor/DemuxInputStream.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- DemuxInputStream.java 2001/07/11 02:28:35 1.1 +++ DemuxInputStream.java 2001/07/16 02:51:46 1.2 @@ -18,7 +18,7 @@ * * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ class DemuxInputStream extends InputStream { 1.2 +0 -0 jbossmq/src/main/org/jbossmq/il/uil/multiplexor/MultiplexorTest.java Index: MultiplexorTest.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/uil/multiplexor/MultiplexorTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- MultiplexorTest.java 2001/07/11 02:28:35 1.1 +++ MultiplexorTest.java 2001/07/16 02:51:46 1.2 @@ -29,7 +29,7 @@ * * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class MultiplexorTest { 1.2 +0 -0 jbossmq/src/main/org/jbossmq/il/uil/multiplexor/MuxOutputStream.java Index: MuxOutputStream.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/uil/multiplexor/MuxOutputStream.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- MuxOutputStream.java 2001/07/11 02:28:35 1.1 +++ MuxOutputStream.java 2001/07/16 02:51:46 1.2 @@ -18,7 +18,7 @@ * * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ class MuxOutputStream extends OutputStream { 1.2 +0 -0 jbossmq/src/main/org/jbossmq/il/uil/multiplexor/SocketMultiplexor.java Index: SocketMultiplexor.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/uil/multiplexor/SocketMultiplexor.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- SocketMultiplexor.java2001/07/11 02:28:35 1.1 +++ SocketMultiplexor.java2001/07/16 02:51:46 1.2 @@ -22,7 +22,7 @@ * * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class SocketMultiplexor { 1.2 +0 -0 jbossmq/src/main/org/jbossmq/il/uil/multiplexor/StreamDemux.java Index: StreamDemux.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/uil/multiplexor/StreamDemux.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- StreamDemux.java 2001/07/11 02:28:35 1.1 +++ StreamDemux.java 2001/07/16 02:51:46 1.2 @@ -15,7 +15,7 @@ * * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class StreamDemux { 1.2 +0 -0 jbossmq/src/main/org/jbossmq/il/uil/multiplexor/StreamMux.java Index: StreamMux.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/uil/multiplexor/StreamMux.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- StreamMux.java2001/07/11 02:28:35 1.1 +++ StreamMux.java2001/07/16 02:51:46 1.2 @@ -15,7 +15,7 @@ * * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class StreamMux { ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbossmq/src/main/org/jbossmq Connection.java ConnectionToken.java GenericConnectionFactory.java Mutex.java SpyConnection.java SpyConnectionConsumer.java SpyConnectionFactory.java SpyMessage.java SpyMessageConsumer.java SpyQueueSession.java SpySession.java SpyTemporaryQueue.java SpyTemporaryTopic.java SpyTopicSession.java SpyXAConnection.java SpyXAConnectionFactory.java SpyXAResourceManager.java Subscription.java Log.java
User: chirino Date: 01/07/15 19:51:44 Modified:src/main/org/jbossmq Connection.java ConnectionToken.java GenericConnectionFactory.java Mutex.java SpyConnection.java SpyConnectionConsumer.java SpyConnectionFactory.java SpyMessage.java SpyMessageConsumer.java SpyQueueSession.java SpySession.java SpyTemporaryQueue.java SpyTemporaryTopic.java SpyTopicSession.java SpyXAConnection.java SpyXAConnectionFactory.java SpyXAResourceManager.java Subscription.java Removed: src/main/org/jbossmq Log.java Log: Moved the rest of JBossMQ over to log4j logging. - The jbossmq-client.jar now includes a log4j.properties which sets up the logging subsystems on the client side. To chanage the logging levels, just place your log4j.properties in the classpath betfore the jbossmq-client.jar Revision ChangesPath 1.2 +23 -22jbossmq/src/main/org/jbossmq/Connection.java Index: Connection.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/Connection.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Connection.java 2001/07/11 02:23:24 1.1 +++ Connection.java 2001/07/16 02:51:44 1.2 @@ -43,7 +43,7 @@ * @author Norbert Lataille ([EMAIL PROTECTED]) * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class Connection implements java.io.Serializable, javax.jms.Connection { // @@ -97,7 +97,7 @@ if (clientID != null) throw new IllegalStateException(The connection has already a clientID); - Log.log(SetClientID( + clientID + )); + cat.debug(SetClientID( + clientID + )); try { serverIL.checkID(cID); @@ -139,7 +139,7 @@ return; modeStop = false; - Log.log(Starting connection, ClientID=+connectionToken.getClientID()); + cat.debug(Starting connection, ClientID=+connectionToken.getClientID()); try { serverIL.setEnabled(connectionToken, true); @@ -158,7 +158,7 @@ return; modeStop = true; - Log.log(Stoping connection, ClientID=+connectionToken.getClientID()); + cat.debug(Stoping connection, ClientID=+connectionToken.getClientID()); try { serverIL.setEnabled(connectionToken, false); @@ -174,7 +174,7 @@ if (closed) return; - Log.log(Closing sessions, ClientID=+connectionToken.getClientID()); + cat.debug(Closing sessions, ClientID=+connectionToken.getClientID()); //notify his sessions synchronized (createdSessions) { @@ -184,9 +184,9 @@ } } - Log.log(Closed sessions); + cat.debug(Closed sessions); - Log.log(Disconnecting from server); + cat.debug(Disconnecting from server); //Notify the JMSServer that I am closing try { serverIL.connectionClosing(connectionToken); @@ -194,7 +194,7 @@ throw new SpyJMSException(Cannot close properly the connection, e); } stopILService(); - Log.log(Disconnected from server); + cat.debug(Disconnected from server); closeExecutor(); @@ -208,7 +208,7 @@ if (closed) throw new IllegalStateException(The connection is closed); - Log.log(SpyConnection: deleteDestination(dest= + dest.toString() + )); + cat.debug(SpyConnection: deleteDestination(dest= + dest.toString() + )); try { @@ -329,7 +329,7 @@ req.subscriptionId = subscriptionCounter++; req.dc = connectionToken; - Log.log(Connection: addConsumer(dest= + req.destination.toString() + )); + cat.debug(Connection: addConsumer(dest= + req.destination.toString() + )); try { @@ -411,7 +411,7 @@ Subscription req = consumer.getSubscription(); - Log.log(Connection: removeSession(dest= + req.destination + )); + cat.debug(Connection: removeSession(dest= + req.destination + )); try { @@
[JBoss-dev] CVS update: jbossmq/src/main/org/jbossmq/xml XElementConsumer.java XElementException.java XElementProducer.java XElementTester.java
User: chirino Date: 01/07/15 19:51:48 Modified:src/main/org/jbossmq/xml XElementConsumer.java XElementException.java XElementProducer.java XElementTester.java Log: Moved the rest of JBossMQ over to log4j logging. - The jbossmq-client.jar now includes a log4j.properties which sets up the logging subsystems on the client side. To chanage the logging levels, just place your log4j.properties in the classpath betfore the jbossmq-client.jar Revision ChangesPath 1.3 +7 -1 jbossmq/src/main/org/jbossmq/xml/XElementConsumer.java Index: XElementConsumer.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/xml/XElementConsumer.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- XElementConsumer.java 2001/03/02 01:13:05 1.2 +++ XElementConsumer.java 2001/07/16 02:51:47 1.3 @@ -18,6 +18,12 @@ * Distributable under LGPL license. * See terms of license at gnu.org. */ +/* + * JBossMQ, the OpenSource JMS implementation + * + * Distributable under LGPL license. + * See terms of license at gnu.org. + */ /** * XMLRecordConsumer Interface defines the method signatures used * to notify the consumer object of parsing errors, document starts, @@ -25,7 +31,7 @@ * * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ */ public interface XElementConsumer { 1.3 +7 -1 jbossmq/src/main/org/jbossmq/xml/XElementException.java Index: XElementException.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/xml/XElementException.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- XElementException.java2001/03/02 01:13:05 1.2 +++ XElementException.java2001/07/16 02:51:47 1.3 @@ -18,13 +18,19 @@ * Distributable under LGPL license. * See terms of license at gnu.org. */ +/* + * JBossMQ, the OpenSource JMS implementation + * + * Distributable under LGPL license. + * See terms of license at gnu.org. + */ /** * XMLObjectException is used to signal errors occuring inside of an * XMLObject. * * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ */ public class XElementException extends Exception { 1.4 +16 -16jbossmq/src/main/org/jbossmq/xml/XElementProducer.java Index: XElementProducer.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/xml/XElementProducer.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- XElementProducer.java 2001/03/23 10:02:14 1.3 +++ XElementProducer.java 2001/07/16 02:51:47 1.4 @@ -30,7 +30,7 @@ * * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ */ public class XElementProducer { @@ -163,18 +163,18 @@ public void parse(java.io.InputStream is) throws Exception { if (consumer == null) -throw new NullPointerException(); + throw new NullPointerException(); try { -SAXParserFactory factory = SAXParserFactory.newInstance(); -SAXParser parser = factory.newSAXParser(); - + SAXParserFactory factory = SAXParserFactory.newInstance(); + SAXParser parser = factory.newSAXParser(); + if ( consumer instanceof org.xml.sax.ErrorHandler ) -{ -XMLReader reader = parser.getXMLReader(); -reader.setErrorHandler((org.xml.sax.ErrorHandler)consumer); -} + { + XMLReader reader = parser.getXMLReader(); + reader.setErrorHandler((org.xml.sax.ErrorHandler)consumer); + } thrownError = null; parser.parse(new InputSource(is), handler); } @@ -202,14 +202,14 @@ throw new NullPointerException(); try { -SAXParserFactory factory = SAXParserFactory.newInstance(); -SAXParser parser = factory.newSAXParser(); - + SAXParserFactory factory = SAXParserFactory.newInstance(); + SAXParser parser = factory.newSAXParser();
[JBoss-dev] CVS update: jbossmq/src/main/org/jbossmq/il/oil OILClientIL.java OILClientILService.java OILServerIL.java OILServerILService.java OILServerILServiceMBean.java
User: chirino Date: 01/07/15 19:51:45 Modified:src/main/org/jbossmq/il/oil OILClientIL.java OILClientILService.java OILServerIL.java OILServerILService.java OILServerILServiceMBean.java Log: Moved the rest of JBossMQ over to log4j logging. - The jbossmq-client.jar now includes a log4j.properties which sets up the logging subsystems on the client side. To chanage the logging levels, just place your log4j.properties in the classpath betfore the jbossmq-client.jar Revision ChangesPath 1.2 +3 -4 jbossmq/src/main/org/jbossmq/il/oil/OILClientIL.java Index: OILClientIL.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/oil/OILClientIL.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- OILClientIL.java 2001/07/11 02:28:34 1.1 +++ OILClientIL.java 2001/07/16 02:51:45 1.2 @@ -18,7 +18,6 @@ import java.io.ObjectInputStream; import java.rmi.RemoteException; import java.io.BufferedOutputStream; -import org.jbossmq.Log; import java.io.ObjectOutputStream; import java.io.BufferedInputStream; import java.net.InetAddress; @@ -30,7 +29,7 @@ * @author Norbert Lataille ([EMAIL PROTECTED]) * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class OILClientIL implements ClientIL, java.io.Serializable { @@ -65,7 +64,7 @@ } private InetAddress addr; - final static org.apache.log4j.Category cat = org.apache.log4j.Category.getInstance(OILClientIL.class); + static org.apache.log4j.Category cat = org.apache.log4j.Category.getInstance(OILClientIL.class); private transient ObjectInputStream in; static final int m_close = 2; static final int m_deleteTemporaryDestination = 1; @@ -86,13 +85,13 @@ protected void createConnection() throws RemoteException { try { - Log.notice(ConnectionReceiverOILClient is connecting to: +addr.getHostAddress()+:+port); + cat.info(ConnectionReceiverOILClient is connecting to: +addr.getHostAddress()+:+port); socket=new Socket(addr,port); out=new ObjectOutputStream(new BufferedOutputStream(socket.getOutputStream())); out.flush(); in=new ObjectInputStream(new BufferedInputStream(socket.getInputStream())); } catch (Exception e) { - Log.error(e); + cat.debug(e); throw new RemoteException(Cannot connect to the ConnectionReceiver/Server); } } 1.2 +5 -6 jbossmq/src/main/org/jbossmq/il/oil/OILClientILService.java Index: OILClientILService.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/oil/OILClientILService.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- OILClientILService.java 2001/07/11 02:28:34 1.1 +++ OILClientILService.java 2001/07/16 02:51:45 1.2 @@ -18,7 +18,6 @@ import java.net.Socket; import java.io.ObjectInputStream; import java.rmi.RemoteException; -import org.jbossmq.Log; import java.io.BufferedOutputStream; import java.io.ObjectOutputStream; import java.io.BufferedInputStream; @@ -31,10 +30,9 @@ * @author Norbert Lataille ([EMAIL PROTECTED]) * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class OILClientILService implements org.jbossmq.il.ClientILService, Runnable { - //the client IL OILClientIL clientIL; @@ -74,6 +72,7 @@ worker.interrupt(); } + static org.apache.log4j.Category cat = org.apache.log4j.Category.getInstance(OILClientILService.class); //A link on my connection private Connection connection; // Attributes @@ -94,7 +93,7 @@ ObjectInputStream in = null; try { - Log.log(Waiting for the server to connect to me); + cat.debug(Waiting for the server to connect to me); // We may close() before we get a connection so we need to // periodicaly check to see if we were !running. serverSocket.setSoTimeout(1000); @@ -120,7 +119,7 @@ while (running) { try { - Log.log(Waiting for a messgage
[JBoss-dev] CVS update: jbossmq/src/main/org/jbossmq/server BasicQueue.java ClientConsumer.java ExclusiveQueue.java JBossMQService.java JBossMQServiceMBean.java JMSDestination.java JMSServer.java QueueManager.java QueueManagerMBean.java SharedQueue.java StateManager.java TopicManager.java TopicManagerMBean.java
User: chirino Date: 01/07/15 19:51:47 Modified:src/main/org/jbossmq/server BasicQueue.java ClientConsumer.java ExclusiveQueue.java JBossMQService.java JBossMQServiceMBean.java JMSDestination.java JMSServer.java QueueManager.java QueueManagerMBean.java SharedQueue.java StateManager.java TopicManager.java TopicManagerMBean.java Log: Moved the rest of JBossMQ over to log4j logging. - The jbossmq-client.jar now includes a log4j.properties which sets up the logging subsystems on the client side. To chanage the logging levels, just place your log4j.properties in the classpath betfore the jbossmq-client.jar Revision ChangesPath 1.8 +1 -1 jbossmq/src/main/org/jbossmq/server/BasicQueue.java Index: BasicQueue.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/server/BasicQueue.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- BasicQueue.java 2001/07/11 02:59:30 1.7 +++ BasicQueue.java 2001/07/16 02:51:47 1.8 @@ -34,7 +34,7 @@ * @author Hiram Chirino ([EMAIL PROTECTED]) * @author Norbert Lataille ([EMAIL PROTECTED]) * - * @version $Revision: 1.7 $ + * @version $Revision: 1.8 $ */ abstract public class BasicQueue implements Runnable { //List of messages waiting to be dispatched @@ -183,5 +183,5 @@ } } - org.apache.log4j.Category cat = org.apache.log4j.Category.getInstance(BasicQueue.class); + static org.apache.log4j.Category cat = org.apache.log4j.Category.getInstance(BasicQueue.class); } 1.9 +1 -1 jbossmq/src/main/org/jbossmq/server/ClientConsumer.java Index: ClientConsumer.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/server/ClientConsumer.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- ClientConsumer.java 2001/07/11 02:59:30 1.8 +++ ClientConsumer.java 2001/07/16 02:51:47 1.9 @@ -31,7 +31,7 @@ * * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.8 $ + * @version $Revision: 1.9 $ */ public class ClientConsumer implements Runnable { //List of messages waiting to be transmitted to the client @@ -431,7 +431,7 @@ - org.apache.log4j.Category cat = org.apache.log4j.Category.getInstance(ClientConsumer.class); + static org.apache.log4j.Category cat = org.apache.log4j.Category.getInstance(ClientConsumer.class); public BasicQueue getSubscribedQueue( Subscription req ) throws javax.jms.JMSException { 1.7 +1 -1 jbossmq/src/main/org/jbossmq/server/ExclusiveQueue.java Index: ExclusiveQueue.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/server/ExclusiveQueue.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- ExclusiveQueue.java 2001/07/11 02:59:30 1.6 +++ ExclusiveQueue.java 2001/07/16 02:51:47 1.7 @@ -28,7 +28,7 @@ * @author Hiram Chirino ([EMAIL PROTECTED]) * @author Norbert Lataille ([EMAIL PROTECTED]) * - * @version $Revision: 1.6 $ + * @version $Revision: 1.7 $ */ public class ExclusiveQueue extends BasicQueue { // Iterate over the consumers asking them to take messages until they stop @@ -84,5 +84,5 @@ super(server); } - org.apache.log4j.Category cat = org.apache.log4j.Category.getInstance(ExclusiveQueue.class); + static org.apache.log4j.Category cat = org.apache.log4j.Category.getInstance(ExclusiveQueue.class); } 1.4 +1 -1 jbossmq/src/main/org/jbossmq/server/JBossMQService.java Index: JBossMQService.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/server/JBossMQService.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- JBossMQService.java 2001/07/11 02:59:30 1.3 +++ JBossMQService.java 2001/07/16 02:51:47 1.4 @@ -31,7 +31,7 @@ * @author a href=mailto:[EMAIL PROTECTED];Juha Lindfors/a * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ */ public class JBossMQService extends ServiceMBeanSupport @@ -45,7 +45,7 @@ public String getName() { - return JBossMQ; + return JBossMQ.Server; } 1.5 +0 -0
[JBoss-dev] CVS update: jbossmq/src/main/org/jbossmq/il/jvm JVMClientIL.java JVMClientILService.java JVMServerIL.java JVMServerILService.java JVMServerILServiceMBean.java
User: chirino Date: 01/07/15 19:51:45 Modified:src/main/org/jbossmq/il/jvm JVMClientIL.java JVMClientILService.java JVMServerIL.java JVMServerILService.java JVMServerILServiceMBean.java Log: Moved the rest of JBossMQ over to log4j logging. - The jbossmq-client.jar now includes a log4j.properties which sets up the logging subsystems on the client side. To chanage the logging levels, just place your log4j.properties in the classpath betfore the jbossmq-client.jar Revision ChangesPath 1.2 +0 -0 jbossmq/src/main/org/jbossmq/il/jvm/JVMClientIL.java Index: JVMClientIL.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/jvm/JVMClientIL.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- JVMClientIL.java 2001/07/11 02:28:34 1.1 +++ JVMClientIL.java 2001/07/16 02:51:45 1.2 @@ -20,7 +20,7 @@ * @author Norbert Lataille ([EMAIL PROTECTED]) * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class JVMClientIL implements ClientIL { 1.2 +0 -0 jbossmq/src/main/org/jbossmq/il/jvm/JVMClientILService.java Index: JVMClientILService.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/jvm/JVMClientILService.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- JVMClientILService.java 2001/07/11 02:28:34 1.1 +++ JVMClientILService.java 2001/07/16 02:51:45 1.2 @@ -21,7 +21,7 @@ * @author Norbert Lataille ([EMAIL PROTECTED]) * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class JVMClientILService implements org.jbossmq.il.ClientILService { 1.2 +0 -0 jbossmq/src/main/org/jbossmq/il/jvm/JVMServerIL.java Index: JVMServerIL.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/jvm/JVMServerIL.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- JVMServerIL.java 2001/07/11 02:28:34 1.1 +++ JVMServerIL.java 2001/07/16 02:51:45 1.2 @@ -27,7 +27,7 @@ * @author Hiram Chirino ([EMAIL PROTECTED]) * @author Norbert Lataille ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class JVMServerIL implements ServerIL, java.io.Serializable { 1.2 +0 -0 jbossmq/src/main/org/jbossmq/il/jvm/JVMServerILService.java Index: JVMServerILService.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/jvm/JVMServerILService.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- JVMServerILService.java 2001/07/11 02:28:34 1.1 +++ JVMServerILService.java 2001/07/16 02:51:45 1.2 @@ -22,7 +22,7 @@ * manage the JVM IL. * * @author Hiram Chirino ([EMAIL PROTECTED]) - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class JVMServerILService extends ServerILJMXService implements JVMServerILServiceMBean { 1.2 +0 -1 jbossmq/src/main/org/jbossmq/il/jvm/JVMServerILServiceMBean.java Index: JVMServerILServiceMBean.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/jvm/JVMServerILServiceMBean.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- JVMServerILServiceMBean.java 2001/07/11 02:28:34 1.1 +++ JVMServerILServiceMBean.java 2001/07/16 02:51:45 1.2 @@ -14,5 +14,4 @@ */ public interface JVMServerILServiceMBean extends org.jbossmq.il.ServerILJMXServiceMBean { - public static final String OBJECT_NAME = JBossMQ:service=JVMServerIL; } ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbossmq/src/main/org/jbossmq/pm/file PersistenceManagerMBean.java TxLog.java
User: chirino Date: 01/07/15 19:51:46 Modified:src/main/org/jbossmq/pm/file PersistenceManagerMBean.java TxLog.java Log: Moved the rest of JBossMQ over to log4j logging. - The jbossmq-client.jar now includes a log4j.properties which sets up the logging subsystems on the client side. To chanage the logging levels, just place your log4j.properties in the classpath betfore the jbossmq-client.jar Revision ChangesPath 1.2 +1 -14 jbossmq/src/main/org/jbossmq/pm/file/PersistenceManagerMBean.java Index: PersistenceManagerMBean.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/pm/file/PersistenceManagerMBean.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- PersistenceManagerMBean.java 2001/07/11 02:52:16 1.1 +++ PersistenceManagerMBean.java 2001/07/16 02:51:46 1.2 @@ -41,24 +41,11 @@ * * @see related * @author Vincent Sheffer ([EMAIL PROTECTED]) - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public interface PersistenceManagerMBean extends org.jboss.util.ServiceMBean -{ - // Constants - - public static final String OBJECT_NAME = :service=JBossMQ; - - // Public - - - // Public - - - // Public - - - // Public +{ public java.lang.String getDataDirectory(); public void setDataDirectory(java.lang.String newDataDirectory); } 1.2 +0 -0 jbossmq/src/main/org/jbossmq/pm/file/TxLog.java Index: TxLog.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/pm/file/TxLog.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- TxLog.java2001/07/11 02:52:16 1.1 +++ TxLog.java2001/07/16 02:51:46 1.2 @@ -19,7 +19,7 @@ * It is used to rollback transactions when the system restarts. * * @author: Paul Kendall ([EMAIL PROTECTED]) - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class TxLog { ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbossmq/src/main/org/jbossmq/cluster/jms ClusterTopicConnection.java ClusterTopicConnectionFactory.java ClusterTopicSession.java
User: chirino Date: 01/07/15 19:51:45 Modified:src/main/org/jbossmq/cluster/jms ClusterTopicConnection.java ClusterTopicConnectionFactory.java ClusterTopicSession.java Log: Moved the rest of JBossMQ over to log4j logging. - The jbossmq-client.jar now includes a log4j.properties which sets up the logging subsystems on the client side. To chanage the logging levels, just place your log4j.properties in the classpath betfore the jbossmq-client.jar Revision ChangesPath 1.2 +12 -10 jbossmq/src/main/org/jbossmq/cluster/jms/ClusterTopicConnection.java Index: ClusterTopicConnection.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/cluster/jms/ClusterTopicConnection.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ClusterTopicConnection.java 2001/03/02 07:04:50 1.1 +++ ClusterTopicConnection.java 2001/07/16 02:51:45 1.2 @@ -30,7 +30,7 @@ import java.util.Iterator; import java.util.Enumeration; -import org.jbossmq.Log; + import org.jbossmq.SpyMessage; import org.jbossmq.xml.XElement; import org.jbossmq.cluster.transport.TransportListener; @@ -43,7 +43,7 @@ * * @author Hiram Chirino ([EMAIL PROTECTED]) * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class ClusterTopicConnection implements Serializable, TopicConnection, TransportListener { @@ -154,7 +154,7 @@ //A new Consumer has been created for the Destination dest void addConsumer(ClusterTopicSubscriber consumer) throws JMSException { - Log.log([ + this +]: addConsumer(dest= + consumer.topic + )); + cat.debug([ + this +]: addConsumer(dest= + consumer.topic + )); if (closed) throw new IllegalStateException(The connection is closed); @@ -185,7 +185,7 @@ if (closed) return; - Log.log(Closing sessions, ClientID= + getClientID()); + cat.debug(Closing sessions, ClientID= + getClientID()); //notify his sessions synchronized (createdSessions) { Object[] vect = createdSessions.toArray(); @@ -193,9 +193,9 @@ ((ClusterTopicSession) vect[i]).close(); } } - Log.log(Closed sessions); + cat.debug(Closed sessions); - Log.log(Disconnecting from the transport); + cat.debug(Disconnecting from the transport); //Notify the JMSServer that I am closing try { transport.stop(); @@ -204,7 +204,7 @@ failureHandler(e, Cannot properly close the transport); } - Log.log(Disconnected from the transport); + cat.debug(Disconnected from the transport); // Only set the closed flag after all the objects that depend // on this connection have been closed. @@ -222,7 +222,7 @@ exceptionListener.onException(excep); } } else { - Log.error(e); + cat.error(e); } throw excep; @@ -314,11 +314,11 @@ LinkedList ll = (LinkedList) topicSubscribers.get(message.getJMSDestination()); if (ll == null) { // No listeners... - Log.log(No subscriptions for message: + message); + cat.debug(No subscriptions for message: + message); return; } - Log.log(Dispatching message: + message); + cat.debug(Dispatching message: + message); Iterator i = ll.iterator(); while (i.hasNext()) { ClusterTopicSubscriber c = (ClusterTopicSubscriber) i.next(); @@ -419,4 +419,6 @@ return; modeStop = true; } + + static org.apache.log4j.Category cat = org.apache.log4j.Category.getInstance(ClusterTopicConnection.class); } 1.2 +5 -8 jbossmq/src/main/org/jbossmq/cluster/jms/ClusterTopicConnectionFactory.java Index: ClusterTopicConnectionFactory.java === RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/cluster/jms/ClusterTopicConnectionFactory.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ClusterTopicConnectionFactory.java2001/03/02 07:04:50 1.1 +++ ClusterTopicConnectionFactory.java2001/07/16 02:51:45
[JBoss-dev] CVS update: manual/src/docs advconfig.xml
User: vharcq Date: 01/07/15 22:17:52 Modified:src/docs advconfig.xml Log: Correct link to MDB chapter (thanks to Doug Ferguson) Remove wrong info on setting period to 0 Revision ChangesPath 1.15 +1 -3 manual/src/docs/advconfig.xml Index: advconfig.xml === RCS file: /cvsroot/jboss/manual/src/docs/advconfig.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- advconfig.xml 2001/07/08 22:17:11 1.14 +++ advconfig.xml 2001/07/16 05:17:52 1.15 @@ -515,7 +515,7 @@ per se, rather than a copy./para paraAnother element is ![CDATA[RMIObjectPort]], it defines the port on which JBoss runs its RMI Server. It has to be changed when running multiple instances of JBoss on the same server./para -paraThe other elements are specific to Message Driven Beans and are explained in xref linkend=howto.mbeans//para +paraThe other elements are specific to Message Driven Beans and are explained in xref linkend=mdb.config.advanced//para /listitem listitem para![CDATA[container-cache-conf configuration of the cache. See below for more details. @@ -704,7 +704,6 @@ The age at which a bean is considered too old is also configurable (see below). While the period of this task is 300 seconds, the first run happens at a random time between 0 and 300 seconds. -To disable the overager set the period to 0. ]]/para /listitem listitem @@ -716,7 +715,6 @@ capacity upon 3 other parameters (see below). While the period of this task is 400 seconds, the first run happens at a random time between 0 and 400 seconds. -To disable the resizer set the period to 0. ]]/para /listitem listitem ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development