DO NOT REPLY [Bug 31201] - Encoding bug when using jsp:include ... action

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31201.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31201

Encoding bug when using jsp:include ... action





--- Additional Comments From [EMAIL PROTECTED]  2004-10-05 06:27 ---
 There are, however, a number of alternative approaches that are spec   compliant 
 and are hence container neutral.  I knew. However these approaches could not include 
 HTML direct. We should convert HTML to JSP or use escaped character for non 
 iso-8859-1 characters. Some of the people want include HTML direct. Then, this 
 becomes problem.   You said I feed back JCP. It's really right, but imagin, how long 
 we wait to resolve the problem and does tomcat never have tomcat specific functions? 
 Could you see the number of vote for this bug?  I'm disappointment for your i18n and 
 l10n attitude. I posted i18n and l10n patch in the past but it took _6 month_ that 
 tomcat commiter took my patch.   I recommend you to provide temporary solution since 
 release Tomcat 6.0 again.  bye,  Takashi

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 31405] - [Documentation RFE] unpackwar implications (slow startup)

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31405.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31405

[Documentation RFE] unpackwar implications (slow startup)





--- Additional Comments From [EMAIL PROTECTED]  2004-10-05 06:42 ---
further observations that may help others:
1) when setting CATALINA_OPTS=-verbose:gc I see about 300 garbage collections:
[GC 18619K-3026K(260160K), 0.0217930 secs]
[GC 19218K-3011K(260160K), 0.0047730 secs]
[GC 19191K-3011K(260160K), 0.0033220 secs]
[GC 19203K-3013K(260160K), 0.0039100 secs]
[GC 19205K-3100K(260160K), 0.0047540 secs]
[GC 19292K-3125K(260160K), 0.0045940 secs]
[GC 19316K-3143K(260160K), 0.0042910 secs]
[GC 19328K-3167K(260160K), 0.0043550 secs]
...
[GC 19654K-3458K(260160K), 0.0009390 secs]
[Full GC 12290K-3530K(260160K), 0.0917670 secs]
[GC 19784K-3811K(260224K), 0.0043500 secs]
...
[GC 20465K-4217K(260224K), 0.0011250 secs]
[GC 20471K-4215K(260224K), 0.0010260 secs]
[GC 20466K-4222K(260224K), 0.0010590 secs]
[GC 20478K-4242K(260224K), 0.0013500 secs]

2) when running jprobe memorydebugger, it ends up with excessive memory use and
swapping such that a warm reboot of the machine is more promising than waiting
for the console to respond on simple key entries ... ([EMAIL PROTECTED] from
JProbe support suspects unpack=false to be the main culprit)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2004-10-05 Thread pero
pero2004/10/04 23:57:20

  Modified:catalina/src/share/org/apache/catalina/deploy
