[JBoss-dev] Automated JBoss Testsuite Results: 30-March-2002

2002-03-29 Thread chris



JBoss daily test results

SUMMARY

Number of tests run:   558



Successful tests:  528

Errors:20

Failures:  10





[time of test: 30 March 2002 7:13 GMT]
[java.version: 1.3.1_02]
[java.vendor: Sun Microsystems Inc.]
[java.vm.version: 1.3.1_02-b02]
[java.vm.name: Java HotSpot(TM) Server VM]
[java.vm.info: mixed mode]
[os.name: Linux]
[os.arch: i386]
[os.version: 2.4.9-31]

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.
Remember - if a test becomes broken after your changes - fix it or fix the test!





DETAILS OF ERRORS

[details not shown -as this makes the mail too big to reach the sf mailing list]




PS BEFORE you commit, run the test suite!

Its really is easy, just use the ant target 'run-basic-testsuite' from the 
build directory.


To just run the unit tests (they are quite quick):

In the testsuite directory, 
./build.sh tests-unit


You can run a single test case using:
./build.sh -Dtest=[XXXTestCase] one-test

The XXXTestCase is the classname of the junit class to run. So, to run the 
EJBSpecUnitTestCase use:
./build.sh -Dtest=EJBSpecUnitTestCase one-test


To run all tests within a package, use
./build.sh -Dtest=[package] test

The package is name of the directory under the org/jboss/test directory that 
contains the tests to run. So, to run the unit tests in the 
org.jboss.test.security package use:
./build.sh -Dtest=security test



Thanks for all your effort - we really do love you!



___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] Automated JBoss Testsuite Results: 30-March-2002

2002-03-29 Thread chris



JBoss daily test results

SUMMARY

Number of tests run:   554



Successful tests:  524

Errors:20

Failures:  10





[time of test: 30 March 2002 5:50 GMT]
[java.version: 1.3.1]
[java.vendor: Sun Microsystems Inc.]
[java.vm.version: 1.3.1-b24]
[java.vm.name: Java HotSpot(TM) Server VM]
[java.vm.info: mixed mode]
[os.name: Linux]
[os.arch: i386]
[os.version: 2.4.9-31]

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.
Remember - if a test becomes broken after your changes - fix it or fix the test!





DETAILS OF ERRORS

[details not shown -as this makes the mail too big to reach the sf mailing list]




PS BEFORE you commit, run the test suite!

Its really is easy, just use the ant target 'run-basic-testsuite' from the 
build directory.


To just run the unit tests (they are quite quick):

In the testsuite directory, 
./build.sh tests-unit


You can run a single test case using:
./build.sh -Dtest=[XXXTestCase] one-test

The XXXTestCase is the classname of the junit class to run. So, to run the 
EJBSpecUnitTestCase use:
./build.sh -Dtest=EJBSpecUnitTestCase one-test


To run all tests within a package, use
./build.sh -Dtest=[package] test

The package is name of the directory under the org/jboss/test directory that 
contains the tests to run. So, to run the unit tests in the 
org.jboss.test.security package use:
./build.sh -Dtest=security test



Thanks for all your effort - we really do love you!



___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] Automated JBoss Testsuite Results: 30-March-2002

2002-03-29 Thread chris



JBoss daily test results

SUMMARY

Number of tests run:   563



Successful tests:  536

Errors:20

Failures:  7





[time of test: 30 March 2002 4:11 GMT]
[java.version: 1.3.1]
[java.vendor: Blackdown Java-Linux Team]
[java.vm.version: Blackdown-1.3.1-02a-FCS]
[java.vm.name: Classic VM]
[java.vm.info: green threads, nojit]
[os.name: Linux]
[os.arch: i386]
[os.version: 2.4.9-31]

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.
Remember - if a test becomes broken after your changes - fix it or fix the test!





DETAILS OF ERRORS

[details not shown -as this makes the mail too big to reach the sf mailing list]




PS BEFORE you commit, run the test suite!

Its really is easy, just use the ant target 'run-basic-testsuite' from the 
build directory.


To just run the unit tests (they are quite quick):

In the testsuite directory, 
./build.sh tests-unit


You can run a single test case using:
./build.sh -Dtest=[XXXTestCase] one-test

The XXXTestCase is the classname of the junit class to run. So, to run the 
EJBSpecUnitTestCase use:
./build.sh -Dtest=EJBSpecUnitTestCase one-test


To run all tests within a package, use
./build.sh -Dtest=[package] test

The package is name of the directory under the org/jboss/test directory that 
contains the tests to run. So, to run the unit tests in the 
org.jboss.test.security package use:
./build.sh -Dtest=security test



Thanks for all your effort - we really do love you!



___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jbossmq/src/main/org/jboss/mq/pm/file MessageLog.java

2002-03-29 Thread Christian Riege

  User: lqd 
  Date: 02/03/29 19:11:18

  Modified:src/main/org/jboss/mq/pm/file MessageLog.java
  Log:
  fix broken filenames on Windows introduced by fix for Bug #533824
  
  Revision  ChangesPath
  1.12  +4 -3  jbossmq/src/main/org/jboss/mq/pm/file/MessageLog.java
  
  Index: MessageLog.java
  ===
  RCS file: /cvsroot/jboss/jbossmq/src/main/org/jboss/mq/pm/file/MessageLog.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- MessageLog.java   2 Feb 2002 03:54:20 -   1.11
  +++ MessageLog.java   30 Mar 2002 03:11:17 -  1.12
  @@ -33,7 +33,7 @@
*
* @createdAugust 16, 2001
* @author:Paul Kendall ([EMAIL PROTECTED])
  - * @version$Revision: 1.11 $
  + * @version$Revision: 1.12 $
*/
   public class MessageLog {
   
  @@ -117,12 +117,13 @@
 {
SpyMessage message = messageRef.getMessage();
File f;
  + String fileName = message.getJMSMessageID().replace( ':', '-' );
if ( transactionId == null )
{
  -f = new File( queueName, message.getJMSMessageID() );
  +f = new File( queueName, fileName );
} else
{
  -f = new File( queueName, message.getJMSMessageID() + "." + 
transactionId );
  +f = new File( queueName, fileName + "." + transactionId );
}
writeMessageToFile( message, f );
messageRef.persistData = f;
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



Re: [JBoss-dev] CVS update: jbossmq/src/main/org/jboss/mq/serverJMSServer.

2002-03-29 Thread Christian Riege

hi,

On Fri, 2002-03-29 at 02:14, Adrian Brock wrote:
> This breaks on Windows :-(
> 
> The id is used as a file name in file persistence.
> You are not allowed a : in the file name for windows.

thanks for pointing this out, i've applied a fix for this to the
file-based persistence manager.

it's probably a bad idea anyways to use the message ID as the filename
as the message id can be set by the user upon request thus leading to
potentially more problems when using inappropriate characters for the
underlying filesystem ... i'll try to come up with a better scheme for
this.

regards,
christian


___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jbossmq/src/main/org/jboss/mq/pm/file MessageLog.java

2002-03-29 Thread Christian Riege

  User: lqd 
  Date: 02/03/29 18:46:35

  Modified:src/main/org/jboss/mq/pm/file Tag: Branch_2_4
MessageLog.java
  Log:
  fix broken filenames on Windows introduced by fix for Bug #533824
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.2.2.4   +4 -3  jbossmq/src/main/org/jboss/mq/pm/file/MessageLog.java
  
  Index: MessageLog.java
  ===
  RCS file: /cvsroot/jboss/jbossmq/src/main/org/jboss/mq/pm/file/MessageLog.java,v
  retrieving revision 1.2.2.3
  retrieving revision 1.2.2.4
  diff -u -r1.2.2.3 -r1.2.2.4
  --- MessageLog.java   26 Mar 2002 06:40:41 -  1.2.2.3
  +++ MessageLog.java   30 Mar 2002 02:46:34 -  1.2.2.4
  @@ -28,7 +28,7 @@
*
* @createdAugust 16, 2001
* @author:Paul Kendall ([EMAIL PROTECTED])
  - * @version$Revision: 1.2.2.3 $
  + * @version$Revision: 1.2.2.4 $
*/
   public class MessageLog {
   
  @@ -99,10 +99,11 @@
 throws JMSException {
 try {
File f;
  + String fileName = message.getJMSMessageID().replace( ':', '-' );
if ( transactionId == null ) {
  -f = new File( queueName, message.getJMSMessageID() );
  +f = new File( queueName, fileName );
} else {
  -f = new File( queueName, message.getJMSMessageID() + "." + 
transactionId );
  +f = new File( queueName, fileName + "." + transactionId );
}
writeMessageToFile( message, f );
message.persistData = f;
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: contrib/jetty/src/main/org/mortbay/util B64Code.java BadResource.java BlockingQueue.java ByteArrayISO8859Writer.java ByteArrayOutputStream2.java ByteBufferOutputStream.java Code.java CodeException.java DateCache.java FileResource.java Frame.java IO.java InetAddrPort.java JarFileResource.java JarResource.java KeyPairTool.java LazyList.java LifeCycle.java LineInput.java Loader.java Log.java LogSink.java MultiException.java MultiMap.java Observed.java OutputStreamLogSink.java Password.java Primitive.java QuotedStringTokenizer.java Resource.java RolloverFileOutputStream.java SingletonList.java StringBufferWriter.java StringMap.java StringUtil.java TestCase.java ThreadPool.java ThreadedServer.java URI.java UnixCrypt.java UrlEncoded.java WriterOutputStream.java

2002-03-29 Thread Oleg Nitz

  User: olegnitz
  Date: 02/03/29 18:22:57

  Modified:jetty/src/main/org/mortbay/util B64Code.java
BadResource.java BlockingQueue.java
ByteArrayISO8859Writer.java
ByteArrayOutputStream2.java
ByteBufferOutputStream.java Code.java
CodeException.java DateCache.java FileResource.java
Frame.java IO.java InetAddrPort.java
JarFileResource.java JarResource.java
KeyPairTool.java LazyList.java LifeCycle.java
LineInput.java Loader.java Log.java LogSink.java
MultiException.java MultiMap.java Observed.java
OutputStreamLogSink.java Password.java
Primitive.java QuotedStringTokenizer.java
Resource.java RolloverFileOutputStream.java
SingletonList.java StringBufferWriter.java
StringMap.java StringUtil.java TestCase.java
ThreadPool.java ThreadedServer.java URI.java
UnixCrypt.java UrlEncoded.java
WriterOutputStream.java
  Log:
  Jetty 4.0.0
  
  Revision  ChangesPath
  1.7   +0 -0  contrib/jetty/src/main/org/mortbay/util/B64Code.java
  
  Index: B64Code.java
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/util/B64Code.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- B64Code.java  11 Mar 2002 05:29:00 -  1.6
  +++ B64Code.java  30 Mar 2002 02:22:57 -  1.7
  @@ -1,6 +1,6 @@
   // 
   // Copyright (c) 1999 Mort Bay Consulting (Australia) Pty. Ltd.
  -// $Id: B64Code.java,v 1.6 2002/03/11 05:29:00 janb Exp $
  +// $Id: B64Code.java,v 1.7 2002/03/30 02:22:57 olegnitz Exp $
   // 
   
   package org.mortbay.util;
  @@ -13,7 +13,7 @@
*  Note that in a web services context the usual case is to not want
* linebreaks or other white space in the encoded output.
*
  - * @version $Revision: 1.6 $
  + * @version $Revision: 1.7 $
* @author Brett Sealey (bretts)
* @author Greg Wilkins (gregw)
*/
  
  
  
  1.7   +0 -0  contrib/jetty/src/main/org/mortbay/util/BadResource.java
  
  Index: BadResource.java
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/util/BadResource.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- BadResource.java  11 Mar 2002 05:29:00 -  1.6
  +++ BadResource.java  30 Mar 2002 02:22:57 -  1.7
  @@ -1,6 +1,6 @@
   // ===
   // Copyright (c) 1996 Mort Bay Consulting Pty. Ltd. All rights reserved.
  -// $Id: BadResource.java,v 1.6 2002/03/11 05:29:00 janb Exp $
  +// $Id: BadResource.java,v 1.7 2002/03/30 02:22:57 olegnitz Exp $
   // ---
   package org.mortbay.util;
   
  @@ -18,7 +18,7 @@
* A Resource that is returned for a bade URL.  Acts as a resource
* that does not exist and throws appropriate exceptions.
*
  - * @version $Revision: 1.6 $
  + * @version $Revision: 1.7 $
* @author Greg Wilkins (gregw)
*/
   class BadResource extends Resource
  
  
  
  1.7   +0 -0  contrib/jetty/src/main/org/mortbay/util/BlockingQueue.java
  
  Index: BlockingQueue.java
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/util/BlockingQueue.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- BlockingQueue.java11 Mar 2002 05:29:00 -  1.6
  +++ BlockingQueue.java30 Mar 2002 02:22:57 -  1.7
  @@ -1,6 +1,6 @@
   // ===
   // Copyright (c) 1996 Mort Bay Consulting Pty. Ltd. All rights reserved.
  -// $Id: BlockingQueue.java,v 1.6 2002/03/11 05:29:00 janb Exp $
  +// $Id: BlockingQueue.java,v 1.7 2002/03/30 02:22:57 olegnitz Exp $
   // ---
   
   package org.mortbay.util;
  @@ -12,7 +12,7 @@
* Implemented as circular buffer in a Vector. Synchronization is on the
* vector to avoid double synchronization.
*
  - * @version $Id: BlockingQueue.java,v 1.6 2002/03/11 05:29:00 janb Exp $
  + * @version $Id: BlockingQueue.java,v 1.7 2002/03/30 02:22:57 olegnitz Exp $
* @author Greg Wilkins (gregw)
*/
   public class BlockingQueue
  
  
  
  1.7   +0 -0  
contrib/jetty/src/main/o

[JBoss-dev] Automated JBoss Testsuite Results: 30-March-2002

2002-03-29 Thread chris



JBoss daily test results

SUMMARY

Number of tests run:   563



Successful tests:  536

Errors:19

Failures:  8





[time of test: 30 March 2002 2:36 GMT]
[java.version: 1.3.1]
[java.vendor: Blackdown Java-Linux Team]
[java.vm.version: Blackdown-1.3.1_02a-FCS]
[java.vm.name: Java HotSpot(TM) Client VM]
[java.vm.info: mixed mode]
[os.name: Linux]
[os.arch: i386]
[os.version: 2.4.9-31]

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.
Remember - if a test becomes broken after your changes - fix it or fix the test!





DETAILS OF ERRORS

[details not shown -as this makes the mail too big to reach the sf mailing list]




PS BEFORE you commit, run the test suite!

Its really is easy, just use the ant target 'run-basic-testsuite' from the 
build directory.


To just run the unit tests (they are quite quick):

In the testsuite directory, 
./build.sh tests-unit


You can run a single test case using:
./build.sh -Dtest=[XXXTestCase] one-test

The XXXTestCase is the classname of the junit class to run. So, to run the 
EJBSpecUnitTestCase use:
./build.sh -Dtest=EJBSpecUnitTestCase one-test


To run all tests within a package, use
./build.sh -Dtest=[package] test

The package is name of the directory under the org/jboss/test directory that 
contains the tests to run. So, to run the unit tests in the 
org.jboss.test.security package use:
./build.sh -Dtest=security test



Thanks for all your effort - we really do love you!



___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: contrib/jetty/src/main/org/mortbay/servlet AdminServlet.java Debug.java Dump.java Forward.java MultiPartRequest.java MultiPartResponse.java NotFoundServlet.java RequestDispatchTest.java SessionDump.java

2002-03-29 Thread Oleg Nitz

  User: olegnitz
  Date: 02/03/29 18:22:56

  Modified:jetty/src/main/org/mortbay/servlet AdminServlet.java
Debug.java Dump.java Forward.java
MultiPartRequest.java MultiPartResponse.java
NotFoundServlet.java RequestDispatchTest.java
SessionDump.java
  Log:
  Jetty 4.0.0
  
  Revision  ChangesPath
  1.7   +0 -0  contrib/jetty/src/main/org/mortbay/servlet/AdminServlet.java
  
  Index: AdminServlet.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/mortbay/servlet/AdminServlet.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- AdminServlet.java 11 Mar 2002 05:29:00 -  1.6
  +++ AdminServlet.java 30 Mar 2002 02:22:56 -  1.7
  @@ -1,6 +1,6 @@
   // ===
   // Copyright (c) 1996 Mort Bay Consulting Pty. Ltd. All rights reserved.
  -// $Id: AdminServlet.java,v 1.6 2002/03/11 05:29:00 janb Exp $
  +// $Id: AdminServlet.java,v 1.7 2002/03/30 02:22:56 olegnitz Exp $
   // ---
   
   package org.mortbay.servlet;
  @@ -53,7 +53,7 @@
* This is a minimal start to a administration servlet that allows
* start/stop of server components and control of debug parameters.
*
  - * @version $Id: AdminServlet.java,v 1.6 2002/03/11 05:29:00 janb Exp $
  + * @version $Id: AdminServlet.java,v 1.7 2002/03/30 02:22:56 olegnitz Exp $
* @author Greg Wilkins (gregw)
*/
   public class AdminServlet extends HttpServlet
  
  
  
  1.7   +0 -0  contrib/jetty/src/main/org/mortbay/servlet/Debug.java
  
  Index: Debug.java
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/servlet/Debug.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Debug.java11 Mar 2002 05:29:00 -  1.6
  +++ Debug.java30 Mar 2002 02:22:56 -  1.7
  @@ -1,6 +1,6 @@
   // ===
   // Copyright (c) 1996 Mort Bay Consulting Pty. Ltd. All rights reserved.
  -// $Id: Debug.java,v 1.6 2002/03/11 05:29:00 janb Exp $
  +// $Id: Debug.java,v 1.7 2002/03/30 02:22:56 olegnitz Exp $
   // ---
   
   package org.mortbay.servlet;
  
  
  
  1.7   +0 -0  contrib/jetty/src/main/org/mortbay/servlet/Dump.java
  
  Index: Dump.java
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/servlet/Dump.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Dump.java 11 Mar 2002 05:29:00 -  1.6
  +++ Dump.java 30 Mar 2002 02:22:56 -  1.7
  @@ -1,6 +1,6 @@
   // ===
   // Copyright (c) 1996 Mort Bay Consulting Pty. Ltd. All rights reserved.
  -// $Id: Dump.java,v 1.6 2002/03/11 05:29:00 janb Exp $
  +// $Id: Dump.java,v 1.7 2002/03/30 02:22:56 olegnitz Exp $
   // ---
   
   package org.mortbay.servlet;
  
  
  
  1.7   +0 -0  contrib/jetty/src/main/org/mortbay/servlet/Forward.java
  
  Index: Forward.java
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/servlet/Forward.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Forward.java  11 Mar 2002 05:29:00 -  1.6
  +++ Forward.java  30 Mar 2002 02:22:56 -  1.7
  @@ -1,6 +1,6 @@
   // ===
   // Copyright (c) 1996 Mort Bay Consulting Pty. Ltd. All rights reserved.
  -// $Id: Forward.java,v 1.6 2002/03/11 05:29:00 janb Exp $
  +// $Id: Forward.java,v 1.7 2002/03/30 02:22:56 olegnitz Exp $
   // ---
   
   package org.mortbay.servlet;
  @@ -28,7 +28,7 @@
* of that name. If a parameter is found, it's value is used to get a
* RequestDispatcher.
*
  - * @version $Id: Forward.java,v 1.6 2002/03/11 05:29:00 janb Exp $
  + * @version $Id: Forward.java,v 1.7 2002/03/30 02:22:56 olegnitz Exp $
* @author Greg Wilkins (gregw)
*/
   public class Forward extends HttpServlet
  
  
  
  1.7   +0 -0  contrib/jetty/src/main/org/mortbay/servlet/MultiPartRequest.java
  
  Index: MultiPartRequest.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/mortbay/servlet/MultiPartRequest.java,v
  retrieving revision 1.6
  re

[JBoss-dev] CVS update: contrib/jetty/src/main/org/mortbay/html Applet.java Block.java Break.java Comment.java Composite.java CompositeFactory.java DefList.java Element.java Font.java Form.java Frame.java FrameSet.java Heading.java Image.java Include.java Input.java Link.java List.java Page.java Script.java Select.java Style.java StyleLink.java Table.java TableForm.java Tag.java Target.java Text.java TextArea.java

2002-03-29 Thread Oleg Nitz

  User: olegnitz
  Date: 02/03/29 18:22:55

  Modified:jetty/src/main/org/mortbay/html Applet.java Block.java
Break.java Comment.java Composite.java
CompositeFactory.java DefList.java Element.java
Font.java Form.java Frame.java FrameSet.java
Heading.java Image.java Include.java Input.java
Link.java List.java Page.java Script.java
Select.java Style.java StyleLink.java Table.java
TableForm.java Tag.java Target.java Text.java
TextArea.java
  Log:
  Jetty 4.0.0
  
  Revision  ChangesPath
  1.7   +0 -0  contrib/jetty/src/main/org/mortbay/html/Applet.java
  
  Index: Applet.java
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/html/Applet.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Applet.java   11 Mar 2002 05:28:58 -  1.6
  +++ Applet.java   30 Mar 2002 02:22:55 -  1.7
  @@ -1,6 +1,6 @@
   // 
   // Copyright (c) 1996 Intelligent Switched Systems, Sydney
  -// $Id: Applet.java,v 1.6 2002/03/11 05:28:58 janb Exp $
  +// $Id: Applet.java,v 1.7 2002/03/30 02:22:55 olegnitz Exp $
   // 
   
   package org.mortbay.html;
  @@ -25,7 +25,7 @@
* 
*
* @see org.mortbay.html.Block
  - * @version $Id: Applet.java,v 1.6 2002/03/11 05:28:58 janb Exp $
  + * @version $Id: Applet.java,v 1.7 2002/03/30 02:22:55 olegnitz Exp $
* @author Matthew Watson
   */
   public class Applet extends Block
  
  
  
  1.7   +0 -0  contrib/jetty/src/main/org/mortbay/html/Block.java
  
  Index: Block.java
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/html/Block.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Block.java11 Mar 2002 05:28:58 -  1.6
  +++ Block.java30 Mar 2002 02:22:55 -  1.7
  @@ -1,6 +1,6 @@
   // ===
   // Copyright (c) 1996 Mort Bay Consulting Pty. Ltd. All rights reserved.
  -// $Id: Block.java,v 1.6 2002/03/11 05:28:58 janb Exp $
  +// $Id: Block.java,v 1.7 2002/03/30 02:22:55 olegnitz Exp $
   // ---
   
   package org.mortbay.html;
  
  
  
  1.7   +0 -0  contrib/jetty/src/main/org/mortbay/html/Break.java
  
  Index: Break.java
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/html/Break.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Break.java11 Mar 2002 05:28:58 -  1.6
  +++ Break.java30 Mar 2002 02:22:55 -  1.7
  @@ -1,6 +1,6 @@
   // ===
   // Copyright (c) 1996 Mort Bay Consulting Pty. Ltd. All rights reserved.
  -// $Id: Break.java,v 1.6 2002/03/11 05:28:58 janb Exp $
  +// $Id: Break.java,v 1.7 2002/03/30 02:22:55 olegnitz Exp $
   // ---
   
   package org.mortbay.html;
  
  
  
  1.7   +0 -0  contrib/jetty/src/main/org/mortbay/html/Comment.java
  
  Index: Comment.java
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/html/Comment.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Comment.java  11 Mar 2002 05:28:58 -  1.6
  +++ Comment.java  30 Mar 2002 02:22:55 -  1.7
  @@ -1,6 +1,6 @@
   // 
   // Copyright (c) 1999 Mort Bay Consulting (Australia) Pty. Ltd.
  -// $Id: Comment.java,v 1.6 2002/03/11 05:28:58 janb Exp $
  +// $Id: Comment.java,v 1.7 2002/03/30 02:22:55 olegnitz Exp $
   // 
   
   package org.mortbay.html;
  @@ -10,7 +10,7 @@
   
   /*  */
   /** HTML Comment.
  - * @version $Id: Comment.java,v 1.6 2002/03/11 05:28:58 janb Exp $
  + * @version $Id: Comment.java,v 1.7 2002/03/30 02:22:55 olegnitz Exp $
* @author Greg Wilkins (gregw)
*/
   public class Comment extends Composite
  
  
  
  1.7   +0 -0  contrib/jetty/src/main/org/mortbay/html/Composite.java
  
  Index: Composite.java
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/html/Composite.j

[JBoss-dev] CVS update: contrib/jetty/src/main/org/mortbay/jetty/servlet AbstractSessionManager.java Dispatcher.java FilterHandler.java FilterHolder.java HashSessionManager.java Holder.java ServletHandler.java ServletHolder.java ServletHttpContext.java ServletHttpRequest.java ServletHttpResponse.java ServletIn.java ServletOut.java ServletSSL.java ServletWriter.java SessionContext.java SessionManager.java WebApplicationContext.java

2002-03-29 Thread Oleg Nitz

  User: olegnitz
  Date: 02/03/29 18:22:56

  Modified:jetty/src/main/org/mortbay/jetty/servlet
AbstractSessionManager.java Dispatcher.java
FilterHandler.java FilterHolder.java
HashSessionManager.java Holder.java
ServletHandler.java ServletHolder.java
ServletHttpContext.java ServletHttpRequest.java
ServletHttpResponse.java ServletIn.java
ServletOut.java ServletSSL.java ServletWriter.java
SessionContext.java SessionManager.java
WebApplicationContext.java
  Log:
  Jetty 4.0.0
  
  Revision  ChangesPath
  1.6   +0 -0  
contrib/jetty/src/main/org/mortbay/jetty/servlet/AbstractSessionManager.java
  
  Index: AbstractSessionManager.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/mortbay/jetty/servlet/AbstractSessionManager.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- AbstractSessionManager.java   11 Mar 2002 05:29:00 -  1.5
  +++ AbstractSessionManager.java   30 Mar 2002 02:22:56 -  1.6
  @@ -1,6 +1,6 @@
   // ===
   // Copyright (c) 1996 Mort Bay Consulting Pty. Ltd. All rights reserved.
  -// $Id: AbstractSessionManager.java,v 1.5 2002/03/11 05:29:00 janb Exp $
  +// $Id: AbstractSessionManager.java,v 1.6 2002/03/30 02:22:56 olegnitz Exp $
   // ---
   
   package org.mortbay.jetty.servlet;
  @@ -40,7 +40,7 @@
* to return a specialized version of the Session inner class that
* provides an attribute Map.
*
  - * @version $Id: AbstractSessionManager.java,v 1.5 2002/03/11 05:29:00 janb Exp $
  + * @version $Id: AbstractSessionManager.java,v 1.6 2002/03/30 02:22:56 olegnitz Exp 
$
* @author Greg Wilkins (gregw)
*/
   public abstract class AbstractSessionManager implements SessionManager
  
  
  
  1.7   +3 -3  contrib/jetty/src/main/org/mortbay/jetty/servlet/Dispatcher.java
  
  Index: Dispatcher.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/mortbay/jetty/servlet/Dispatcher.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Dispatcher.java   11 Mar 2002 05:29:00 -  1.6
  +++ Dispatcher.java   30 Mar 2002 02:22:56 -  1.7
  @@ -1,6 +1,6 @@
   // ===
   // Copyright (c) 1996 Mort Bay Consulting Pty. Ltd. All rights reserved.
  -// $Id: Dispatcher.java,v 1.6 2002/03/11 05:29:00 janb Exp $
  +// $Id: Dispatcher.java,v 1.7 2002/03/30 02:22:56 olegnitz Exp $
   // ---
   
   package org.mortbay.jetty.servlet;
  @@ -48,7 +48,7 @@
   /*  */
   /** Servlet RequestDispatcher.
* 
  - * @version $Id: Dispatcher.java,v 1.6 2002/03/11 05:29:00 janb Exp $
  + * @version $Id: Dispatcher.java,v 1.7 2002/03/30 02:22:56 olegnitz Exp $
* @author Greg Wilkins (gregw)
*/
   public class Dispatcher implements RequestDispatcher
  @@ -534,7 +534,7 @@
   try {_out=super.getOutputStream();}
   catch(IllegalStateException e)
   {
  -Code.warning(e);
  +if (Code.debug()) Code.warning(e);
   _out=new ServletOut(new WriterOutputStream(super.getWriter()));
   }
   }
  
  
  
  1.7   +0 -0  
contrib/jetty/src/main/org/mortbay/jetty/servlet/FilterHandler.java
  
  Index: FilterHandler.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/mortbay/jetty/servlet/FilterHandler.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- FilterHandler.java11 Mar 2002 05:29:00 -  1.6
  +++ FilterHandler.java30 Mar 2002 02:22:56 -  1.7
  @@ -1,6 +1,6 @@
   // ===
   // Copyright (c) 2001 Mort Bay Consulting Pty. Ltd. All rights reserved.
  -// $Id: FilterHandler.java,v 1.6 2002/03/11 05:29:00 janb Exp $
  +// $Id: FilterHandler.java,v 1.7 2002/03/30 02:22:56 olegnitz Exp $
   // ---
   
   package org.mortbay.jetty.servlet;
  @@ -42,7 +42,7 @@
* or more intelligently merge entries in the cache.
*
* @since Servlet 2.3
  - * @version  $Id: FilterHandler.java,v 1.6 2002/03/11 05:29:00 janb Exp $
  + * @version  $Id: FilterHandler.java,v 1.7 2002

[JBoss-dev] CVS update: contrib/jetty/src/main/org/mortbay MANIFEST.MF

2002-03-29 Thread Oleg Nitz

  User: olegnitz
  Date: 02/03/29 18:22:54

  Modified:jetty/src/main/org/mortbay MANIFEST.MF
  Log:
  Jetty 4.0.0
  
  Revision  ChangesPath
  1.5   +1 -1  contrib/jetty/src/main/org/mortbay/MANIFEST.MF
  
  Index: MANIFEST.MF
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/MANIFEST.MF,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- MANIFEST.MF   4 Mar 2002 01:38:55 -   1.4
  +++ MANIFEST.MF   30 Mar 2002 02:22:54 -  1.5
  @@ -3,7 +3,7 @@
   Package-Version: 1.0.0
   Package-Title: org.mortbay.jetty
   Specification-Version: 4.0
  -Implementation-Version: 4.0.RC1
  +Implementation-Version: 4.0.0
   Specification-Vendor: Mort Bay Consulting, Pty. Ltd.
   Implementation-Vendor: Mort Bay Consulting, Pty. Ltd.
   Implementation-URL: http://jetty.mortbay.org
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: contrib/jetty/src/main/org/mortbay/jetty/servlet/jmx ServletHttpContextMBean.java WebApplicationMBean.java

2002-03-29 Thread Oleg Nitz

  User: olegnitz
  Date: 02/03/29 18:22:56

  Modified:jetty/src/main/org/mortbay/jetty/servlet/jmx
ServletHttpContextMBean.java
WebApplicationMBean.java
  Log:
  Jetty 4.0.0
  
  Revision  ChangesPath
  1.6   +0 -0  
contrib/jetty/src/main/org/mortbay/jetty/servlet/jmx/ServletHttpContextMBean.java
  
  Index: ServletHttpContextMBean.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/mortbay/jetty/servlet/jmx/ServletHttpContextMBean.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ServletHttpContextMBean.java  11 Mar 2002 05:29:00 -  1.5
  +++ ServletHttpContextMBean.java  30 Mar 2002 02:22:56 -  1.6
  @@ -1,6 +1,6 @@
   // 
   // Copyright (c) 1999 Mort Bay Consulting (Australia) Pty. Ltd.
  -// $Id: ServletHttpContextMBean.java,v 1.5 2002/03/11 05:29:00 janb Exp $
  +// $Id: ServletHttpContextMBean.java,v 1.6 2002/03/30 02:22:56 olegnitz Exp $
   // 
   
   package org.mortbay.jetty.servlet.jmx;
  @@ -33,7 +33,7 @@
* Note that while Web Applications are HttpContexts, the MBean is
* not derived from HttpContextMBean as they are managed differently.
*
  - * @version $Revision: 1.5 $
  + * @version $Revision: 1.6 $
* @author Greg Wilkins (gregw)
*/
   public class ServletHttpContextMBean extends HttpContextMBean
  
  
  
  1.6   +0 -0  
contrib/jetty/src/main/org/mortbay/jetty/servlet/jmx/WebApplicationMBean.java
  
  Index: WebApplicationMBean.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/mortbay/jetty/servlet/jmx/WebApplicationMBean.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- WebApplicationMBean.java  11 Mar 2002 05:29:00 -  1.5
  +++ WebApplicationMBean.java  30 Mar 2002 02:22:56 -  1.6
  @@ -1,6 +1,6 @@
   // 
   // Copyright (c) 1999 Mort Bay Consulting (Australia) Pty. Ltd.
  -// $Id: WebApplicationMBean.java,v 1.5 2002/03/11 05:29:00 janb Exp $
  +// $Id: WebApplicationMBean.java,v 1.6 2002/03/30 02:22:56 olegnitz Exp $
   // 
   
   package org.mortbay.jetty.servlet.jmx;
  @@ -27,7 +27,7 @@
* Note that while Web Applications are HttpContexts, the MBean is
* not derived from HttpContextMBean as they are managed differently.
*
  - * @version $Revision: 1.5 $
  + * @version $Revision: 1.6 $
* @author Greg Wilkins (gregw)
*/
   public class WebApplicationMBean extends ServletHttpContextMBean
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: contrib/jetty/src/main/org/mortbay/util/jmx CodeMBean.java LifeCycleMBean.java LogMBean.java LogSinkMBean.java Main.java ModelMBeanImpl.java OutputStreamLogSinkMBean.java TestModelMBean.java ThreadPoolMBean.java ThreadedServerMBean.java

2002-03-29 Thread Oleg Nitz

  User: olegnitz
  Date: 02/03/29 18:22:58

  Modified:jetty/src/main/org/mortbay/util/jmx CodeMBean.java
LifeCycleMBean.java LogMBean.java LogSinkMBean.java
Main.java ModelMBeanImpl.java
OutputStreamLogSinkMBean.java TestModelMBean.java
ThreadPoolMBean.java ThreadedServerMBean.java
  Log:
  Jetty 4.0.0
  
  Revision  ChangesPath
  1.6   +0 -0  contrib/jetty/src/main/org/mortbay/util/jmx/CodeMBean.java
  
  Index: CodeMBean.java
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/util/jmx/CodeMBean.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- CodeMBean.java11 Mar 2002 05:29:01 -  1.5
  +++ CodeMBean.java30 Mar 2002 02:22:58 -  1.6
  @@ -1,6 +1,6 @@
   // 
   // Copyright (c) 1999 Mort Bay Consulting (Australia) Pty. Ltd.
  -// $Id: CodeMBean.java,v 1.5 2002/03/11 05:29:01 janb Exp $
  +// $Id: CodeMBean.java,v 1.6 2002/03/30 02:22:58 olegnitz Exp $
   // 
   
   package org.mortbay.util.jmx;
  
  
  
  1.6   +0 -0  contrib/jetty/src/main/org/mortbay/util/jmx/LifeCycleMBean.java
  
  Index: LifeCycleMBean.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/mortbay/util/jmx/LifeCycleMBean.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- LifeCycleMBean.java   11 Mar 2002 05:29:01 -  1.5
  +++ LifeCycleMBean.java   30 Mar 2002 02:22:58 -  1.6
  @@ -1,6 +1,6 @@
   // 
   // Copyright (c) 1999 Mort Bay Consulting (Australia) Pty. Ltd.
  -// $Id: LifeCycleMBean.java,v 1.5 2002/03/11 05:29:01 janb Exp $
  +// $Id: LifeCycleMBean.java,v 1.6 2002/03/30 02:22:58 olegnitz Exp $
   // 
   
   package org.mortbay.util.jmx;
  @@ -17,7 +17,7 @@
   /*  */
   /** 
*
  - * @version $Revision: 1.5 $
  + * @version $Revision: 1.6 $
* @author Greg Wilkins (gregw)
*/
   public class LifeCycleMBean extends ModelMBeanImpl
  
  
  
  1.6   +0 -0  contrib/jetty/src/main/org/mortbay/util/jmx/LogMBean.java
  
  Index: LogMBean.java
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/util/jmx/LogMBean.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- LogMBean.java 11 Mar 2002 05:29:01 -  1.5
  +++ LogMBean.java 30 Mar 2002 02:22:58 -  1.6
  @@ -1,6 +1,6 @@
   // 
   // Copyright (c) 1999 Mort Bay Consulting (Australia) Pty. Ltd.
  -// $Id: LogMBean.java,v 1.5 2002/03/11 05:29:01 janb Exp $
  +// $Id: LogMBean.java,v 1.6 2002/03/30 02:22:58 olegnitz Exp $
   // 
   
   package org.mortbay.util.jmx;
  
  
  
  1.6   +0 -0  contrib/jetty/src/main/org/mortbay/util/jmx/LogSinkMBean.java
  
  Index: LogSinkMBean.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/mortbay/util/jmx/LogSinkMBean.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- LogSinkMBean.java 11 Mar 2002 05:29:01 -  1.5
  +++ LogSinkMBean.java 30 Mar 2002 02:22:58 -  1.6
  @@ -1,6 +1,6 @@
   // 
   // Copyright (c) 1999 Mort Bay Consulting (Australia) Pty. Ltd.
  -// $Id: LogSinkMBean.java,v 1.5 2002/03/11 05:29:01 janb Exp $
  +// $Id: LogSinkMBean.java,v 1.6 2002/03/30 02:22:58 olegnitz Exp $
   // 
   
   package org.mortbay.util.jmx;
  @@ -25,7 +25,7 @@
   /*  */
   /** 
*
  - * @version $Revision: 1.5 $
  + * @version $Revision: 1.6 $
* @author Greg Wilkins (gregw)
*/
   public class LogSinkMBean extends LifeCycleMBean
  
  
  
  1.6   +0 -0  contrib/jetty/src/main/org/mortbay/util/jmx/Main.java
  
  Index: Main.java
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/util/jmx/Main.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Main.java 11 Mar 2002 05:29:01 -  1.5
  +++ Main.java 30 Mar 2002 02:22:58 -  1.6
  @@ -1,6 +1,6 @@
   // =

[JBoss-dev] CVS update: contrib/jetty/src/main/org/mortbay/jetty Server.java

2002-03-29 Thread Oleg Nitz

  User: olegnitz
  Date: 02/03/29 18:22:55

  Modified:jetty/src/main/org/mortbay/jetty Server.java
  Log:
  Jetty 4.0.0
  
  Revision  ChangesPath
  1.7   +0 -0  contrib/jetty/src/main/org/mortbay/jetty/Server.java
  
  Index: Server.java
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/jetty/Server.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Server.java   11 Mar 2002 05:29:00 -  1.6
  +++ Server.java   30 Mar 2002 02:22:55 -  1.7
  @@ -34,7 +34,7 @@
*
* @see org.mortbay.xml.XmlConfiguration
* @see org.mortbay.jetty.servlet.ServletHttpContext
  - * @version $Revision: 1.6 $
  + * @version $Revision: 1.7 $
* @author Greg Wilkins (gregw)
*/
   public class Server extends HttpServer
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: contrib/jetty/src/main/org/mortbay/jetty/jmx Main.java ServerMBean.java

2002-03-29 Thread Oleg Nitz

  User: olegnitz
  Date: 02/03/29 18:22:55

  Modified:jetty/src/main/org/mortbay/jetty/jmx Main.java
ServerMBean.java
  Log:
  Jetty 4.0.0
  
  Revision  ChangesPath
  1.7   +0 -0  contrib/jetty/src/main/org/mortbay/jetty/jmx/Main.java
  
  Index: Main.java
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/jetty/jmx/Main.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Main.java 11 Mar 2002 05:29:00 -  1.6
  +++ Main.java 30 Mar 2002 02:22:55 -  1.7
  @@ -1,6 +1,6 @@
   // 
   // Copyright (c) 1999 Mort Bay Consulting (Australia) Pty. Ltd.
  -// $Id: Main.java,v 1.6 2002/03/11 05:29:00 janb Exp $
  +// $Id: Main.java,v 1.7 2002/03/30 02:22:55 olegnitz Exp $
   // 
   
   package org.mortbay.jetty.jmx;
  
  
  
  1.6   +0 -0  contrib/jetty/src/main/org/mortbay/jetty/jmx/ServerMBean.java
  
  Index: ServerMBean.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/mortbay/jetty/jmx/ServerMBean.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ServerMBean.java  11 Mar 2002 05:29:00 -  1.5
  +++ ServerMBean.java  30 Mar 2002 02:22:55 -  1.6
  @@ -1,6 +1,6 @@
   // 
   // Copyright (c) 1999 Mort Bay Consulting (Australia) Pty. Ltd.
  -// $Id: ServerMBean.java,v 1.5 2002/03/11 05:29:00 janb Exp $
  +// $Id: ServerMBean.java,v 1.6 2002/03/30 02:22:55 olegnitz Exp $
   // 
   
   package org.mortbay.jetty.jmx;
  @@ -44,7 +44,7 @@
* listener of the HttpServer, so it can create and destroy MBean
* wrappers for listeners and contexts.
*
  - * @version $Revision: 1.5 $
  + * @version $Revision: 1.6 $
* @author Greg Wilkins (gregw)
*/
   public class ServerMBean extends HttpServerMBean
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: contrib/jetty/src/main/org/mortbay/xml XmlConfiguration.java XmlParser.java configure_1_0.dtd configure_1_1.dtd configure_1_2.dtd

2002-03-29 Thread Oleg Nitz

  User: olegnitz
  Date: 02/03/29 18:22:58

  Modified:jetty/src/main/org/mortbay/xml XmlConfiguration.java
XmlParser.java configure_1_0.dtd configure_1_1.dtd
configure_1_2.dtd
  Log:
  Jetty 4.0.0
  
  Revision  ChangesPath
  1.7   +0 -0  contrib/jetty/src/main/org/mortbay/xml/XmlConfiguration.java
  
  Index: XmlConfiguration.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/mortbay/xml/XmlConfiguration.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XmlConfiguration.java 11 Mar 2002 05:29:02 -  1.6
  +++ XmlConfiguration.java 30 Mar 2002 02:22:58 -  1.7
  @@ -1,6 +1,6 @@
   // 
   // Copyright (c) 1999 Mort Bay Consulting (Australia) Pty. Ltd.
  -// $Id: XmlConfiguration.java,v 1.6 2002/03/11 05:29:02 janb Exp $
  +// $Id: XmlConfiguration.java,v 1.7 2002/03/30 02:22:58 olegnitz Exp $
   // 
   
   package org.mortbay.xml;
  @@ -33,7 +33,7 @@
* and uses it to configure and object by calling set, put or other
* methods on the object.
*
  - * @version $Id: XmlConfiguration.java,v 1.6 2002/03/11 05:29:02 janb Exp $
  + * @version $Id: XmlConfiguration.java,v 1.7 2002/03/30 02:22:58 olegnitz Exp $
* @author Greg Wilkins (gregw)
*/
   public class XmlConfiguration
  
  
  
  1.7   +0 -0  contrib/jetty/src/main/org/mortbay/xml/XmlParser.java
  
  Index: XmlParser.java
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/xml/XmlParser.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XmlParser.java11 Mar 2002 05:29:02 -  1.6
  +++ XmlParser.java30 Mar 2002 02:22:58 -  1.7
  @@ -1,6 +1,6 @@
   // 
   // Copyright (c) 1999 Mort Bay Consulting (Australia) Pty. Ltd.
  -// $Id: XmlParser.java,v 1.6 2002/03/11 05:29:02 janb Exp $
  +// $Id: XmlParser.java,v 1.7 2002/03/30 02:22:58 olegnitz Exp $
   // 
   
   package org.mortbay.xml;
  @@ -35,7 +35,7 @@
* This class wraps any standard JAXP1.1 parser with convieniant error and
* entity handlers and a mini dom-like document tree.
*
  - * @version $Id: XmlParser.java,v 1.6 2002/03/11 05:29:02 janb Exp $
  + * @version $Id: XmlParser.java,v 1.7 2002/03/30 02:22:58 olegnitz Exp $
* @author Greg Wilkins (gregw)
*/
   public class XmlParser 
  
  
  
  1.7   +0 -0  contrib/jetty/src/main/org/mortbay/xml/configure_1_0.dtd
  
  Index: configure_1_0.dtd
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/xml/configure_1_0.dtd,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- configure_1_0.dtd 11 Mar 2002 05:29:02 -  1.6
  +++ configure_1_0.dtd 30 Mar 2002 02:22:58 -  1.7
  @@ -16,7 +16,7 @@
   Values are matched to arguments on a best effort approach, but types
   my be specified if a match is not achieved.
   
  -$Id: configure_1_0.dtd,v 1.6 2002/03/11 05:29:02 janb Exp $
  +$Id: configure_1_0.dtd,v 1.7 2002/03/30 02:22:58 olegnitz Exp $
   -->
   
   
  
  
  
  1.7   +0 -0  contrib/jetty/src/main/org/mortbay/xml/configure_1_1.dtd
  
  Index: configure_1_1.dtd
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/xml/configure_1_1.dtd,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- configure_1_1.dtd 11 Mar 2002 05:29:02 -  1.6
  +++ configure_1_1.dtd 30 Mar 2002 02:22:58 -  1.7
  @@ -16,7 +16,7 @@
   Values are matched to arguments on a best effort approach, but types
   my be specified if a match is not achieved.
   
  -$Id: configure_1_1.dtd,v 1.6 2002/03/11 05:29:02 janb Exp $
  +$Id: configure_1_1.dtd,v 1.7 2002/03/30 02:22:58 olegnitz Exp $
   -->
   
   
  
  
  
  1.6   +0 -0  contrib/jetty/src/main/org/mortbay/xml/configure_1_2.dtd
  
  Index: configure_1_2.dtd
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/xml/configure_1_2.dtd,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- configure_1_2.dtd 11 Mar 2002 05:29:02 -  1.5
  +++ configure_1_2.dtd 30 Mar 2002 02:22:58 -  1.6
  @@ -16,7 +16,7 @@
   Values are matched to arguments on a best effort approach, but types
   my be specified if a match is not achieved.
   
  -$Id: configure_1_2.dtd,v 1.5 2002/03/11 05:29:02 janb Exp $
  +$Id: config

[JBoss-dev] CVS update: contrib/jetty/src/main/org/mortbay/jetty/win32 Service.java

2002-03-29 Thread Oleg Nitz

  User: olegnitz
  Date: 02/03/29 18:22:56

  Modified:jetty/src/main/org/mortbay/jetty/win32 Service.java
  Log:
  Jetty 4.0.0
  
  Revision  ChangesPath
  1.7   +0 -0  contrib/jetty/src/main/org/mortbay/jetty/win32/Service.java
  
  Index: Service.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/mortbay/jetty/win32/Service.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Service.java  11 Mar 2002 05:29:00 -  1.6
  +++ Service.java  30 Mar 2002 02:22:56 -  1.7
  @@ -1,6 +1,6 @@
   // 
   // Copyright (c) 1999 Mort Bay Consulting (Australia) Pty. Ltd.
  -// $Id: Service.java,v 1.6 2002/03/11 05:29:00 janb Exp $
  +// $Id: Service.java,v 1.7 2002/03/30 02:22:56 olegnitz Exp $
   //
   // Derived from SCMEventManager.java by Bill Giel/KC Multimedia and Design Group, 
Inc.,
   // 
  @@ -29,7 +29,7 @@
* Jetty.xml wrkdir=$JETTY_HOME
* 
*
  - * @version $Revision: 1.6 $
  + * @version $Revision: 1.7 $
* @author Greg Wilkins (gregw)
*/
   public class Service 
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: contrib/jetty/src/main/org/apache/jasper/compiler BeanEndGenerator.java BeanGenerator.java BeanRepository.java CharDataGenerator.java ClassDeclarationPhase.java CommandLineCompiler.java CompileException.java Compiler.java CoreElement.java DeclarationGenerator.java DelegatingListener.java DestroyMethodPhase.java EscapeUnicodeWriter.java ExpressionGenerator.java FileDeclarationPhase.java ForwardGenerator.java Generator.java GeneratorBase.java GetPropertyGenerator.java IncludeGenerator.java InfoGenerator.java InitMethodPhase.java JavaCompiler.java JikesJavaCompiler.java JspLineMap.java JspLineMapItem.java JspParseEventListener.java JspUtil.java KjcJavaCompiler.java Mangler.java MappedCharDataGenerator.java Mark.java PageDataImpl.java ParseEventListener.java ParseException.java PluginGenerator.java ScriptletGenerator.java ServiceMethodPhase.java ServletWriter.java SetPropertyGenerator.java StaticInitializerPhase.java StoredCharDataGenerator.java SunJavaCompiler.java TagCache.java TagGeneratorBase.java TagLibraryInfoImpl.java UninterpretedTagBeginGenerator.java UninterpretedTagEndGenerator.java XmlOutputter.java

2002-03-29 Thread Oleg Nitz

  User: olegnitz
  Date: 02/03/29 18:10:23

  Modified:jetty/src/main/org/apache/jasper/compiler
BeanEndGenerator.java BeanGenerator.java
BeanRepository.java CharDataGenerator.java
ClassDeclarationPhase.java CommandLineCompiler.java
CompileException.java Compiler.java
CoreElement.java DeclarationGenerator.java
DelegatingListener.java DestroyMethodPhase.java
EscapeUnicodeWriter.java ExpressionGenerator.java
FileDeclarationPhase.java ForwardGenerator.java
Generator.java GeneratorBase.java
GetPropertyGenerator.java IncludeGenerator.java
InfoGenerator.java InitMethodPhase.java
JavaCompiler.java JikesJavaCompiler.java
JspLineMap.java JspLineMapItem.java
JspParseEventListener.java JspUtil.java
KjcJavaCompiler.java Mangler.java
MappedCharDataGenerator.java Mark.java
PageDataImpl.java ParseEventListener.java
ParseException.java PluginGenerator.java
ScriptletGenerator.java ServiceMethodPhase.java
ServletWriter.java SetPropertyGenerator.java
StaticInitializerPhase.java
StoredCharDataGenerator.java SunJavaCompiler.java
TagCache.java TagGeneratorBase.java
TagLibraryInfoImpl.java
UninterpretedTagBeginGenerator.java
UninterpretedTagEndGenerator.java XmlOutputter.java
  Log:
  Jetty 4.0.0
  
  Revision  ChangesPath
  1.7   +0 -0  
contrib/jetty/src/main/org/apache/jasper/compiler/BeanEndGenerator.java
  
  Index: BeanEndGenerator.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/compiler/BeanEndGenerator.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- BeanEndGenerator.java 11 Mar 2002 05:28:56 -  1.6
  +++ BeanEndGenerator.java 30 Mar 2002 02:10:22 -  1.7
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/compiler/BeanEndGenerator.java,v
 1.6 2002/03/11 05:28:56 janb Exp $
  - * $Revision: 1.6 $
  - * $Date: 2002/03/11 05:28:56 $
  + * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/compiler/BeanEndGenerator.java,v
 1.7 2002/03/30 02:10:22 olegnitz Exp $
  + * $Revision: 1.7 $
  + * $Date: 2002/03/30 02:10:22 $
*
* 
* 
  
  
  
  1.7   +0 -0  
contrib/jetty/src/main/org/apache/jasper/compiler/BeanGenerator.java
  
  Index: BeanGenerator.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/compiler/BeanGenerator.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- BeanGenerator.java11 Mar 2002 05:28:56 -  1.6
  +++ BeanGenerator.java30 Mar 2002 02:10:22 -  1.7
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/compiler/BeanGenerator.java,v 
1.6 2002/03/11 05:28:56 janb Exp $
  - * $Revision: 1.6 $
  - * $Date: 2002/03/11 05:28:56 $
  + * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/compiler/BeanGenerator.java,v 
1.7 2002/03/30 02:10:22 olegnitz Exp $
  + * $Revision: 1.7 $
  + * $Date: 2002/03/30 02:10:22 $
* The Apache Software License, Version 1.1
*
* Copyright (c) 1999 The Apache Software Foundation.  All rights 
  
  
  
  1.7   +0 -0  
contrib/jetty/src/main/org/apache/jasper/compiler/BeanRepository.java
  
  Index: BeanRepository.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/compiler/BeanRepository.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- BeanRepository.java   11 Mar 2002 05:28:56 -  1.6
  +++ BeanRepository.java   30 Mar 2002 02:10:22 -  1.7
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/compiler/BeanRepository.java,v 
1.6 2002/03/11 05:28:56 janb Exp $
  - * $Revision: 1.6 $
  - * $Date: 2002/03/11 05:28:56 $
  + * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/compiler/BeanRepository.java,v 
1.7 2002/03/30 02:10:22 olegnitz Exp $
  + * $Revision: 1.7 $
  + * $Date: 2002/03/30 02:10:22 $
*
* 
* 
  
  
  
  1.7   +0 -0  
contrib

[JBoss-dev] CVS update: contrib/jetty build.xml

2002-03-29 Thread Oleg Nitz

  User: olegnitz
  Date: 02/03/29 18:20:43

  Modified:jettybuild.xml
  Log:
  Jetty 4.0.0
  
  Revision  ChangesPath
  1.48  +2 -2  contrib/jetty/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/build.xml,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- build.xml 23 Mar 2002 21:11:01 -  1.47
  +++ build.xml 30 Mar 2002 02:20:42 -  1.48
  @@ -117,8 +117,8 @@
   
   
   
  -
  -
  +
  +
   
   
   
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: contrib/jetty/src/main/org/apache/jasper/util SimplePool.java StringManager.java

2002-03-29 Thread Oleg Nitz

  User: olegnitz
  Date: 02/03/29 18:10:24

  Modified:jetty/src/main/org/apache/jasper/util SimplePool.java
StringManager.java
  Log:
  Jetty 4.0.0
  
  Revision  ChangesPath
  1.7   +0 -0  contrib/jetty/src/main/org/apache/jasper/util/SimplePool.java
  
  Index: SimplePool.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/util/SimplePool.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- SimplePool.java   11 Mar 2002 05:28:58 -  1.6
  +++ SimplePool.java   30 Mar 2002 02:10:24 -  1.7
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/util/SimplePool.java,v 1.6 
2002/03/11 05:28:58 janb Exp $
  - * $Revision: 1.6 $
  - * $Date: 2002/03/11 05:28:58 $
  + * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/util/SimplePool.java,v 1.7 
2002/03/30 02:10:24 olegnitz Exp $
  + * $Revision: 1.7 $
  + * $Date: 2002/03/30 02:10:24 $
*
* 
*
  
  
  
  1.7   +0 -0  contrib/jetty/src/main/org/apache/jasper/util/StringManager.java
  
  Index: StringManager.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/util/StringManager.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- StringManager.java11 Mar 2002 05:28:58 -  1.6
  +++ StringManager.java30 Mar 2002 02:10:24 -  1.7
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/util/StringManager.java,v 1.6 
2002/03/11 05:28:58 janb Exp $
  - * $Revision: 1.6 $
  - * $Date: 2002/03/11 05:28:58 $
  + * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/util/StringManager.java,v 1.7 
2002/03/30 02:10:24 olegnitz Exp $
  + * $Revision: 1.7 $
  + * $Date: 2002/03/30 02:10:24 $
*
* 
*
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: contrib/jetty/src/main/org/apache/jasper/parser ParserUtils.java TreeNode.java

2002-03-29 Thread Oleg Nitz

  User: olegnitz
  Date: 02/03/29 18:10:24

  Modified:jetty/src/main/org/apache/jasper/parser ParserUtils.java
TreeNode.java
  Log:
  Jetty 4.0.0
  
  Revision  ChangesPath
  1.7   +0 -0  contrib/jetty/src/main/org/apache/jasper/parser/ParserUtils.java
  
  Index: ParserUtils.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/parser/ParserUtils.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ParserUtils.java  11 Mar 2002 05:28:57 -  1.6
  +++ ParserUtils.java  30 Mar 2002 02:10:24 -  1.7
  @@ -95,7 +95,7 @@
* use a separate class loader for the parser to be used.
*
* @author Craig R. McClanahan
  - * @version $Revision: 1.6 $ $Date: 2002/03/11 05:28:57 $
  + * @version $Revision: 1.7 $ $Date: 2002/03/30 02:10:24 $
*/
   
   public class ParserUtils {
  
  
  
  1.7   +0 -0  contrib/jetty/src/main/org/apache/jasper/parser/TreeNode.java
  
  Index: TreeNode.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/parser/TreeNode.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TreeNode.java 11 Mar 2002 05:28:57 -  1.6
  +++ TreeNode.java 30 Mar 2002 02:10:24 -  1.7
  @@ -72,7 +72,7 @@
* synchronized.
*
* @author Craig R. McClanahan
  - * @version $Revision: 1.6 $ $Date: 2002/03/11 05:28:57 $
  + * @version $Revision: 1.7 $ $Date: 2002/03/30 02:10:24 $
*/
   
   public class TreeNode {
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: contrib/jetty/src/main/org/apache/jasper CommandLineContext.java EmbededServletOptions.java JasperException.java JspC.java JspCompilationContext.java JspEngineContext.java Options.java

2002-03-29 Thread Oleg Nitz

  User: olegnitz
  Date: 02/03/29 18:10:22

  Modified:jetty/src/main/org/apache/jasper CommandLineContext.java
EmbededServletOptions.java JasperException.java
JspC.java JspCompilationContext.java
JspEngineContext.java Options.java
  Log:
  Jetty 4.0.0
  
  Revision  ChangesPath
  1.7   +0 -0  contrib/jetty/src/main/org/apache/jasper/CommandLineContext.java
  
  Index: CommandLineContext.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/CommandLineContext.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- CommandLineContext.java   11 Mar 2002 05:28:56 -  1.6
  +++ CommandLineContext.java   30 Mar 2002 02:10:22 -  1.7
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/CommandLineContext.java,v 1.6 
2002/03/11 05:28:56 janb Exp $
  - * $Revision: 1.6 $
  - * $Date: 2002/03/11 05:28:56 $
  + * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/CommandLineContext.java,v 1.7 
2002/03/30 02:10:22 olegnitz Exp $
  + * $Revision: 1.7 $
  + * $Date: 2002/03/30 02:10:22 $
*
* 
* 
  
  
  
  1.7   +0 -0  
contrib/jetty/src/main/org/apache/jasper/EmbededServletOptions.java
  
  Index: EmbededServletOptions.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/EmbededServletOptions.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- EmbededServletOptions.java11 Mar 2002 05:28:56 -  1.6
  +++ EmbededServletOptions.java30 Mar 2002 02:10:22 -  1.7
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/EmbededServletOptions.java,v 
1.6 2002/03/11 05:28:56 janb Exp $
  - * $Revision: 1.6 $
  - * $Date: 2002/03/11 05:28:56 $
  + * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/EmbededServletOptions.java,v 
1.7 2002/03/30 02:10:22 olegnitz Exp $
  + * $Revision: 1.7 $
  + * $Date: 2002/03/30 02:10:22 $
*
* 
* 
  
  
  
  1.7   +0 -0  contrib/jetty/src/main/org/apache/jasper/JasperException.java
  
  Index: JasperException.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/JasperException.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- JasperException.java  11 Mar 2002 05:28:56 -  1.6
  +++ JasperException.java  30 Mar 2002 02:10:22 -  1.7
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/JasperException.java,v 1.6 
2002/03/11 05:28:56 janb Exp $
  - * $Revision: 1.6 $
  - * $Date: 2002/03/11 05:28:56 $
  + * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/JasperException.java,v 1.7 
2002/03/30 02:10:22 olegnitz Exp $
  + * $Revision: 1.7 $
  + * $Date: 2002/03/30 02:10:22 $
*
* 
* 
  
  
  
  1.7   +5 -5  contrib/jetty/src/main/org/apache/jasper/JspC.java
  
  Index: JspC.java
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/JspC.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- JspC.java 11 Mar 2002 05:28:56 -  1.6
  +++ JspC.java 30 Mar 2002 02:10:22 -  1.7
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/JspC.java,v 1.6 
2002/03/11 05:28:56 janb Exp $
  - * $Revision: 1.6 $
  - * $Date: 2002/03/11 05:28:56 $
  + * $Header: /cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/JspC.java,v 1.7 
2002/03/30 02:10:22 olegnitz Exp $
  + * $Revision: 1.7 $
  + * $Date: 2002/03/30 02:10:22 $
*
* 
* 
  @@ -340,8 +340,8 @@
   {
   try {
   CommandLineContext clctxt = new CommandLineContext(
  -getClassPath(), file, uriBase, uriRoot, false,
  -this);
  +getClassPath(), file.replace('\\','/'), uriBase, uriRoot,
  + false, this);
   if ((targetClassName != null) && (targetClassName.length() > 0)) {
   clctxt.setServletClassName(targetClassName);
   }
  
  
  
  1.7   +0 -0  
contrib/jetty/src/main/org/apache/jasper/JspCompilationContext.java
  
  Index: JspCompilationContext.java
  ===

[JBoss-dev] CVS update: contrib/jetty/src/main/org/apache/jasper/resources messages.properties messages_es.properties messages_ja.properties

2002-03-29 Thread Oleg Nitz

  User: olegnitz
  Date: 02/03/29 18:10:24

  Modified:jetty/src/main/org/apache/jasper/resources
messages.properties messages_es.properties
messages_ja.properties
  Log:
  Jetty 4.0.0
  
  Revision  ChangesPath
  1.7   +0 -0  
contrib/jetty/src/main/org/apache/jasper/resources/messages.properties
  
  Index: messages.properties
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/resources/messages.properties,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- messages.properties   11 Mar 2002 05:28:57 -  1.6
  +++ messages.properties   30 Mar 2002 02:10:24 -  1.7
  @@ -1,4 +1,4 @@
  -# $Id: messages.properties,v 1.6 2002/03/11 05:28:57 janb Exp $
  +# $Id: messages.properties,v 1.7 2002/03/30 02:10:24 olegnitz Exp $
   #
   # Default localized string information
   # Localized this the Default Locale as is en_US
  
  
  
  1.7   +0 -0  
contrib/jetty/src/main/org/apache/jasper/resources/messages_es.properties
  
  Index: messages_es.properties
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/resources/messages_es.properties,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- messages_es.properties11 Mar 2002 05:28:57 -  1.6
  +++ messages_es.properties30 Mar 2002 02:10:24 -  1.7
  @@ -1,4 +1,4 @@
  -# $Id: messages_es.properties,v 1.6 2002/03/11 05:28:57 janb Exp $
  +# $Id: messages_es.properties,v 1.7 2002/03/30 02:10:24 olegnitz Exp $
   #
   # Default localized string information
   # Localized para Locale es_ES
  
  
  
  1.7   +0 -0  
contrib/jetty/src/main/org/apache/jasper/resources/messages_ja.properties
  
  Index: messages_ja.properties
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/resources/messages_ja.properties,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- messages_ja.properties11 Mar 2002 05:28:57 -  1.6
  +++ messages_ja.properties30 Mar 2002 02:10:24 -  1.7
  @@ -1,4 +1,4 @@
  -# $Id: messages_ja.properties,v 1.6 2002/03/11 05:28:57 janb Exp $
  +# $Id: messages_ja.properties,v 1.7 2002/03/30 02:10:24 olegnitz Exp $
   #
   # Default localized string information
   # Localized this the Default Locale as is ja_JP
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: contrib/jetty/src/main/org/apache/jasper/runtime JspException.java JspFactoryImpl.java JspRuntimeLibrary.java JspWriterImpl.java PageContextImpl.java ServletResponseWrapperInclude.java

2002-03-29 Thread Oleg Nitz

  User: olegnitz
  Date: 02/03/29 18:10:24

  Modified:jetty/src/main/org/apache/jasper/runtime JspException.java
JspFactoryImpl.java JspRuntimeLibrary.java
JspWriterImpl.java PageContextImpl.java
ServletResponseWrapperInclude.java
  Log:
  Jetty 4.0.0
  
  Revision  ChangesPath
  1.7   +0 -0  
contrib/jetty/src/main/org/apache/jasper/runtime/JspException.java
  
  Index: JspException.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/runtime/JspException.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- JspException.java 11 Mar 2002 05:28:57 -  1.6
  +++ JspException.java 30 Mar 2002 02:10:24 -  1.7
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/runtime/JspException.java,v 
1.6 2002/03/11 05:28:57 janb Exp $
  - * $Revision: 1.6 $
  - * $Date: 2002/03/11 05:28:57 $
  + * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/runtime/JspException.java,v 
1.7 2002/03/30 02:10:24 olegnitz Exp $
  + * $Revision: 1.7 $
  + * $Date: 2002/03/30 02:10:24 $
*
* 
* 
  
  
  
  1.7   +0 -0  
contrib/jetty/src/main/org/apache/jasper/runtime/JspFactoryImpl.java
  
  Index: JspFactoryImpl.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/runtime/JspFactoryImpl.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- JspFactoryImpl.java   11 Mar 2002 05:28:57 -  1.6
  +++ JspFactoryImpl.java   30 Mar 2002 02:10:24 -  1.7
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/runtime/JspFactoryImpl.java,v 
1.6 2002/03/11 05:28:57 janb Exp $
  - * $Revision: 1.6 $
  - * $Date: 2002/03/11 05:28:57 $
  + * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/runtime/JspFactoryImpl.java,v 
1.7 2002/03/30 02:10:24 olegnitz Exp $
  + * $Revision: 1.7 $
  + * $Date: 2002/03/30 02:10:24 $
*
* 
* 
  
  
  
  1.7   +0 -0  
contrib/jetty/src/main/org/apache/jasper/runtime/JspRuntimeLibrary.java
  
  Index: JspRuntimeLibrary.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/runtime/JspRuntimeLibrary.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- JspRuntimeLibrary.java11 Mar 2002 05:28:57 -  1.6
  +++ JspRuntimeLibrary.java30 Mar 2002 02:10:24 -  1.7
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/runtime/JspRuntimeLibrary.java,v
 1.6 2002/03/11 05:28:57 janb Exp $
  - * $Revision: 1.6 $
  - * $Date: 2002/03/11 05:28:57 $
  + * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/runtime/JspRuntimeLibrary.java,v
 1.7 2002/03/30 02:10:24 olegnitz Exp $
  + * $Revision: 1.7 $
  + * $Date: 2002/03/30 02:10:24 $
*
* 
* 
  
  
  
  1.7   +0 -0  
contrib/jetty/src/main/org/apache/jasper/runtime/JspWriterImpl.java
  
  Index: JspWriterImpl.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/runtime/JspWriterImpl.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- JspWriterImpl.java11 Mar 2002 05:28:57 -  1.6
  +++ JspWriterImpl.java30 Mar 2002 02:10:24 -  1.7
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/runtime/JspWriterImpl.java,v 
1.6 2002/03/11 05:28:57 janb Exp $
  - * $Revision: 1.6 $
  - * $Date: 2002/03/11 05:28:57 $
  + * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/runtime/JspWriterImpl.java,v 
1.7 2002/03/30 02:10:24 olegnitz Exp $
  + * $Revision: 1.7 $
  + * $Date: 2002/03/30 02:10:24 $
*
* 
* 
  
  
  
  1.7   +0 -0  
contrib/jetty/src/main/org/apache/jasper/runtime/PageContextImpl.java
  
  Index: PageContextImpl.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/runtime/PageContextImpl.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- PageContextImpl.java  11 Mar 2002 05:28:57 -  1.6
  +++ PageContextImpl.java  30 Mar 2002 02:10:24 -  1.7
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/cvsroot/jboss/contrib/

[JBoss-dev] CVS update: contrib/jetty/src/main/org/apache/jasper/servlet ServletEngine.java TomcatServletEngine.java

2002-03-29 Thread Oleg Nitz

  User: olegnitz
  Date: 02/03/29 18:10:24

  Modified:jetty/src/main/org/apache/jasper/servlet ServletEngine.java
TomcatServletEngine.java
  Log:
  Jetty 4.0.0
  
  Revision  ChangesPath
  1.7   +0 -0  
contrib/jetty/src/main/org/apache/jasper/servlet/ServletEngine.java
  
  Index: ServletEngine.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/servlet/ServletEngine.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ServletEngine.java11 Mar 2002 05:28:58 -  1.6
  +++ ServletEngine.java30 Mar 2002 02:10:24 -  1.7
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/servlet/ServletEngine.java,v 
1.6 2002/03/11 05:28:58 janb Exp $
  - * $Revision: 1.6 $
  - * $Date: 2002/03/11 05:28:58 $
  + * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/servlet/ServletEngine.java,v 
1.7 2002/03/30 02:10:24 olegnitz Exp $
  + * $Revision: 1.7 $
  + * $Date: 2002/03/30 02:10:24 $
*
* 
* 
  
  
  
  1.7   +0 -0  
contrib/jetty/src/main/org/apache/jasper/servlet/TomcatServletEngine.java
  
  Index: TomcatServletEngine.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/servlet/TomcatServletEngine.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TomcatServletEngine.java  11 Mar 2002 05:28:58 -  1.6
  +++ TomcatServletEngine.java  30 Mar 2002 02:10:24 -  1.7
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/servlet/TomcatServletEngine.java,v
 1.6 2002/03/11 05:28:58 janb Exp $
  - * $Revision: 1.6 $
  - * $Date: 2002/03/11 05:28:58 $
  + * $Header: 
/cvsroot/jboss/contrib/jetty/src/main/org/apache/jasper/servlet/TomcatServletEngine.java,v
 1.7 2002/03/30 02:10:24 olegnitz Exp $
  + * $Revision: 1.7 $
  + * $Date: 2002/03/30 02:10:24 $
*
* 
* 
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: contrib/jetty/src/main/javax/servlet/http LocalStrings_es.properties

2002-03-29 Thread Oleg Nitz

  User: olegnitz
  Date: 02/03/29 18:08:20

  Modified:jetty/src/main/javax/servlet/http LocalStrings_es.properties
  Log:
  Jetty 4.0.0
  
  Revision  ChangesPath
  1.7   +0 -0  
contrib/jetty/src/main/javax/servlet/http/LocalStrings_es.properties
  
  Index: LocalStrings_es.properties
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/javax/servlet/http/LocalStrings_es.properties,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- LocalStrings_es.properties11 Mar 2002 05:28:56 -  1.6
  +++ LocalStrings_es.properties30 Mar 2002 02:08:20 -  1.7
  @@ -1,4 +1,4 @@
  -# $Id: LocalStrings_es.properties,v 1.6 2002/03/11 05:28:56 janb Exp $
  +# $Id: LocalStrings_es.properties,v 1.7 2002/03/30 02:08:20 olegnitz Exp $
   #
   # Default localized string information
   # Localized para Locale es_ES
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] Automated JBoss Testsuite Results: 30-March-2002

2002-03-29 Thread chris



JBoss daily test results

SUMMARY

Number of tests run:   563



Successful tests:  535

Errors:19

Failures:  9





[time of test: 30 March 2002 1:48 GMT]
[java.version: 1.3.0]
[java.vendor: IBM Corporation]
[java.vm.version: 1.3.0]
[java.vm.name: Classic VM]
[java.vm.info: J2RE 1.3.0 IBM build cx130-20020124 (JIT enabled: jitc)]
[os.name: Linux]
[os.arch: x86]
[os.version: 2.4.9-31]

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.
Remember - if a test becomes broken after your changes - fix it or fix the test!





DETAILS OF ERRORS

[details not shown -as this makes the mail too big to reach the sf mailing list]




PS BEFORE you commit, run the test suite!

Its really is easy, just use the ant target 'run-basic-testsuite' from the 
build directory.


To just run the unit tests (they are quite quick):

In the testsuite directory, 
./build.sh tests-unit


You can run a single test case using:
./build.sh -Dtest=[XXXTestCase] one-test

The XXXTestCase is the classname of the junit class to run. So, to run the 
EJBSpecUnitTestCase use:
./build.sh -Dtest=EJBSpecUnitTestCase one-test


To run all tests within a package, use
./build.sh -Dtest=[package] test

The package is name of the directory under the org/jboss/test directory that 
contains the tests to run. So, to run the unit tests in the 
org.jboss.test.security package use:
./build.sh -Dtest=security test



Thanks for all your effort - we really do love you!



___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] Automated JBoss Testsuite Results: 30-March-2002

2002-03-29 Thread chris



JBoss daily test results

SUMMARY

Number of tests run:   556



Successful tests:  526

Errors:21

Failures:  9





[time of test: 30 March 2002 0:57 GMT]
[java.version: 1.3.0]
[java.vendor: IBM Corporation]
[java.vm.version: 1.3.0]
[java.vm.name: Classic VM]
[java.vm.info: J2RE 1.3.0 IBM build cx130-20010626 (JIT enabled: jitc)]
[os.name: Linux]
[os.arch: x86]
[os.version: 2.4.9-31]

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.
Remember - if a test becomes broken after your changes - fix it or fix the test!





DETAILS OF ERRORS

[details not shown -as this makes the mail too big to reach the sf mailing list]




PS BEFORE you commit, run the test suite!

Its really is easy, just use the ant target 'run-basic-testsuite' from the 
build directory.


To just run the unit tests (they are quite quick):

In the testsuite directory, 
./build.sh tests-unit


You can run a single test case using:
./build.sh -Dtest=[XXXTestCase] one-test

The XXXTestCase is the classname of the junit class to run. So, to run the 
EJBSpecUnitTestCase use:
./build.sh -Dtest=EJBSpecUnitTestCase one-test


To run all tests within a package, use
./build.sh -Dtest=[package] test

The package is name of the directory under the org/jboss/test directory that 
contains the tests to run. So, to run the unit tests in the 
org.jboss.test.security package use:
./build.sh -Dtest=security test



Thanks for all your effort - we really do love you!



___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



Re: [JBoss-dev] CVS update: jbossmq/src/main/org/jboss/mq/server JMSServer.

2002-03-29 Thread Hiram Chirino

That needs to be fixed the file pm level.  encode the ':' into something 
valid.

Regards,
Hiram

>From: Adrian Brock <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: [JBoss-dev] CVS update: jbossmq/src/main/org/jboss/mq/server 
>JMSServer.
>Date: Thu, 28 Mar 2002 19:14:06 -0600
>
>Hi,
>
>This breaks on Windows :-(
>
>The id is used as a file name in file persistence.
>You are not allowed a : in the file name for windows.
>
>Regards,
>Adrian
>
> >   User: lqd
> >   Date: 02/03/25 22:55:34
> >
> > Modified:src/main/org/jboss/mq/server
> > r JMSServer.java
> >   Log:
> > Fix for bug #533824. JMS spec requoires the
> > e MessageID to be prefixed
> >   with 'ID:' instead of just 'ID'
> >
> >   Revision  ChangesPath
> > 1.17  +2 -2
> > 2
> >
> >
> >
> >   jbossmq/src/main/org/jboss/mq/server/JMSServer.java
> >
> >   Index: JMSServer.java
> >
> >  =
> > =
> > RCS file:
> > :
> > /cvsroot/jboss/jbossmq/src/main/org/jboss/mq/server/JM
> > Server.java,v
> >   retrieving revision 1.16
> >   retrieving revision 1.17
> >   diff -u -r1.16 -r1.17
> >   --- JMSServer.java9 Mar 2002 15:32:34 -   1.16
> >   +++ JMSServer.java26 Mar 2002 06:55:34 -  1.17
> >   @@ -52,7 +52,7 @@
> > * @authorHiram Chirino
> > ino ([EMAIL PROTECTED])
> > * @authorDavid Maplesden
> > den ([EMAIL PROTECTED])
> > * @author mailto:[EMAIL PROTECTED]";>Peter
> > ter Antman
> >   - * @version   $Revision: 1.16 $
> >   + * @version   $Revision: 1.17 $
> > */
> >public class JMSServer implements JMSServerInvoker
> >{
> >   @@ -239,7 +239,7 @@
> > {
> >synchronized (idLock)
> >{
> > -   ID = "ID" + (new
> > w Integer(lastID++).toString());
> > +   ID = "ID:" + (new
> > w Integer(lastID++).toString());
> >}
> >stateManager.addLoggedOnClientId(ID);
> >break;
> >
> >
> >
> >
> > ___
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-dev
> > lopment
>
>
>_
>View thread online: http://main.jboss.org/thread.jsp?forum=66&thread=11593
>
>___
>Jboss-development mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-development




_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS write access problem

2002-03-29 Thread Adrian Brock

Hi,

I just applied a fix to Branch_2_4.
I'm trying to tag with Rel_2_4_5_10.
It gets part way through, then tells me I haven't got
write access.
Is this a file system authority?

bash-2.05$ cvs tag Rel_2_4_5_10
? jboss_co.log
? jnp_co.log
? jbosssx_co.log
? jbossmq_co.log
? jbosscx_co.log
? jbosspool_co.log
? jbossj2ee_co.log
? tomcat.log
? catalina.log
? jetty.log
? jboss.log
? jboss-j2ee.log
? jnp.log
? jbosssx.log
? jbosscx.log
? jbosspool.log
? jbossmq.log
? jboss2.log
cvs server: Tagging .
cvs server: Tagging docs
cvs server: Tagging external
cvs server: Tagging lib
cvs server: Tagging src
cvs server: Tagging src/bin
cvs server: Tagging src/build
cvs server: Tagging src/client
cvs server: Tagging src/client/admin
cvs server: Tagging src/client/admin/lib
cvs server: Tagging src/docs
cvs server: Tagging src/docs/images
cvs server: Tagging src/etc
cvs server: Tagging src/etc/beaninfo
cvs server: Tagging src/etc/beaninfo/jaws
cvs server: Tagging src/etc/conf
cvs server: Tagging src/etc/conf/default
cvs server: Tagging src/etc/deploy
cvs server: Tagging src/lib
cvs server: Tagging src/main
cvs server: Tagging src/main/org
cvs server: Tagging src/main/org/jboss
cvs server: Tagging src/main/org/jboss/configuration
cvs server: Tagging src/main/org/jboss/deployment
cvs server: Tagging src/main/org/jboss/deployment/scope
cvs server: Tagging src/main/org/jboss/ejb
cvs server: Tagging src/main/org/jboss/ejb/plugins
cvs server: Tagging src/main/org/jboss/ejb/plugins/jaws
cvs server: Tagging src/main/org/jboss/ejb/plugins/jaws/bmp
cvs server: Tagging src/main/org/jboss/ejb/plugins/jaws/jdbc
cvs server: Tagging src/main/org/jboss/ejb/plugins/jaws/metadata
cvs server: Tagging src/main/org/jboss/ejb/plugins/jms
cvs server: Tagging src/main/org/jboss/ejb/plugins/jrmp
cvs server: Tagging src/main/org/jboss/ejb/plugins/jrmp/interfaces
cvs server: Tagging src/main/org/jboss/ejb/plugins/jrmp/server
cvs server: Tagging src/main/org/jboss/ejb/plugins/jrmp12
cvs server: Tagging src/main/org/jboss/ejb/plugins/jrmp12/interfaces
cvs server: Tagging src/main/org/jboss/ejb/plugins/jrmp12/server
cvs server: Tagging src/main/org/jboss/ejb/plugins/jrmp13
cvs server: Tagging src/main/org/jboss/ejb/plugins/jrmp13/interfaces
cvs server: Tagging src/main/org/jboss/ejb/plugins/jrmp13/server
cvs server: Tagging src/main/org/jboss/ejb/plugins/local
cvs server: Tagging src/main/org/jboss/ejb/plugins/lock
cvs server: Tagging src/main/org/jboss/jdbc
cvs server: Tagging src/main/org/jboss/jms
cvs server: Tagging src/main/org/jboss/jms/asf
cvs server: Tagging src/main/org/jboss/jms/jndi
cvs server: Tagging src/main/org/jboss/jms/ra
cvs server: Tagging src/main/org/jboss/jms/ra/client
cvs server: Tagging src/main/org/jboss/jmx
cvs server: Tagging src/main/org/jboss/jmx/client
cvs server: Tagging src/main/org/jboss/jmx/interfaces
cvs server: Tagging src/main/org/jboss/jmx/server
cvs server: Tagging src/main/org/jboss/logging
cvs server: Tagging src/main/org/jboss/logging/log4j
cvs server: Tagging src/main/org/jboss/mail
cvs server: Tagging src/main/org/jboss/management
cvs server: Tagging src/main/org/jboss/metadata
cvs server: Tagging src/main/org/jboss/monitor
cvs server: Tagging src/main/org/jboss/monitor/client
cvs server: Tagging src/main/org/jboss/naming
cvs server: Tagging src/main/org/jboss/naming/java
cvs server: Tagging src/main/org/jboss/proxy
cvs server: Tagging src/main/org/jboss/security
cvs server: Tagging src/main/org/jboss/security/plugins
cvs server: Tagging src/main/org/jboss/security/plugins/samples
cvs server: Tagging src/main/org/jboss/tm
cvs server: Tagging src/main/org/jboss/tm/plugins
cvs server: Tagging src/main/org/jboss/tm/plugins/tyrex
cvs server: Tagging src/main/org/jboss/tm/usertx
cvs server: Tagging src/main/org/jboss/tm/usertx/client
cvs server: Tagging src/main/org/jboss/tm/usertx/interfaces
cvs server: Tagging src/main/org/jboss/tm/usertx/server
cvs server: Tagging src/main/org/jboss/util
cvs server: Tagging src/main/org/jboss/util/timeout
cvs server: Tagging src/main/org/jboss/verifier
cvs server: Tagging src/main/org/jboss/verifier/event
cvs server: Tagging src/main/org/jboss/verifier/factory
cvs server: Tagging src/main/org/jboss/verifier/strategy
cvs server: Tagging src/main/org/jboss/web
cvs server: Tagging src/main/test
cvs server: Tagging src/main/test/jboss
cvs server: Tagging src/main/test/jboss/deployment
cvs server: Tagging src/main/test/jboss/jmx
cvs server: Tagging src/main/test/jboss/jrmp
cvs server: Tagging src/main/test/jboss/minerva
cvs server: Tagging src/main/test/jboss/minerva/factories
cvs server: Tagging src/main/test/jboss/minerva/pools
cvs server: Tagging src/main/test/jboss/naming
cvs server: Tagging src/main/test/jboss/testdb
cvs server: Tagging src/resources
cvs server: Tagging src/resources/org
cvs server: Tagging src/resources/org/jboss
cvs server: Tagging src/resources/org/jboss/ejb
cvs server: Tagging src/resources/org/jboss/ejb/deployment
cvs server: Tagging src/resources/org/jb

[JBoss-dev] [ jboss-Change Notes-536760 ] Shutdown, bug no 536633

2002-03-29 Thread noreply

Change Notes item #536760, was opened at 2002-03-29 15:21
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=381174&aid=536760&group_id=22866

Category: JBossServer
Group: v2.4.5
Status: Open
Priority: 5
Submitted By: Adrian Brock (ejort)
Assigned to: Nobody/Anonymous (nobody)
Summary: Shutdown, bug no 536633

Initial Comment:
Fixed the shutdown problem, bug no 536633

Regards,
Adrian

--

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=381174&aid=536760&group_id=22866

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] [ jboss-Bugs-536633 ] org.jboss.Shutdown not doing complete sd

2002-03-29 Thread noreply

Bugs item #536633, was opened at 2002-03-29 06:30
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=536633&group_id=22866

>Category: JBossServer
Group: v2.4 (stable)
Status: Open
>Resolution: Fixed
Priority: 5
Submitted By: Guy Rouillier (guyr)
>Assigned to: Adrian Brock (ejort)
Summary: org.jboss.Shutdown not doing complete sd

Initial Comment:
org.jboss.Shutdown is not doing a complete shutdown, 
in that it terminates after shutting down the Mail 
service.  Compare this to a shutdown caused by a ctrl-
C; I see an additional 300+ lines in the server log, 
showing all the MBeans being destroyed.  See 
http://main.jboss.org/thread.jsp?forum=63&thread=11267 
for additional details and a sample (and the known 
solution.)

--

>Comment By: Adrian Brock (ejort)
Date: 2002-03-29 15:18

Message:
Logged In: YES 
user_id=9459

This works now in the 2.4 branch, tag is Rel_2_4_5_10

Regards,
Adrian

--

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=536633&group_id=22866

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] [ jboss-Bugs-536633 ] org.jboss.Shutdown not doing complete sd

2002-03-29 Thread noreply

Bugs item #536633, was opened at 2002-03-29 06:30
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=536633&group_id=22866

Category: JBossServer
Group: v2.4 (stable)
>Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Guy Rouillier (guyr)
Assigned to: Adrian Brock (ejort)
Summary: org.jboss.Shutdown not doing complete sd

Initial Comment:
org.jboss.Shutdown is not doing a complete shutdown, 
in that it terminates after shutting down the Mail 
service.  Compare this to a shutdown caused by a ctrl-
C; I see an additional 300+ lines in the server log, 
showing all the MBeans being destroyed.  See 
http://main.jboss.org/thread.jsp?forum=63&thread=11267 
for additional details and a sample (and the known 
solution.)

--

Comment By: Adrian Brock (ejort)
Date: 2002-03-29 15:18

Message:
Logged In: YES 
user_id=9459

This works now in the 2.4 branch, tag is Rel_2_4_5_10

Regards,
Adrian

--

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=536633&group_id=22866

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jboss/src/main/org/jboss/util Shutdown.java

2002-03-29 Thread Adrian Brock

  User: ejort   
  Date: 02/03/29 07:06:29

  Modified:src/main/org/jboss/util Tag: Branch_2_4 Shutdown.java
  Log:
  Fixed shutdown bug no 536633
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.2.6.2   +9 -2  jboss/src/main/org/jboss/util/Attic/Shutdown.java
  
  Index: Shutdown.java
  ===
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/util/Attic/Shutdown.java,v
  retrieving revision 1.2.6.1
  retrieving revision 1.2.6.2
  diff -u -r1.2.6.1 -r1.2.6.2
  --- Shutdown.java 20 Nov 2001 09:42:57 -  1.2.6.1
  +++ Shutdown.java 29 Mar 2002 15:06:28 -  1.2.6.2
  @@ -19,7 +19,7 @@
*  
*   @see 
*   @author Rickard Öberg ([EMAIL PROTECTED])
  - *   @version $Revision: 1.2.6.1 $
  + *   @version $Revision: 1.2.6.2 $
*/
   public class Shutdown
  implements MBeanRegistration, ShutdownMBean
  @@ -36,7 +36,14 @@
  // Public  ---
  public void shutdown()
  {
  -  System.exit(0); // This will execute the shutdown hook
  +  new Thread()
  +  {
  + public void run()
  + {
  +log.info("Shutting down the JVM now!");
  +System.exit(0); // This will execute the shutdown hook
  + }
  +  }.start();
  }
  
  // MBeanRegistration implementation --
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jmx/src/main/test/compliance/notcompliant NCMBeanTEST.java

2002-03-29 Thread Adrian Brock

  User: ejort   
  Date: 02/03/29 04:14:35

  Modified:src/main/test/compliance/notcompliant NCMBeanTEST.java
  Log:
  Merge differences between RelMX_1_0_0_13 and RelMX_1_0_0_14 to head
  
  Revision  ChangesPath
  1.2   +66 -23jmx/src/main/test/compliance/notcompliant/NCMBeanTEST.java
  
  Index: NCMBeanTEST.java
  ===
  RCS file: /cvsroot/jboss/jmx/src/main/test/compliance/notcompliant/NCMBeanTEST.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- NCMBeanTEST.java  18 Jan 2002 17:28:41 -  1.1
  +++ NCMBeanTEST.java  29 Mar 2002 12:14:35 -  1.2
  @@ -1,14 +1,14 @@
  -/*
  - * JBoss, the OpenSource J2EE webOS
  - *
  - * Distributable under LGPL license.
  - * See terms of license at gnu.org.
  - */
  -package test.compliance.notcompliant;
  -
  -import junit.framework.TestCase;
  -
  -import javax.management.MalformedObjectNameException;
  +/*
  + * JBoss, the OpenSource J2EE webOS
  + *
  + * Distributable under LGPL license.
  + * See terms of license at gnu.org.
  + */
  +package test.compliance.notcompliant;
  +
  +import junit.framework.TestCase;
  +
  +import javax.management.MalformedObjectNameException;
   import javax.management.ObjectName;
   import javax.management.MBeanServerFactory;
   import javax.management.MBeanServer;
  @@ -17,16 +17,19 @@
   import java.util.Hashtable;
   
   import test.compliance.notcompliant.support.OverloadedAttribute1;
  -import test.compliance.notcompliant.support.OverloadedAttribute3;
   import test.compliance.notcompliant.support.OverloadedAttribute2;
  -import test.compliance.notcompliant.support.DynamicAndStandard;
  -
  -public class NCMBeanTEST extends TestCase
  -{
  -   public NCMBeanTEST(String s)
  -   {
  -  super(s);
  -   }
  +import test.compliance.notcompliant.support.OverloadedAttribute3;
  +import test.compliance.notcompliant.support.OverloadedAttribute4;
  +import test.compliance.notcompliant.support.OverloadedAttribute5;
  +import test.compliance.notcompliant.support.InterfaceProblems;
  +import test.compliance.notcompliant.support.DynamicAndStandard;
  +
  +public class NCMBeanTEST extends TestCase
  +{
  +   public NCMBeanTEST(String s)
  +   {
  +  super(s);
  +   }
   
  public void testOverloadedAttribute1()
  {
  @@ -43,6 +46,16 @@
 registerAndTest(new OverloadedAttribute3());
  }
   
  +   public void testOverloadedAttribute4()
  +   {
  +  registerAndTest(new OverloadedAttribute4());
  +   }
  +
  +   public void testOverloadedAttribute5()
  +   {
  +  registerAndTest(new OverloadedAttribute5());
  +   }
  +
  public void testMixedDynamicStandard()
  {
 registerAndTest(new DynamicAndStandard());
  @@ -52,12 +65,17 @@
  {
 registerAndTest(new NoConstructor());
  }
  -
  +
  +   public void testInterfaceProblems()
  +   {
  +  registerAndDontTest(new InterfaceProblems());
  +   }
  +
  private void registerAndTest(Object mbean)
  {
  +  MBeanServer server = MBeanServerFactory.createMBeanServer();
 try
 {
  - MBeanServer server = MBeanServerFactory.newMBeanServer();
server.registerMBean(mbean, new ObjectName("test:foo=bar"));
fail("expected a NotCompliantMBeanException for " + 
mbean.getClass().getName());
 }
  @@ -69,5 +87,30 @@
 {
fail("unexpected exception when registering " + mbean.getClass().getName() 
+ ": " + e.getMessage());
 }
  +  finally
  +  {
  + MBeanServerFactory.releaseMBeanServer(server);
  +  }
  +   }
  +
  +   private void registerAndDontTest(Object mbean)
  +   {
  +  MBeanServer server = MBeanServerFactory.createMBeanServer();
  +  try
  +  {
  + server.registerMBean(mbean, new ObjectName("test:foo=bar"));
  +  }
  +  catch (NotCompliantMBeanException e)
  +  {
  + fail("FAILS IN RI: Cannot cope with overriden get/is in interfaces");
  +  }
  +  catch (Exception e)
  +  {
  + fail("unexpected exception when registering " + mbean.getClass().getName() 
+ ": " + e.getMessage());
  +  }
  +  finally
  +  {
  + MBeanServerFactory.releaseMBeanServer(server);
  +  }
  }
  -}
  +}
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jmx/src/main/test/compliance/monitor MonitorTestCase.java

2002-03-29 Thread Adrian Brock

  User: ejort   
  Date: 02/03/29 04:14:34

  Modified:src/main/test/compliance/monitor MonitorTestCase.java
  Log:
  Merge differences between RelMX_1_0_0_13 and RelMX_1_0_0_14 to head
  
  Revision  ChangesPath
  1.3   +1321 -183 jmx/src/main/test/compliance/monitor/MonitorTestCase.java
  
  Index: MonitorTestCase.java
  ===
  RCS file: /cvsroot/jboss/jmx/src/main/test/compliance/monitor/MonitorTestCase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MonitorTestCase.java  24 Mar 2002 13:12:12 -  1.2
  +++ MonitorTestCase.java  29 Mar 2002 12:14:34 -  1.3
  @@ -23,9 +23,11 @@
   
   import java.util.ArrayList;
   import java.util.Date;
  +import java.util.HashSet;
   import java.util.Iterator;
   
   import javax.management.Attribute;
  +import javax.management.MBeanNotificationInfo;
   import javax.management.MBeanServer;
   import javax.management.MBeanServerFactory;
   import javax.management.ObjectName;
  @@ -37,9 +39,9 @@
   import javax.management.monitor.MonitorNotification;
   import javax.management.monitor.StringMonitor;
   
  +import junit.framework.AssertionFailedError;
   import junit.framework.TestCase;
   
  -
   /**
* Monitor Notification Tests
*
  @@ -64,64 +66,998 @@
  ObjectName monitorName;
   
  /**
  -* The monitor
  +* The monitor
  +*/
  +   Monitor monitor;
  +
  +   /**
  +* The object name of the mbean monitored
  +*/
  +   ObjectName monitoredName;
  +
  +   /**
  +* The monitored mbean
  +*/
  +   MonitorSupport monitored;
  +
  +   /**
  +* The notifications
  +*/
  +   ArrayList notifications = new ArrayList();
  +
  +   // Constructor -
  +
  +   /**
  +* Construct the test
  +*/
  +   public MonitorTestCase(String s)
  +   {
  +  super(s);
  +   }
  +
  +   // Tests ---
  +
  +   /**
  +* Test notification types differ
  +*/
  +   public void testNotificationTypes()
  +   {
  +  assertEquals(MonitorNotification.OBSERVED_ATTRIBUTE_ERROR,
  +   "jmx.monitor.error.attribute");
  +  assertEquals(MonitorNotification.OBSERVED_ATTRIBUTE_TYPE_ERROR,
  +   "jmx.monitor.error.type");
  +  assertEquals(MonitorNotification.OBSERVED_OBJECT_ERROR,
  +   "jmx.monitor.error.mbean");
  +  assertEquals(MonitorNotification.RUNTIME_ERROR,
  +   "jmx.monitor.error.runtime");
  +  assertEquals(MonitorNotification.STRING_TO_COMPARE_VALUE_DIFFERED,
  +   "jmx.monitor.string.differs");
  +  assertEquals(MonitorNotification.STRING_TO_COMPARE_VALUE_MATCHED,
  +   "jmx.monitor.string.matches");
  +  assertEquals(MonitorNotification.THRESHOLD_ERROR,
  +   "jmx.monitor.error.threshold");
  +  assertEquals(MonitorNotification.THRESHOLD_HIGH_VALUE_EXCEEDED,
  +   "jmx.monitor.gauge.high");
  +  assertEquals(MonitorNotification.THRESHOLD_LOW_VALUE_EXCEEDED,
  +   "jmx.monitor.gauge.low");
  +  assertEquals(MonitorNotification.THRESHOLD_VALUE_EXCEEDED,
  +   "jmx.monitor.counter.threshold");
  +   }
  +
  +   // Counter monitor notification info ---
  +
  +   /**
  +* Test the notification info of the counter
  +*/
  +   public void testCounterNotificationInfo()
  +  throws Exception
  +   {
  +  HashSet expected = new HashSet();
  +  expected.add(MonitorNotification.OBSERVED_ATTRIBUTE_ERROR);
  +  expected.add(MonitorNotification.OBSERVED_ATTRIBUTE_TYPE_ERROR);
  +  expected.add(MonitorNotification.OBSERVED_OBJECT_ERROR);
  +  expected.add(MonitorNotification.RUNTIME_ERROR);
  +  expected.add(MonitorNotification.THRESHOLD_ERROR);
  +  expected.add(MonitorNotification.THRESHOLD_VALUE_EXCEEDED);
  +
  +  MBeanNotificationInfo[] mbni = new CounterMonitor().getNotificationInfo();
  +  checkNotificationInfo("Counter", mbni, expected);
  +   }
  +
  +   // Counter normal no offset no modulus tests ---
  +
  +   /**
  +* Test normal counter threshold no offset no modulus
  +*/
  +   public void testNormalCounterThresholdExceededEarlyNoOffsetNoModulus()
  +  throws Exception
  +   {
  +  initTest();
  +  try
  +  {
  + initCounterMonitor(true, new Integer(10),
  +false, new Integer(0), new Integer(0));
  + expectStartMonitor(new Integer(10),
  +MonitorNotification.THRESHOLD_VALUE_EXCEEDED);
  +  }
  +  finally
  +  {
  + stopMonitor();
  + MBeanServerFactory.releaseMBeanServer(server);
  +  }
  +   }
  +
  +   /**
  +* Test normal counter threshold no offset no mo

[JBoss-dev] CVS update: jmx/src/main/test/compliance/notcompliant/support InterfaceProblems.java InterfaceProblemsMBean.java InterfaceProblemsSuperMBean.java OverloadedAttribute4.java OverloadedAttribute4MBean.java OverloadedAttribute5.java OverloadedAttribute5MBean.java

2002-03-29 Thread Adrian Brock

  User: ejort   
  Date: 02/03/29 04:14:35

  Added:   src/main/test/compliance/notcompliant/support
InterfaceProblems.java InterfaceProblemsMBean.java
InterfaceProblemsSuperMBean.java
OverloadedAttribute4.java
OverloadedAttribute4MBean.java
OverloadedAttribute5.java
OverloadedAttribute5MBean.java
  Log:
  Merge differences between RelMX_1_0_0_13 and RelMX_1_0_0_14 to head
  
  Revision  ChangesPath
  1.2   +24 -0 
jmx/src/main/test/compliance/notcompliant/support/InterfaceProblems.java
  
  
  
  
  1.2   +14 -0 
jmx/src/main/test/compliance/notcompliant/support/InterfaceProblemsMBean.java
  
  
  
  
  1.2   +13 -0 
jmx/src/main/test/compliance/notcompliant/support/InterfaceProblemsSuperMBean.java
  
  
  
  
  1.2   +23 -0 
jmx/src/main/test/compliance/notcompliant/support/OverloadedAttribute4.java
  
  
  
  
  1.2   +13 -0 
jmx/src/main/test/compliance/notcompliant/support/OverloadedAttribute4MBean.java
  
  
  
  
  1.2   +23 -0 
jmx/src/main/test/compliance/notcompliant/support/OverloadedAttribute5.java
  
  
  
  
  1.2   +13 -0 
jmx/src/main/test/compliance/notcompliant/support/OverloadedAttribute5MBean.java
  
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jmx/src/main/javax/management Notification.java

2002-03-29 Thread Adrian Brock

  User: ejort   
  Date: 02/03/29 04:14:33

  Modified:src/main/javax/management Notification.java
  Log:
  Merge differences between RelMX_1_0_0_13 and RelMX_1_0_0_14 to head
  
  Revision  ChangesPath
  1.2   +196 -34   jmx/src/main/javax/management/Notification.java
  
  Index: Notification.java
  ===
  RCS file: /cvsroot/jboss/jmx/src/main/javax/management/Notification.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Notification.java 3 Dec 2001 02:08:47 -   1.1
  +++ Notification.java 29 Mar 2002 12:14:33 -  1.2
  @@ -1,104 +1,266 @@
   /*
  - * LGPL
  + * JBoss, the OpenSource J2EE webOS
  + *
  + * Distributable under LGPL license.
  + * See terms of license at gnu.org.
*/
   package javax.management;
   
  -public class Notification extends java.util.EventObject {
  -
  +/**
  + * A Notification.
  + *
  + * Revisions:
  + * 20020329 Adrian Brock:
  + * 
  + * Make the source serializable
  + * 
  + * 
  + * @author  mailto:[EMAIL PROTECTED]";>Adrian Brock.
  + * @version $Revision$
  + */
  +public class Notification
  +   extends java.util.EventObject
  +{
  +   // Constants ---
  +
  +   // Attributes --
  +
  +   /**
  +* The notification type
  +*/
  private String type = null;
  +
  +   /**
  +* The sequence number of the notification
  +*/
  private long sequenceNumber = 0;
  +
  +   /**
  +* The message of the notification
  +*/
  private String message = null;
  +
  +   /**
  +* The time of the notification
  +*/
  private long timeStamp = System.currentTimeMillis();
  +
  +   /**
  +* The user data of the notification
  +*/
  private Object userData = null;
  -   
  -   
  -   public Notification(java.lang.String type,
  -   java.lang.Object source,
  -   long sequenceNumber) {
  +
  +   /**
  +* The source of the notification
  +*/
  +   private Object mySource = null;   
  +
  +   // Static --
  +
  +   // Constructors 
  +
  +   /**
  +* Create a new notification
  +*
  +* @param type the type of the notification
  +* @param source the source of the notification
  +* @param sequenceNumber the sequence number of the notification
  +*/
  +   public Notification(String type,
  +   Object source,
  +   long sequenceNumber)
  +   {
 super(source);
  +  mySource = source;
 this.type = type;
 this.sequenceNumber = sequenceNumber;
 this.timeStamp = System.currentTimeMillis();
  }
  -   
  -   public Notification(java.lang.String type,
  -   java.lang.Object source,
  +
  +   /**
  +* Create a new notification
  +*
  +* @param type the type of the notification
  +* @param source the source of the notification
  +* @param sequenceNumber the sequence number of the notification
  +* @param message the message of the notification
  +*/
  +   public Notification(String type,
  +   Object source,
  long sequenceNumber,
  -   java.lang.String message) {
  +   String message)
  +   {
 this(type, source, sequenceNumber);
 this.message = message;
 this.timeStamp = System.currentTimeMillis();
  }
  
  -   public Notification(java.lang.String type,
  -   java.lang.Object source,
  +   /**
  +* Create a new notification
  +*
  +* @param type the type of the notification
  +* @param source the source of the notification
  +* @param sequenceNumber the sequence number of the notification
  +* @param timeStamp the time of the notification
  +*/
  +   public Notification(String type,
  +   Object source,
  long sequenceNumber,
  -   long timeStamp) {
  +   long timeStamp)
  +   {
 this(type, source, sequenceNumber);
 this.timeStamp = timeStamp;
  }
  
  -   public Notification(java.lang.String type,
  -   java.lang.Object source,
  +   /**
  +* Create a new notification
  +*
  +* @param type the type of the notification
  +* @param source the source of the notification
  +* @param sequenceNumber the sequence number of the notification
  +* @param timeStamp the time of the notification
  +* @param message the message of the notification
  +*/
  +   public Notification(String type,
  +   Object source,
  long sequenceNumber,
  long t

[JBoss-dev] CVS update: jmx/src/main/test/compliance/monitor/support CounterSupport.java GaugeSupport.java MonitorSupport.java StringSupport.java

2002-03-29 Thread Adrian Brock

  User: ejort   
  Date: 02/03/29 04:14:35

  Modified:src/main/test/compliance/monitor/support CounterSupport.java
GaugeSupport.java MonitorSupport.java
StringSupport.java
  Log:
  Merge differences between RelMX_1_0_0_13 and RelMX_1_0_0_14 to head
  
  Revision  ChangesPath
  1.3   +2 -8  jmx/src/main/test/compliance/monitor/support/CounterSupport.java
  
  Index: CounterSupport.java
  ===
  RCS file: 
/cvsroot/jboss/jmx/src/main/test/compliance/monitor/support/CounterSupport.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CounterSupport.java   24 Mar 2002 13:12:13 -  1.2
  +++ CounterSupport.java   29 Mar 2002 12:14:34 -  1.3
  @@ -15,15 +15,9 @@
   
 public Number getValue()
 {
  + unlock("get");
lock("get");
  - try
  - {
  -return value;
  - }
  - finally
  - {
  -unlock("get");
  - }
  + return value;
 }
   
 public void setValue(Number value)
  
  
  
  1.3   +2 -8  jmx/src/main/test/compliance/monitor/support/GaugeSupport.java
  
  Index: GaugeSupport.java
  ===
  RCS file: 
/cvsroot/jboss/jmx/src/main/test/compliance/monitor/support/GaugeSupport.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- GaugeSupport.java 24 Mar 2002 13:12:13 -  1.2
  +++ GaugeSupport.java 29 Mar 2002 12:14:34 -  1.3
  @@ -15,15 +15,9 @@
   
 public Number getValue()
 {
  + unlock("get");
lock("get");
  - try
  - {
  -return value;
  - }
  - finally
  - {
  -unlock("get");
  - }
  + return value;
 }
   
 public void setValue(Number value)
  
  
  
  1.3   +10 -4 jmx/src/main/test/compliance/monitor/support/MonitorSupport.java
  
  Index: MonitorSupport.java
  ===
  RCS file: 
/cvsroot/jboss/jmx/src/main/test/compliance/monitor/support/MonitorSupport.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MonitorSupport.java   24 Mar 2002 13:12:13 -  1.2
  +++ MonitorSupport.java   29 Mar 2002 12:14:34 -  1.3
  @@ -11,25 +11,31 @@
   
   public class MonitorSupport 
   {
  -   String last = "get";
  +   boolean done = false;
  +   String last = "set";
  public synchronized void lock(String who)
  {
  -  if (last.equals(who))
  +  if (!done && last.equals(who))
 {
try
{
   wait(MonitorSUITE.MAX_WAIT);
}
catch (InterruptedException e) {}
  - if (last.equals(who))
  + if (!done && last.equals(who))
   throw new RuntimeException("-- Time Out --");
 }
  }
  public synchronized void unlock(String who)
  {
  -  if (last.equals(who))
  +  if (!done && last.equals(who))
throw new RuntimeException("-- Synchronization failure --");
 last=who; 
  +  notifyAll();
  +   }
  +   public synchronized void end()
  +   {
  +  done = true;
 notifyAll();
  }
   }
  
  
  
  1.3   +2 -9  jmx/src/main/test/compliance/monitor/support/StringSupport.java
  
  Index: StringSupport.java
  ===
  RCS file: 
/cvsroot/jboss/jmx/src/main/test/compliance/monitor/support/StringSupport.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- StringSupport.java24 Mar 2002 13:12:13 -  1.2
  +++ StringSupport.java29 Mar 2002 12:14:34 -  1.3
  @@ -15,20 +15,13 @@
   
 public String getValue()
 {
  + unlock("get");
lock("get");
  - try
  - {
  -return value;
  - }
  - finally
  - {
  -unlock("get");
  - }
  + return value;
 }
   
 public void setValue(String value)
 {
  - lock("set");
this.value = value;
 }
   
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jmx/src/main/org/jboss/mx/metadata StandardMetaData.java

2002-03-29 Thread Adrian Brock

  User: ejort   
  Date: 02/03/29 04:14:34

  Modified:src/main/org/jboss/mx/metadata StandardMetaData.java
  Log:
  Merge differences between RelMX_1_0_0_13 and RelMX_1_0_0_14 to head
  
  Revision  ChangesPath
  1.7   +20 -7 jmx/src/main/org/jboss/mx/metadata/StandardMetaData.java
  
  Index: StandardMetaData.java
  ===
  RCS file: /cvsroot/jboss/jmx/src/main/org/jboss/mx/metadata/StandardMetaData.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- StandardMetaData.java 26 Feb 2002 02:02:59 -  1.6
  +++ StandardMetaData.java 29 Mar 2002 12:14:34 -  1.7
  @@ -66,7 +66,7 @@
HashMap getters = new HashMap();
HashMap setters = new HashMap();
   
  - List operInfo = new ArrayList();
  + HashMap operInfo = new HashMap();
List attrInfo = new ArrayList();
   
for (int i = 0; i < methods.length; ++i)
  @@ -78,24 +78,37 @@
   if (methodName.startsWith("set") && signature.length == 1 && returnType 
== Void.TYPE)
   {
  String key = methodName.substring(3, methodName.length());
  -   if (setters.get(key) != null)
  +   Method setter = (Method) setters.get(key);
  +   if (setter != null && 
setter.getParameterTypes()[0].equals(signature[0]) == false)
  {
  -  throw new IntrospectionException("overloaded type for attribute: 
" + key);
  +  throw new IntrospectionException("overloaded type for attribute 
set: " + key);
  }
  setters.put(key, methods[i]);
   }
   else if (methodName.startsWith("get") && signature.length == 0 && 
returnType != Void.TYPE)
   {
  -   getters.put(methodName.substring(3, methodName.length()), 
methods[i]);
  +   String key = methodName.substring(3, methodName.length());
  +   Method getter = (Method) getters.get(key);
  +   if (getter != null && getter.getName().startsWith("get") == false)
  +   {
  +  throw new IntrospectionException("mixed use of get/is for 
attribute " + key);
  +   }
  +   getters.put(key, methods[i]);
   }
   else if (methodName.startsWith("is") && signature.length == 0 && 
(returnType == Boolean.class || returnType == Boolean.TYPE))
   {
  -   getters.put(methodName.substring(2, methodName.length()), 
methods[i]);
  +   String key = methodName.substring(2, methodName.length());
  +   Method getter = (Method) getters.get(key);
  +   if (getter != null && getter.getName().startsWith("is") == false)
  +   {
  +  throw new IntrospectionException("mixed use of get/is for 
attribute " + key);
  +   }
  +   getters.put(key, methods[i]);
   }
   else
   {
  MBeanOperationInfo info = new MBeanOperationInfo("MBean Operation.", 
methods[i]);
  -   operInfo.add(info);
  +   operInfo.put(methods[i].toString(), info);
   }
}
   
  @@ -120,7 +133,7 @@
   
// save away the attribute and operation info objects
MBeanAttributeInfo[] attributeInfo = (MBeanAttributeInfo[]) 
attrInfo.toArray(new MBeanAttributeInfo[0]);
  - MBeanOperationInfo[] operationInfo = (MBeanOperationInfo[]) 
operInfo.toArray(new MBeanOperationInfo[0]);
  + MBeanOperationInfo[] operationInfo = (MBeanOperationInfo[]) 
operInfo.values().toArray(new MBeanOperationInfo[0]);
   
MBeanNotificationInfo[] notifications = null;
if (mbeanInstance instanceof NotificationBroadcaster)
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jmx/src/main/javax/management/monitor CounterMonitor.java

2002-03-29 Thread Adrian Brock

  User: ejort   
  Date: 02/03/29 04:14:34

  Modified:src/main/javax/management/monitor CounterMonitor.java
  Log:
  Merge differences between RelMX_1_0_0_13 and RelMX_1_0_0_14 to head
  
  Revision  ChangesPath
  1.3   +7 -1  jmx/src/main/javax/management/monitor/CounterMonitor.java
  
  Index: CounterMonitor.java
  ===
  RCS file: /cvsroot/jboss/jmx/src/main/javax/management/monitor/CounterMonitor.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CounterMonitor.java   24 Mar 2002 13:12:12 -  1.2
  +++ CounterMonitor.java   29 Mar 2002 12:14:34 -  1.3
  @@ -19,6 +19,12 @@
* 
* Reset the threshold when the value becomes negative in difference mode
* 
  + * 20020326 Adrian Brock:
  + * 
  + * The spec says the modulus should be *strictly* exceeded. It appears
  + * from testing the RI, it is a mathematical definition of modulus. e.g.
  + * 10 exceeds a modulus of 10
  + * 
*
* @author mailto:[EMAIL PROTECTED]";>Adrian Brock
* @version $Revision$
  @@ -285,7 +291,7 @@
   
   // For normal mode, restart when modulus exceeded
   if (differenceMode == false && modulus.longValue() != 0 &&
  -number.longValue() > modulus.longValue())
  +number.longValue() >= modulus.longValue())
   {
 threshold = initialThreshold;
 alreadyNotified &= ~THRESHOLD_EXCEEDED_NOTIFIED;
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jmx/src/main/javax/management Notification.java

2002-03-29 Thread Adrian Brock

  User: ejort   
  Date: 02/03/29 02:42:43

  Modified:src/main/javax/management Tag: BranchMX_1_0
Notification.java
  Log:
  Allow the source to be serialized in notifications
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.1.2.1   +196 -34   jmx/src/main/javax/management/Notification.java
  
  Index: Notification.java
  ===
  RCS file: /cvsroot/jboss/jmx/src/main/javax/management/Notification.java,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- Notification.java 3 Dec 2001 02:08:47 -   1.1
  +++ Notification.java 29 Mar 2002 10:42:43 -  1.1.2.1
  @@ -1,104 +1,266 @@
   /*
  - * LGPL
  + * JBoss, the OpenSource J2EE webOS
  + *
  + * Distributable under LGPL license.
  + * See terms of license at gnu.org.
*/
   package javax.management;
   
  -public class Notification extends java.util.EventObject {
  -
  +/**
  + * A Notification.
  + *
  + * Revisions:
  + * 20020329 Adrian Brock:
  + * 
  + * Make the source serializable
  + * 
  + * 
  + * @author  mailto:[EMAIL PROTECTED]";>Adrian Brock.
  + * @version $Revision: 1.1.2.1 $
  + */
  +public class Notification
  +   extends java.util.EventObject
  +{
  +   // Constants ---
  +
  +   // Attributes --
  +
  +   /**
  +* The notification type
  +*/
  private String type = null;
  +
  +   /**
  +* The sequence number of the notification
  +*/
  private long sequenceNumber = 0;
  +
  +   /**
  +* The message of the notification
  +*/
  private String message = null;
  +
  +   /**
  +* The time of the notification
  +*/
  private long timeStamp = System.currentTimeMillis();
  +
  +   /**
  +* The user data of the notification
  +*/
  private Object userData = null;
  -   
  -   
  -   public Notification(java.lang.String type,
  -   java.lang.Object source,
  -   long sequenceNumber) {
  +
  +   /**
  +* The source of the notification
  +*/
  +   private Object mySource = null;   
  +
  +   // Static --
  +
  +   // Constructors 
  +
  +   /**
  +* Create a new notification
  +*
  +* @param type the type of the notification
  +* @param source the source of the notification
  +* @param sequenceNumber the sequence number of the notification
  +*/
  +   public Notification(String type,
  +   Object source,
  +   long sequenceNumber)
  +   {
 super(source);
  +  mySource = source;
 this.type = type;
 this.sequenceNumber = sequenceNumber;
 this.timeStamp = System.currentTimeMillis();
  }
  -   
  -   public Notification(java.lang.String type,
  -   java.lang.Object source,
  +
  +   /**
  +* Create a new notification
  +*
  +* @param type the type of the notification
  +* @param source the source of the notification
  +* @param sequenceNumber the sequence number of the notification
  +* @param message the message of the notification
  +*/
  +   public Notification(String type,
  +   Object source,
  long sequenceNumber,
  -   java.lang.String message) {
  +   String message)
  +   {
 this(type, source, sequenceNumber);
 this.message = message;
 this.timeStamp = System.currentTimeMillis();
  }
  
  -   public Notification(java.lang.String type,
  -   java.lang.Object source,
  +   /**
  +* Create a new notification
  +*
  +* @param type the type of the notification
  +* @param source the source of the notification
  +* @param sequenceNumber the sequence number of the notification
  +* @param timeStamp the time of the notification
  +*/
  +   public Notification(String type,
  +   Object source,
  long sequenceNumber,
  -   long timeStamp) {
  +   long timeStamp)
  +   {
 this(type, source, sequenceNumber);
 this.timeStamp = timeStamp;
  }
  
  -   public Notification(java.lang.String type,
  -   java.lang.Object source,
  +   /**
  +* Create a new notification
  +*
  +* @param type the type of the notification
  +* @param source the source of the notification
  +* @param sequenceNumber the sequence number of the notification
  +* @param timeStamp the time of the notification
  +* @param message the message of the notification
  +*/
  +   public Notification(Str

[JBoss-dev] CVS update: jmx/src/main/test/compliance/monitor MonitorTestCase.java

2002-03-29 Thread Adrian Brock

  User: ejort   
  Date: 02/03/29 02:44:32

  Modified:src/main/test/compliance/monitor Tag: BranchMX_1_0
MonitorTestCase.java
  Log:
  More monitor testing
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.1.2.2   +1316 -178 jmx/src/main/test/compliance/monitor/MonitorTestCase.java
  
  Index: MonitorTestCase.java
  ===
  RCS file: /cvsroot/jboss/jmx/src/main/test/compliance/monitor/MonitorTestCase.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- MonitorTestCase.java  24 Mar 2002 11:50:27 -  1.1.2.1
  +++ MonitorTestCase.java  29 Mar 2002 10:44:32 -  1.1.2.2
  @@ -23,9 +23,11 @@
   
   import java.util.ArrayList;
   import java.util.Date;
  +import java.util.HashSet;
   import java.util.Iterator;
   
   import javax.management.Attribute;
  +import javax.management.MBeanNotificationInfo;
   import javax.management.MBeanServer;
   import javax.management.MBeanServerFactory;
   import javax.management.ObjectName;
  @@ -37,9 +39,9 @@
   import javax.management.monitor.MonitorNotification;
   import javax.management.monitor.StringMonitor;
   
  +import junit.framework.AssertionFailedError;
   import junit.framework.TestCase;
   
  -
   /**
* Monitor Notification Tests
*
  @@ -64,64 +66,998 @@
  ObjectName monitorName;
   
  /**
  -* The monitor
  +* The monitor
  +*/
  +   Monitor monitor;
  +
  +   /**
  +* The object name of the mbean monitored
  +*/
  +   ObjectName monitoredName;
  +
  +   /**
  +* The monitored mbean
  +*/
  +   MonitorSupport monitored;
  +
  +   /**
  +* The notifications
  +*/
  +   ArrayList notifications = new ArrayList();
  +
  +   // Constructor -
  +
  +   /**
  +* Construct the test
  +*/
  +   public MonitorTestCase(String s)
  +   {
  +  super(s);
  +   }
  +
  +   // Tests ---
  +
  +   /**
  +* Test notification types differ
  +*/
  +   public void testNotificationTypes()
  +   {
  +  assertEquals(MonitorNotification.OBSERVED_ATTRIBUTE_ERROR,
  +   "jmx.monitor.error.attribute");
  +  assertEquals(MonitorNotification.OBSERVED_ATTRIBUTE_TYPE_ERROR,
  +   "jmx.monitor.error.type");
  +  assertEquals(MonitorNotification.OBSERVED_OBJECT_ERROR,
  +   "jmx.monitor.error.mbean");
  +  assertEquals(MonitorNotification.RUNTIME_ERROR,
  +   "jmx.monitor.error.runtime");
  +  assertEquals(MonitorNotification.STRING_TO_COMPARE_VALUE_DIFFERED,
  +   "jmx.monitor.string.differs");
  +  assertEquals(MonitorNotification.STRING_TO_COMPARE_VALUE_MATCHED,
  +   "jmx.monitor.string.matches");
  +  assertEquals(MonitorNotification.THRESHOLD_ERROR,
  +   "jmx.monitor.error.threshold");
  +  assertEquals(MonitorNotification.THRESHOLD_HIGH_VALUE_EXCEEDED,
  +   "jmx.monitor.gauge.high");
  +  assertEquals(MonitorNotification.THRESHOLD_LOW_VALUE_EXCEEDED,
  +   "jmx.monitor.gauge.low");
  +  assertEquals(MonitorNotification.THRESHOLD_VALUE_EXCEEDED,
  +   "jmx.monitor.counter.threshold");
  +   }
  +
  +   // Counter monitor notification info ---
  +
  +   /**
  +* Test the notification info of the counter
  +*/
  +   public void testCounterNotificationInfo()
  +  throws Exception
  +   {
  +  HashSet expected = new HashSet();
  +  expected.add(MonitorNotification.OBSERVED_ATTRIBUTE_ERROR);
  +  expected.add(MonitorNotification.OBSERVED_ATTRIBUTE_TYPE_ERROR);
  +  expected.add(MonitorNotification.OBSERVED_OBJECT_ERROR);
  +  expected.add(MonitorNotification.RUNTIME_ERROR);
  +  expected.add(MonitorNotification.THRESHOLD_ERROR);
  +  expected.add(MonitorNotification.THRESHOLD_VALUE_EXCEEDED);
  +
  +  MBeanNotificationInfo[] mbni = new CounterMonitor().getNotificationInfo();
  +  checkNotificationInfo("Counter", mbni, expected);
  +   }
  +
  +   // Counter normal no offset no modulus tests ---
  +
  +   /**
  +* Test normal counter threshold no offset no modulus
  +*/
  +   public void testNormalCounterThresholdExceededEarlyNoOffsetNoModulus()
  +  throws Exception
  +   {
  +  initTest();
  +  try
  +  {
  + initCounterMonitor(true, new Integer(10),
  +false, new Integer(0), new Integer(0));
  + expectStartMonitor(new Integer(10),
  +MonitorNotification.THRESHOLD_VALUE_EXCEEDED);
  +  }
  +  finally
  +  {
  + stopMonitor();
  + MBeanServerFactory.releaseMBeanServer(s

[JBoss-dev] CVS update: jmx/src/main/test/compliance/monitor/support CounterSupport.java GaugeSupport.java MonitorSupport.java StringSupport.java

2002-03-29 Thread Adrian Brock

  User: ejort   
  Date: 02/03/29 02:44:32

  Modified:src/main/test/compliance/monitor/support Tag: BranchMX_1_0
CounterSupport.java GaugeSupport.java
MonitorSupport.java StringSupport.java
  Log:
  More monitor testing
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.1.2.2   +2 -8  jmx/src/main/test/compliance/monitor/support/CounterSupport.java
  
  Index: CounterSupport.java
  ===
  RCS file: 
/cvsroot/jboss/jmx/src/main/test/compliance/monitor/support/CounterSupport.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- CounterSupport.java   24 Mar 2002 11:50:27 -  1.1.2.1
  +++ CounterSupport.java   29 Mar 2002 10:44:32 -  1.1.2.2
  @@ -15,15 +15,9 @@
   
 public Number getValue()
 {
  + unlock("get");
lock("get");
  - try
  - {
  -return value;
  - }
  - finally
  - {
  -unlock("get");
  - }
  + return value;
 }
   
 public void setValue(Number value)
  
  
  
  1.1.2.2   +2 -8  jmx/src/main/test/compliance/monitor/support/GaugeSupport.java
  
  Index: GaugeSupport.java
  ===
  RCS file: 
/cvsroot/jboss/jmx/src/main/test/compliance/monitor/support/GaugeSupport.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- GaugeSupport.java 24 Mar 2002 11:50:27 -  1.1.2.1
  +++ GaugeSupport.java 29 Mar 2002 10:44:32 -  1.1.2.2
  @@ -15,15 +15,9 @@
   
 public Number getValue()
 {
  + unlock("get");
lock("get");
  - try
  - {
  -return value;
  - }
  - finally
  - {
  -unlock("get");
  - }
  + return value;
 }
   
 public void setValue(Number value)
  
  
  
  1.1.2.2   +10 -4 jmx/src/main/test/compliance/monitor/support/MonitorSupport.java
  
  Index: MonitorSupport.java
  ===
  RCS file: 
/cvsroot/jboss/jmx/src/main/test/compliance/monitor/support/MonitorSupport.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- MonitorSupport.java   24 Mar 2002 11:50:27 -  1.1.2.1
  +++ MonitorSupport.java   29 Mar 2002 10:44:32 -  1.1.2.2
  @@ -11,25 +11,31 @@
   
   public class MonitorSupport 
   {
  -   String last = "get";
  +   boolean done = false;
  +   String last = "set";
  public synchronized void lock(String who)
  {
  -  if (last.equals(who))
  +  if (!done && last.equals(who))
 {
try
{
   wait(MonitorSUITE.MAX_WAIT);
}
catch (InterruptedException e) {}
  - if (last.equals(who))
  + if (!done && last.equals(who))
   throw new RuntimeException("-- Time Out --");
 }
  }
  public synchronized void unlock(String who)
  {
  -  if (last.equals(who))
  +  if (!done && last.equals(who))
throw new RuntimeException("-- Synchronization failure --");
 last=who; 
  +  notifyAll();
  +   }
  +   public synchronized void end()
  +   {
  +  done = true;
 notifyAll();
  }
   }
  
  
  
  1.1.2.2   +2 -9  jmx/src/main/test/compliance/monitor/support/StringSupport.java
  
  Index: StringSupport.java
  ===
  RCS file: 
/cvsroot/jboss/jmx/src/main/test/compliance/monitor/support/StringSupport.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- StringSupport.java24 Mar 2002 11:50:27 -  1.1.2.1
  +++ StringSupport.java29 Mar 2002 10:44:32 -  1.1.2.2
  @@ -15,20 +15,13 @@
   
 public String getValue()
 {
  + unlock("get");
lock("get");
  - try
  - {
  -return value;
  - }
  - finally
  - {
  -unlock("get");
  - }
  + return value;
 }
   
 public void setValue(String value)
 {
  - lock("set");
this.value = value;
 }
   
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jmx/src/main/javax/management/monitor CounterMonitor.java

2002-03-29 Thread Adrian Brock

  User: ejort   
  Date: 02/03/29 02:44:32

  Modified:src/main/javax/management/monitor Tag: BranchMX_1_0
CounterMonitor.java
  Log:
  More monitor testing
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.1.2.2   +8 -2  jmx/src/main/javax/management/monitor/CounterMonitor.java
  
  Index: CounterMonitor.java
  ===
  RCS file: /cvsroot/jboss/jmx/src/main/javax/management/monitor/CounterMonitor.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- CounterMonitor.java   24 Mar 2002 11:50:27 -  1.1.2.1
  +++ CounterMonitor.java   29 Mar 2002 10:44:32 -  1.1.2.2
  @@ -19,9 +19,15 @@
* 
* Reset the threshold when the value becomes negative in difference mode
* 
  + * 20020326 Adrian Brock:
  + * 
  + * The spec says the modulus should be *strictly* exceeded. It appears
  + * from testing the RI, it is a mathematical definition of modulus. e.g.
  + * 10 exceeds a modulus of 10
  + * 
*
* @author mailto:[EMAIL PROTECTED]";>Adrian Brock
  - * @version $Revision: 1.1.2.1 $
  + * @version $Revision: 1.1.2.2 $
*
*/
   public class CounterMonitor
  @@ -285,7 +291,7 @@
   
   // For normal mode, restart when modulus exceeded
   if (differenceMode == false && modulus.longValue() != 0 &&
  -number.longValue() > modulus.longValue())
  +number.longValue() >= modulus.longValue())
   {
 threshold = initialThreshold;
 alreadyNotified &= ~THRESHOLD_EXCEEDED_NOTIFIED;
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jmx/src/main/test/compliance/notcompliant/support InterfaceProblems.java InterfaceProblemsMBean.java InterfaceProblemsSuperMBean.java OverloadedAttribute4.java OverloadedAttribute4MBean.java OverloadedAttribute5.java OverloadedAttribute5MBean.java

2002-03-29 Thread Adrian Brock

  User: ejort   
  Date: 02/03/29 02:40:47

  Added:   src/main/test/compliance/notcompliant/support Tag:
BranchMX_1_0 InterfaceProblems.java
InterfaceProblemsMBean.java
InterfaceProblemsSuperMBean.java
OverloadedAttribute4.java
OverloadedAttribute4MBean.java
OverloadedAttribute5.java
OverloadedAttribute5MBean.java
  Log:
  Added new tests for Standard MetaData
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.1.2.1   +24 -0 
jmx/src/main/test/compliance/notcompliant/support/Attic/InterfaceProblems.java
  
  
  
  
  1.1.2.1   +14 -0 
jmx/src/main/test/compliance/notcompliant/support/Attic/InterfaceProblemsMBean.java
  
  
  
  
  1.1.2.1   +13 -0 
jmx/src/main/test/compliance/notcompliant/support/Attic/InterfaceProblemsSuperMBean.java
  
  
  
  
  1.1.2.1   +23 -0 
jmx/src/main/test/compliance/notcompliant/support/Attic/OverloadedAttribute4.java
  
  
  
  
  1.1.2.1   +13 -0 
jmx/src/main/test/compliance/notcompliant/support/Attic/OverloadedAttribute4MBean.java
  
  
  
  
  1.1.2.1   +23 -0 
jmx/src/main/test/compliance/notcompliant/support/Attic/OverloadedAttribute5.java
  
  
  
  
  1.1.2.1   +13 -0 
jmx/src/main/test/compliance/notcompliant/support/Attic/OverloadedAttribute5MBean.java
  
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jmx/src/main/test/compliance/notcompliant NCMBeanTEST.java

2002-03-29 Thread Adrian Brock

  User: ejort   
  Date: 02/03/29 02:40:47

  Modified:src/main/test/compliance/notcompliant Tag: BranchMX_1_0
NCMBeanTEST.java
  Log:
  Added new tests for Standard MetaData
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.1.2.1   +66 -23jmx/src/main/test/compliance/notcompliant/NCMBeanTEST.java
  
  Index: NCMBeanTEST.java
  ===
  RCS file: /cvsroot/jboss/jmx/src/main/test/compliance/notcompliant/NCMBeanTEST.java,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- NCMBeanTEST.java  18 Jan 2002 17:28:41 -  1.1
  +++ NCMBeanTEST.java  29 Mar 2002 10:40:46 -  1.1.2.1
  @@ -1,14 +1,14 @@
  -/*
  - * JBoss, the OpenSource J2EE webOS
  - *
  - * Distributable under LGPL license.
  - * See terms of license at gnu.org.
  - */
  -package test.compliance.notcompliant;
  -
  -import junit.framework.TestCase;
  -
  -import javax.management.MalformedObjectNameException;
  +/*
  + * JBoss, the OpenSource J2EE webOS
  + *
  + * Distributable under LGPL license.
  + * See terms of license at gnu.org.
  + */
  +package test.compliance.notcompliant;
  +
  +import junit.framework.TestCase;
  +
  +import javax.management.MalformedObjectNameException;
   import javax.management.ObjectName;
   import javax.management.MBeanServerFactory;
   import javax.management.MBeanServer;
  @@ -17,16 +17,19 @@
   import java.util.Hashtable;
   
   import test.compliance.notcompliant.support.OverloadedAttribute1;
  -import test.compliance.notcompliant.support.OverloadedAttribute3;
   import test.compliance.notcompliant.support.OverloadedAttribute2;
  -import test.compliance.notcompliant.support.DynamicAndStandard;
  -
  -public class NCMBeanTEST extends TestCase
  -{
  -   public NCMBeanTEST(String s)
  -   {
  -  super(s);
  -   }
  +import test.compliance.notcompliant.support.OverloadedAttribute3;
  +import test.compliance.notcompliant.support.OverloadedAttribute4;
  +import test.compliance.notcompliant.support.OverloadedAttribute5;
  +import test.compliance.notcompliant.support.InterfaceProblems;
  +import test.compliance.notcompliant.support.DynamicAndStandard;
  +
  +public class NCMBeanTEST extends TestCase
  +{
  +   public NCMBeanTEST(String s)
  +   {
  +  super(s);
  +   }
   
  public void testOverloadedAttribute1()
  {
  @@ -43,6 +46,16 @@
 registerAndTest(new OverloadedAttribute3());
  }
   
  +   public void testOverloadedAttribute4()
  +   {
  +  registerAndTest(new OverloadedAttribute4());
  +   }
  +
  +   public void testOverloadedAttribute5()
  +   {
  +  registerAndTest(new OverloadedAttribute5());
  +   }
  +
  public void testMixedDynamicStandard()
  {
 registerAndTest(new DynamicAndStandard());
  @@ -52,12 +65,17 @@
  {
 registerAndTest(new NoConstructor());
  }
  -
  +
  +   public void testInterfaceProblems()
  +   {
  +  registerAndDontTest(new InterfaceProblems());
  +   }
  +
  private void registerAndTest(Object mbean)
  {
  +  MBeanServer server = MBeanServerFactory.createMBeanServer();
 try
 {
  - MBeanServer server = MBeanServerFactory.newMBeanServer();
server.registerMBean(mbean, new ObjectName("test:foo=bar"));
fail("expected a NotCompliantMBeanException for " + 
mbean.getClass().getName());
 }
  @@ -69,5 +87,30 @@
 {
fail("unexpected exception when registering " + mbean.getClass().getName() 
+ ": " + e.getMessage());
 }
  +  finally
  +  {
  + MBeanServerFactory.releaseMBeanServer(server);
  +  }
  +   }
  +
  +   private void registerAndDontTest(Object mbean)
  +   {
  +  MBeanServer server = MBeanServerFactory.createMBeanServer();
  +  try
  +  {
  + server.registerMBean(mbean, new ObjectName("test:foo=bar"));
  +  }
  +  catch (NotCompliantMBeanException e)
  +  {
  + fail("FAILS IN RI: Cannot cope with overriden get/is in interfaces");
  +  }
  +  catch (Exception e)
  +  {
  + fail("unexpected exception when registering " + mbean.getClass().getName() 
+ ": " + e.getMessage());
  +  }
  +  finally
  +  {
  + MBeanServerFactory.releaseMBeanServer(server);
  +  }
  }
  -}
  +}
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jmx/src/main/org/jboss/mx/metadata StandardMetaData.java

2002-03-29 Thread Adrian Brock

  User: ejort   
  Date: 02/03/29 02:38:35

  Modified:src/main/org/jboss/mx/metadata Tag: BranchMX_1_0
StandardMetaData.java
  Log:
  Fix the standard mbean validation
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.6.2.1   +20 -7 jmx/src/main/org/jboss/mx/metadata/StandardMetaData.java
  
  Index: StandardMetaData.java
  ===
  RCS file: /cvsroot/jboss/jmx/src/main/org/jboss/mx/metadata/StandardMetaData.java,v
  retrieving revision 1.6
  retrieving revision 1.6.2.1
  diff -u -r1.6 -r1.6.2.1
  --- StandardMetaData.java 26 Feb 2002 02:02:59 -  1.6
  +++ StandardMetaData.java 29 Mar 2002 10:38:35 -  1.6.2.1
  @@ -66,7 +66,7 @@
HashMap getters = new HashMap();
HashMap setters = new HashMap();
   
  - List operInfo = new ArrayList();
  + HashMap operInfo = new HashMap();
List attrInfo = new ArrayList();
   
for (int i = 0; i < methods.length; ++i)
  @@ -78,24 +78,37 @@
   if (methodName.startsWith("set") && signature.length == 1 && returnType 
== Void.TYPE)
   {
  String key = methodName.substring(3, methodName.length());
  -   if (setters.get(key) != null)
  +   Method setter = (Method) setters.get(key);
  +   if (setter != null && 
setter.getParameterTypes()[0].equals(signature[0]) == false)
  {
  -  throw new IntrospectionException("overloaded type for attribute: 
" + key);
  +  throw new IntrospectionException("overloaded type for attribute 
set: " + key);
  }
  setters.put(key, methods[i]);
   }
   else if (methodName.startsWith("get") && signature.length == 0 && 
returnType != Void.TYPE)
   {
  -   getters.put(methodName.substring(3, methodName.length()), 
methods[i]);
  +   String key = methodName.substring(3, methodName.length());
  +   Method getter = (Method) getters.get(key);
  +   if (getter != null && getter.getName().startsWith("get") == false)
  +   {
  +  throw new IntrospectionException("mixed use of get/is for 
attribute " + key);
  +   }
  +   getters.put(key, methods[i]);
   }
   else if (methodName.startsWith("is") && signature.length == 0 && 
(returnType == Boolean.class || returnType == Boolean.TYPE))
   {
  -   getters.put(methodName.substring(2, methodName.length()), 
methods[i]);
  +   String key = methodName.substring(2, methodName.length());
  +   Method getter = (Method) getters.get(key);
  +   if (getter != null && getter.getName().startsWith("is") == false)
  +   {
  +  throw new IntrospectionException("mixed use of get/is for 
attribute " + key);
  +   }
  +   getters.put(key, methods[i]);
   }
   else
   {
  MBeanOperationInfo info = new MBeanOperationInfo("MBean Operation.", 
methods[i]);
  -   operInfo.add(info);
  +   operInfo.put(methods[i].toString(), info);
   }
}
   
  @@ -120,7 +133,7 @@
   
// save away the attribute and operation info objects
MBeanAttributeInfo[] attributeInfo = (MBeanAttributeInfo[]) 
attrInfo.toArray(new MBeanAttributeInfo[0]);
  - MBeanOperationInfo[] operationInfo = (MBeanOperationInfo[]) 
operInfo.toArray(new MBeanOperationInfo[0]);
  + MBeanOperationInfo[] operationInfo = (MBeanOperationInfo[]) 
operInfo.values().toArray(new MBeanOperationInfo[0]);
   
MBeanNotificationInfo[] notifications = null;
if (mbeanInstance instanceof NotificationBroadcaster)
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] [ jboss-Bugs-536382 ] Memory leak

2002-03-29 Thread noreply

Bugs item #536382, was opened at 2002-03-28 18:10
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=536382&group_id=22866

Category: JBossServer
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 9
Submitted By: Per Nyfelt (per_nyfelt)
Assigned to: Adrian Brock (ejort)
Summary: Memory leak

Initial Comment:
We are doing massive data inserts by sending xml to a 
servlet that translates this information into item 
creation requests on a stateless session bean who 
interacts (calls create) on a couple of entity beans. 
This worked fine on 2.4.x but on Rabbit Hole the 
memory gets pegged when doing more than 30.000 inserts 
and more (we used to do 50.000 on that same machine 
before without even noticing a performance hit and 
using only a couple of extra percent of memory while 
doing the insert). 

Basically memory usage slowly increases up to 99% and 
the server slows down to a crawl. This memory is not 
recovered after the insert is finished and not 
recovered if JBoss is restarted - it requires a 
complete restart of the machine for things to go back 
to normal.

We have tried to switch the CMP beans to BMP beans but 
get (almost) the same result. i.e. with BMP it goes 
through in 3 hours what used to take minutes and the 
memory is pegged afterwards. On CMP it just slows down 
to a crawl and does not finish after several days (it 
never "fails" (throws an exception) though).

OS: Slackware Linux 8 (kernel 2.4.16)
JDK: Blackdown 1.3.1 and IBM 1.3 

Similar issues has also been reported by the following:

http://main.jboss.org/thread.jsp?forum=46&thread=11247

http://main.jboss.org/thread.jsp?
forum=52&thread=11740&message=2633939&q=memory+jboss+be
ta#2633939


--

>Comment By: Adrian Brock (ejort)
Date: 2002-03-29 10:28

Message:
Logged In: YES 
user_id=9459

I've re-applied the fix to latest CVS

I wish there was a way to guarantee that garbage
has been collected. I could then write a test for
this. 

Regards,
Adrian


--

Comment By: Adrian Brock (ejort)
Date: 2002-03-28 20:00

Message:
Logged In: YES 
user_id=9459

As it says on the second thread, the fix has gone missing
out of 3.0

--

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=536382&group_id=22866

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] [ jboss-Bugs-536382 ] Memory leak

2002-03-29 Thread noreply

Bugs item #536382, was opened at 2002-03-28 18:10
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=536382&group_id=22866

Category: JBossServer
Group: v3.0 Rabbit Hole
>Status: Closed
>Resolution: Fixed
Priority: 9
Submitted By: Per Nyfelt (per_nyfelt)
Assigned to: Adrian Brock (ejort)
Summary: Memory leak

Initial Comment:
We are doing massive data inserts by sending xml to a 
servlet that translates this information into item 
creation requests on a stateless session bean who 
interacts (calls create) on a couple of entity beans. 
This worked fine on 2.4.x but on Rabbit Hole the 
memory gets pegged when doing more than 30.000 inserts 
and more (we used to do 50.000 on that same machine 
before without even noticing a performance hit and 
using only a couple of extra percent of memory while 
doing the insert). 

Basically memory usage slowly increases up to 99% and 
the server slows down to a crawl. This memory is not 
recovered after the insert is finished and not 
recovered if JBoss is restarted - it requires a 
complete restart of the machine for things to go back 
to normal.

We have tried to switch the CMP beans to BMP beans but 
get (almost) the same result. i.e. with BMP it goes 
through in 3 hours what used to take minutes and the 
memory is pegged afterwards. On CMP it just slows down 
to a crawl and does not finish after several days (it 
never "fails" (throws an exception) though).

OS: Slackware Linux 8 (kernel 2.4.16)
JDK: Blackdown 1.3.1 and IBM 1.3 

Similar issues has also been reported by the following:

http://main.jboss.org/thread.jsp?forum=46&thread=11247

http://main.jboss.org/thread.jsp?
forum=52&thread=11740&message=2633939&q=memory+jboss+be
ta#2633939


--

Comment By: Adrian Brock (ejort)
Date: 2002-03-29 10:28

Message:
Logged In: YES 
user_id=9459

I've re-applied the fix to latest CVS

I wish there was a way to guarantee that garbage
has been collected. I could then write a test for
this. 

Regards,
Adrian


--

Comment By: Adrian Brock (ejort)
Date: 2002-03-28 20:00

Message:
Logged In: YES 
user_id=9459

As it says on the second thread, the fix has gone missing
out of 3.0

--

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=536382&group_id=22866

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jboss/src/main/org/jboss/invocation MarshalledInvocation.java

2002-03-29 Thread Adrian Brock

  User: ejort   
  Date: 02/03/29 02:17:19

  Modified:src/main/org/jboss/invocation MarshalledInvocation.java
  Log:
  Fixed a memory leak in the method hashes
  
  Revision  ChangesPath
  1.8   +5 -9  jboss/src/main/org/jboss/invocation/MarshalledInvocation.java
  
  Index: MarshalledInvocation.java
  ===
  RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/invocation/MarshalledInvocation.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- MarshalledInvocation.java 7 Mar 2002 18:59:52 -   1.7
  +++ MarshalledInvocation.java 29 Mar 2002 10:17:18 -  1.8
  @@ -34,7 +34,7 @@
   *
   *   @see 
   *   @author  mailto:[EMAIL PROTECTED]";>Marc Fleury
  -*   @version $Revision: 1.7 $
  +*   @version $Revision: 1.8 $
   *   Revisions:
   *
   *   Revisions:
  @@ -76,7 +76,7 @@
  * @param   intf  
  * @return 
  */
  -   public static Map getInterfaceHashes(Class intf, boolean methodToLong)
  +   public static Map getInterfaceHashes(Class intf)
  {
 // Create method hashes
 Method[] methods = intf.getDeclaredMethods();
  @@ -103,11 +103,7 @@
   byte abyte0[] = messagedigest.digest();
   for(int j = 0; j < Math.min(8, abyte0.length); j++)
  hash += (long)(abyte0[j] & 0xff) << j * 8;
  -if (methodToLong)
  -   map.put(method, new Long(hash));
  -else 
  -   map.put(new Long(hash), method);
  - 
  +map.put(method.toString(), new Long(hash));
}
catch (Exception e)
{
  @@ -169,7 +165,7 @@
 
 if (methodHashes == null)
 {
  - methodHashes = getInterfaceHashes(method.getDeclaringClass(), true);
  + methodHashes = getInterfaceHashes(method.getDeclaringClass());

// Copy and add
WeakHashMap newHashMap = new WeakHashMap();
  @@ -178,7 +174,7 @@
hashMap = newHashMap;
 }
 
  -  return ((Long)methodHashes.get(method)).longValue();
  +  return ((Long)methodHashes.get(method.toString())).longValue();
  }
  
  // Constructors --
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] Automated JBoss Testsuite Results: 29-March-2002

2002-03-29 Thread chris



JBoss daily test results

SUMMARY

Number of tests run:   532



Successful tests:  204

Errors:319

Failures:  9





[time of test: 29 March 2002 8:18 GMT]
[java.version: 1.4.0]
[java.vendor: Sun Microsystems Inc.]
[java.vm.version: 1.4.0-b92]
[java.vm.name: Java HotSpot(TM) Client VM]
[java.vm.info: mixed mode]
[os.name: Linux]
[os.arch: i386]
[os.version: 2.4.9-31]

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.
Remember - if a test becomes broken after your changes - fix it or fix the test!





DETAILS OF ERRORS

[details not shown -as this makes the mail too big to reach the sf mailing list]




PS BEFORE you commit, run the test suite!

Its really is easy, just use the ant target 'run-basic-testsuite' from the 
build directory.


To just run the unit tests (they are quite quick):

In the testsuite directory, 
./build.sh tests-unit


You can run a single test case using:
./build.sh -Dtest=[XXXTestCase] one-test

The XXXTestCase is the classname of the junit class to run. So, to run the 
EJBSpecUnitTestCase use:
./build.sh -Dtest=EJBSpecUnitTestCase one-test


To run all tests within a package, use
./build.sh -Dtest=[package] test

The package is name of the directory under the org/jboss/test directory that 
contains the tests to run. So, to run the unit tests in the 
org.jboss.test.security package use:
./build.sh -Dtest=security test



Thanks for all your effort - we really do love you!



___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development