ContextEjb.java ContextLocalEjb.java
ContextResource.java ContextResourceEnvRef.java
ContextResourceLink.java
   webapps/docs changelog.xml
  Log:
  refactor o.a.c.deploy.ContextXXX classes to use new super class ContextBase.
  CVS: --
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  ChangesPath
  1.6   +8 -102
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/deploy/ContextEjb.java
  
  Index: ContextEjb.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/deploy/ContextEjb.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ContextEjb.java   26 Jul 2004 16:04:02 -  1.5
  +++ ContextEjb.java   5 Oct 2004 06:57:20 -   1.6
  @@ -18,8 +18,6 @@
   package org.apache.catalina.deploy;
   
   import java.io.Serializable;
  -import java.util.Iterator;
  -import java.util.HashMap;
   
   
   /**
  @@ -28,28 +26,16 @@
* deployment descriptor.
*
* @author Craig R. McClanahan
  + * @author Peter Rossbach ([EMAIL PROTECTED])
* @version $Revision$ $Date$
*/
   
  -public class ContextEjb implements Serializable {
  +public class ContextEjb extends ContextBase implements Serializable {
   
   
   // - Properties
   
   
  -/**
  - * The description of this EJB.
  - */
  -private String description = null;
  -
  -public String getDescription() {
  -return (this.description);
  -}
  -
  -public void setDescription(String description) {
  -this.description = description;
  -}
  -
   
   /**
* The name of the EJB home implementation class.
  @@ -78,21 +64,6 @@
   this.link = link;
   }
   
  -
  -/**
  - * The name of this EJB.
  - */
  -private String name = null;
  -
  -public String getName() {
  -return (this.name);
  -}
  -
  -public void setName(String name) {
  -this.name = name;
  -}
  -
  -
   /**
* The name of the EJB remote implementation class.
*/
  @@ -106,54 +77,6 @@
   this.remote = remote;
   }
   
  -
  -/**
  - * The name of the EJB bean implementation class.
  - */
  -private String type = null;
  -
  -public String getType() {
  -return (this.type);
  -}
  -
  -public void setType(String type) {
  -this.type = type;
  -}
  -
  -
  -/**
  - * Holder for our configured properties.
  - */
  -private HashMap properties = new HashMap();
  -
  -/**
  - * Return a configured property.
  - */
  -public Object getProperty(String name) {
  -return properties.get(name);
  -}
  -
  -/**
  - * Set a configured property.
  - */
  -public void setProperty(String name, Object value) {
  -properties.put(name, value);
  -}
  -
  -/** 
  - * remove a configured property.
  - */
  -public void removeProperty(String name) {
  -properties.remove(name);
  -}
  -
  -/**
  - * List properties.
  - */
  -public Iterator listProperties() {
  -return properties.keySet().iterator();
  -}
  -
   
   // - Public Methods
   
  @@ -165,14 +88,14 @@
   
   StringBuffer sb = new StringBuffer(ContextEjb[);
   sb.append(name=);
  -sb.append(name);
  -if (description != null) {
  +sb.append(getName());
  +if (getDescription() != null) {
   sb.append(, description=);
  -sb.append(description);
  +sb.append(getDescription());
   }
  -if (type != null) {
  +if (getType() != null) {
   sb.append(, type=);
  -sb.append(type);
  +sb.append(getType());
   }
   if (home != null) {
   

cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2004-10-05 Thread pero
pero2004/10/05 00:00:43

  Modified:catalina/src/share/org/apache/catalina/connector
Connector.java
   webapps/docs changelog.xml
  Log:
  Enable findLifecycleListener to save-to-xml
  CVS: --
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  ChangesPath
  1.11  +2 -2  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/Connector.java
  
  Index: Connector.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/Connector.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- Connector.java4 Oct 2004 13:49:12 -   1.10
  +++ Connector.java5 Oct 2004 07:00:42 -   1.11
  @@ -831,7 +831,7 @@
*/
   public LifecycleListener[] findLifecycleListeners() {
   
  -return null;//lifecycle.findLifecycleListeners();
  +return lifecycle.findLifecycleListeners();
   
   }
   
  
  
  
  1.132 +4 -1  jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.131
  retrieving revision 1.132
  diff -u -r1.131 -r1.132
  --- changelog.xml 5 Oct 2004 06:57:20 -   1.131
  +++ changelog.xml 5 Oct 2004 07:00:42 -   1.132
  @@ -125,9 +125,12 @@
 fix
   Remove authenticator debug attributes from the descriptors. (remm)
 /fix
  - update
  +  update
   Refactor org.apache.catalina.deploy.ContextXXX to use new super class 
ContextBase. (pero)
 /update
  +  fix
  +Enable Connector.findLifecycleListener that we can listen start/stop 
Connector events and save the listener to xml. (pero)
  +  /fix
   /changelog
 /subsection
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/webapps/docs jasper-howto.xml

2004-10-05 Thread pero
pero2004/10/05 00:01:09

  Modified:webapps/docs jasper-howto.xml
  Log:
  Fix typo..
  CVS: --
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  ChangesPath
  1.19  +1 -1  jakarta-tomcat-catalina/webapps/docs/jasper-howto.xml
  
  Index: jasper-howto.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/jasper-howto.xml,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- jasper-howto.xml  5 Oct 2004 01:46:00 -   1.18
  +++ jasper-howto.xml  5 Oct 2004 07:01:08 -   1.19
  @@ -119,7 +119,7 @@
   
   listrongmodificationTestInterval/strong - Checks for modification for a given
   JSP file (and all its dependent files) will be performed only once every specified 
amount
  -of milliseconds. Setting this to a value =0 will cause the JSP to be checked on 
every access, which is the default./li
  +of milliseconds. Setting this to a value lt;=0 will cause the JSP to be checked on 
every access, which is the default./li
   
   listrongreloading/strong - Should Jasper check for modified JSPs?
   codetrue/code or codefalse/code, default codefalse/code./li
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: cvs commit: jakarta-tomcat-catalina/webapps/docs jasper-howto.xml

2004-10-05 Thread Remy Maucherat
[EMAIL PROTECTED] wrote:
luehe   2004/10/04 18:46:00
 Modified:jasper2/src/share/org/apache/jasper/resources
   LocalStrings.properties
  jasper2/src/share/org/apache/jasper
   EmbeddedServletOptions.java JspC.java
  jasper2/src/share/org/apache/jasper/compiler Compiler.java
  webapps/docs jasper-howto.xml
 Log:
 Changed default of modificationTestInterval to 0, so that by default we continue to check for last modification date on each access in development mode.
 
 Remy, let me know if you have any issues w/ this.  

Actually, I do: I want a good default, so this means somthing like 2-4s.
Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper EmbeddedServletOptions.java

2004-10-05 Thread remm
remm2004/10/05 00:07:00

  Modified:jasper2/src/share/org/apache/jasper
EmbeddedServletOptions.java
  Log:
  - It's simple: good defaults.
  
  Revision  ChangesPath
  1.16  +1 -1  
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/EmbeddedServletOptions.java
  
  Index: EmbeddedServletOptions.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/EmbeddedServletOptions.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- EmbeddedServletOptions.java   5 Oct 2004 01:46:00 -   1.15
  +++ EmbeddedServletOptions.java   5 Oct 2004 07:07:00 -   1.16
  @@ -167,7 +167,7 @@
   /**
* Modification test interval.
*/
  -private int modificationTestInterval = 0;
  +private int modificationTestInterval = 4000;
   
   /**
* Is generation of X-Powered-By response header enabled/disabled?
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/webapps/docs jasper-howto.xml

2004-10-05 Thread remm
remm2004/10/05 00:12:45

  Modified:jasper2/src/share/org/apache/jasper/resources
LocalStrings.properties
   webapps/docs jasper-howto.xml
  Log:
  - It's simple: good defaults.
  
  Revision  ChangesPath
  1.4   +2 -2  
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/resources/LocalStrings.properties
  
  Index: LocalStrings.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/resources/LocalStrings.properties,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- LocalStrings.properties   5 Oct 2004 01:46:00 -   1.3
  +++ LocalStrings.properties   5 Oct 2004 07:12:45 -   1.4
  @@ -143,7 +143,7 @@
   jsp.warning.sendErrToClient=Warning: Invalid value for the initParam 
sendErrToClient. Will use the default value of \false\
   jsp.warning.classDebugInfo=Warning: Invalid value for the initParam classdebuginfo. 
Will use the default value of \false\
   jsp.warning.checkInterval=Warning: Invalid value for the initParam checkInterval. 
Will use the default value of \300\ seconds
  -jsp.warning.modificationTestInterval=Warning: Invalid value for the initParam 
modificationTestInterval. Will use the default value of \0\ milliseconds
  +jsp.warning.modificationTestInterval=Warning: Invalid value for the initParam 
modificationTestInterval. Will use the default value of \4000\ milliseconds
   jsp.warning.development=Warning: Invalid value for the initParam development. Will 
use the default value of \true\
   jsp.warning.fork=Warning: Invalid value for the initParam fork. Will use the 
default value of \true\
   jsp.warning.reloading=Warning: Invalid value for the initParam reloading. Will use 
the default value of \true\
  
  
  
  1.20  +2 -1  jakarta-tomcat-catalina/webapps/docs/jasper-howto.xml
  
  Index: jasper-howto.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/jasper-howto.xml,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- jasper-howto.xml  5 Oct 2004 07:01:08 -   1.19
  +++ jasper-howto.xml  5 Oct 2004 07:12:45 -   1.20
  @@ -119,7 +119,8 @@
   
   listrongmodificationTestInterval/strong - Checks for modification for a given
   JSP file (and all its dependent files) will be performed only once every specified 
amount
  -of milliseconds. Setting this to a value lt;=0 will cause the JSP to be checked on 
every access, which is the default./li
  +of milliseconds. Setting this to -1 will cause the JSP to be checked on every 
access.
  +Default is code4000/code milliseconds./li
   
   listrongreloading/strong - Should Jasper check for modified JSPs?
   codetrue/code or codefalse/code, default codefalse/code./li
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2004-10-05 Thread Remy Maucherat
[EMAIL PROTECTED] wrote:
pero2004/10/04 23:57:20
 Modified:catalina/src/share/org/apache/catalina/deploy
   ContextEjb.java ContextLocalEjb.java
   ContextResource.java ContextResourceEnvRef.java
   ContextResourceLink.java
  webapps/docs changelog.xml
 Log:
 refactor o.a.c.deploy.ContextXXX classes to use new super class ContextBase.
- I think the ContextBase name for this class is quite bad.
- Please make sure you don't break the build. This means checking when 
adding files that they are indeed added (and same when removing).

Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2004-10-05 Thread Peter Rossbach
Hmm,
I also so think that the managedResource attribute is a hack. What we 
need is
a better JMX API. My wish is that we open some of the MBeans to add more 
operations.

Example realm:
We have only init/start/stop/destroy jmx operations but what I need  is
   authenticateXXX
   hasRole
Than I can easy used every realm for my JMX http adaptor (MX4J 2.0.1).
Peter
Bill Barker schrieb:
- Original Message -
From: Remy Maucherat [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]
Sent: Monday, October 04, 2004 4:23 PM
Subject: Re: cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml
 

Bill Barker wrote:
   

It was on Peter's wish-list to add managedResource to the Realms.  This
was taken from (I think :) StandardHost, where the code was so broken that
it was impossible that anybody was using it, so waiting for
managedResource to be added to the mbean-descriptor was reasonable.
 

I tested with removing the relevant blocks in the containers: it's not
really used.
   

It would be only used by some custom JMX-embedding (and, like I said, it
never worked :).  The JMX-embedding method that does work is to invoke
init on the Realm, which will then add itself to whichever Container it
was registered for.
 

Except that managedResource is an internal-implementation artifact of
 

c-m.
 

There really isn't any point in getting rid of it before Remy's project to
make c-m an optional component.
 

Really, I'm supposed to do that ? ;)
   

It's your todo list ;).
 

I don't think managedResource needs anything special: it's just a
standard attribute (and is a hack) that is declared in the
mbean-descriptors. Its name makes it sound like it's somehow magically
provided by the model MBean implementation, but it's not (it would be
very insecure to do so). I would be happier if we tried removing the
managedResource, actually.
   

It will make Peter unhappy, but it wouldn't be hard.  Probably the hardest
one to do would be Connector (since you can't add a Connector to an Engine
:).  The Realm stuff that started this could probably just invoke init on
the Realm instead.
 

Rémy
   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


This message is intended only for the use of the person(s) listed above as the 
intended recipient(s), and may contain information that is PRIVILEGED and 
CONFIDENTIAL.  If you are not an intended recipient, you may not read, copy, or 
distribute this message or any attachment. If you received this communication in 
error, please notify us immediately by e-mail and then delete all copies of this 
message and any attachments.
In addition you should be aware that ordinary (unencrypted) e-mail sent through the 
Internet is not secure. Do not send confidential or sensitive information, such as 
social security numbers, account numbers, personal identification numbers and 
passwords, to us via ordinary (unencrypted) e-mail.
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

--
J2EE Systemarchitekt und Tomcat Experte
http://objektpark.de/
http://www.webapp.de/
Am Josephsschacht 72, 44879 Bochum, Deutschland
Telefon:  (49) 234 9413228
Mobil:(49) 175 1660884
E-Mail:  [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


cvs commit: jakarta-tomcat-catalina/webapps/docs jasper-howto.xml

2004-10-05 Thread remm
remm2004/10/05 00:24:33

  Modified:jasper2/src/share/org/apache/jasper/resources
LocalStrings.properties
   jasper2/src/share/org/apache/jasper
EmbeddedServletOptions.java
   jasper2/src/share/org/apache/jasper/compiler Compiler.java
   webapps/docs jasper-howto.xml
  Log:
  - modificationTestInterval is now a value in seconds, as per Jan's suggestion. 
However, the default is not 0, since I'm fairly certain that there
are people who use the default config, and probably think Jasper is slow.
  
  Revision  ChangesPath
  1.5   +2 -2  
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/resources/LocalStrings.properties
  
  Index: LocalStrings.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/resources/LocalStrings.properties,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- LocalStrings.properties   5 Oct 2004 07:12:45 -   1.4
  +++ LocalStrings.properties   5 Oct 2004 07:24:33 -   1.5
  @@ -143,7 +143,7 @@
   jsp.warning.sendErrToClient=Warning: Invalid value for the initParam 
sendErrToClient. Will use the default value of \false\
   jsp.warning.classDebugInfo=Warning: Invalid value for the initParam classdebuginfo. 
Will use the default value of \false\
   jsp.warning.checkInterval=Warning: Invalid value for the initParam checkInterval. 
Will use the default value of \300\ seconds
  -jsp.warning.modificationTestInterval=Warning: Invalid value for the initParam 
modificationTestInterval. Will use the default value of \4000\ milliseconds
  +jsp.warning.modificationTestInterval=Warning: Invalid value for the initParam 
modificationTestInterval. Will use the default value of \4\ seconds
   jsp.warning.development=Warning: Invalid value for the initParam development. Will 
use the default value of \true\
   jsp.warning.fork=Warning: Invalid value for the initParam fork. Will use the 
default value of \true\
   jsp.warning.reloading=Warning: Invalid value for the initParam reloading. Will use 
the default value of \true\
  
  
  
  1.17  +1 -1  
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/EmbeddedServletOptions.java
  
  Index: EmbeddedServletOptions.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/EmbeddedServletOptions.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- EmbeddedServletOptions.java   5 Oct 2004 07:07:00 -   1.16
  +++ EmbeddedServletOptions.java   5 Oct 2004 07:24:33 -   1.17
  @@ -167,7 +167,7 @@
   /**
* Modification test interval.
*/
  -private int modificationTestInterval = 4000;
  +private int modificationTestInterval = 4;
   
   /**
* Is generation of X-Powered-By response header enabled/disabled?
  
  
  
  1.95  +1 -1  
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Compiler.java
  
  Index: Compiler.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Compiler.java,v
  retrieving revision 1.94
  retrieving revision 1.95
  diff -u -r1.94 -r1.95
  --- Compiler.java 5 Oct 2004 01:46:00 -   1.94
  +++ Compiler.java 5 Oct 2004 07:24:33 -   1.95
  @@ -324,7 +324,7 @@
   if ((jsw != null)
(ctxt.getOptions().getModificationTestInterval()  0)
((jsw.getLastModificationTest()
  -+ ctxt.getOptions().getModificationTestInterval()) 
  ++ (ctxt.getOptions().getModificationTestInterval() * 1000)) 
System.currentTimeMillis())) {
   return false;
   }
  
  
  
  1.21  +2 -2  jakarta-tomcat-catalina/webapps/docs/jasper-howto.xml
  
  Index: jasper-howto.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/jasper-howto.xml,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- jasper-howto.xml  5 Oct 2004 07:12:45 -   1.20
  +++ jasper-howto.xml  5 Oct 2004 07:24:33 -   1.21
  @@ -119,8 +119,8 @@
   
   listrongmodificationTestInterval/strong - Checks for modification for a given
   JSP file (and all its dependent files) will be performed only once every specified 
amount
  -of milliseconds. Setting this to -1 will cause the JSP to be checked on every 
access.
  -Default is code4000/code milliseconds./li
  +of milliseconds. Setting this to 0 will cause the JSP to be checked on every access.
  +Default is code4/code seconds./li
   
   listrongreloading/strong - Should Jasper check 

Re: cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2004-10-05 Thread Peter Rossbach
Hey Remy,
I have made a complete rebuild and a test. It works fine for me..
Ok, what you thing is a better name for ContextBase or you mean the 
refactoring is useless ?
I need this refactoring for eaiser identifiy the ContextXXX classes for 
my new xml saving code.

Peter
Remy Maucherat schrieb:
[EMAIL PROTECTED] wrote:
pero2004/10/04 23:57:20
 Modified:catalina/src/share/org/apache/catalina/deploy
   ContextEjb.java ContextLocalEjb.java
   ContextResource.java ContextResourceEnvRef.java
   ContextResourceLink.java
  webapps/docs changelog.xml
 Log:
 refactor o.a.c.deploy.ContextXXX classes to use new super class 
ContextBase.

- I think the ContextBase name for this class is quite bad.
- Please make sure you don't break the build. This means checking when 
adding files that they are indeed added (and same when removing).

Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2004-10-05 Thread Remy Maucherat
Peter Rossbach wrote:
Hey Remy,
I have made a complete rebuild and a test. It works fine for me..
Apparently, you didn't cvs add the new ContextBase class. I think I 
can figure out what it contains, of course ;)

Ok, what you thing is a better name for ContextBase or you mean the 
refactoring is useless ?
No, the classname just sounds this is a superclass of StandardContext. 
So the classname is bad.

I need this refactoring for eaiser identifiy the ContextXXX classes 
for my new xml saving code.
Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/realm RealmBase.java

2004-10-05 Thread remm
remm2004/10/05 00:54:07

  Modified:catalina/src/share/org/apache/catalina/realm RealmBase.java
  Log:
  - Refactor the commented out sys outs as a debug logging statement.
  
  Revision  ChangesPath
  1.39  +9 -18 
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/realm/RealmBase.java
  
  Index: RealmBase.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/realm/RealmBase.java,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- RealmBase.java3 Oct 2004 08:53:56 -   1.38
  +++ RealmBase.java5 Oct 2004 07:54:07 -   1.39
  @@ -310,21 +310,6 @@
 String qop, String realm,
 String md5a2) {
   
  -/*
  -  System.out.println(Digest :  + clientDigest);
  -
  -  System.out.println( Digest info);
  -  System.out.println(Username: + username);
  -  System.out.println(ClientSigest: + clientDigest);
  -  System.out.println(nOnce: + nOnce);
  -  System.out.println(nc: + nc);
  -  System.out.println(cnonce: + cnonce);
  -  System.out.println(qop: + qop);
  -  System.out.println(realm: + realm);
  -  System.out.println(md5a2: + md5a2);
  -*/
  -
  -
   String md5a1 = getDigest(username, realm);
   if (md5a1 == null)
   return null;
  @@ -332,8 +317,14 @@
   + cnonce + : + qop + : + md5a2;
   String serverDigest =
   md5Encoder.encode(md5Helper.digest(serverDigestValue.getBytes()));
  -//System.out.println(Server digest :  + serverDigest);
  -
  +if (log.isDebugEnabled()) {
  +log.debug(Digest :  + clientDigest +  Username: + username 
  ++  ClientSigest: + clientDigest +  nOnce: + nOnce 
  ++  nc: + nc +  cnonce: + cnonce +  qop: + qop 
  ++  realm: + realm + md5a2: + md5a2 
  ++  Server digest: + serverDigest);
  +}
  +
   if (serverDigest.equals(clientDigest))
   return getPrincipal(username);
   else
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2004-10-05 Thread Remy Maucherat
Peter Rossbach wrote:
Hmm,
I also so think that the managedResource attribute is a hack. What we 
need is
a better JMX API. My wish is that we open some of the MBeans to add 
more operations.

Example realm:
We have only init/start/stop/destroy jmx operations but what I need  is
   authenticateXXX
   hasRole
Than I can easy used every realm for my JMX http adaptor (MX4J 2.0.1).
Some of the descriptors are very old, so there's no problem with 
updating them as needed.

Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2004-10-05 Thread pero
pero2004/10/05 00:56:50

  Modified:catalina/src/share/org/apache/catalina/deploy
ContextEjb.java ContextLocalEjb.java
ContextResource.java ContextResourceEnvRef.java
ContextResourceLink.java
   webapps/docs changelog.xml
  Added:   catalina/src/share/org/apache/catalina/deploy
ResourceBase.java
  Log:
  Refactor org.apache.catalina.deploy.ContextXXX to use new super class ResourceBase.
  
  Revision  ChangesPath
  1.7   +2 -2  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/deploy/ContextEjb.java
  
  Index: ContextEjb.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/deploy/ContextEjb.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ContextEjb.java   5 Oct 2004 06:57:20 -   1.6
  +++ ContextEjb.java   5 Oct 2004 07:56:49 -   1.7
  @@ -30,7 +30,7 @@
* @version $Revision$ $Date$
*/
   
  -public class ContextEjb extends ContextBase implements Serializable {
  +public class ContextEjb extends ResourceBase implements Serializable {
   
   
   // - Properties
  
  
  
  1.7   +2 -2  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/deploy/ContextLocalEjb.java
  
  Index: ContextLocalEjb.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/deploy/ContextLocalEjb.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ContextLocalEjb.java  5 Oct 2004 06:57:20 -   1.6
  +++ ContextLocalEjb.java  5 Oct 2004 07:56:49 -   1.7
  @@ -30,7 +30,7 @@
* @version $Revision$ $Date$
*/
   
  -public class ContextLocalEjb extends ContextBase implements Serializable {
  +public class ContextLocalEjb extends ResourceBase implements Serializable {
   
   
   // - Properties
  
  
  
  1.7   +2 -2  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/deploy/ContextResource.java
  
  Index: ContextResource.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/deploy/ContextResource.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ContextResource.java  5 Oct 2004 06:57:20 -   1.6
  +++ ContextResource.java  5 Oct 2004 07:56:49 -   1.7
  @@ -29,7 +29,7 @@
* @version $Revision$ $Date$
*/
   
  -public class ContextResource extends ContextBase implements Serializable {
  +public class ContextResource extends ResourceBase implements Serializable {
   
   
   // - Properties
  
  
  
  1.3   +2 -2  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/deploy/ContextResourceEnvRef.java
  
  Index: ContextResourceEnvRef.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/deploy/ContextResourceEnvRef.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ContextResourceEnvRef.java5 Oct 2004 06:57:20 -   1.2
  +++ ContextResourceEnvRef.java5 Oct 2004 07:56:49 -   1.3
  @@ -29,7 +29,7 @@
* @version $Revision$ $Date$
*/
   
  -public class ContextResourceEnvRef extends ContextBase implements Serializable {
  +public class ContextResourceEnvRef extends ResourceBase implements Serializable {
   
   
   // - Properties
  
  
  
  1.6   +2 -2  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/deploy/ContextResourceLink.java
  
  Index: ContextResourceLink.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/deploy/ContextResourceLink.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ContextResourceLink.java  5 Oct 2004 06:57:20 -   1.5
  +++ ContextResourceLink.java  5 Oct 2004 07:56:49 -   1.6
  @@ -30,7 +30,7 @@
* @version $Revision$ $Date$
*/
   
  -public class ContextResourceLink extends ContextBase implements Serializable {
  +public class ContextResourceLink extends ResourceBase implements Serializable {
   
   
   // - Properties
  
  
  
  1.1  

Re: cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2004-10-05 Thread Peter Rossbach
Hey Remy,
sorry, to my checkin fault... I am change the name to ResourceBase and 
add it to the cvs.

Peter
Remy Maucherat schrieb:
Peter Rossbach wrote:
Hey Remy,
I have made a complete rebuild and a test. It works fine for me..

Apparently, you didn't cvs add the new ContextBase class. I think I 
can figure out what it contains, of course ;)

Ok, what you thing is a better name for ContextBase or you mean the 
refactoring is useless ?

No, the classname just sounds this is a superclass of StandardContext. 
So the classname is bad.

I need this refactoring for eaiser identifiy the ContextXXX classes 
for my new xml saving code.

Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector Connector.java

2004-10-05 Thread pero
pero2004/10/05 01:03:26

  Modified:catalina/src/share/org/apache/catalina/connector
Connector.java
  Log:
  Fix the info attribute.
  
  Revision  ChangesPath
  1.12  +2 -2  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/Connector.java
  
  Index: Connector.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/Connector.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- Connector.java5 Oct 2004 07:00:42 -   1.11
  +++ Connector.java5 Oct 2004 08:03:25 -   1.12
  @@ -117,7 +117,7 @@
* Descriptive information about this Connector implementation.
*/
   private static final String info =
  -org.apache.coyote.tomcat5.CoyoteConnector/2.0;
  +org.apache.catalina.connector.Connector/2.1;
   
   
   /**
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Need help with mod_ajp

2004-10-05 Thread Peter Rossbach
Hello,
I have two simple question to the new mod_ajp:
Can we add a small documentation how people can compile and configure
the new mod_ajp? The mailing list are tell us a lot informations, but
please can someone desicribe the current state?
Thanks
Peter

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Need help with mod_ajp

2004-10-05 Thread jean-frederic clere
Peter Rossbach wrote:
Hello,
I have two simple question to the new mod_ajp:
Can we add a small documentation how people can compile and configure
the new mod_ajp? The mailing list are tell us a lot informations, but
please can someone desicribe the current state?
The developement of the proxy ajp has been moved to httpd-2.1.
Thanks
Peter

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Need help with mod_ajp

2004-10-05 Thread Remy Maucherat
jean-frederic clere wrote:
Peter Rossbach wrote:
Hello,
I have two simple question to the new mod_ajp:
Can we add a small documentation how people can compile and configure
the new mod_ajp? The mailing list are tell us a lot informations, but
please can someone desicribe the current state?

The developement of the proxy ajp has been moved to httpd-2.1.
To make sure I got everything right: so all the code and dev is done 
there now ?
BTW, who's a committer on httpd ?

Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Need help with mod_ajp

2004-10-05 Thread jean-frederic clere
Remy Maucherat wrote:
jean-frederic clere wrote:
Peter Rossbach wrote:
Hello,
I have two simple question to the new mod_ajp:
Can we add a small documentation how people can compile and configure
the new mod_ajp? The mailing list are tell us a lot informations, but
please can someone desicribe the current state?

The developement of the proxy ajp has been moved to httpd-2.1.

To make sure I got everything right: so all the code and dev is done 
there now ?
Yes.
BTW, who's a committer on httpd ?
I and Mladen ([EMAIL PROTECTED]).
Cheers
Jean-Frederic
Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Need help with mod_ajp

2004-10-05 Thread Peter Rossbach
Cool,
that mean I checkout httpd 2.1 and all is working?
How I can find some mod_ajp configuration documentation?
   All new elements and option and a example for loadbalancing
Can you please, add some documentation ( jk/xdocs) that let people find the
  new module and configuration ?
Thanks
Peter
jean-frederic clere schrieb:
Remy Maucherat wrote:
jean-frederic clere wrote:
Peter Rossbach wrote:
Hello,
I have two simple question to the new mod_ajp:
Can we add a small documentation how people can compile and configure
the new mod_ajp? The mailing list are tell us a lot informations, but
please can someone desicribe the current state?


The developement of the proxy ajp has been moved to httpd-2.1.

To make sure I got everything right: so all the code and dev is done 
there now ?

Yes.
BTW, who's a committer on httpd ?

I and Mladen ([EMAIL PROTECTED]).
Cheers
Jean-Frederic
Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Need help with mod_ajp

2004-10-05 Thread jean-frederic clere
Peter Rossbach wrote:
Cool,
that mean I checkout httpd 2.1 and all is working?
Yes
You have to configure httpd with:
--enable-proxy \
--enable-proxy-balancer \
--enable-proxy-ajp
How I can find some mod_ajp configuration documentation?
http://httpd.apache.org/docs-2.1/mod/mod_proxy_ajp.html
http://httpd.apache.org/docs-2.1/mod/mod_proxy_balancer.html
   All new elements and option and a example for loadbalancing
I have added to my httpd.conf:
+++
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
+++
And:
+++
ProxyRequests On
ProxyStatus full
Proxy *
Order deny,allow
Deny from all
Allow from localhost
/Proxy
Proxy balancer://myCluster
   BalancerMember ajp://localhost:8009
   BalancerMember ajp://pgtr0327.mch.fsc.net:8009
/Proxy
Location /examples/
   ProxyPass balancer://myCluster/examples/
/Location
+++
Can you please, add some documentation ( jk/xdocs) that let people find the
  new module and configuration ?
Thanks
Peter
jean-frederic clere schrieb:
Remy Maucherat wrote:
jean-frederic clere wrote:
Peter Rossbach wrote:
Hello,
I have two simple question to the new mod_ajp:
Can we add a small documentation how people can compile and configure
the new mod_ajp? The mailing list are tell us a lot informations, but
please can someone desicribe the current state?


The developement of the proxy ajp has been moved to httpd-2.1.


To make sure I got everything right: so all the code and dev is done 
there now ?

Yes.
BTW, who's a committer on httpd ?

I and Mladen ([EMAIL PROTECTED]).
Cheers
Jean-Frederic
Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[GUMP@brutus]: jakarta-tomcat-5/jakarta-tomcat-dbcp failed

2004-10-05 Thread bobh
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact folk at [EMAIL PROTECTED]

Project jakarta-tomcat-dbcp has an issue affecting its community integration.
This issue affects 14 projects, and has been outstanding for 115L runs.
Project State : 'Failed'
The following are affected:
- avalon-http-context :  Avalon SVN
- avalon-http-demo :  Avalon SVN
- avalon-http-examples :  Avalon SVN
- avalon-http-impl :  Avalon SVN
- avalon-http-server :  Avalon SVN
- avalon-http-servlet :  Avalon SVN
- avalon-http-static :  Avalon SVN
- avalon-http-test :  Avalon SVN
- avalon-planet-facilities :  Avalon SVN
- jakarta-tomcat-5 :  Servlet 2.4 and JSP 2.0 Reference Implementation
- jakarta-tomcat-catalina :  Servlet 2.4 Reference Implementation
- jakarta-tomcat-dbcp :  Servlet 2.4 and JSP 2.0 Reference Implementation
- jakarta-tomcat-jk :  Connectors to various web servers
- metro-reflector-blocks-complete :  Avalon SVN


Full details are available at:


http://brutus.apache.org/gump/public/jakarta-tomcat-5/jakarta-tomcat-dbcp/index.html

That said, some snippets follow:


The following annotations were provided:
 -DEBUG- Sole output [naming-factory-dbcp.jar] identifier set to project name
 -INFO- Made directory [/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps]
 -INFO- Failed with reason build failed
 -INFO- Failed to extract fallback artifacts from Gump Repository


The following work was performed:
http://brutus.apache.org/gump/public/jakarta-tomcat-5/jakarta-tomcat-dbcp/gump_work/build_jakarta-tomcat-5_jakarta-tomcat-dbcp.html
Work Name: build_jakarta-tomcat-5_jakarta-tomcat-dbcp (Type: Build)
State: Failed
Elapsed: 3 secs
Command Line: java -Djava.awt.headless=true org.apache.tools.ant.Main 
-Dgump.merge=/usr/local/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only 
-Dcommons-collections.home=/usr/local/gump/public/workspace/jakarta-commons/collections
 -Dcommons-dbcp.home=/usr/local/gump/public/workspace/jakarta-commons/dbcp 
-Dcommons-dbcp.version=05102004 
-Dtomcat-dbcp.home=/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps 
-Dcommons-pool.home=/usr/local/gump/public/workspace/jakarta-commons/pool 
build-tomcat-dbcp 
[Working Directory: /usr/local/gump/public/workspace/jakarta-tomcat-5]
CLASSPATH : 
/usr/local/j2sdk1.4.2_04/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-stylebook.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar-
Buildfile: build.xml

build-tomcat-dbcp:

-build-tomcat-dbcp:
 [copy] Copying 65 files to 
/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps
[mkdir] Created dir: 
/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps/src/java/org/apache/tomcat/dbcp

BUILD FAILED
/usr/local/gump/public/workspace/jakarta-tomcat-5/build.xml:630: The following error 
occurred while executing this line:
/usr/local/gump/public/workspace/jakarta-tomcat-5/build.xml:665: Cannot replace 
directory 
/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps/src/java/org/apache/tomcat/dbcp
 with directory 
/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps/src/java/org/apache/commons

Total time: 3 seconds
-




To subscribe to this information via syndicated feeds:
 RSS: http://brutus.apache.org/gump/public/jakarta-tomcat-5/jakarta-tomcat-dbcp/rss.xml
 Atom: 
http://brutus.apache.org/gump/public/jakarta-tomcat-5/jakarta-tomcat-dbcp/atom.xml


--
Gump E-mail Identifier (within run) #15.
Produced by Gump 2.1.0-alpha-0003.
[Run (5505102004, brutus:brutus-public:5505102004)]
http://brutus.apache.org/gump/public/index.html
http://brutus.apache.org/gump/public/options.html

--
Apache Gump
http://gump.apache.org/ [Instance: brutus]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-connectors/jk/xdocs index.xml proxy.xml

2004-10-05 Thread jfclere
jfclere 2004/10/05 02:57:06

  Modified:jk/xdocs index.xml proxy.xml
  Log:
  Add something about the new ajp proxy modules of httpd-2.1.
  
  Revision  ChangesPath
  1.18  +5 -1  jakarta-tomcat-connectors/jk/xdocs/index.xml
  
  Index: index.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/index.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- index.xml 14 Jul 2004 07:51:32 -  1.17
  +++ index.xml 5 Oct 2004 09:57:06 -   1.18
  @@ -126,6 +126,10 @@
   
   section name=Are there alternative ways to connect Apache and Tomcat#63;
   p
  +bTomcat's AJP stack and httpd-2.1 AJP proxy/b that is a addition to the 
mod_proxy of http. It is developped in httpd-2.1 and integrated in it.
  +(See a href=proxy.xmlAJP proxy/a).
  +/p
  +p
   bTomcat's internal HTTP stack and mod_proxy/b which is not that bad, but slow,
   well, of course Tomcat didn't have 10/11 years of C routine optimization like
   the Apache Web Server, but it's quite good. The only disadvantage is that it
  
  
  
  1.2   +14 -3 jakarta-tomcat-connectors/jk/xdocs/proxy.xml
  
  Index: proxy.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/proxy.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- proxy.xml 4 Aug 2004 13:57:19 -   1.1
  +++ proxy.xml 5 Oct 2004 09:57:06 -   1.2
  @@ -32,14 +32,25 @@
   /p
   /section
   
  -section name=Ajp proxy
  +section name=AJP proxy
   p
  -The Ajp proxy is a new module based on the standard Http proxy it uses AJP instead 
of HTTP.
  +The AJP proxy is a new module based on the standard Http proxy it uses AJP instead 
of HTTP.
   source
   lt;Location /examples/gt;
  ProxyPass ajp://localhost:8009/examples/
   lt;/Locationgt;
   /source
  +/p
  +/section
  +
  +section name=Source and Configuration
  +p
  +AJP proxy is integrated in httpd-2.1 and the developement and discussions take
  +place a href=http://httpd.apache.org/lists.html;there/a.
  +More documentation can be found there
  +a href=http://httpd.apache.org/docs-2.1/mod/mod_proxy_ajp.html;mod_proxy_ajp/a
  +and
  +a 
href=http://httpd.apache.org/docs-2.1/mod/mod_proxy_balancer.html;mod_proxy_balancer/a.
   /p
   /section
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-connectors/jk/xdocs index.xml

2004-10-05 Thread jfclere
jfclere 2004/10/05 03:01:04

  Modified:jk/xdocs index.xml
  Log:
  Typo.
  
  Revision  ChangesPath
  1.19  +2 -2  jakarta-tomcat-connectors/jk/xdocs/index.xml
  
  Index: index.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/index.xml,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- index.xml 5 Oct 2004 09:57:06 -   1.18
  +++ index.xml 5 Oct 2004 10:01:04 -   1.19
  @@ -126,7 +126,7 @@
   
   section name=Are there alternative ways to connect Apache and Tomcat#63;
   p
  -bTomcat's AJP stack and httpd-2.1 AJP proxy/b that is a addition to the 
mod_proxy of http. It is developped in httpd-2.1 and integrated in it.
  +bTomcat's AJP stack and httpd-2.1 AJP proxy/b that is an addition to the 
mod_proxy of http. It is developped in httpd-2.1 and integrated in it.
   (See a href=proxy.xmlAJP proxy/a).
   /p
   p
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Need help with mod_ajp

2004-10-05 Thread jean-frederic clere
Peter Rossbach wrote:
Cool,
that mean I checkout httpd 2.1 and all is working?
How I can find some mod_ajp configuration documentation?
   All new elements and option and a example for loadbalancing
Can you please, add some documentation ( jk/xdocs) that let people find the
  new module and configuration ?
Done.
Thanks
Peter
jean-frederic clere schrieb:
Remy Maucherat wrote:
jean-frederic clere wrote:
Peter Rossbach wrote:
Hello,
I have two simple question to the new mod_ajp:
Can we add a small documentation how people can compile and configure
the new mod_ajp? The mailing list are tell us a lot informations, but
please can someone desicribe the current state?


The developement of the proxy ajp has been moved to httpd-2.1.


To make sure I got everything right: so all the code and dev is done 
there now ?

Yes.
BTW, who's a committer on httpd ?

I and Mladen ([EMAIL PROTECTED]).
Cheers
Jean-Frederic
Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Need help with mod_ajp

2004-10-05 Thread Remy Maucherat
jean-frederic clere wrote:
Remy Maucherat wrote:
To make sure I got everything right: so all the code and dev is done 
there now ?

Yes.
BTW, who's a committer on httpd ?

I and Mladen ([EMAIL PROTECTED]).
I checked out the CVS. Very impressive.
(here, I'd like to ask about httpd 2.2 release date, but I think it 
wouldn't be very wise)

At the same time, j-t-c could be due for a reorganization: it's hard to 
separate current code from old stuff.

Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Need help with mod_ajp

2004-10-05 Thread Peter Rossbach
Hello Jean Frederic,
fine, your example help me, but the current online balancer 
documentation is only a useless summary.
Exist a better one at cvs or is it a open ToDo item?

Thanx
Peter
jean-frederic clere schrieb:
Peter Rossbach wrote:
Cool,
that mean I checkout httpd 2.1 and all is working?

Yes
You have to configure httpd with:
--enable-proxy \
--enable-proxy-balancer \
--enable-proxy-ajp
How I can find some mod_ajp configuration documentation?

http://httpd.apache.org/docs-2.1/mod/mod_proxy_ajp.html
http://httpd.apache.org/docs-2.1/mod/mod_proxy_balancer.html
   All new elements and option and a example for loadbalancing

I have added to my httpd.conf:
+++
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
+++
And:
+++
ProxyRequests On
ProxyStatus full
Proxy *
Order deny,allow
Deny from all
Allow from localhost
/Proxy
Proxy balancer://myCluster
   BalancerMember ajp://localhost:8009
   BalancerMember ajp://pgtr0327.mch.fsc.net:8009
/Proxy
Location /examples/
   ProxyPass balancer://myCluster/examples/
/Location
+++
Can you please, add some documentation ( jk/xdocs) that let people 
find the
  new module and configuration ?

Thanks
Peter
jean-frederic clere schrieb:
Remy Maucherat wrote:
jean-frederic clere wrote:
Peter Rossbach wrote:
Hello,
I have two simple question to the new mod_ajp:
Can we add a small documentation how people can compile and 
configure
the new mod_ajp? The mailing list are tell us a lot informations, 
but
please can someone desicribe the current state?



The developement of the proxy ajp has been moved to httpd-2.1.


To make sure I got everything right: so all the code and dev is 
done there now ?


Yes.
BTW, who's a committer on httpd ?


I and Mladen ([EMAIL PROTECTED]).
Cheers
Jean-Frederic
Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
J2EE Systemarchitekt und Tomcat Experte
http://objektpark.de/
http://www.webapp.de/
Am Josephsschacht 72, 44879 Bochum, Deutschland
Telefon:  (49) 234 9413228
Mobil:(49) 175 1660884
E-Mail:  [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


DO NOT REPLY [Bug 26372] - java.lang.ThreadDeath when trwaing to reload an application

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=26372.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=26372

java.lang.ThreadDeath when trwaing to reload an application





--- Additional Comments From [EMAIL PROTECTED]  2004-10-05 10:44 ---
can confirm that removal of log4j.properties from web application allows Tomcat 
to reload webapp gracefully after class compilation with dynamic class 
reloading on.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Need help with mod_ajp

2004-10-05 Thread jean-frederic clere
Peter Rossbach wrote:
Hello Jean Frederic,
fine, your example help me, but the current online balancer 
documentation is only a useless summary.
Exist a better one at cvs or is it a open ToDo item?
That is a ToDo item ;-(
Thanx
Peter
jean-frederic clere schrieb:
Peter Rossbach wrote:
Cool,
that mean I checkout httpd 2.1 and all is working?

Yes
You have to configure httpd with:
--enable-proxy \
--enable-proxy-balancer \
--enable-proxy-ajp
How I can find some mod_ajp configuration documentation?

http://httpd.apache.org/docs-2.1/mod/mod_proxy_ajp.html
http://httpd.apache.org/docs-2.1/mod/mod_proxy_balancer.html
   All new elements and option and a example for loadbalancing

I have added to my httpd.conf:
+++
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
+++
And:
+++
ProxyRequests On
ProxyStatus full
Proxy *
Order deny,allow
Deny from all
Allow from localhost
/Proxy
Proxy balancer://myCluster
   BalancerMember ajp://localhost:8009
   BalancerMember ajp://pgtr0327.mch.fsc.net:8009
/Proxy
Location /examples/
   ProxyPass balancer://myCluster/examples/
/Location
+++
Can you please, add some documentation ( jk/xdocs) that let people 
find the
  new module and configuration ?

Thanks
Peter
jean-frederic clere schrieb:
Remy Maucherat wrote:
jean-frederic clere wrote:
Peter Rossbach wrote:
Hello,
I have two simple question to the new mod_ajp:
Can we add a small documentation how people can compile and 
configure
the new mod_ajp? The mailing list are tell us a lot informations, 
but
please can someone desicribe the current state?



The developement of the proxy ajp has been moved to httpd-2.1.



To make sure I got everything right: so all the code and dev is 
done there now ?


Yes.
BTW, who's a committer on httpd ?


I and Mladen ([EMAIL PROTECTED]).
Cheers
Jean-Frederic
Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Need help with mod_ajp

2004-10-05 Thread jean-frederic clere
Remy Maucherat wrote:
jean-frederic clere wrote:
Remy Maucherat wrote:
To make sure I got everything right: so all the code and dev is done 
there now ?

Yes.
BTW, who's a committer on httpd ?

I and Mladen ([EMAIL PROTECTED]).

I checked out the CVS. Very impressive.
(here, I'd like to ask about httpd 2.2 release date, but I think it 
wouldn't be very wise)
No idea...
At the same time, j-t-c could be due for a reorganization: it's hard to 
separate current code from old stuff.
What do you want to remove?
Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [5.5] Todo list

2004-10-05 Thread Remy Maucherat
Remy Maucherat wrote:
My todo list currently includes:
- A simple host manager webapp (with Ant tasks)
- A String cache for MessageBytes (which could be enabled using a 
special system property)
- Decent default java.util.logging configuration
- Default JMX Remote configuration for Java 5 (ready to enable by 
uncommenting stuff)
- Allowing pluggability for commons-modeler
Adding new items:
- Extend the backgroundProcess() method to most other components, 
including: Valve, Loader, Realm, etc; ContainerBase.backgroundProcess() 
will call these methods
- Use this to try to provide an optimized version of the access logging 
valve (access logging is likely used in production for standalone 
Tomcat, and it has very bad performance right now) which would do 
asynchronous writes to its file (and hopefully be more efficient)

Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


DO NOT REPLY [Bug 26372] - java.lang.ThreadDeath when trwaing to reload an application

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=26372.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=26372

java.lang.ThreadDeath when trwaing to reload an application





--- Additional Comments From [EMAIL PROTECTED]  2004-10-05 11:43 ---

Two questions:

1) Could you include the contents of your log4j.properties file.
2) Are you 100% sure that the trio
  - LogManager.shutdown();
  - java.beans.Introspector.flushCaches();
  - LogFactory.releaseAll();java.beans.Introspector.flushCaches() 
really gets called?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [5.5] Todo list

2004-10-05 Thread Tim Funk
Just an fyi, At one time, I was thinking that AccessLogValve was bad for 
performance. But I think it has no effect unless you are maxed out in processors.

The AccessLog writing only occurs *after* the response has been sent to the 
client and the request is essentially done. I think if there is a performance 
issue - it is OS/filesystem specific. We pounded some HPUX boxes with and 
without access logs turned on. As long as we did not run out of processors, 
we didn't see any performance differences.

It might be of interest to parse and decode the pattern at set time for 
AccessLogValve (like the ExtendedVersion does) to prevent a lot of extra 
string comparisons. (If the user chooses a custom pattern) But I'm 
indifferent because of the results I posted above.

On a stressed system, this might still be a good thing todo.
-Tim
Remy Maucherat wrote:
Remy Maucherat wrote:
Adding new items:
- Use this to try to provide an optimized version of the access logging 
valve (access logging is likely used in production for standalone 
Tomcat, and it has very bad performance right now) which would do 
asynchronous writes to its file (and hopefully be more efficient)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [5.5] Todo list

2004-10-05 Thread Remy Maucherat
Tim Funk wrote:
Just an fyi, At one time, I was thinking that AccessLogValve was bad 
for performance. But I think it has no effect unless you are maxed out 
in processors.

The AccessLog writing only occurs *after* the response has been sent 
to the client and the request is essentially done. I think if there is 
a performance issue - it is OS/filesystem specific. We pounded some 
HPUX boxes with and without access logs turned on. As long as we did 
not run out of processors, we didn't see any performance differences.

It might be of interest to parse and decode the pattern at set time 
for AccessLogValve (like the ExtendedVersion does) to prevent a lot of 
extra string comparisons. (If the user chooses a custom pattern) But 
I'm indifferent because of the results I posted above.

On a stressed system, this might still be a good thing todo.
If I actually do anything, I'd do it in a separate valve class for now 
(so I won't touch the current valve).

Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [5.5] Todo list

2004-10-05 Thread Peter Rossbach
Hey Remy,
very good new items.
It was very usefull that all elements can get time events. Then it was 
very easy to
control some reloading or monitoring things.

Yes, we can refactor the current AccessLogger. Let us have a look to the 
Apache httpd Module.
  Asynch mode very welcome
  Better support for Unix rotatelogs
  Faster output generation without patter parseing on every request.

Following I want to add:
   - wrote a better save-to-xml way
 I have factor out the current StandardServer method to 
separate  saving objects.
 Currently my module working well, but I have problems with the 
new default context.xml handling.
 I want contribute the new code as seperate module. Configure 
the new thing with seperate Listener and MBean.
 After a while of successful testing, we can remove the current 
StandardServer routines.

Peter
   
Remy Maucherat schrieb:

Remy Maucherat wrote:
My todo list currently includes:
- A simple host manager webapp (with Ant tasks)
- A String cache for MessageBytes (which could be enabled using a 
special system property)
- Decent default java.util.logging configuration
- Default JMX Remote configuration for Java 5 (ready to enable by 
uncommenting stuff)
- Allowing pluggability for commons-modeler

Adding new items:
- Extend the backgroundProcess() method to most other components, 
including: Valve, Loader, Realm, etc; 
ContainerBase.backgroundProcess() will call these methods
- Use this to try to provide an optimized version of the access 
logging valve (access logging is likely used in production for 
standalone Tomcat, and it has very bad performance right now) which 
would do asynchronous writes to its file (and hopefully be more 
efficient)

Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
J2EE Systemarchitekt und Tomcat Experte
http://objektpark.de/
http://www.webapp.de/
Am Josephsschacht 72, 44879 Bochum, Deutschland
Telefon:  (49) 234 9413228
Mobil:(49) 175 1660884
E-Mail:  [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Need help with mod_ajp

2004-10-05 Thread Mladen Turk
Remy Maucherat wrote:
I checked out the CVS. Very impressive.
(here, I'd like to ask about httpd 2.2 release date, but I think it 
wouldn't be very wise)

At the same time, j-t-c could be due for a reorganization: it's hard to 
separate current code from old stuff.

That's correct.
I'm working on a proposal, that will hopefully bring more light on the
both the current code and some leads for the future.
We've done lot's of discussion recently, with some clear and some not
so clear agreements, so I'm currently digging all those archives.
So, I'll put all those on paper, and we'll see if something has changed
during last couple of months (although I doubt cause there was no patches
in that direction).

MT.


smime.p7s
Description: S/MIME Cryptographic Signature


Tomcat 5.5.3 and 5.0.29 Tagging Today

2004-10-05 Thread Shapira, Yoav

Hi,
As previously suggested last week, and since no on objected, I will tag
Tomcat 5.5.3 and 5.0.29 in CVS today, at 1700h GMT.

Please give me a few minutes' safety margin around the above time, as
the network here at work seems troubled today.

Thanks,

Yoav Shapira
Millennium Research Informatics





This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 5.5.3 and 5.0.29 Tagging Today

2004-10-05 Thread Filip Hanik - Dev
There was a bug introduced between 5.0.25 and 5.0.28. When a context is reloaded and 
there is a distributable/ element in web.xml,
the context still doesn't get a ClusterManager assigned. A user reported this on the 
tomcat user list, I've been way to swamped to
check on it.
The cluster code didn't change between those versions, so it might be somewhere else, 
I will see if I can reproduce it today, and if
so, open a bugzilla bug

Filip

- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]
Sent: Tuesday, October 05, 2004 7:54 AM
Subject: Tomcat 5.5.3 and 5.0.29 Tagging Today



Hi,
As previously suggested last week, and since no on objected, I will tag
Tomcat 5.5.3 and 5.0.29 in CVS today, at 1700h GMT.

Please give me a few minutes' safety margin around the above time, as
the network here at work seems troubled today.

Thanks,

Yoav Shapira
Millennium Research Informatics





This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the individual(s) to 
whom it is addressed, and may not be saved,
copied, printed, disclosed or used by anyone else.  If you are not the(an) intended 
recipient, please immediately delete this e-mail
from your computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 5.5.3 and 5.0.29 Tagging Today

2004-10-05 Thread Mladen Turk
Shapira, Yoav wrote:
Hi,
As previously suggested last week, and since no on objected, I will tag
Tomcat 5.5.3 and 5.0.29 in CVS today, at 1700h GMT.
+1
You can use my +1 for 5.0.29 as stable and 5.5.3 as fist beta.
Great job everyone!
Regards,
MT.


smime.p7s
Description: S/MIME Cryptographic Signature


RE: Tomcat 5.5.3 and 5.0.29 Tagging Today

2004-10-05 Thread Shapira, Yoav

Hi,
By the way, in case it matters to anyone: these builds will be done on
JDK 1.4.2_05, as opposed to JDK 1.4.2_04 which I've been using for a
while.  I don't think this makes a difference (and I've tested builds
for both 5.0.29 and 5.5.3 without a problem), but just in case someone
knows of some esoteric bug in 1.4.2_05 that means I shouldn't use it,
let me know ;)

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Shapira, Yoav
Sent: Tuesday, October 05, 2004 8:54 AM
To: Tomcat Developers List
Subject: Tomcat 5.5.3 and 5.0.29 Tagging Today


Hi,
As previously suggested last week, and since no on objected, I will tag
Tomcat 5.5.3 and 5.0.29 in CVS today, at 1700h GMT.

Please give me a few minutes' safety margin around the above time, as
the network here at work seems troubled today.

Thanks,

Yoav Shapira
Millennium Research Informatics





This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended
recipient, please immediately delete this e-mail from your computer
system
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2004-10-05 Thread yoavs
yoavs   2004/10/05 07:01:58

  Modified:.build.properties.default build.xml
   tester   build.xml
   tester/src/bin tester.xml
   webapps/docs changelog.xml
  Log:
  Removed watchdog references.
  
  Revision  ChangesPath
  1.137 +2 -10 jakarta-tomcat-5/build.properties.default
  
  Index: build.properties.default
  ===
  RCS file: /home/cvs/jakarta-tomcat-5/build.properties.default,v
  retrieving revision 1.136
  retrieving revision 1.137
  diff -u -r1.136 -r1.137
  --- build.properties.default  16 Sep 2004 13:38:14 -  1.136
  +++ build.properties.default  5 Oct 2004 14:01:52 -   1.137
  @@ -1,5 +1,5 @@
   # -
  -# build.properties.sample
  +# build.properties.default
   #
   # This is an example build.properties file, used to customize building Tomcat
   # for your local environment.  It defines the location of all external
  @@ -284,11 +284,3 @@
   jsp-api.home=${base.path}/jsp-api-2.0
   jsp-api.lib=${jsp-api.home}/lib
   jsp-api.jar=${jsp-api.lib}/jsp-api.jar
  -
  -
  -# - Watchdog, version 20020801 or later -
  -watchdog.home=${base.path}/jakarta-watchdog-4.0
  -watchdog.webapps=${watchdog.home}/dist/webapps
  -watchdog.war=${watchdog.webapps}/servlet-tests.war
  -watchdog.loc=jakarta-watchdog-4.0
  -watchdog.target=all
  
  
  
  1.218 +0 -113jakarta-tomcat-5/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-5/build.xml,v
  retrieving revision 1.217
  retrieving revision 1.218
  diff -u -r1.217 -r1.218
  --- build.xml 4 Oct 2004 21:35:18 -   1.217
  +++ build.xml 5 Oct 2004 14:01:57 -   1.218
  @@ -1160,119 +1160,6 @@
   
 /target
   
  -  !-- === WATCHDOG: Run Watchdog Tests --
  -  
  -   target name=dist-watchdog  depends=proxyflags 
  -   description=Build watchdog
  -
  -   cvs cvsRoot=${cvsroot}
  -  package=${watchdog.loc}
  -  dest=${base.path}
  -/
  -
  -mkdir dir=${watchdog.home}/tmp/
  -
  -unjar dest=${watchdog.home}/tmp 
src=${servlet-api.home}/lib/servlet-api.jar/
  -unjar dest=${watchdog.home}/tmp src=${jsp-api.home}/lib/jsp-api.jar/
  -
  -jar destfile=${watchdog.home}/servlet.jar
  - basedir=${watchdog.home}/tmp
  -/  
  -
  -replace file=${watchdog.home}/build.xml 
  -token=$${servlet23api.home}/lib/servlet.jar 
  -value=${watchdog.home}/servlet.jar/  
  -
  -replace file=${watchdog.home}/build.xml 
  -token=$${servlet22api.home}/lib/servlet.jar 
  -value=${watchdog.home}/servlet.jar/  
  -
  -ant dir=${watchdog.home} target=dist inheritAll=false/
  -  /target
  -  
  -  target name=prepare-watchdog
  -copy todir=${tomcat.build}/webapps
  -  fileset dir=${watchdog.home}/dist/webapps/
  -/copy
  -  /target
  -  
  -  target name=run-watchdog
  -   description=Watchdog Servlet Container Tests depends=dist-watchdog,
  -   prepare-watchdog
  -parallel
  -java classname=LauncherBootstrap fork=yes
  -arg value=-launchfile/
  -arg value=catalina.xml/
  -arg value=-verbose/
  -arg value=catalina/
  -arg value=start/
  -classpath
  -pathelement path=${java.class.path}/
  -pathelement path=${tomcat.build}/bin/
  -/classpath
  -/java
  -
  -sequential
  -!-- Let tomcat starts before starting Watchdog --
  -sleep seconds=15/
  -
  -ant dir=${watchdog.home}/dist target=${watchdog.target}/
  -
  -java classname=LauncherBootstrap fork=yes
  -arg value=-launchfile/
  -arg value=catalina.xml/
  -arg value=-verbose/
  -arg value=catalina/
  -arg value=stop/
  -classpath
  -pathelement path=${java.class.path}/
  -pathelement path=${tomcat.build}/bin/
  -/classpath
  -/java
  -/sequential
  -/parallel  
  -
  -  /target
  -
  -  target name=run-watchdog-security
  -   description=Watchdog Servlet Container Tests depends=dist-watchdog,
  -   prepare-watchdog 
  - 
  -parallel
  -   java classname=LauncherBootstrap fork=yes
  -arg value=-launchfile/
  -arg value=catalina.xml/
  -arg value=-verbose/
  -arg value=catalina/
  -arg value=start/
  -classpath
  -pathelement path=${java.class.path}/
  -pathelement 

DO NOT REPLY [Bug 31309] - Deploy fails when deploying from path with international characters

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31309.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31309

Deploy fails when deploying from path with international characters





--- Additional Comments From [EMAIL PROTECTED]  2004-10-05 14:11 ---
Setting the Locale didn't help, however I discovered that the problem is in the
http connector's URIEncoding, which is set to ISO-8859-1 by default. When I
changed it to utf-8 everything worked fine. Wouldn't be worthy to make utf-8
the default?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 31309] - Deploy fails when deploying from path with international characters

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31309.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31309

Deploy fails when deploying from path with international characters

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2004-10-05 14:17 ---
Ok, then the issue is invalid (it wasn't very obvious to me).

UTF-8 isn't the default, since it's rather slow, and not too many people need
it. So the people who actually need it have to enable it.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 31511] - setenv.bat missing, but required by shutdown-using-launcher

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31511.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31511

setenv.bat missing, but required by shutdown-using-launcher





--- Additional Comments From [EMAIL PROTECTED]  2004-10-05 14:23 ---
setenv.bat shouldn't be provided, as it's optional.  So I agree it shouldn't be 
required.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2004-10-05 Thread yoavs
yoavs   2004/10/05 07:24:48

  Modified:catalina/src/bin shutdown-using-launcher.bat
tool-wrapper-using-launcher.bat
   webapps/docs changelog.xml
  Log:
  Bugzilla 31511: don't call setenv.bat if not found in *using-launcher scripts.
  
  Revision  ChangesPath
  1.4   +0 -1  
jakarta-tomcat-catalina/catalina/src/bin/shutdown-using-launcher.bat
  
  Index: shutdown-using-launcher.bat
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/bin/shutdown-using-launcher.bat,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- shutdown-using-launcher.bat   4 Sep 2002 15:31:17 -   1.3
  +++ shutdown-using-launcher.bat   5 Oct 2004 14:24:37 -   1.4
  @@ -12,7 +12,6 @@
   if exist %PRG%\..\setenv.bat goto gotCmdPath
   rem %0 must have been found by DOS using the %PATH% so we assume that
   rem setenv.bat will also be found in the %PATH%
  -call setenv.bat
   goto doneSetenv
   :gotCmdPath
   call %PRG%\..\setenv.bat
  
  
  
  1.4   +0 -1  
jakarta-tomcat-catalina/catalina/src/bin/tool-wrapper-using-launcher.bat
  
  Index: tool-wrapper-using-launcher.bat
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/bin/tool-wrapper-using-launcher.bat,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- tool-wrapper-using-launcher.bat   4 Sep 2002 15:31:17 -   1.3
  +++ tool-wrapper-using-launcher.bat   5 Oct 2004 14:24:37 -   1.4
  @@ -12,7 +12,6 @@
   if exist %PRG%\..\setenv.bat goto gotCmdPath
   rem %0 must have been found by DOS using the %PATH% so we assume that
   rem setenv.bat will also be found in the %PATH%
  -call setenv.bat
   goto doneSetenv
   :gotCmdPath
   call %PRG%\..\setenv.bat
  
  
  
  1.135 +3 -0  jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.134
  retrieving revision 1.135
  diff -u -r1.134 -r1.135
  --- changelog.xml 5 Oct 2004 14:01:58 -   1.134
  +++ changelog.xml 5 Oct 2004 14:24:37 -   1.135
  @@ -134,6 +134,9 @@
 update
   Remove Watchdog references, as it is no longer used. (yoavs)
 /update
  +  fix
  +bug31511/bug: Don't call setenv.bat if not found, in *using-launcher 
scripts. (yoavs)
  +  /fix
   /changelog
 /subsection
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 31548] New: - Connector distributions do not contain the associated java sources nor jars

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31548.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31548

Connector distributions do not contain the associated java sources nor jars

   Summary: Connector distributions do not contain the associated
java sources nor jars
   Product: Tomcat 5
   Version: 5.5.2
  Platform: All
OS/Version: All
Status: NEW
  Severity: Major
  Priority: Other
 Component: Connector:Coyote
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


The distribution of mod_jk and jk2, either in source or binary form, doesn't
contain the associate java source code nor jars while these are needed to keep
in sync with the connector changes.

Java sources for the connectors are now managed in the tomcat 5.5 source tree.
They are available in the 5.5 source distribution, for all tomcat versions.
Compiled version of the java connectors built in the 5.5 binary distribution are
only applicable to 5.5 (or 5.x ?), but 4.x jars are not available anywhere
(except in 4.x distributions, but these are not updated when a version of the
connectors is being released).

in summary : it happens that connector releases have dependencies on the java
side of the code, but there is no easy way to retrieve the java code or the
applicable jars against which has been tested and is supposed to be deployed

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 31548] - Connector distributions do not contain the associated java sources nor jars

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31548.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31548

Connector distributions do not contain the associated java sources nor jars





--- Additional Comments From [EMAIL PROTECTED]  2004-10-05 14:28 ---
Created an attachment (id=12946)
install instructions 
jakarta-tomcat-connectors-jk-1.2-src-current\jakarta-tomcat-connectors-jk-1.2.6-src\doc
 asking to upgrade the jars

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2004-10-05 Thread yoavs
yoavs   2004/10/05 07:27:27

  Modified:catalina/src/bin Tag: TOMCAT_5_0 shutdown-using-launcher.bat
tool-wrapper-using-launcher.bat
   webapps/docs Tag: TOMCAT_5_0 changelog.xml
  Log:
  Bugzilla 31511: don't call setenv.bat if not found in *using-launcher scripts.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.3.2.1   +0 -1  
jakarta-tomcat-catalina/catalina/src/bin/shutdown-using-launcher.bat
  
  Index: shutdown-using-launcher.bat
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/bin/shutdown-using-launcher.bat,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- shutdown-using-launcher.bat   4 Sep 2002 15:31:17 -   1.3
  +++ shutdown-using-launcher.bat   5 Oct 2004 14:27:11 -   1.3.2.1
  @@ -12,7 +12,6 @@
   if exist %PRG%\..\setenv.bat goto gotCmdPath
   rem %0 must have been found by DOS using the %PATH% so we assume that
   rem setenv.bat will also be found in the %PATH%
  -call setenv.bat
   goto doneSetenv
   :gotCmdPath
   call %PRG%\..\setenv.bat
  
  
  
  1.3.2.1   +0 -1  
jakarta-tomcat-catalina/catalina/src/bin/tool-wrapper-using-launcher.bat
  
  Index: tool-wrapper-using-launcher.bat
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/bin/tool-wrapper-using-launcher.bat,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- tool-wrapper-using-launcher.bat   4 Sep 2002 15:31:17 -   1.3
  +++ tool-wrapper-using-launcher.bat   5 Oct 2004 14:27:11 -   1.3.2.1
  @@ -12,7 +12,6 @@
   if exist %PRG%\..\setenv.bat goto gotCmdPath
   rem %0 must have been found by DOS using the %PATH% so we assume that
   rem setenv.bat will also be found in the %PATH%
  -call setenv.bat
   goto doneSetenv
   :gotCmdPath
   call %PRG%\..\setenv.bat
  
  
  
  No   revision
  No   revision
  1.70.2.47 +3 -0  jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.70.2.46
  retrieving revision 1.70.2.47
  diff -u -r1.70.2.46 -r1.70.2.47
  --- changelog.xml 30 Sep 2004 16:02:36 -  1.70.2.46
  +++ changelog.xml 5 Oct 2004 14:27:11 -   1.70.2.47
  @@ -97,6 +97,9 @@
 fix
   bug30949/bug: Make sure ApplicationDispatcher unwraps requests even if 
include fails. (yoavs)
 /fix
  +  fix
  +bug31511/bug: Don't call setenv.bat if not found in *using-launcher 
scripts. (yoavs)
  +  /fix
   /changelog
 /subsection
 subsection name=Webapps
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 31511] - setenv.bat missing, but required by shutdown-using-launcher

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31511.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31511

setenv.bat missing, but required by shutdown-using-launcher

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-10-05 14:29 ---
Fixed on both the Tomcat 5.0 and 5.5 branches.  Thanks for pointing this out.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 31201] - Encoding bug when using jsp:include ... action

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31201.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31201

Encoding bug when using jsp:include ... action

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|WONTFIX |



--- Additional Comments From [EMAIL PROTECTED]  2004-10-05 14:37 ---
Although I think that correcting specification is the right approach,
there is no solution in the present JSP specification.
Therefore the problem should be coped with by a container.

When not applying this patch, Tomcat depends on default encoding of Java VM
to include of a HTML file.

Since Web application depends by environment strongly,
it will be the worst situation if you consider the portability which you say. 

If there are already many properties which are valuable and depend on
the container, I suggest this patch should be treated as one of them.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 31548] - Connector distributions do not contain the associated java sources nor jars

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31548.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31548

Connector distributions do not contain the associated java sources nor jars





--- Additional Comments From [EMAIL PROTECTED]  2004-10-05 14:43 ---
I was also unable to get any nightly build of the 4.1.x branch, nor the jar
built by Apache Gump on this module
http://brutus.apache.org/gump/public/jakarta-tomcat-connectors/jakarta-tomcat-coyote/gump_work/build_jakarta-tomcat-connectors_jakarta-tomcat-coyote.html


Additionnally, I couldn't find any tomcat4-coyote.jar in any distribution, while
the build refers to it, as well as the attached documentation.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 31549] New: - Log message does not tell which class it tried to load when loading fails because webapp is stopped

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31549.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31549

Log message does not tell which class it tried to load when loading fails because 
webapp is stopped

   Summary: Log message does not tell which class it tried to load
when loading fails because webapp is stopped
   Product: Tomcat 5
   Version: 5.0.28
  Platform: All
OS/Version: All
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


When the WebappClassLoader tries to load a class and the webapp it belongs to is
already shut down, it outputs a diffuse warning that it could not a class,
without mentioning the name of the class.

I would suggest to change the following:
*in org/apache/catalina/loader/WebappClassLoader.java:
  * change in loadClass(String name, boolean resolve):
if (!started) {
log.info(sm.getString(webappClassLoader.stopped));
throw new ThreadDeath();
}
  to
if (!started) {
log.info(sm.getString(webappClassLoader.stopped), name);
throw new ThreadDeath();
}

  * change in findResourceInternal(String name, String path):
if (!started) {
log.info(sm.getString(webappClassLoader.stopped));
return null;
}
  to
if (!started) {
log.info(sm.getString(webappClassLoader.stopped), name);
return null;
}
*in org/apache/catalina/loader/WebappClassLoader.java:
  * change
webappClassLoader.stopped=Illegal access: this web application instance has been
stopped already (the eventual following stack trace is caused by an error thrown
for debugging purposes as well as to attempt to terminate the thread which
caused the illegal access, and has no functional impact)
  to
webappClassLoader.stopped=Illegal access: this web application instance has been
stopped already. Could not load {0}. The eventual following stack trace is
caused by an error thrown for debugging purposes as well as to attempt to
terminate the thread which caused the illegal access, and has no functional impact.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime JspWriterImpl.java

2004-10-05 Thread yoavs
yoavs   2004/10/05 07:49:43

  Modified:webapps/docs Tag: TOMCAT_5_0 changelog.xml
   jasper2/src/share/org/apache/jasper/runtime Tag: TOMCAT_5_0
JspWriterImpl.java
  Log:
  Bugzilla 31510
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.70.2.48 +3 -0  jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.70.2.47
  retrieving revision 1.70.2.48
  diff -u -r1.70.2.47 -r1.70.2.48
  --- changelog.xml 5 Oct 2004 14:27:11 -   1.70.2.47
  +++ changelog.xml 5 Oct 2004 14:49:43 -   1.70.2.48
  @@ -132,6 +132,9 @@
 fix
   bug31257/bug: Added specification of endorsed dirs if forking. (yoavs)
 /fix
  +  fix
  +bug31510/bug: Set response=null in JspWriterImpl#recycle to aid in 
JBoss memory leak. (yoavs)
  +  /fix
   /changelog
 /subsection
 subsection name=Coyote
  
  
  
  No   revision
  No   revision
  1.12.2.1  +1 -0  
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/JspWriterImpl.java
  
  Index: JspWriterImpl.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/JspWriterImpl.java,v
  retrieving revision 1.12
  retrieving revision 1.12.2.1
  diff -u -r1.12 -r1.12.2.1
  --- JspWriterImpl.java19 Mar 2004 18:59:24 -  1.12
  +++ JspWriterImpl.java5 Oct 2004 14:49:43 -   1.12.2.1
  @@ -98,6 +98,7 @@
   closed = false;
   out = null;
nextChar = 0;
  +response = null;
   }
   
   /**
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 31510] - Memory leaks due to JspWriterImpl keeping reference to ServletResponse after recycle()

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31510.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31510

Memory leaks due to JspWriterImpl keeping reference to ServletResponse after recycle()

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |ASSIGNED



--- Additional Comments From [EMAIL PROTECTED]  2004-10-05 14:52 ---
Fixed in Tomcat 5.0 branch, will fix in 5.5 branch after my 11am meeting.  
Thanks for tracking and reporting this.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 26372] - java.lang.ThreadDeath when trying to reload an application

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=26372.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=26372

java.lang.ThreadDeath when trying to reload an application

[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|java.lang.ThreadDeath when  |java.lang.ThreadDeath when
   |trwaing to reload an|trying to reload an
   |application |application
Version|5.0.16  |5.0.25



--- Additional Comments From [EMAIL PROTECTED]  2004-10-05 15:17 ---
OK, 

Can confirm that contextDestroyed is called. Discovered LogManager.shutdown(); 
is working because a logging statement afterwards does not materialize but one 
before it is fine. System.out.println was used instead. Here is the relevant 
logging

INFO: Reloading this Context has started
before Renewals Application Destroyed
one Renewals Application Destroyed
two Renewals Application Destroyed
after Renewals Application Destroyed
log4j:WARN No appenders could be found for logger 
(org.apache.struts.util.PropertyMessageResources).
log4j:WARN Please initialize the log4j system properly.
05-Oct-2004 16:13:38 org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already 
(the eventual following stack trace is caused by an error thrown for debugging 
purposes as well as to attempt to terminate the thread which caused the illegal 
access, and has no functional impact)
05-Oct-2004 16:13:38 org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already 
(the eventual following stack trace is caused by an error thrown for debugging 
purposes as well as to attempt to terminate the thread which caused the illegal 
access, and has no functional impact)
05-Oct-2004 16:13:38 org.apache.commons.modeler.Registry registerComponent
SEVERE: Null component 
Catalina:type=JspMonitor,WebModule=//localhost/,J2EEApplication=none,J2EEServer=
none
05-Oct-2004 16:13:38 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor 
processChildren
SEVERE: Exception invoking periodic operation: 
java.lang.ThreadDeath
at org.apache.catalina.loader.WebappClassLoader.loadClass
(WebappClassLoader.java:1229)
at org.apache.catalina.loader.WebappClassLoader.loadClass
(WebappClassLoader.java:1189)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at org.apache.log4j.spi.LoggingEvent.init(LoggingEvent.java:241)
at org.apache.log4j.Category.forcedLog(Category.java:431)
at org.apache.log4j.Category.log(Category.java:966)
at org.apache.commons.logging.impl.Log4JLogger.error
(Log4JLogger.java:195)
at org.apache.catalina.session.StandardManager.start
(StandardManager.java:659)
at org.apache.catalina.core.StandardContext.start
(StandardContext.java:4272)
at org.apache.catalina.core.StandardContext.reload
(StandardContext.java:3021)
at org.apache.catalina.core.StandardContext.backgroundProcess
(StandardContext.java:4629)
at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChild
ren(ContainerBase.java:1619)
at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChild
ren(ContainerBase.java:1628)
at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChild
ren(ContainerBase.java:1628)
at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run
(ContainerBase.java:1608)
at java.lang.Thread.run(Unknown Source)

And here is the log4j.properties file.


#
# Renewals Log4j Configuration
#



 Root


#log4j.appender.stdout=org.apache.log4j.ConsoleAppender
#log4j.appender.stdout.Target=System.out
#log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
#log4j.appender.stdout.layout.ConversionPattern=%d - %5p (%C:%L) - %m%n

log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=c:/jakarta-tomcat-5.0.25/logs/root.log
log4j.appender.R.MaxFileSize=100KB
log4j.appender.R.MaxBackupIndex=1
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%d - %5p (%C:%L) - %m%n

log4j.rootCategory=error, R


DO NOT REPLY [Bug 31550] New: - Jasper fails to compile a custom tag if one of the tag attributes has \\ in it.

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31550.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31550

Jasper fails to compile a custom tag if one of the tag attributes has \\ in it.

   Summary: Jasper fails to compile a custom tag if one of the tag
attributes has \\ in it.
   Product: Tomcat 4
   Version: 4.1.30
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Critical
  Priority: Other
 Component: Jasper 2
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


In a JSP page, if a custom tag's attribute contains \\ or , Jasper gives
the following error: jsp.error.attribute.unterminated.
If a space is appended at the end, for example \\ , then the page compiles
correctly.
Will attach the stack trace and example JSP file if I can figure out how.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 31550] - Jasper fails to compile a custom tag if one of the tag attributes has \\ in it.

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31550.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31550

Jasper fails to compile a custom tag if one of the tag attributes has \\ in it.





--- Additional Comments From [EMAIL PROTECTED]  2004-10-05 15:32 ---
Created an attachment (id=12947)
Error stack trace given when compiling the test.jsp file

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 31550] - Jasper fails to compile a custom tag if one of the tag attributes has \\ in it.

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31550.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31550

Jasper fails to compile a custom tag if one of the tag attributes has \\ in it.





--- Additional Comments From [EMAIL PROTECTED]  2004-10-05 15:33 ---
Created an attachment (id=12948)
Sample JSP file

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 26372] - java.lang.ThreadDeath when trying to reload an application

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=26372.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=26372

java.lang.ThreadDeath when trying to reload an application





--- Additional Comments From [EMAIL PROTECTED]  2004-10-05 15:47 ---

I suppose the following output lines confim that the trio we talked abour earlier is 
being called. 

INFO: Reloading this Context has started
before Renewals Application Destroyed
one Renewals Application Destroyed
two Renewals Application Destroyed
after Renewals Application Destroyed

Am I Correct?

What happens if you simplify the log4j.properties file to say:

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d - %5p (%C:%L) - %m%n
log4j.rootCategory=error, console
log4j.logger.org.apache.struts=debug

If you wish, we can continue this discussion directly. My email is Ceki AATT qos 
DDOOTT ch.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime JspWriterImpl.java

2004-10-05 Thread yoavs
yoavs   2004/10/05 09:07:18

  Modified:webapps/docs changelog.xml
   jasper2/src/share/org/apache/jasper/runtime
JspWriterImpl.java
  Log:
  Bugzilla 31510
  
  Revision  ChangesPath
  1.136 +3 -0  jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.135
  retrieving revision 1.136
  diff -u -r1.135 -r1.136
  --- changelog.xml 5 Oct 2004 14:24:37 -   1.135
  +++ changelog.xml 5 Oct 2004 16:07:17 -   1.136
  @@ -198,6 +198,9 @@
 fix
   bug31465/bug: Ensure that the compiler reads the .java file using the 
same encoding as that with which it was written. (markt)
 /fix
  +  fix
  +bug31510/bug: Null out response in JspWriterImpl#recycle to aid in 
JBoss memory leak. (yoavs)
  +  /fix
   /changelog
 /subsection
   
  
  
  
  1.13  +1 -0  
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/JspWriterImpl.java
  
  Index: JspWriterImpl.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/JspWriterImpl.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- JspWriterImpl.java19 Mar 2004 18:59:24 -  1.12
  +++ JspWriterImpl.java5 Oct 2004 16:07:18 -   1.13
  @@ -98,6 +98,7 @@
   closed = false;
   out = null;
nextChar = 0;
  +response = null;
   }
   
   /**
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 31510] - Memory leaks due to JspWriterImpl keeping reference to ServletResponse after recycle()

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31510.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31510

Memory leaks due to JspWriterImpl keeping reference to ServletResponse after recycle()

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-10-05 16:09 ---
Fixed.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 29904] - unable to instantiate tomcat jasper task more than once

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=29904.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29904

unable to instantiate tomcat jasper task more than once





--- Additional Comments From [EMAIL PROTECTED]  2004-10-05 16:11 ---
*Do* you have more than one version of org.apache.commons.logging.Log on the 
classpath?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 26372] - java.lang.ThreadDeath when trying to reload an application

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=26372.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=26372

java.lang.ThreadDeath when trying to reload an application





--- Additional Comments From [EMAIL PROTECTED]  2004-10-05 16:30 ---
You are correct. These were just output messages entered between the 3 calls to 
ensure they were being called.

We can confirm ThreadDeath occurs even with the simplified log4j.

Cheers.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2004-10-05 Thread yoavs
yoavs   2004/10/05 09:29:02

  Modified:catalina/src/share/org/apache/catalina/loader Tag:
TOMCAT_5_0 LocalStrings.properties
LocalStrings_es.properties
LocalStrings_ja.properties WebappClassLoader.java
   webapps/docs Tag: TOMCAT_5_0 changelog.xml
  Log:
  Bugzilla 31549: add name of resource to webappclassloader.stopped message.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.2.2.1   +1 -1  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/LocalStrings.properties
  
  Index: LocalStrings.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/LocalStrings.properties,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  --- LocalStrings.properties   17 Aug 2003 08:36:14 -  1.2
  +++ LocalStrings.properties   5 Oct 2004 16:29:01 -   1.2.2.1
  @@ -13,7 +13,7 @@
   standardLoader.removeRepository=Removing repository {0}
   standardLoader.starting=Starting this Loader
   standardLoader.stopping=Stopping this Loader
  -webappClassLoader.stopped=Illegal access: this web application instance has been 
stopped already (the eventual following stack trace is caused by an error thrown for 
debugging purposes as well as to attempt to terminate the thread which caused the 
illegal access, and has no functional impact)
  +webappClassLoader.stopped=Illegal access: this web application instance has been 
stopped already.  Could not load {0}.  The eventual following stack trace is caused by 
an error thrown for debugging purposes as well as to attempt to terminate the thread 
which caused the illegal access, and has no functional impact)
   webappLoader.addRepository=Adding repository {0}
   webappLoader.deploy=Deploying class repositories to work directory {0}
   webappLoader.jarDeploy=Deploy JAR {0} to {1}
  
  
  
  1.1.2.1   +1 -1  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/LocalStrings_es.properties
  
  Index: LocalStrings_es.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/LocalStrings_es.properties,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- LocalStrings_es.properties17 Jan 2004 01:43:58 -  1.1
  +++ LocalStrings_es.properties5 Oct 2004 16:29:01 -   1.1.2.1
  @@ -13,7 +13,7 @@
   standardLoader.removeRepository=Quitando repositorio {0}
   standardLoader.starting=Arrancando este Cargador
   standardLoader.stopping=Parando este Cargador
  -webappClassLoader.stopped=Acceso ilegal: esta instancia de aplicación web ya ha 
sido parada (la eventual traza de pila que sigue ha sido motivada por un error lanzado 
con motivos de depuración así como para intentar terminar el hilo que motivó el acceso 
ilegal y no tiene impacto funcional)
  +webappClassLoader.stopped=Acceso ilegal: esta instancia de aplicación web ya ha 
sido parada.  Could not load {0}.  La eventual traza de pila que sigue ha sido 
motivada por un error lanzado con motivos de depuración así como para intentar 
terminar el hilo que motivó el acceso ilegal y no tiene impacto funcional)
   webappLoader.addRepository=Añadiendo repositorio {0}
   webappLoader.deploy=Desplegando repositorios de clase en directorio de trabajo {0}
   webappLoader.jarDeploy=Despliegue del JAR {0} en {1}
  
  
  
  1.3.2.1   +1 -1  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/LocalStrings_ja.properties
  
  Index: LocalStrings_ja.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/LocalStrings_ja.properties,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- LocalStrings_ja.properties2 Sep 2003 14:09:46 -   1.3
  +++ LocalStrings_ja.properties5 Oct 2004 16:29:01 -   1.3.2.1
  @@ -13,7 +13,7 @@
   standardLoader.removeRepository=\u30ea\u30dd\u30b8\u30c8\u30ea {0} 
\u3092\u524a\u9664\u3057\u307e\u3059
   
standardLoader.starting=\u3053\u306e\u30ed\u30fc\u30c0\u3092\u8d77\u52d5\u3057\u307e\u3059
   
standardLoader.stopping=\u3053\u306e\u30ed\u30fc\u30c0\u3092\u505c\u6b62\u3057\u307e\u3059
  -webappClassLoader.stopped=\u4e0d\u6b63\u306a\u30a2\u30af\u30bb\u30b9: 
\u3053\u306eWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306f\u65e2\u306b\u505c\u6b62\u3055\u308c\u3066\u3044\u307e\u3059
 

DO NOT REPLY [Bug 31549] - Log message does not tell which class it tried to load when loading fails because webapp is stopped

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31549.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31549

Log message does not tell which class it tried to load when loading fails because 
webapp is stopped

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |ASSIGNED



--- Additional Comments From [EMAIL PROTECTED]  2004-10-05 16:32 ---
Done for Tomcat 5.0, doing 5.5 next.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 31549] - Log message does not tell which class it tried to load when loading fails because webapp is stopped

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31549.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31549

Log message does not tell which class it tried to load when loading fails because 
webapp is stopped

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-10-05 16:38 ---
Done for 5.5 also.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2004-10-05 Thread yoavs
yoavs   2004/10/05 09:46:15

  Modified:catalina/src/share/org/apache/catalina/loader
LocalStrings.properties LocalStrings_es.properties
LocalStrings_ja.properties WebappClassLoader.java
   webapps/docs changelog.xml
  Log:
  Bugzilla 31549, add name of resource to WebappClassLoader's stopped message
  
  Revision  ChangesPath
  1.3   +1 -1  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/LocalStrings.properties
  
  Index: LocalStrings.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/LocalStrings.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LocalStrings.properties   17 Aug 2003 08:36:14 -  1.2
  +++ LocalStrings.properties   5 Oct 2004 16:46:15 -   1.3
  @@ -13,7 +13,7 @@
   standardLoader.removeRepository=Removing repository {0}
   standardLoader.starting=Starting this Loader
   standardLoader.stopping=Stopping this Loader
  -webappClassLoader.stopped=Illegal access: this web application instance has been 
stopped already (the eventual following stack trace is caused by an error thrown for 
debugging purposes as well as to attempt to terminate the thread which caused the 
illegal access, and has no functional impact)
  +webappClassLoader.stopped=Illegal access: this web application instance has been 
stopped already.  Could not load {0}.  The eventual following stack trace is caused by 
an error thrown for debugging purposes as well as to attempt to terminate the thread 
which caused the illegal access, and has no functional impact.
   webappLoader.addRepository=Adding repository {0}
   webappLoader.deploy=Deploying class repositories to work directory {0}
   webappLoader.jarDeploy=Deploy JAR {0} to {1}
  
  
  
  1.2   +1 -1  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/LocalStrings_es.properties
  
  Index: LocalStrings_es.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/LocalStrings_es.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LocalStrings_es.properties17 Jan 2004 01:43:58 -  1.1
  +++ LocalStrings_es.properties5 Oct 2004 16:46:15 -   1.2
  @@ -13,7 +13,7 @@
   standardLoader.removeRepository=Quitando repositorio {0}
   standardLoader.starting=Arrancando este Cargador
   standardLoader.stopping=Parando este Cargador
  -webappClassLoader.stopped=Acceso ilegal: esta instancia de aplicación web ya ha 
sido parada (la eventual traza de pila que sigue ha sido motivada por un error lanzado 
con motivos de depuración así como para intentar terminar el hilo que motivó el acceso 
ilegal y no tiene impacto funcional)
  +webappClassLoader.stopped=Acceso ilegal: esta instancia de aplicación web ya ha 
sido parada.  Could not load {0}.  La eventual traza de pila que sigue ha sido 
motivada por un error lanzado con motivos de depuración así como para intentar 
terminar el hilo que motivó el acceso ilegal y no tiene impacto funcional.
   webappLoader.addRepository=Añadiendo repositorio {0}
   webappLoader.deploy=Desplegando repositorios de clase en directorio de trabajo {0}
   webappLoader.jarDeploy=Despliegue del JAR {0} en {1}
  
  
  
  1.4   +1 -1  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/LocalStrings_ja.properties
  
  Index: LocalStrings_ja.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/LocalStrings_ja.properties,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- LocalStrings_ja.properties2 Sep 2003 14:09:46 -   1.3
  +++ LocalStrings_ja.properties5 Oct 2004 16:46:15 -   1.4
  @@ -13,7 +13,7 @@
   standardLoader.removeRepository=\u30ea\u30dd\u30b8\u30c8\u30ea {0} 
\u3092\u524a\u9664\u3057\u307e\u3059
   
standardLoader.starting=\u3053\u306e\u30ed\u30fc\u30c0\u3092\u8d77\u52d5\u3057\u307e\u3059
   
standardLoader.stopping=\u3053\u306e\u30ed\u30fc\u30c0\u3092\u505c\u6b62\u3057\u307e\u3059
  -webappClassLoader.stopped=\u4e0d\u6b63\u306a\u30a2\u30af\u30bb\u30b9: 
\u3053\u306eWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306f\u65e2\u306b\u505c\u6b62\u3055\u308c\u3066\u3044\u307e\u3059
 

cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session StandardManager.java mbeans-descriptors.xml

2004-10-05 Thread remm
remm2004/10/05 10:12:52

  Modified:catalina/src/share/org/apache/catalina/startup
HostConfig.java
   catalina/src/share/org/apache/catalina/valves ValveBase.java
   catalina/src/share/org/apache/catalina Lifecycle.java
Loader.java Realm.java Valve.java Cluster.java
   catalina/src/share/org/apache/catalina/loader
WebappLoader.java
   modules/cluster/src/share/org/apache/catalina/cluster/tcp
SimpleTcpCluster.java
   catalina/src/share/org/apache/catalina/core
mbeans-descriptors.xml ContainerBase.java
StandardContext.java StandardHost.java
LocalStrings.properties
   webapps/docs/config manager.xml context.xml
   catalina/src/share/org/apache/catalina/realm RealmBase.java
   catalina/src/share/org/apache/catalina/session
StandardManager.java mbeans-descriptors.xml
  Log:
  - Extend background processing to most components.
  - The frequency check field moves to the manager.
  
  Revision  ChangesPath
  1.48  +2 -2  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/HostConfig.java
  
  Index: HostConfig.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/HostConfig.java,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- HostConfig.java   24 Sep 2004 07:25:06 -  1.47
  +++ HostConfig.java   5 Oct 2004 17:12:49 -   1.48
  @@ -288,7 +288,7 @@
*/
   public void lifecycleEvent(LifecycleEvent event) {
   
  -if (event.getType().equals(check))
  +if (event.getType().equals(Lifecycle.PERIODIC_EVENT))
   check();
   
   // Identify the host we are associated with
  
  
  
  1.16  +10 -1 
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/valves/ValveBase.java
  
  Index: ValveBase.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/valves/ValveBase.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- ValveBase.java29 Aug 2004 16:46:14 -  1.15
  +++ ValveBase.java5 Oct 2004 17:12:49 -   1.16
  @@ -149,6 +149,15 @@
   
   
   /**
  + * Execute a periodic task, such as reloading, etc. This method will be
  + * invoked inside the classloading context of this container. Unexpected
  + * throwables will be caught and logged.
  + */
  +public void backgroundProcess() {
  +}
  +
  +
  +/**
* The implementation-specific logic represented by this Valve.  See the
* Valve description for the normal design patterns for this method.
* p
  
  
  
  1.4   +7 -1  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/Lifecycle.java
  
  Index: Lifecycle.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/Lifecycle.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Lifecycle.java23 Jul 2004 22:57:35 -  1.3
  +++ Lifecycle.java5 Oct 2004 17:12:49 -   1.4
  @@ -82,6 +82,12 @@
   public static final String DESTROY_EVENT = destroy;
   
   
  +/**
  + * The LifecycleEvent type for the periodic event.
  + */
  +public static final String PERIODIC_EVENT = periodic;
  +
  +
   // - Public Methods
   
   
  
  
  
  1.5   +9 -1  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/Loader.java
  
  Index: Loader.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/Loader.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Loader.java   16 Aug 2004 09:31:07 -  1.4
  +++ Loader.java   5 Oct 2004 17:12:49 -   1.5
  @@ -59,6 +59,14 @@
   
   
   /**
  + * Execute a periodic task, such as reloading, etc. This method will be
  + * invoked inside the classloading context of this container. Unexpected
  + * throwables will be caught and logged.
  + */
  +public void backgroundProcess();
  +
  +
  +/**
* Return the Java class loader to be used by this Container.
*/
   public ClassLoader getClassLoader();
  
  
  
  1.10  +12 -1 
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/Realm.java
  
  Index: Realm.java
  

DO NOT REPLY [Bug 29904] - unable to instantiate tomcat jasper task more than once

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=29904.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29904

unable to instantiate tomcat jasper task more than once





--- Additional Comments From [EMAIL PROTECTED]  2004-10-05 18:47 ---
No, I don't believe there is more than one copy of Log in the classpath.  I have no 
global classpath.  The 
class does not appear to be part of ant.  I modified the build file to list only the 
required jasper jar files. 
They are, from common/lib, jasper-compiler, jasper-runtime, servlet-api, jsp-api, 
commons-el and 
from bin, commons-logging-api.  Only the last contains the Log class, and without it, 
the build fails 
because org.apache.commons.logging.LogFactory is missing.  The behavior isn't changed 
by 
explicitly including the 6 jar files in the build.xml file, rather than including 
*.jar.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2004-10-05 Thread luehe
luehe   2004/10/05 11:53:47

  Modified:webapps/docs changelog.xml
  Log:
  Update
  
  Revision  ChangesPath
  1.138 +3 -0  jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.137
  retrieving revision 1.138
  diff -u -r1.137 -r1.138
  --- changelog.xml 5 Oct 2004 16:46:15 -   1.137
  +++ changelog.xml 5 Oct 2004 18:53:47 -   1.138
  @@ -140,6 +140,9 @@
 fix
   bug31549/bug: Add name to WebappClassLoader's stopped message. (yoavs)
 /fix
  +  fix
  +Share the same JspServlet instance between all JSPs that are referenced as 
jsp-file elements inside servlet declarations in web.xml and all other JSPs. This also 
fixes loss of JSP monitoring info. (luehe)
  +  /fix
   /changelog
 /subsection
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler AntCompiler.java JDTCompiler.java

2004-10-05 Thread luehe
luehe   2004/10/05 12:06:31

  Modified:jasper2/src/share/org/apache/jasper/compiler
AntCompiler.java JDTCompiler.java
  Log:
  Determine t1 only as needed
  
  Revision  ChangesPath
  1.6   +7 -2  
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/AntCompiler.java
  
  Index: AntCompiler.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/AntCompiler.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- AntCompiler.java  4 Oct 2004 20:57:51 -   1.5
  +++ AntCompiler.java  5 Oct 2004 19:06:31 -   1.6
  @@ -105,7 +105,11 @@
   protected void generateClass(String[] smap)
   throws FileNotFoundException, JasperException, Exception {
   
  -long t1=System.currentTimeMillis();
  +long t1 = 0;
  +if (log.isDebugEnabled()) {
  +t1 = System.currentTimeMillis();
  +}
  +
   String javaEncoding = ctxt.getOptions().getJavaEncoding();
   String javaFileName = ctxt.getServletJavaFileName();
   String classpath = ctxt.getClassPath(); 
  @@ -242,7 +246,8 @@
   
   if( log.isDebugEnabled() ) {
   long t2=System.currentTimeMillis();
  -log.debug( Compiled  + ctxt.getServletJavaFileName() +   + (t2-t1) 
+ ms);
  +log.debug(Compiled  + ctxt.getServletJavaFileName() +  
  +  + (t2-t1) + ms);
   }
   
   logger = null;
  
  
  
  1.7   +6 -2  
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/JDTCompiler.java
  
  Index: JDTCompiler.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/JDTCompiler.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- JDTCompiler.java  4 Oct 2004 20:57:51 -   1.6
  +++ JDTCompiler.java  5 Oct 2004 19:06:31 -   1.7
  @@ -80,7 +80,10 @@
   protected void generateClass(String[] smap)
   throws FileNotFoundException, JasperException, Exception {
   
  -long t1=System.currentTimeMillis();
  +long t1 = 0;
  +if (log.isDebugEnabled()) {
  +t1 = System.currentTimeMillis();
  +}
   
   final String sourceFile = ctxt.getServletJavaFileName();
   final String outputDir = 
ctxt.getOptions().getScratchDir().getAbsolutePath();
  @@ -388,7 +391,8 @@
   
   if( log.isDebugEnabled() ) {
   long t2=System.currentTimeMillis();
  -log.debug( Compiled  + ctxt.getServletJavaFileName() +   + (t2-t1) 
+ ms);
  +log.debug(Compiled  + ctxt.getServletJavaFileName() +  
  +  + (t2-t1) + ms);
   }
   
   if (ctxt.isPrototypeMode()) {
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Hello

2004-10-05 Thread craigmcc
Mail  failed.  For further assistance, please contact!

* added by MailScan Anti-Virus and Content Security Software *
The attachment(s) that came with the following mail 
received by you had Viruses in it.

=
The Mail came from: [EMAIL PROTECTED]
The Mail recipient: [EMAIL PROTECTED]
Subject of the Mail   : Hello
Message-ID: 

Attachment-Name Virus-Name  Action-Taken

body.zipI-Worm.LovGate.wDeleted
=

Use  MailScan on your  EMail  Servers  and  eScan on your
Windows-based PCs and Servers for maximum protection from
Internet-borne viruses.

* added by MailScan Anti-Virus and Content Security Software *

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler Compiler.java

2004-10-05 Thread luehe
luehe   2004/10/05 12:28:20

  Modified:jasper2/src/share/org/apache/jasper/compiler Compiler.java
  Log:
  Determine various JSP compilation time intervals only as needed
  
  Revision  ChangesPath
  1.96  +18 -10
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Compiler.java
  
  Index: Compiler.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Compiler.java,v
  retrieving revision 1.95
  retrieving revision 1.96
  diff -u -r1.95 -r1.96
  --- Compiler.java 5 Oct 2004 07:24:33 -   1.95
  +++ Compiler.java 5 Oct 2004 19:28:19 -   1.96
  @@ -86,7 +86,13 @@
   
   String[] smapStr = null;
   
  -long t1=System.currentTimeMillis();
  +long t1, t2, t3, t4;
  +
  +t1 = t2 = t3 = t4 = 0;
  +  
  +if (log.isDebugEnabled()) {
  +t1 = System.currentTimeMillis();
  +}
   
   // Setup page info area
   pageInfo = new PageInfo(new BeanRepository(ctxt.getClassLoader(),
  @@ -150,9 +156,9 @@
   // Validate and process attributes
   Validator.validate(this, pageNodes);
   
  -long t2=System.currentTimeMillis();
  -// Dump out the page (for debugging)
  -// Dumper.dump(pageNodes);
  +if (log.isDebugEnabled()) {
  +t2 = System.currentTimeMillis();
  +}
   
   // Collect page info
   Collector.collect(this, pageNodes);
  @@ -162,7 +168,9 @@
   tfp = new TagFileProcessor();
   tfp.loadTagFiles(this, pageNodes);
   
  -long t3=System.currentTimeMillis();
  +if (log.isDebugEnabled()) {
  +t3 = System.currentTimeMillis();
  +}
   
   // Determine which custom tag needs to declare which scripting vars
   ScriptingVariabler.set(pageNodes, errDispatcher);
  @@ -187,11 +195,11 @@
   // to be GC'd and save memory.
   ctxt.setWriter(null);
   
  -long t4=System.currentTimeMillis();
  -if( t4-t1  500 ) {
  -log.debug(Generated + javaFileName +  total= +
  -  (t4-t1) +  generate= + ( t4-t3 ) +  validate= +
  -  ( t2-t1 ));
  +if (log.isDebugEnabled()) {
  +t4 = System.currentTimeMillis();
  +log.debug(Generated + javaFileName +  total=
  +  + (t4-t1) +  generate= + (t4-t3)
  +  +  validate= + (t2-t1));
   }
   
   } catch (Exception e) {
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



NSIS warning while building 5.5.3 release

2004-10-05 Thread Shapira, Yoav

Hi,
While generating the .exe distro for the 5.5.3 release, I noticed NSIS
spit out the following warning several times:

 [exec] Generating language tables... warning: LangString
DESC_SecWebapps is not set in language table of language 1033

It's probably not a big deal, since it's just a warning, and the exe is
generated and seems to work fine.  But if someone wants to take a look
at why this happens and fix it for 5.5.4, that'd be great ;)

Yoav Shapira
Millennium Research Informatics





This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/webapps/docs jasper-howto.xml

2004-10-05 Thread luehe
luehe   2004/10/05 12:48:07

  Modified:webapps/docs jasper-howto.xml
  Log:
  modificationTestInterval is now specified in seconds
  
  Revision  ChangesPath
  1.22  +1 -1  jakarta-tomcat-catalina/webapps/docs/jasper-howto.xml
  
  Index: jasper-howto.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/jasper-howto.xml,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- jasper-howto.xml  5 Oct 2004 07:24:33 -   1.21
  +++ jasper-howto.xml  5 Oct 2004 19:48:07 -   1.22
  @@ -119,7 +119,7 @@
   
   listrongmodificationTestInterval/strong - Checks for modification for a given
   JSP file (and all its dependent files) will be performed only once every specified 
amount
  -of milliseconds. Setting this to 0 will cause the JSP to be checked on every access.
  +of seconds. Setting this to 0 will cause the JSP to be checked on every access.
   Default is code4/code seconds./li
   
   listrongreloading/strong - Should Jasper check for modified JSPs?
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/catalina/src/conf web.xml

2004-10-05 Thread luehe
luehe   2004/10/05 12:57:21

  Modified:catalina/src/conf web.xml
  Log:
  Added description of modificationTestInterval to JspServlet init params
  
  Revision  ChangesPath
  1.45  +6 -0  jakarta-tomcat-catalina/catalina/src/conf/web.xml
  
  Index: web.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/conf/web.xml,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- web.xml   9 Sep 2004 13:50:58 -   1.44
  +++ web.xml   5 Oct 2004 19:57:17 -   1.45
  @@ -111,6 +111,12 @@
 !--   is the time in seconds between checks to see   --
 !--   if a JSP page needs to be recompiled. [300]--
 !--  --
  +  !--   modificationTestIntervalChecks for modification of a given --
  +  !--   JSP (and all its dependent files) will be  --
  +  !--   performed only once every specified amount of  --
  +  !--   seconds. Setting this to 0 will cause the JSP  --
  +  !--   to be checked on every access. [4] --
  +  !--  --
 !--   compilerWhich compiler Ant should use to compile JSP   --
 !--   pages.  See the Ant documentation for more --
 !--   information. [javac]   --
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/catalina/src/conf web.xml

2004-10-05 Thread luehe
luehe   2004/10/05 13:02:51

  Modified:catalina/src/conf web.xml
  Log:
  Added more details to modificationTestInterval description
  
  Revision  ChangesPath
  1.46  +2 -1  jakarta-tomcat-catalina/catalina/src/conf/web.xml
  
  Index: web.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/conf/web.xml,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- web.xml   5 Oct 2004 19:57:17 -   1.45
  +++ web.xml   5 Oct 2004 20:02:49 -   1.46
  @@ -115,7 +115,8 @@
 !--   JSP (and all its dependent files) will be  --
 !--   performed only once every specified amount of  --
 !--   seconds. Setting this to 0 will cause the JSP  --
  -  !--   to be checked on every access. [4] --
  +  !--   to be checked on every access. Used in --
  +  !--   development mode only. [4] --
 !--  --
 !--   compilerWhich compiler Ant should use to compile JSP   --
 !--   pages.  See the Ant documentation for more --
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/catalina/src/conf web.xml

2004-10-05 Thread luehe
luehe   2004/10/05 14:15:16

  Modified:catalina/src/conf web.xml
  Log:
  Clarified (I think) meaning of modificationTestInterval
  
  Revision  ChangesPath
  1.47  +7 -6  jakarta-tomcat-catalina/catalina/src/conf/web.xml
  
  Index: web.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/conf/web.xml,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- web.xml   5 Oct 2004 20:02:49 -   1.46
  +++ web.xml   5 Oct 2004 21:15:16 -   1.47
  @@ -111,12 +111,13 @@
 !--   is the time in seconds between checks to see   --
 !--   if a JSP page needs to be recompiled. [300]--
 !--  --
  -  !--   modificationTestIntervalChecks for modification of a given --
  -  !--   JSP (and all its dependent files) will be  --
  -  !--   performed only once every specified amount of  --
  -  !--   seconds. Setting this to 0 will cause the JSP  --
  -  !--   to be checked on every access. Used in --
  -  !--   development mode only. [4] --
  +  !--   modificationTestIntervalCauses a JSP (and its dependent--
  +  !--   files) to not be checked for modification  --
  +  !--   during the specified time interval --
  +  !--   (in seconds) from the last time the JSP was--
  +  !--   checked for modification. A value of 0 will--
  +  !--   cause the JSP to be checked on every access.   --
  +  !--   Used in development mode only. [4] --
 !--  --
 !--   compilerWhich compiler Ant should use to compile JSP   --
 !--   pages.  See the Ant documentation for more --
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net PoolTcpEndpoint.java

2004-10-05 Thread remm
remm2004/10/05 15:16:20

  Modified:util/java/org/apache/tomcat/util/net/res
LocalStrings.properties
   util/java/org/apache/tomcat/util/net PoolTcpEndpoint.java
  Log:
  - Improve i18n (help is needed to do this kind of work everywhere :) ).
  - Improve error message when a SocketException occurs in setSocketOptions.
  
  Revision  ChangesPath
  1.5   +6 -0  
jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/res/LocalStrings.properties
  
  Index: LocalStrings.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/res/LocalStrings.properties,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- LocalStrings.properties   11 Oct 2003 14:37:00 -  1.4
  +++ LocalStrings.properties   5 Oct 2004 22:16:20 -   1.5
  @@ -4,3 +4,9 @@
   endpoint.warn.reinit=Reinitializing ServerSocket
   endpoint.warn.restart=Restarting endpoint
   endpoint.warn.security=Endpoint {0} security exception: {1}
  +endpoint.err.socket=Socket error caused by remote host {0}
  +endpoint.err.handshake=Handshake failed
  +endpoint.err.unexpected=Unexpected error processing socket
  +endpoint.warn.nullSocket=Null socket returned by accept
  +endpoint.debug.unlock=Caught exception trying to unlock accept on port {0}
  +endpoint.err.close=Caught exception trying to close socket
  \ No newline at end of file
  
  
  
  1.41  +15 -15
jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/PoolTcpEndpoint.java
  
  Index: PoolTcpEndpoint.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/PoolTcpEndpoint.java,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- PoolTcpEndpoint.java  3 Oct 2004 11:48:59 -   1.40
  +++ PoolTcpEndpoint.java  5 Oct 2004 22:16:20 -   1.41
  @@ -359,7 +359,7 @@
   if( serverSocket!=null)
   serverSocket.close();
   } catch(Exception e) {
  -log.error(Caught exception trying to close socket., e);
  +log.error(sm.getString(endpoint.err.close), e);
   }
   serverSocket = null;
   }
  @@ -369,16 +369,17 @@
   try {
   // Need to create a connection to unlock the accept();
   if (inet == null) {
  -s=new Socket(127.0.0.1, port );
  -}else{
  -s=new Socket(inet, port );
  +s = new Socket(127.0.0.1, port);
  +} else {
  +s = new Socket(inet, port);
   // setting soLinger to a small value will help shutdown the
   // connection quicker
   s.setSoLinger(true, 0);
   }
   } catch(Exception e) {
  -log.debug(Caught exception trying to unlock accept on  + port
  -  +   + e.toString());
  +if (log.isDebugEnabled()) {
  +log.debug(sm.getString(endpoint.debug.unlock,  + port), e);
  +}
   } finally {
   if (s != null) {
   try {
  @@ -404,7 +405,7 @@
   accepted = factory.acceptSocket(serverSocket);
   }
   if (null == accepted) {
  -log.warn(Null socket returned by accept);
  +log.warn(sm.getString(endpoint.warn.nullSocket));
   } else {
   if (!running) {
   accepted.close();  // rude, but unlikely!
  @@ -425,7 +426,7 @@
   // socket with SocketPermission's.
   // Log the unauthorized access and continue
   String msg = sm.getString(endpoint.warn.security,
  -  serverSocket,ace);
  +  serverSocket, ace);
   log.warn(msg);
   }
   catch (IOException e) {
  @@ -524,11 +525,8 @@
   getConnectionHandler().processConnection(con, threadData);
   
   } catch (SocketException se) {
  -PoolTcpEndpoint.log.error(
  -Remote Host 
  -+ s.getInetAddress()
  -+  SocketException: 
  -+ se.getMessage());
  +log.error(sm.getString(endpoint.err.socket, s.getInetAddress()),
  +se);
   // Try to close the socket
   try {
   s.close();
  @@ -536,9 +534,11 @@
   }
   } catch (Throwable t) {
   if (step == 2) {
  -PoolTcpEndpoint.log.debug(Handshake failed, t);
  +if (log.isDebugEnabled()) {
  +log.debug(sm.getString(endpoint.err.handshake), t);
  + 

cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2004-10-05 Thread luehe
luehe   2004/10/05 17:54:47

  Modified:catalina/src/share/org/apache/catalina/core
StandardWrapper.java
   webapps/docs changelog.xml
  Log:
  Undid previous change, as in the case where a servlet has a jsp-file
  and also declares some init params, as in:
  
servlet
  servlet-namexxx/servlet-name
  jsp-file/xxx.jsp/jsp-file
  init-param
param-namename1/param-name
param-valuevalue1/param-value
  /init-param
/servlet
  
  it needs its *own* JspServlet instance that it can initialize with its
  own params. Sharing of JspServlet instance is not possible in this case.
  
  Will have to come up with a better solution against loss of monitoring
  info (the JspServlet that handles the above jsp-file currently is not
  registered with JMX).
  
  Revision  ChangesPath
  1.49  +1 -1  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardWrapper.java
  
  Index: StandardWrapper.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardWrapper.java,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- StandardWrapper.java  4 Oct 2004 16:40:57 -   1.48
  +++ StandardWrapper.java  6 Oct 2004 00:54:46 -   1.49
  @@ -867,6 +867,7 @@
   Wrapper jspWrapper = (Wrapper)
   ((Context) getParent()).findChild(Constants.JSP_SERVLET_NAME);
   if (jspWrapper != null) {
  +actualClass = jspWrapper.getServletClass();
   // Merge init parameters
   String paramNames[] = jspWrapper.findInitParameters();
   for (int i = 0; i  paramNames.length; i++) {
  @@ -876,7 +877,6 @@
jspWrapper.findInitParameter(paramNames[i]));
   }
   }
  -return jspWrapper.allocate();
   }
   }
   
  
  
  
  1.139 +0 -3  jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.138
  retrieving revision 1.139
  diff -u -r1.138 -r1.139
  --- changelog.xml 5 Oct 2004 18:53:47 -   1.138
  +++ changelog.xml 6 Oct 2004 00:54:46 -   1.139
  @@ -140,9 +140,6 @@
 fix
   bug31549/bug: Add name to WebappClassLoader's stopped message. (yoavs)
 /fix
  -  fix
  -Share the same JspServlet instance between all JSPs that are referenced as 
jsp-file elements inside servlet declarations in web.xml and all other JSPs. This also 
fixes loss of JSP monitoring info. (luehe)
  -  /fix
   /changelog
 /subsection
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Information

2004-10-05 Thread mikeb
--  Virus Warning Message (on uusnwa0p)

Found virus WORM_NETSKY.Z in file Notice.txt   
   
   .exe (in Notice.zip)
The file is deleted.

-
Important notice!


--  Virus Warning Message (on uusnwa0p)

Notice.zip is removed from here because it contains a virus.

-
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

DO NOT REPLY [Bug 31556] New: - getResourceAsStream caches a file but fails to note that it has been updated

2004-10-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31556.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31556

getResourceAsStream caches a file but fails to note that it has been updated

   Summary: getResourceAsStream caches a file but fails to note that
it has been updated
   Product: Tomcat 5
   Version: 5.0.28
  Platform: PC
OS/Version: Windows 9x
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


1. The sample servlet (see below) calls getResourceAsStream to read the first
line of a text file (eg, abc) and outputs it.
2. I update the text file to change its content (eg, def).
3. Reload the web page but it is still displaying the old file content (abc).
It means the servlet is not getting the new file content.
4. However, there is a twist. If I save the file again (eg, add a space, delete
the space and save again) and reload the web page, then it will display the new
file content (def).

The sample servlet is shown below. The text file is /WEB-INF/test.txt.

import java.io.*;

import javax.servlet.*;
import javax.servlet.http.*;

public class HelloServlet extends HttpServlet {
protected void doGet(
HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
PrintWriter writer = response.getWriter();
BufferedReader reader =
new BufferedReader(
new InputStreamReader(
getServletContext().getResourceAsStream(
/WEB-INF/test.txt)));
try {
writer.println(reader.readLine());
} finally {
reader.close();
}
}
}

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Document

2004-10-05 Thread craig . mcclanahan
--  Virus Warning Message (on uusnwa0p)

Found virus WORM_NETSKY.Z in file Details.txt  
   
.exe (in Details.zip)
The file is deleted.

-
Important details!


--  Virus Warning Message (on uusnwa0p)

Details.zip is removed from here because it contains a virus.

-
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: jakarta-tomcat-connectors/util/loader - New directory

2004-10-05 Thread costin
costin  2004/10/05 21:56:33

  jakarta-tomcat-connectors/util/loader - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-connectors/util/loader/org - New directory

2004-10-05 Thread costin
costin  2004/10/05 21:56:39

  jakarta-tomcat-connectors/util/loader/org - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-connectors/util/loader/org/apache - New directory

2004-10-05 Thread costin
costin  2004/10/05 21:56:44

  jakarta-tomcat-connectors/util/loader/org/apache - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-connectors/util/loader/org/apache/tomcat - New directory

2004-10-05 Thread costin
costin  2004/10/05 21:56:48

  jakarta-tomcat-connectors/util/loader/org/apache/tomcat - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-connectors/util/loader/org/apache/tomcat/util - New directory

2004-10-05 Thread costin
costin  2004/10/05 21:56:53

  jakarta-tomcat-connectors/util/loader/org/apache/tomcat/util - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-connectors/util/loader/org/apache/tomcat/util/loader - New directory

2004-10-05 Thread costin
costin  2004/10/05 21:56:56

  jakarta-tomcat-connectors/util/loader/org/apache/tomcat/util/loader - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-connectors/util/loader loader.properties

2004-10-05 Thread costin
costin  2004/10/05 22:01:16

  Added:   util/loader loader.properties
  Log:
  Example loader.properties ( I need to clean it up to match the distro, right now 
it's using
  my eclipse layout ).
  
  Revision  ChangesPath
  1.1  jakarta-tomcat-connectors/util/loader/loader.properties
  
  Index: loader.properties
  ===
  catalina.home=/opt/50
  
  loader.auto-startup=org.apache.tomcat.util.jmx.JmxRemoteLoader,\
   org.apache.catalina.startup.CatalinaModuleListener
  
  #
  # List of comma-separated packages that start with or equal this string
  # will cause a security exception to be thrown when
  # passed to checkPackageAccess unless the
  # corresponding RuntimePermission (accessClassInPackage.+package) has
  # been granted.
  
loader.package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans.
  #
  # List of comma-separated packages that start with or equal this string
  # will cause a security exception to be thrown when
  # passed to checkPackageDefinition unless the
  # corresponding RuntimePermission (defineClassInPackage.+package) has
  # been granted.
  #
  # by default, no packages are restricted for definition, and none of
  # the class loaders supplied with the JDK call checkPackageDefinition.
  #
  
loader.package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
  
  #
  #
  # List of comma-separated paths defining the contents of the common 
  # classloader. Prefixes should be used to define what is the repository type.
  # Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
  # If left as blank,the JVM system loader will be used as Catalina's common 
  # loader.
  # Examples:
  # foo: Add this folder as a class repository
  # foo/*.jar: Add all the JARs of the specified folder as class 
  #  repositories
  # foo/bar.jar: Add bar.jar as a class repository
  common.loader=${catalina.home}/bin/jmx.jar,\
  ${catalina.home}/common/classes,\
  
${catalina.home}/common/i18n/tomcat-i18n-en.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.jar
  
  #
  # List of comma-separated paths defining the contents of the server 
  # classloader. Prefixes should be used to define what is the repository type.
  # Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
  # If left as blank, the common loader will be used as Catalina's server 
  # loader.
  # Examples:
  # foo: Add this folder as a class repository
  # foo/*.jar: Add all the JARs of the specified folder as class 
  #  repositories
  # foo/bar.jar: Add bar.jar as a class repository
  
server.loader=/ws/apache/jakarta-tomcat-connectors/util/build/classes,/ws/apache/jakarta-tomcat-catalina/build/classes,/ws/apache/jakarta-tomcat-connectors/build/classes,${catalina.home}/server/lib/commons-modeler.jar
  
  #
  # List of comma-separated paths defining the contents of the shared 
  # classloader. Prefixes should be used to define what is the repository type.
  # Path may be relative to the CATALINA_BASE path or absolute. If left as blank,
  # the common loader will be used as Catalina's shared loader.
  # Examples:
  # foo: Add this folder as a class repository
  # foo/*.jar: Add all the JARs of the specified folder as class 
  #  repositories
  # foo/bar.jar: Add bar.jar as a class repository 
  shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar
  
  # Classes to preload to avoid security exceptions
  loader.security.preload=\
   org.apache.catalina.core.ApplicationContextFacade$1,\
   org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward,\
   org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude,\
   org.apache.catalina.core.ContainerBase$PrivilegedAddChild,\
   org.apache.catalina.core.StandardWrapper$1,\
   org.apache.catalina.loader.WebappClassLoader$PrivilegedFindResource,\
   org.apache.catalina.session.StandardSession,\
   org.apache.catalina.session.StandardSession$1,\
   org.apache.catalina.session.StandardManager$PrivilegedDoUnload,\
   org.apache.catalina.util.URL,\
   org.apache.catalina.util.Enumerator,\
   javax.servlet.http.Cookie,\
  org.apache.coyote.http11Http11Processor$1,\
  org.apache.coyote.http11InternalOutputBuffer$1,\
  org.apache.coyote.http11InternalOutputBuffer$2,\
   
org.apache.catalina.connector.RequestFacade$GetAttributePrivilegedAction,\
   
org.apache.catalina.connector.RequestFacade$GetParameterMapPrivilegedAction,\
   

JMX Remote connection

2004-10-05 Thread Costin Manolache
Hi,
Not sure what's the new policy for loading the Jmx RMI connector. 
jk2.properties was a hack - and now that it is removed, I was wandering 
if we have any official mechanism.

I had a small class that hooked in the connector, and I now refactored 
it to a webapp - nothing fancy ( it's not even trusted ), only loads 
rmiregistry and the jmx connector. I can check it in if there's no other
mechanism, it's very helpfull ( especially with JDK1.4/MX4j - in 5.0 
there are the cli options )

Costin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


cvs commit: jakarta-tomcat-connectors/util build.xml

2004-10-05 Thread costin
costin  2004/10/05 22:16:06

  Modified:util build.xml
  Log:
  Add tomcat-loader.jar ( not automatic, needs to be called explicitely for now )
  
  Revision  ChangesPath
  1.29  +26 -2 jakarta-tomcat-connectors/util/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/util/build.xml,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- build.xml 29 Aug 2004 18:14:17 -  1.28
  +++ build.xml 6 Oct 2004 05:16:06 -   1.29
  @@ -22,6 +22,8 @@
   property name=jmx.jar location=../lib/mx4j.jar /
   property name=tomcat-util.lib value=${tomcat-util.build}/lib /
   property name=tomcat-util.jar value=${tomcat-util.lib}/tomcat-util.jar /
  +property name=tomcat-loader.jar value=${tomcat-util.lib}/tomcat-loader.jar 
/
  +
   
   path id=compile.classpath
   pathelement location=${jmx.jar} /
  @@ -45,11 +47,14 @@
   
   target name=build-prepare depends=detect
   mkdir dir=${tomcat-util.build}/
  - mkdir dir=${tomcat-util.build}/classes/
  +mkdir dir=${tomcat-util.build}/classes/
  +mkdir dir=${tomcat-util.build}/loader/
mkdir dir=${tomcat-util.lib}/
   /target
   
  -target name=build-main depends=build-prepare
  +target name=build-main depends=tomcat-util.jar/ !--tomcat-loader.jar --
  +
  +target name=tomcat-util.jar depends=build-prepare
   echo message=- Java-utils - /
   echo message=-- puretls.present = ${puretls.present} /
   echo message=-- jsse.present = ${jsse.present} ${jsse.jar}/
  @@ -57,6 +62,7 @@
   echo message=-- jmx = ${jmx.present} ${jmx.jar}/
   echo message=-- modeler = ${modeler.present} ${commons-modeler.jar}/
   echo message=-- JDK14 = ${jdk1.4.present}/
  +
   javac srcdir=java
   destdir=${tomcat-util.build}/classes
   deprecation=${compile.deprecation}
  @@ -96,6 +102,24 @@
   include name=org/apache/tomcat/util/**/
   /jar
   
  +/target
  +
  +target name=tomcat-loader.jar depends=build-prepare
  +javac srcdir=loader
  +   destdir=${tomcat-util.build}/loader
  +   deprecation=${compile.deprecation}
  +   debug=${compile.debug}
  +   optimize=off
  +   verbose=off
  +   excludes=**/CVS/**
  +classpath refid=compile.classpath/
  +/javac
  + jar jarfile=${tomcat-loader.jar}
  + index=true
  + basedir=${tomcat-util.build}/loader
  + manifest=loader/tomcat-loader.manifest 
  +include name=org/apache/tomcat/util/loader/**/
  +/jar
   /target
   
   !--  BUILD: Create Tomcat-Util Javadocs === --
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/compat Jdk14Compat.java

2004-10-05 Thread costin
costin  2004/10/05 22:16:42

  Modified:util/java/org/apache/tomcat/util/compat Jdk14Compat.java
  Log:
  It doesn't seem to be used, and it makes compat dependent of logging
  
  Revision  ChangesPath
  1.14  +3 -3  
jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/compat/Jdk14Compat.java
  
  Index: Jdk14Compat.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/compat/Jdk14Compat.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- Jdk14Compat.java  29 Aug 2004 17:14:41 -  1.13
  +++ Jdk14Compat.java  6 Oct 2004 05:16:42 -   1.14
  @@ -21,8 +21,8 @@
   import java.net.MalformedURLException;
   import java.net.URL;
   
  -import org.apache.commons.logging.Log;
  -import org.apache.commons.logging.LogFactory;
  +//import org.apache.commons.logging.Log;
  +//import org.apache.commons.logging.LogFactory;
   
   
   /**
  @@ -35,7 +35,7 @@
   // -- Constants
   
   // --- Static Variables
  -static Log logger = LogFactory.getLog(Jdk14Compat.class);
  +//static Log logger = LogFactory.getLog(Jdk14Compat.class);
   
   // --- Constructors
   /**
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/compat JdkCompat.java

2004-10-05 Thread costin
costin  2004/10/05 22:17:47

  Modified:util/java/org/apache/tomcat/util/compat JdkCompat.java
  Log:
  Remove unused dep on logging
  
  Revision  ChangesPath
  1.18  +3 -9  
jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/compat/JdkCompat.java
  
  Index: JdkCompat.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/compat/JdkCompat.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- JdkCompat.java29 Aug 2004 17:14:41 -  1.17
  +++ JdkCompat.java6 Oct 2004 05:17:46 -   1.18
  @@ -18,14 +18,12 @@
   
   import java.io.File;
   import java.io.IOException;
  -import java.net.URL;
  -import java.net.MalformedURLException;
  -import java.util.Vector;
   import java.io.PrintWriter;
   import java.io.StringWriter;
  +import java.net.MalformedURLException;
  +import java.net.URL;
  +import java.util.Vector;
   
  -import org.apache.commons.logging.Log;
  -import org.apache.commons.logging.LogFactory;
   
   /**
*  General-purpose utility to provide backward-compatibility and JDK
  @@ -47,10 +45,6 @@
*/
   static final String JAVA14_SUPPORT =
   org.apache.tomcat.util.compat.Jdk14Compat;
  -/**
  - *  Commons logger wrapper
  - */
  -static Log logger = LogFactory.getLog(JdkCompat.class);
   
   /** Return java version as a string
*/
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



loader

2004-10-05 Thread Costin Manolache
I checked in the first part - I'm still working on making build.xml 
changes and the catalina-side code.

It is certainly experimental code for now - I think it works better than 
Bootstrap/etc, but the reloading of connectors/etc is still very tricky 
 ( it kind of works, but I still don't have a clean interface ).

I placed it in util/loader mainly for eclipse/IDE users - I have it 
compiled to a separate classes dir, and use the eclipse autocompilation 
- it's pretty cool and efficient ( i.e. no need to use ant or compile 
most of the time, just type and run :-).

Costin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JMX Remote connection

2004-10-05 Thread Bill Barker
- Original Message - 
From: Costin Manolache [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 05, 2004 10:06 PM
Subject: JMX Remote connection


Hi,
Not sure what's the new policy for loading the Jmx RMI connector. 
jk2.properties was a hack - and now that it is removed, I was wandering if 
we have any official mechanism.

At the moment, jk2.properties is still used (we're just not shipping the 
default one).  It should be possible to configure JkMX via Connector 
attributes.

I had a small class that hooked in the connector, and I now refactored it 
to a webapp - nothing fancy ( it's not even trusted ), only loads 
rmiregistry and the jmx connector. I can check it in if there's no other
mechanism, it's very helpfull ( especially with JDK1.4/MX4j - in 5.0 there 
are the cli options )

Costin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This message is intended only for the use of the person(s) listed above as the 
intended recipient(s), and may contain information that is PRIVILEGED and 
CONFIDENTIAL.  If you are not an intended recipient, you may not read, copy, or 
distribute this message or any attachment. If you received this communication in 
error, please notify us immediately by e-mail and then delete all copies of this 
message and any attachments.

In addition you should be aware that ordinary (unencrypted) e-mail sent through the 
Internet is not secure. Do not send confidential or sensitive information, such as 
social security numbers, account numbers, personal identification numbers and 
passwords, to us via ordinary (unencrypted) e-mail.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: loader

2004-10-05 Thread Mladen Turk
Costin Manolache wrote:
I checked in the first part - I'm still working on making build.xml 
changes and the catalina-side code.

It is certainly experimental code for now - I think it works better than 
Bootstrap/etc, but the reloading of connectors/etc is still very tricky 
 ( it kind of works, but I still don't have a clean interface ).

Didn't look much in detail...
We'll need something that will signal that all the classes are
loaded, probably even adding that as native (if native is used),
so we can use that instead TomcatLoader.
MT.


smime.p7s
Description: S/MIME Cryptographic Signature


  1   2   >