[ #MOV-96470-480]: Document

2004-09-02 Thread techsupport . norway
Dette er en automatisk svar-epost i fra Panda Software Norge - Support.

Din sak har fått nr: MOV-96470-480

Du vil motta svar på denne epost adressen når vi har fått behandlet saken.

Henvis til nummeret ovenfor ved telefonhenvendelser.
Ved videre henvendelser om denne saken svarer du på denne e-posten
eller sender en ny mail til [EMAIL PROTECTED] med: [#MOV-96470-480] i subjekt/emne 
feltet.



This is an automatic response from Panda Software Norway.

Your case has been assigned the following number: MOV-96470-480

You will receive a reply to your question as soon as possible.

Further contact regarding this matter should be done by replying to the email(s) 
received from us, without changing the subject field.



---
Panda Software Norge - Support
---


[EMAIL PROTECTED]
tlf: 62 53 96 80

http://www.pandasoftware.no
http://www.pandasoftware.com


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



cvs commit: jakarta-tomcat/src/etc server.xml

2004-09-02 Thread billbarker
billbarker2004/09/01 23:18:10

  Modified:src/etc  server.xml
  Log:
  Note that the CoyoteConnector now requires a 1.4 JVM.
  
  Revision  ChangesPath
  1.104 +1 -1  jakarta-tomcat/src/etc/server.xml
  
  Index: server.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat/src/etc/server.xml,v
  retrieving revision 1.103
  retrieving revision 1.104
  diff -u -r1.103 -r1.104
  --- server.xml27 Feb 2004 05:45:47 -  1.103
  +++ server.xml2 Sep 2004 06:18:10 -   1.104
  @@ -201,7 +201,7 @@
 by default report Tomcat Web Server ...
 set an empty string to avoid sending server header 
   --
  -!-- Uncomment this if useing a 1.1 JDK
  +!-- Uncomment this if using a 1.3 or lower JDK
   Http10Connector   port=8080 
   secure=false
   maxThreads=100
  
  
  

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



DO NOT REPLY [Bug 21616] - Upload fails under iis5-jk2 and not under tomcat alone

2004-09-02 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=21616.
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=21616

Upload fails under iis5-jk2 and not under tomcat alone





--- Additional Comments From [EMAIL PROTECTED]  2004-09-02 09:36 ---
Any chance of someone supplying a fix based on the latest version of 
isapi_redirector2.dll?  I'm not qualified to help.

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



cvs commit: jakarta-tomcat-5/resources side_left.bmp License.rtf

2004-09-02 Thread mturk
mturk   2004/09/02 03:01:05

  Added:   resources Tag: TOMCAT_5_0 side_left.bmp License.rtf
  Log:
  Add custom installer left side picture and RTF License form
  Httpd project.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.1.2.1   +5 -0  jakarta-tomcat-5/resources/Attic/side_left.bmp
  
Binary file
  
  
  1.1.2.1   +266 -0jakarta-tomcat-5/resources/Attic/License.rtf
  
  
  
  

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



cvs commit: jakarta-tomcat-5 tomcat.nsi

2004-09-02 Thread mturk
mturk   2004/09/02 03:02:05

  Modified:.Tag: TOMCAT_5_0 tomcat.nsi
  Log:
  Fix setting tmpdir.
  Add new side image and rtf license.
  Add tools.jar to classpath and do not copy tools.jar from SDK
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.45.2.1  +12 -6 jakarta-tomcat-5/tomcat.nsi
  
  Index: tomcat.nsi
  ===
  RCS file: /home/cvs/jakarta-tomcat-5/tomcat.nsi,v
  retrieving revision 1.45
  retrieving revision 1.45.2.1
  diff -u -r1.45 -r1.45.2.1
  --- tomcat.nsi22 May 2004 20:43:35 -  1.45
  +++ tomcat.nsi2 Sep 2004 10:02:05 -   1.45.2.1
  @@ -19,15 +19,18 @@
 VIAddVersionKey ProductVersion @VERSION@
 VIAddVersionKey Comments jakarta.apache.org/tomcat
 VIAddVersionKey InternalName [EMAIL PROTECTED]@.exe
  -  VIProductVersion @[EMAIL PROTECTED]
  +  VIProductVersion @[EMAIL PROTECTED]
   
   !include MUI.nsh
   !include StrFunc.nsh
  +  Var JavaHome

  +
   ${StrRep}
   
   ;
   ;Configuration
   
  +  !define MUI_WELCOMEFINISHPAGE_BITMAP side_left.bmp 

 !define MUI_FINISHPAGE_SHOWREADME $INSTDIR\webapps\ROOT\RELEASE-NOTES.txt
 !define MUI_FINISHPAGE_RUN $INSTDIR\bin\tomcat5w.exe
 !define MUI_FINISHPAGE_RUN_PARAMETERS //MS//Tomcat5
  @@ -68,7 +71,7 @@
 !insertmacro MUI_UNPAGE_INSTFILES
   
 ;License dialog
  -  LicenseData INSTALLLICENSE
  +  LicenseData License.rtf

   
 ;Component-selection page
   ;Descriptions
  @@ -132,7 +135,7 @@
 IfSilent +2 0
 !insertmacro MUI_INSTALLOPTIONS_READ $2 jvm.ini Field 2 State
   
  -  CopyFiles /SILENT $2\lib\tools.jar $INSTDIR\common\lib 4500
  +; CopyFiles /SILENT $2\lib\tools.jar $INSTDIR\common\lib 4500
 ClearErrors
   
 Call configure
  @@ -142,6 +145,7 @@
 IfSilent +2 0
 !insertmacro MUI_INSTALLOPTIONS_READ $2 jvm.ini Field 2 State
   
  +  StrCpy $JavaHome $2

 Push $2
 Call findJVMPath
 Pop $2
  @@ -164,6 +168,7 @@
 IfSilent +2 0
 !insertmacro MUI_INSTALLOPTIONS_READ $2 jvm.ini Field 2 State
   
  +  StrCpy $JavaHome $2

 Push $2
 Call findJVMPath
 Pop $2
  @@ -247,8 +252,8 @@
   SectionEnd
   
   Section -post
  -  nsExec::ExecToLog '$INSTDIR\bin\tomcat5.exe //US//Tomcat5 --Classpath 
$INSTDIR\bin\bootstrap.jar --StartClass org.apache.catalina.startup.Bootstrap 
--StopClass org.apache.catalina.startup.Bootstrap --StartParams start --StopParams 
stop  --StartMode jvm --StopMode jvm'
  -  nsExec::ExecToLog '$INSTDIR\bin\tomcat5.exe //US//Tomcat5 --JvmOptions 
-Dcatalina.home=$INSTDIR#-Djava.endorsed.dirs=$INSTDIR\common\endorsed#-Djava.io.tmpdir=$INSTDIR
 --StdOutput $INSTDIR\logs\stdout.log --StdError $INSTDIR\logs\stderr.log'
  +  nsExec::ExecToLog '$INSTDIR\bin\tomcat5.exe //US//Tomcat5 --Classpath 
$JavaHome\lib\tools.jar;$INSTDIR\bin\bootstrap.jar --StartClass 
org.apache.catalina.startup.Bootstrap --StopClass 
org.apache.catalina.startup.Bootstrap --StartParams start --StopParams stop  
--StartMode jvm --StopMode jvm'

  +  nsExec::ExecToLog '$INSTDIR\bin\tomcat5.exe //US//Tomcat5 --JvmOptions 
-Dcatalina.home=$INSTDIR#-Djava.endorsed.dirs=$INSTDIR\common\endorsed#-Djava.io.tmpdir=$INSTDIR\temp
 --StdOutput $INSTDIR\logs\stdout.log --StdError $INSTDIR\logs\stderr.log'

   
 WriteUninstaller $INSTDIR\Uninstall.exe
   
  @@ -396,6 +401,7 @@
 MessageBox MB_OK No Java Virtual Machine found.
 Quit
   NoErrors1:
  +  StrCpy $JavaHome $3

 Push $3
 Call findJVMPath
 Pop $4
  
  
  

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



cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup ContextRuleSet.java NamingRuleSet.java Catalina.java

2004-09-02 Thread remm
remm2004/09/02 03:05:00

  Modified:catalina/src/share/org/apache/catalina/startup
ContextRuleSet.java NamingRuleSet.java
Catalina.java
  Log:
  - Remove DefaultContext elements from the digester rules.
  - Fix ResourceLink elements handling: apparently I removed the rule, and forgot to 
add it back. Oops.
  - Fix handling of Ejb element (which is not really implemented anyway, but now at 
least the right rule is used).
  
  Revision  ChangesPath
  1.13  +8 -1  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/ContextRuleSet.java
  
  Index: ContextRuleSet.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/ContextRuleSet.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- ContextRuleSet.java   26 Jul 2004 16:04:01 -  1.12
  +++ ContextRuleSet.java   2 Sep 2004 10:05:00 -   1.13
  @@ -205,6 +205,13 @@
   setResources,
   javax.naming.directory.DirContext);
   
  +digester.addObjectCreate(prefix + Context/ResourceLink,
  +org.apache.catalina.deploy.ContextResourceLink);
  +digester.addSetProperties(prefix + Context/ResourceLink);
  +digester.addRule(prefix + Context/ResourceLink,
  +new SetNextNamingRule(addResourceLink,
  +org.apache.catalina.deploy.ContextResourceLink));
  +
   digester.addObjectCreate(prefix + Context/Valve,
null, // MUST be specified in the element
className);
  
  
  
  1.6   +4 -4  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/NamingRuleSet.java
  
  Index: NamingRuleSet.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/NamingRuleSet.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- NamingRuleSet.java26 Jul 2004 16:04:01 -  1.5
  +++ NamingRuleSet.java2 Sep 2004 10:05:00 -   1.6
  @@ -90,9 +90,9 @@
   digester.addObjectCreate(prefix + Ejb,
org.apache.catalina.deploy.ContextEjb);
   digester.addRule(prefix + Ejb, new SetAllPropertiesRule());
  -digester.addSetNext(prefix + Ejb,
  -addEjb,
  -org.apache.catalina.deploy.ContextEjb);
  +digester.addRule(prefix + Ejb,
  +new SetNextNamingRule(addEjb,
  +org.apache.catalina.deploy.ContextEjb));
   
   digester.addObjectCreate(prefix + Environment,
org.apache.catalina.deploy.ContextEnvironment);
  
  
  
  1.32  +1 -5  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Catalina.java
  
  Index: Catalina.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Catalina.java,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- Catalina.java 26 Jun 2004 17:41:31 -  1.31
  +++ Catalina.java 2 Sep 2004 10:05:00 -   1.32
  @@ -323,10 +323,6 @@
   digester.addRuleSet(new NamingRuleSet(Server/GlobalNamingResources/));
   digester.addRuleSet(new EngineRuleSet(Server/Service/));
   digester.addRuleSet(new HostRuleSet(Server/Service/Engine/));
  -digester.addRuleSet(new ContextRuleSet(Server/Service/Engine/Default));
  -digester.addRuleSet(new 
NamingRuleSet(Server/Service/Engine/DefaultContext/));
  -digester.addRuleSet(new 
ContextRuleSet(Server/Service/Engine/Host/Default));
  -digester.addRuleSet(new 
NamingRuleSet(Server/Service/Engine/Host/DefaultContext/));
   digester.addRuleSet(new ContextRuleSet(Server/Service/Engine/Host/));
   digester.addRuleSet(new 
ClusterRuleSet(Server/Service/Engine/Host/Cluster/));
   digester.addRuleSet(new 
NamingRuleSet(Server/Service/Engine/Host/Context/));
  
  
  

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



cvs commit: jakarta-tomcat-5 tomcat.nsi

2004-09-02 Thread mturk
mturk   2004/09/02 03:07:02

  Modified:.tomcat.nsi
  Log:
  Fix setting tmpdir.
  Add new side image and rtf license.
  Add tools.jar to classpath.
  
  Revision  ChangesPath
  1.53  +10 -5 jakarta-tomcat-5/tomcat.nsi
  
  Index: tomcat.nsi
  ===
  RCS file: /home/cvs/jakarta-tomcat-5/tomcat.nsi,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- tomcat.nsi1 Sep 2004 23:45:41 -   1.52
  +++ tomcat.nsi2 Sep 2004 10:07:02 -   1.53
  @@ -19,15 +19,17 @@
 VIAddVersionKey ProductVersion @VERSION@
 VIAddVersionKey Comments jakarta.apache.org/tomcat
 VIAddVersionKey InternalName [EMAIL PROTECTED]@.exe
  -  VIProductVersion @[EMAIL PROTECTED]
  +  VIProductVersion @[EMAIL PROTECTED]
   
   !include MUI.nsh
   !include StrFunc.nsh
   ${StrRep}
  +  Var JavaHome

   
   ;
   ;Configuration
   
  +  !define MUI_WELCOMEFINISHPAGE_BITMAP side_left.bmp 

 !define MUI_FINISHPAGE_SHOWREADME $INSTDIR\webapps\ROOT\RELEASE-NOTES.txt
 !define MUI_FINISHPAGE_RUN $INSTDIR\bin\tomcat5w.exe
 !define MUI_FINISHPAGE_RUN_PARAMETERS //MS//Tomcat5
  @@ -68,7 +70,7 @@
 !insertmacro MUI_UNPAGE_INSTFILES
   
 ;License dialog
  -  LicenseData INSTALLLICENSE
  +  LicenseData License.rtf

   
 ;Component-selection page
   ;Descriptions
  @@ -153,6 +155,7 @@
 IfSilent +2 0
 !insertmacro MUI_INSTALLOPTIONS_READ $2 jvm.ini Field 2 State
   
  +  StrCpy $JavaHome $2

 Push $2
 Call findJVMPath
 Pop $2
  @@ -175,6 +178,7 @@
 IfSilent +2 0
 !insertmacro MUI_INSTALLOPTIONS_READ $2 jvm.ini Field 2 State
   
  +  StrCpy $JavaHome $2

 Push $2
 Call findJVMPath
 Pop $2
  @@ -278,8 +282,8 @@
   SectionEnd
   
   Section -post
  -  nsExec::ExecToLog '$INSTDIR\bin\tomcat5.exe //US//Tomcat5 --Classpath 
$INSTDIR\bin\bootstrap.jar --StartClass org.apache.catalina.startup.Bootstrap 
--StopClass org.apache.catalina.startup.Bootstrap --StartParams start --StopParams 
stop  --StartMode jvm --StopMode jvm'
  -  nsExec::ExecToLog '$INSTDIR\bin\tomcat5.exe //US//Tomcat5 --JvmOptions 
-Dcatalina.home=$INSTDIR#-Djava.endorsed.dirs=$INSTDIR\common\endorsed#-Djava.io.tmpdir=$INSTDIR\temp
 --StdOutput $INSTDIR\logs\stdout.log --StdError $INSTDIR\logs\stderr.log'
  +  nsExec::ExecToLog '$INSTDIR\bin\tomcat5.exe //US//Tomcat5 --Classpath 
$JavaHome\lib\tools.jar;$INSTDIR\bin\bootstrap.jar --StartClass 
org.apache.catalina.startup.Bootstrap --StopClass 
org.apache.catalina.startup.Bootstrap --StartParams start --StopParams stop  
--StartMode jvm --StopMode jvm'

  +  nsExec::ExecToLog '$INSTDIR\bin\tomcat5.exe //US//Tomcat5 --JvmOptions 
-Dcatalina.home=$INSTDIR#-Djava.endorsed.dirs=$INSTDIR\common\endorsed#-Djava.io.tmpdir=$INSTDIR\temp
 --StdOutput $INSTDIR\logs\stdout.log --StdError $INSTDIR\logs\stderr.log'

   
 WriteUninstaller $INSTDIR\Uninstall.exe
   
  @@ -429,6 +433,7 @@
 MessageBox MB_OK No Java Virtual Machine found.
 Quit
   NoErrors1:
  +  StrCpy $JavaHome $3

 Push $3
 Call findJVMPath
 Pop $4
  
  
  

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



cvs commit: jakarta-tomcat-5/resources side_left.bmp License.rtf

2004-09-02 Thread mturk
mturk   2004/09/02 03:07:38

  Added:   resources side_left.bmp License.rtf
  Log:
  Add custom installer left side picture and RTF License form
  Httpd project.
  
  Revision  ChangesPath
  1.2   +5 -0  jakarta-tomcat-5/resources/side_left.bmp
  
Binary file
  
  
  1.2   +266 -0jakarta-tomcat-5/resources/License.rtf
  
  
  
  

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



cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup HostConfig.java

2004-09-02 Thread remm
remm2004/09/02 03:15:53

  Modified:catalina/src/share/org/apache/catalina/startup
HostConfig.java
  Log:
  - Also check if the webapp has been statically defined somewhere. In that case, the 
auto deployer should ignore it (at least until it's
removed from the host).
  
  Revision  ChangesPath
  1.44  +17 -5 
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.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- HostConfig.java   4 Aug 2004 06:48:07 -   1.43
  +++ HostConfig.java   2 Sep 2004 10:15:53 -   1.44
  @@ -549,7 +549,7 @@
   protected void deployDescriptor(String contextPath, File contextXml, String 
file) {
   DeployedApplication deployedApp = new DeployedApplication(contextPath);
   
  -if (deployed.containsKey(contextPath))
  +if (deploymentExists(contextPath))
   return;
   
   // Assume this is a configuration descriptor and deploy it
  @@ -680,9 +680,11 @@
* @param file
*/
   protected void deployWAR(String contextPath, File dir, String file) {
  -if (deployed.containsKey(contextPath))
  +
  +if (deploymentExists(contextPath))
   return;
  -   // Checking for a nested /META-INF/context.xml
  +
  +// Checking for a nested /META-INF/context.xml
   JarFile jar = null;
   JarEntry entry = null;
   InputStream istream = null;
  @@ -857,7 +859,7 @@
   protected void deployDirectory(String contextPath, File dir, String file) {
   DeployedApplication deployedApp = new DeployedApplication(contextPath);
   
  -if (deployed.containsKey(contextPath))
  +if (deploymentExists(contextPath))
   return;
   
   // Deploy the application in this directory
  @@ -888,6 +890,16 @@
   deployed.put(contextPath, deployedApp);
   }
   
  +
  +/**
  + * Check if a webapp is already deployed in this host.
  + * 
  + * @param contextPath of the context which will be checked
  + */
  +protected boolean deploymentExists(String contextPath) {
  +return (deployed.containsKey(contextPath) || (host.findChild(contextPath) 
!= null));
  +}
  +
   
   /**
* Add watched resources to the specified Context.
  
  
  

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



cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup HostConfig.java Constants.java

2004-09-02 Thread remm
remm2004/09/02 03:28:00

  Modified:catalina/src/share/org/apache/catalina/startup
HostConfig.java Constants.java
  Log:
  - Put context.xml filename in the constants list.
  
  Revision  ChangesPath
  1.45  +3 -3  
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.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- HostConfig.java   2 Sep 2004 10:15:53 -   1.44
  +++ HostConfig.java   2 Sep 2004 10:28:00 -   1.45
  @@ -694,7 +694,7 @@
   if (deployXML  !xml.exists()) {
   try {
   jar = new JarFile(dir);
  -entry = jar.getJarEntry(META-INF/context.xml);
  +entry = jar.getJarEntry(Constants.ApplicationContextXml);
   if (entry != null) {
   istream = jar.getInputStream(entry);
   
  @@ -877,7 +877,7 @@
   context.setDocBase(file);
   if (deployXML) {
   context.setConfigFile
  -((new File(dir, META-INF/context.xml)).getAbsolutePath());
  +((new File(dir, 
Constants.ApplicationContextXml)).getAbsolutePath());
   }
   host.addChild(context);
   deployedApp.redeployResources.put(dir.getAbsolutePath(),
  
  
  
  1.9   +2 -1  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Constants.java
  
  Index: Constants.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Constants.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Constants.java1 Sep 2004 22:55:48 -   1.8
  +++ Constants.java2 Sep 2004 10:28:00 -   1.9
  @@ -30,6 +30,7 @@
   
   public static final String Package = org.apache.catalina.startup;
   
  +public static final String ApplicationContextXml = META-INF/context.xml;
   public static final String ApplicationWebXml = /WEB-INF/web.xml;
   public static final String DefaultContextXml = conf/context.xml;
   public static final String DefaultWebXml = conf/web.xml;
  
  
  

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



RE: [ANN] Apache Jakarta Tomcat 5.0.28 Released

2004-09-02 Thread Shapira, Yoav

Hola,
Thanks for running the TCKs ;)  Let's do a stable vote this Saturday,
9.4, as that's 28.8 + 1 week.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Amy Roh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 7:49 PM
To: Tomcat Developers List
Subject: Re: [ANN] Apache Jakarta Tomcat 5.0.28 Released

FYI, all Servlet/JSP TCKs passed on Tomcat 5.0.28 bundle.

+1 to mark it as STABLE.  :-)

Thanks,
Amy

-
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-09-02 Thread remm
remm2004/09/02 05:53:57

  Modified:webapps/docs changelog.xml
  Log:
  - Changelog update.
  
  Revision  ChangesPath
  1.98  +15 -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.97
  retrieving revision 1.98
  diff -u -r1.97 -r1.98
  --- changelog.xml 2 Sep 2004 00:47:42 -   1.97
  +++ changelog.xml 2 Sep 2004 12:53:57 -   1.98
  @@ -32,6 +32,9 @@
 update
   Tomcat 5.5 can be built on JDK 5.0. (yoavs)
 /update
  +  fix
  +Windows installer polish. (mladen, remm)
  +  /fix
   /changelog
 /subsection
   
  @@ -44,6 +47,18 @@
 update
   Backport if-else logic for SSI servlet from 4.1 (funkman)
 /update
  +  fix
  +Remove DefaultContext elements from the digester rules. (remm)
  +  /fix
  +  fix
  +Fix ResourceLink handling. (remm)
  +  /fix
  +  fix
  +Modify the auto deployer to get along with contexts which are statically 
defined in server.xml. (remm)
  +  /fix
  +  fix
  +Externalize constant strings defining the location of deployment related 
resources. (remm)
  +  /fix
   /changelog
 /subsection
   
  
  
  

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



jspc task

2004-09-02 Thread Martin Gainty
I am experiencing difficulties using the org.apache.jasper.JspC class within
jasper-compiler.jar
(any version)
Using :
  taskdef classname=org.apache.jasper.JspC name=jasper2
onerror=report
   classpath
pathelement location=${java.home}/../lib/tools.jar /
fileset dir=${tomcat_home}/server/lib
 include name=*.jar /
/fileset
fileset dir=${tomcat_home}/common/lib
 include name=*.jar /
/fileset
fileset dir=${tomcat_home}/common/lib
 include name=commons-el.jar /
/fileset
   /classpath
  /taskdef
  jasper2 classpath=${classpath} verbose=9 package=jsp
uriroot=F:/United/jsp webXmlFragment=${build.dir}/generated_web.xml
outputDir=${webapp.dir}/${webapp.name}/WEB-INF/src/my/package /
  echoAfter jasper2 has completed..onto evaluation of log file/echo
  !--jspc srcdir=${jspdir} destdir=${jspdir}/java package=jsp
failonerror=yes
classpath=F:\Tomcat\TOMCAT~2.0\JAKART~1.0\common\lib\jasper-compiler.jar;${
jasper}/lib/jaxp/jaxp.jar;${jasper}/lib/servlet-2.2.jar;C:\ORACLE91\jdev\lib
\jdev.jar;C:\ORACLE91\jlib\zrclient.jar;C:\ANT_15\jakarta-ant-1.5\lib\rwrun.
jar;${tomcat_home}\common\lib\jasper-runtime.jar;${classpath};${tomcat_home}
\bin\commons-logging-api.jar--
  !--include name=**/*.jsp /--
  !--/jspc--

jspc task does not execute as all versions of jasper-compiler.jar
produce -v0 error
downloading the source for JspC.java
and commenting out the offending -v0 code within JspC.java
//if (tok.startsWith(-)) {
//throw new JasperException(Unrecognized option:  +
tok +
//.  Use -help for help.);
//}

I was able to  get build.xml to accept taskdef which defines the new and
improved JspC.class
the taskdef jasper2 compiler now works and actually attempts to compile jsp
I have identified in srcdir
the problem is that a JasperException is thrown which halts ant
Here is the error-
F:\United\scgdev\WebDev\eFACT\build.xml:166:
org.apache.jasper.JasperException: file:F:/United/jsp/clinicalProd.jsp(16,0)
File /./includes/header.html not found
 at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:132)
 at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
 at org.apache.tools.ant.Task.perform(Task.java:364)
 at org.apache.tools.ant.Target.execute(Target.java:301)
 at org.apache.tools.ant.Target.performTasks(Target.java:328)
 at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
 at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
 at org.apache.tools.ant.Main.runBuild(Main.java:632)
 at org.apache.tools.ant.Main.startAnt(Main.java:183)
 at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
 at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
Caused by: org.apache.jasper.JasperException:
file:F:/United/jsp/clinicalProd.jsp(16,0) File /./includes/header.html not
found
 at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.
java:39)
 at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409
)
 at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:90)
 at
org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:339)
 at org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:372)
 at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:475)
 at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
 at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
 at
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:21
2)
 at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
 at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:140)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:278)
 at org.apache.jasper.JspC.processFile(JspC.java:779)
 at org.apache.jasper.JspC.execute(JspC.java:908)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:124)
 ... 10 more
--- Nested Exception ---
org.apache.jasper.JasperException: file:F:/United/jsp/clinicalProd.jsp(16,0)
File /./includes/header.html not found
 at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.
java:39)
 at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409
)
 at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:90)
 at
org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:339)
 at org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:372)
 at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:475)
 at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
 at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
 at

ajp and HTTPD 2.0.51

2004-09-02 Thread Henri Gomez
Hi to all,

Did you know if we'll see the recent ajp/mod_proxy works in the
upcoming http 2.0.51 ?

Regards.

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



cvs commit: jakarta-tomcat-5 build.xml tomcat.nsi

2004-09-02 Thread remm
remm2004/09/02 06:16:52

  Modified:.build.xml tomcat.nsi
  Log:
  - Add jmx and xerces before running tester.
  - Remove useless stuff in installer: tools.jar and the JDK path are now useless. My 
Java detection code, which has always been soso, needs
to be updated: I have JDK 1.4, JDK 5 and JRE 5, and the thing preselects JDK 1.4 
(the worst default) ;)
  
  Revision  ChangesPath
  1.207 +5 -0  jakarta-tomcat-5/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-5/build.xml,v
  retrieving revision 1.206
  retrieving revision 1.207
  diff -u -r1.206 -r1.207
  --- build.xml 2 Sep 2004 00:47:50 -   1.206
  +++ build.xml 2 Sep 2004 13:16:52 -   1.207
  @@ -1135,6 +1135,11 @@
 target name=run-tester
  description=Catalina Tests depends=dist-tester
   
  + !-- For Java 1.4 --
  + copy file=${jmx.jar} tofile=${tomcat.build}/bin/jmx.jar /
  +copy todir=${tomcat.build}/common/endorsed file=${xercesImpl.jar}/
  +copy todir=${tomcat.build}/common/endorsed file=${xml-apis.jar}/
  + 
   parallel
   
   java classname=LauncherBootstrap fork=yes
  
  
  
  1.54  +9 -19 jakarta-tomcat-5/tomcat.nsi
  
  Index: tomcat.nsi
  ===
  RCS file: /home/cvs/jakarta-tomcat-5/tomcat.nsi,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- tomcat.nsi2 Sep 2004 10:07:02 -   1.53
  +++ tomcat.nsi2 Sep 2004 13:16:52 -   1.54
  @@ -24,12 +24,12 @@
   !include MUI.nsh
   !include StrFunc.nsh
   ${StrRep}
  -  Var JavaHome

  +  Var JavaHome
   
   ;
   ;Configuration
   
  -  !define MUI_WELCOMEFINISHPAGE_BITMAP side_left.bmp 

  +  !define MUI_WELCOMEFINISHPAGE_BITMAP side_left.bmp 
 !define MUI_FINISHPAGE_SHOWREADME $INSTDIR\webapps\ROOT\RELEASE-NOTES.txt
 !define MUI_FINISHPAGE_RUN $INSTDIR\bin\tomcat5w.exe
 !define MUI_FINISHPAGE_RUN_PARAMETERS //MS//Tomcat5
  @@ -70,7 +70,7 @@
 !insertmacro MUI_UNPAGE_INSTFILES
   
 ;License dialog
  -  LicenseData License.rtf

  +  LicenseData License.rtf
   
 ;Component-selection page
   ;Descriptions
  @@ -138,16 +138,6 @@
 SetOutPath $INSTDIR\conf\Catalina\localhost
 File conf\Catalina\localhost\manager.xml
   
  -  IfSilent 0 +3
  -  Call findJavaPath
  -  Pop $2
  -
  -  IfSilent +2 0
  -  !insertmacro MUI_INSTALLOPTIONS_READ $2 jvm.ini Field 2 State
  -
  -;  CopyFiles /SILENT $2\lib\tools.jar $INSTDIR\common\lib 4500
  -  ClearErrors
  -
 Call configure
 Call findJavaPath
 Pop $2
  @@ -155,7 +145,7 @@
 IfSilent +2 0
 !insertmacro MUI_INSTALLOPTIONS_READ $2 jvm.ini Field 2 State
   
  -  StrCpy $JavaHome $2

  +  StrCpy $JavaHome $2
 Push $2
 Call findJVMPath
 Pop $2
  @@ -178,7 +168,7 @@
 IfSilent +2 0
 !insertmacro MUI_INSTALLOPTIONS_READ $2 jvm.ini Field 2 State
   
  -  StrCpy $JavaHome $2

  +  StrCpy $JavaHome $2
 Push $2
 Call findJVMPath
 Pop $2
  @@ -282,8 +272,8 @@
   SectionEnd
   
   Section -post
  -  nsExec::ExecToLog '$INSTDIR\bin\tomcat5.exe //US//Tomcat5 --Classpath 
$JavaHome\lib\tools.jar;$INSTDIR\bin\bootstrap.jar --StartClass 
org.apache.catalina.startup.Bootstrap --StopClass 
org.apache.catalina.startup.Bootstrap --StartParams start --StopParams stop  
--StartMode jvm --StopMode jvm'

  -  nsExec::ExecToLog '$INSTDIR\bin\tomcat5.exe //US//Tomcat5 --JvmOptions 
-Dcatalina.home=$INSTDIR#-Djava.endorsed.dirs=$INSTDIR\common\endorsed#-Djava.io.tmpdir=$INSTDIR\temp
 --StdOutput $INSTDIR\logs\stdout.log --StdError $INSTDIR\logs\stderr.log'

  +  nsExec::ExecToLog '$INSTDIR\bin\tomcat5.exe //US//Tomcat5 --Classpath 
;$INSTDIR\bin\bootstrap.jar --StartClass org.apache.catalina.startup.Bootstrap 
--StopClass org.apache.catalina.startup.Bootstrap --StartParams start --StopParams 
stop  --StartMode jvm --StopMode jvm'
  +  nsExec::ExecToLog '$INSTDIR\bin\tomcat5.exe //US//Tomcat5 --JvmOptions 
-Dcatalina.home=$INSTDIR#-Djava.endorsed.dirs=$INSTDIR\common\endorsed#-Djava.io.tmpdir=$INSTDIR\temp
 --StdOutput $INSTDIR\logs\stdout.log --StdError $INSTDIR\logs\stderr.log'
   
 WriteUninstaller $INSTDIR\Uninstall.exe
   
  @@ -433,7 +423,7 @@
 MessageBox MB_OK No Java Virtual Machine found.
 Quit
   NoErrors1:
  -  StrCpy $JavaHome $3

  +  StrCpy $JavaHome $3
 Push $3
 Call findJVMPath
 Pop $4
  
  
  

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



Re: ajp and HTTPD 2.0.51

2004-09-02 Thread Mladen Turk
Henri Gomez wrote:
Hi to all,
Did you know if we'll see the recent ajp/mod_proxy works in the
upcoming http 2.0.51 ?
Think no.
Seems the guys are still discussing whether it will be backported
or not. It works on 2.0 branch, so there shouldn't be a problem.
You can use the sources from 2.1, copy over and recompile.
MT.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: ajp and HTTPD 2.0.51

2004-09-02 Thread Remy Maucherat
Henri Gomez wrote:
Hi to all,
Did you know if we'll see the recent ajp/mod_proxy works in the
upcoming http 2.0.51 ?
 

I started documenting it as a httpd 2.2 feature. Feel free to update 
these pages as needed.

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


Re: ajp and HTTPD 2.0.51

2004-09-02 Thread Henri Gomez
http 2.2 or 2.1 feature ?

Well I hopped to see it in 2.0 branch, since that's the one widely
available today, 2.1 and 2.2 won't be in distributions before years ,(

On Thu, 02 Sep 2004 15:24:24 +0200, Remy Maucherat [EMAIL PROTECTED] wrote:
 
 
 Henri Gomez wrote:
 
 Hi to all,
 
 Did you know if we'll see the recent ajp/mod_proxy works in the
 upcoming http 2.0.51 ?
 
 
 I started documenting it as a httpd 2.2 feature. Feel free to update
 these pages as needed.
 
 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-5 build.xml tomcat.nsi

2004-09-02 Thread Mladen Turk
[EMAIL PROTECTED] wrote:
  - Remove useless stuff in installer: tools.jar and the JDK path are now useless.
Does it mean that the classloader is taking care of that?
Does 5_0 branch still needs the tools.jar?
Regards,
MT.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: cvs commit: jakarta-tomcat-5 build.xml tomcat.nsi

2004-09-02 Thread Remy Maucherat
Mladen Turk wrote:
[EMAIL PROTECTED] wrote:
  - Remove useless stuff in installer: tools.jar and the JDK path are 
now useless.

Does it mean that the classloader is taking care of that?
Well, there's a Java compiler bundled, so tools.jar is not needed (and 
Tomcat can now use a JRE).

Does 5_0 branch still needs the tools.jar?
Yes.
Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: ajp and HTTPD 2.0.51

2004-09-02 Thread Mladen Turk
Henri Gomez wrote:
http 2.2 or 2.1 feature ?
The 2.2 will probably be the 2.1 renamed.
Well I hopped to see it in 2.0 branch, since that's the one widely
available today, 2.1 and 2.2 won't be in distributions before years ,(
Me too, I'm still hopping it will get backported.
But there is still some unfinished stuff in the current ajp/proxy.
(I've point a few, remember?).
When we'll have that finished, together with docs, then we can shout
out loud to backport.
Regards,
MT.


smime.p7s
Description: S/MIME Cryptographic Signature


RE: Bug report for Tomcat 4 [2004/08/22] (Tomcat 4 vs tomcat 5 releases)

2004-09-02 Thread Angus Mezick
Why, if tomcat 4 is toast, and tomcat 3 is crispy, do I still get bug
summaries for them but not tomcat 5? Or 5.5?
--Angus

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Sunday, August 22, 2004 10:19 AM
 To: [EMAIL PROTECTED]
 Subject: Bug report for Tomcat 4 [2004/08/22]
 
 
 +-
 --+
 | Bugzilla Bug ID 
   |
 | 
 +-
 +
 | | Status: UNC=Unconfirmed NEW=New ASS=Assigned  
   |
 | | OPN=ReopenedVER=Verified(Skipped 
 Closed/Resolved)   |
 | |   
 +-+
 | |   | Severity: BLK=Blocker CRI=Critical
 MAJ=Major |
 | |   |   MIN=Minor   NOR=Normal  
 ENH=Enhancement   |
 | |   |   
 +-+
 | |   |   | Date Posted   
   |
 | |   |   |  
 +--+
 | |   |   |  | Description
   |
 | |   |   |  |
   |
 | 3614|Opn|Nor|2001-09-14|bug in manager webapp   
   |
 | 3839|Opn|Maj|2001-09-26|Problem bookmarking login page  
   |
 | 3888|Opn|Blk|2001-09-30|WebappClassLoader: Lifecycle error 
 : CL stopped   |
 | 4138|Opn|Nor|2001-10-12|Processor threads have inconsistent 
 ClassLoader st|
 | 4352|Ass|Nor|2001-10-22|JDBCRealm does not work with 
 CLIENT-CERT auth-meth|
 | 4663|Opn|Maj|2001-11-05|Broken Pipe under some load 
   |
 | 5329|New|Nor|2001-12-08|NT Service exits startup before 
 Tomcat is finished|
 | 5795|New|Enh|2002-01-10|Catalina Shutdown relies on 
 localhost causing prob|
 | 5829|New|Enh|2002-01-13|StandardManager needs to cope with 
 sessions throwi|
 | 5985|New|Enh|2002-01-23|Tomcat should perform a more 
 restrictive validatio|
 | 6229|New|Enh|2002-02-04|Need way to specify where to write 
 catalina.out   |
 | 6582|New|Min|2002-02-20|Sample code does not match behavior 
   |
 | 6600|Opn|Enh|2002-02-20|enodeURL adds 'jsession' when 
 'isRequestedSessionI|
 | 6614|New|Enh|2002-02-21|Have Bootstrap and 
 StandardClassLoader use the sam|
 | 6671|New|Enh|2002-02-25|Simple custom tag example uses old 
 declaration sty|
 | 7043|New|Enh|2002-03-12|database user and password for JDBC 
 Based Store   |
 | 7360|New|Nor|2002-03-22|res-sharing-scope not supported 
   |
 | 7374|New|Enh|2002-03-22|Apache Tomcat/4.0.1 message on 
 standard output|
 | 7676|New|Enh|2002-04-02|Allow name property to use match 
 experssions in h|
 | 7723|New|Enh|2002-04-03|[patch] additional factory for 
 org.apache.naming.f|
 | 7831|New|Nor|2002-04-08|[PATCH] JNDIRealm does not work 
 with CLIENT-CERT a|
 | 7880|Ver|Cri|2002-04-09|If a TLV flags flags an error 
 during the translati|
 | 8026|New|Enh|2002-04-12|Exceptions in 
 StandardHostDeployer.addChild are lo|
 | 8275|Ver|Min|2002-04-18|ContextConfig.start() attempts to 
 create a $CATALI|
 | 8323|New|Enh|2002-04-20|No support for running the 64 bit 
 JVM |
 | 8343|New|Enh|2002-04-21|adding a absorber logger class to 
 org.apache.ca|
 | 8441|New|Enh|2002-04-23|Command line files for NetWare  
   |
 | 8541|New|Nor|2002-04-26|IIS redirector URL-encodes cookie 
 values  |
 | 8705|New|Enh|2002-05-01|SessionListener should extend 
 EventListener   |
 | 8744|New|Enh|2002-05-02|No way to configure/extend runtime 
 classloaders.  |
 | 8776|New|Enh|2002-05-03|The session url encoding under 
 somce circumstances|
 | 9027|New|Cri|2002-05-13|The Tomcat Servlet Container use 
 the identity spec|
 | 9050|Ver|Nor|2002-05-13|GET Query Parameters Require an 
 Equal Sign|
 | 9227|New|Enh|2002-05-19|Allow an empty value of a pathname 
 in the Standard|
 | 9456|New|Enh|2002-05-28|Problem saving server.xml file: 
 invalid XML markup|
 | 9511|New|Enh|2002-05-30|Object instantiation optimization 
 in StandardSessi|
 | 9629|New|Enh|2002-06-05|Fix ServletContext.getResourcePaths 
 to match spec |
 | 9745|New|Enh|2002-06-10|extern cache mgt bug for 
 conditionally dynamic pag|
 | 9852|New|Enh|2002-06-13|Odd Digest and Realm Behaviour  
   |
 | 9856|New|Enh|2002-06-14|sendError(404) fails after 
 getOutputStream() is ca|
 |10021|New|Enh|2002-06-19|Include upgrade option in installer 
   |
 |10026|Opn|Nor|2002-06-19|manager/stop and manager/remove 
   |
 |10060|New|Enh|2002-06-20|Make the common and shared class 
 loaders look in c|
 |10120|New|Enh|2002-06-21|Custom realm and shared 
 instalation.  |
 |10225|New|Enh|2002-06-25|ANT Tasks Error Situation   
  

Re: cvs commit: jakarta-tomcat-5 build.xml tomcat.nsi

2004-09-02 Thread Mladen Turk
Remy Maucherat wrote:
Does it mean that the classloader is taking care of that?

Well, there's a Java compiler bundled, so tools.jar is not needed (and 
Tomcat can now use a JRE).

Wow, I'll try it then with the fresh 1.5.0-RC released today :).
Regards,
MT.


smime.p7s
Description: S/MIME Cryptographic Signature


cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup DigesterFactory.java

2004-09-02 Thread yoavs
yoavs   2004/09/02 07:20:22

  Modified:catalina/src/share/org/apache/catalina/startup
DigesterFactory.java
  Log:
  Added a Log for logging and NPE checking around null resource URLs (Bugzilla 30636)
  
  Revision  ChangesPath
  1.8   +22 -10
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/DigesterFactory.java
  
  Index: DigesterFactory.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/DigesterFactory.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- DigesterFactory.java  26 Jun 2004 17:41:31 -  1.7
  +++ DigesterFactory.java  2 Sep 2004 14:20:22 -   1.8
  @@ -32,6 +32,11 @@
* @author Jean-Francois Arcand
*/
   public class DigesterFactory {
  +/**
  + * The log.
  + */
  +   protected static org.apache.commons.logging.Log log = 
  +   org.apache.commons.logging.LogFactory.getLog(DigesterFactory.class);
   
   /**
* The XML entiry resolver used by the Digester.
  @@ -50,7 +55,7 @@
   
   /**
* Create a codeDigester/code parser with XML validation turned off.
  -* @param rule an instance of codeRule/code↔ used for parsing the xml.
  + * @param rule an instance of codeRuleSet/code used for parsing the xml.
*/
   public static Digester newDigester(RuleSet rule){
   return newDigester(false,false,rule);
  @@ -61,13 +66,11 @@
* Create a codeDigester/code parser.
* @param xmlValidation turn on/off xml validation
* @param xmlNamespaceAware turn on/off namespace validation
  - * @param rule an instance of codeRule/code↔ used for parsing the xml.
  + * @param rule an instance of codeRuleSet/code used for parsing the xml.
*/
   public static Digester newDigester(boolean xmlValidation,
  boolean xmlNamespaceAware,
  RuleSet rule) {
  -
  -URL url = null;
   Digester digester = new Digester();
   digester.setNamespaceAware(xmlNamespaceAware);
   digester.setValidating(xmlValidation);
  @@ -92,8 +95,9 @@
   registerLocalSchema();
   
   digester.setEntityResolver(schemaResolver);
  -if ( rule != null )
  +if ( rule != null ) {
   digester.addRuleSet(rule);
  +}
   
   return (digester);
   }
  @@ -166,13 +170,16 @@
   
   
   /**
  - * Load the resource and add it to the 
  + * Load the resource and add it to the resolver.
*/
   protected static void register(String resourceURL, String resourcePublicId){
  -
   URL url = DigesterFactory.class.getResource(resourceURL);
  -schemaResolver.register(resourcePublicId , url.toString() );
  -
  +   
  +if(url == null) {
  +log.warn(Could not get url for  + resourceURL);
  +} else {
  +schemaResolver.register(resourcePublicId , url.toString() );
  +}
   }
   
   
  @@ -182,7 +189,12 @@
   protected static void turnOnValidation(Digester digester){
   URL url = DigesterFactory.class
   .getResource(Constants.WebSchemaResourcePath_24);
  -digester.setSchema(url.toString()); 
  +  
  +if(url == null) {
  +log.error(Could not get url for  + 
Constants.WebSchemaResourcePath_24);
  +} else {
  +digester.setSchema(url.toString()); 
  +}
   }
   
   
  
  
  

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



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

2004-09-02 Thread yoavs
yoavs   2004/09/02 07:24:55

  Modified:catalina/src/share/org/apache/catalina/startup Tag:
TOMCAT_5_0 DigesterFactory.java
   webapps/docs Tag: TOMCAT_5_0 changelog.xml
  Log:
  Added Log and NPE checking to DigesterFactory, addressing Bugzilla 30636.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.6.2.1   +20 -6 
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/DigesterFactory.java
  
  Index: DigesterFactory.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/DigesterFactory.java,v
  retrieving revision 1.6
  retrieving revision 1.6.2.1
  diff -u -r1.6 -r1.6.2.1
  --- DigesterFactory.java  27 May 2004 14:51:00 -  1.6
  +++ DigesterFactory.java  2 Sep 2004 14:24:54 -   1.6.2.1
  @@ -32,6 +32,11 @@
* @author Jean-Francois Arcand
*/
   public class DigesterFactory {
  +/**
  + * Log for logging ;)
  + */
  +private static org.apache.commons.logging.Log = 
  +org.apache.commons.logging.LogFactory.getLog(DigesterFactory.class);
   
   /**
* The XML entiry resolver used by the Digester.
  @@ -50,7 +55,7 @@
   
   /**
* Create a codeDigester/code parser with XML validation turned off.
  -* @param rule an instance of codeRule/code↔ used for parsing the xml.
  + * @param rule an instance of codeRuleSet/code used for parsing the xml.
*/
   public static Digester newDigester(RuleSet rule){
   return newDigester(false,false,rule);
  @@ -61,7 +66,7 @@
* Create a codeDigester/code parser.
* @param xmlValidation turn on/off xml validation
* @param xmlNamespaceAware turn on/off namespace validation
  - * @param rule an instance of codeRule/code↔ used for parsing the xml.
  + * @param rule an instance of codeRuleSet/code used for parsing the xml.
*/
   public static Digester newDigester(boolean xmlValidation,
  boolean xmlNamespaceAware,
  @@ -92,8 +97,9 @@
   registerLocalSchema();
   
   digester.setEntityResolver(schemaResolver);
  -if ( rule != null )
  +if ( rule != null ) {
   digester.addRuleSet(rule);
  +}
   
   return (digester);
   }
  @@ -169,10 +175,13 @@
* Load the resource and add it to the 
*/
   protected static void register(String resourceURL, String resourcePublicId){
  -
   URL url = DigesterFactory.class.getResource(resourceURL);
  -schemaResolver.register(resourcePublicId , url.toString() );
   
  +if(url == null) {
  +log.warn(Could not get url for  + resourceURL);
  +} else {
  +schemaResolver.register(resourcePublicId , url.toString() );
  +}
   }
   
   
  @@ -182,7 +191,12 @@
   protected static void turnOnValidation(Digester digester){
   URL url = DigesterFactory.class
   .getResource(Constants.WebSchemaResourcePath_24);
  -digester.setSchema(url.toString()); 
  +
  +if(url == null) {
  +log.error(Could not get url for  + 
Constants.WebSchemaResourcePath_24);
  +} else {
  +digester.setSchema(url.toString()); 
  +}
   }
   
   
  
  
  
  No   revision
  No   revision
  1.70.2.25 +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.24
  retrieving revision 1.70.2.25
  diff -u -r1.70.2.24 -r1.70.2.25
  --- changelog.xml 2 Sep 2004 01:10:56 -   1.70.2.24
  +++ changelog.xml 2 Sep 2004 14:24:54 -   1.70.2.25
  @@ -54,6 +54,9 @@
 fix
   bug31001/bug: Missing domain attribute in MBean description for 
createStandardService. (yoavs)
 /fix
  +  fix
  +bug30636/bug: NPE in DigesterFactory when resources cannot be located. 
(yoavs)
  +  /fix
   /changelog
 /subsection
 subsection name=Webapps
  
  
  

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



Re: Time for 2.0.51 and 2.1.0

2004-09-02 Thread Henri Gomez
Bad news for me and many others since without AJP support included in
2.0.x, users will still require to have mod_jk to link there HTTPD to
Tomcats.

Could we hope the dev team to relax the situation for mod_proxy/ajp in
future 2.0.x release, since Graham, Mladen and Jean-Frederic works
hard to make mod_proxy as stable as possible even now with AJP support
?

Regards

On Thu, 02 Sep 2004 08:59:55 -0500, William A. Rowe, Jr.
[EMAIL PROTECTED] wrote:
 
 
 At 07:55 AM 9/2/2004, Henri Gomez wrote:
 Should we see the works on mod_proxy and ajp support in the upcoming 2.0.51 ?
 
 No, not in 2.0.51 (and to your following question of 2.0.x later
 releases, also likely no.)
 
 Yes, in 2.1.0.
 
 It was commented that mod_proxy is becoming quite stable - bug
 fixes are being backported but in general, a good number of the
 developers are focusing their efforts at getting the first 2.1.x
 unstable release out the door, and working on mod_cache and other
 issues to get a 2.2.0 general release out the door.
 
 By releasing 2.1-dev several times, those users interested in
 proxy_ajp and other new proxy features can help shake out the
 issues before this code is branded 2.2.
 
 The focus for 2.0.x is bug fixes, and 2.2.0 is the next major
 feature release.  It's evens/odds versioning between stable
 and unstable development code.  With the change, the API of
 both 2.0 and 2.2 should be stable for developers.  The changes
 in mod_proxy don't lend themselves to binary compatibility
 with any third party extensions developers had built around
 2.0 mod_proxy.
 
 Bill
 


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



DO NOT REPLY [Bug 30636] - NullPointerException in DigesterFactory

2004-09-02 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=30636.
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=30636

NullPointerException in DigesterFactory

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-09-02 14:28 ---
Added Log and NPE checking to DigesterFactory.  Thanks.

-
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-09-02 Thread yoavs
yoavs   2004/09/02 08:19:27

  Modified:catalina/src/share/org/apache/catalina/startup Tag:
TOMCAT_5_0 DigesterFactory.java
   webapps/docs Tag: TOMCAT_5_0 changelog.xml
   jasper2/src/share/org/apache/jasper Tag: TOMCAT_5_0
EmbeddedServletOptions.java JspC.java Options.java
   jasper2/src/share/org/apache/jasper/compiler Tag: TOMCAT_5_0
Compiler.java
  Log:
  Added compilerTargetVM option to allow passing javac a target (1.1, 1.2, 1.3, 1.4 
etc.)
  argument.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.6.2.2   +1 -1  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/DigesterFactory.java
  
  Index: DigesterFactory.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/DigesterFactory.java,v
  retrieving revision 1.6.2.1
  retrieving revision 1.6.2.2
  diff -u -r1.6.2.1 -r1.6.2.2
  --- DigesterFactory.java  2 Sep 2004 14:24:54 -   1.6.2.1
  +++ DigesterFactory.java  2 Sep 2004 15:19:26 -   1.6.2.2
  @@ -35,7 +35,7 @@
   /**
* Log for logging ;)
*/
  -private static org.apache.commons.logging.Log = 
  +private static org.apache.commons.logging.Log log = 
   org.apache.commons.logging.LogFactory.getLog(DigesterFactory.class);
   
   /**
  
  
  
  No   revision
  No   revision
  1.70.2.26 +7 -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.25
  retrieving revision 1.70.2.26
  diff -u -r1.70.2.25 -r1.70.2.26
  --- changelog.xml 2 Sep 2004 14:24:54 -   1.70.2.25
  +++ changelog.xml 2 Sep 2004 15:19:26 -   1.70.2.26
  @@ -66,6 +66,13 @@
 /fix
   /changelog
 /subsection
  +  subsection name=Jasper
  +changelog
  +  fix
  +bug30984/bug: Added compilerTargetVM option to Jasper. (yoavs)
  +  /fix
  +/changelog
  +  /subsection
   /section
   
   section name=Tomcat 5.0.28 (yoavs)
  
  
  
  No   revision
  No   revision
  1.10.2.1  +16 -0 
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.10
  retrieving revision 1.10.2.1
  diff -u -r1.10 -r1.10.2.1
  --- EmbeddedServletOptions.java   17 Mar 2004 19:23:03 -  1.10
  +++ EmbeddedServletOptions.java   2 Sep 2004 15:19:26 -   1.10.2.1
  @@ -139,6 +139,11 @@
   private String compiler = null;
   
   /**
  + * The compiler target VM (1.2 by default).
  + */
  +private String compilerTargetVM = 1.2;
  +
  +/**
* Cache for the TLD locations
*/
   private TldLocationsCache tldLocationsCache = null;
  @@ -291,6 +296,13 @@
   return compiler;
   }
   
  +/**
  + * @see Options#getCompilerTargetVM
  + */
  +public String getCompilerTargetVM() {
  +return compilerTargetVM;
  +}
  +
   public boolean getErrorOnUseBeanInvalidClassAttribute() {
   return errorOnUseBeanInvalidClassAttribute;
   }
  @@ -553,6 +565,10 @@
   scratchDir.getAbsolutePath()));
 
   this.compiler = config.getInitParameter(compiler);
  +compilerTargetVM = config.getInitParameter(compilerTargetVM);
  +if(compilerTargetVM != null) {
  +this.compilerTargetVM = compilerTargetVM;
  +}
   
   String javaEncoding = config.getInitParameter(javaEncoding);
   if (javaEncoding != null) {
  
  
  
  1.80.2.1  +17 -0 
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java
  
  Index: JspC.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java,v
  retrieving revision 1.80
  retrieving revision 1.80.2.1
  diff -u -r1.80 -r1.80.2.1
  --- JspC.java 16 Jun 2004 14:20:17 -  1.80
  +++ JspC.java 2 Sep 2004 15:19:26 -   1.80.2.1
  @@ -142,7 +142,10 @@
   private int dieLevel;
   private boolean helpNeeded = false;
   private boolean compile = false;
  +
   private String compiler = null;
  +private String compilerTargetVM = 1.2;
  +
   private boolean classDebugInfo = true;
   private Vector extensions;
   private Vector 

DO NOT REPLY [Bug 31017] New: - jsvc-src AUToCONF Bug

2004-09-02 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=31017.
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=31017

 jsvc-src AUToCONF Bug

   Summary:  jsvc-src AUToCONF Bug
   Product: Tomcat 5
   Version: 5.5.0
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Unknown
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I ran this command and received the error.  this is on RH 2.1 ES Linux

[EMAIL PROTECTED] jsvc-src]# sh support/buildconf.sh
autoconf: Undefined macros:
***BUG in Autoconf--please report*** AC_PATH
***BUG in Autoconf--please report*** AC_PATH
***BUG in Autoconf--please report*** AC_PATH
***BUG in Autoconf--please report*** AC_PATH
***BUG in Autoconf--please report*** AC_PATH
***BUG in Autoconf--please report*** AC_PATH
***BUG in Autoconf--please report*** AC_PATH
***BUG in Autoconf--please report*** AC_PATH
***BUG in Autoconf--please report*** AC_PATH
***BUG in Autoconf--please report*** AC_PATH
***BUG in Autoconf--please report*** AC_PATH
support/buildconf.sh: cannot generate configure script

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



DO NOT REPLY [Bug 31018] New: - Race condition in SystemLogHandler.java

2004-09-02 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=31018.
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=31018

Race condition in SystemLogHandler.java

   Summary: Race condition in SystemLogHandler.java
   Product: Tomcat 5
   Version: 5.0.28
  Platform: Other
OS/Version: All
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Unknown
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


The org.apache.tomcat.util.log.SystemLogHandler class (source code in
jakarta-tomcat-connectors) handles, among other things, capturing of
System.out and System.err so that they can be redirected to an
application's log file.  It makes use of another class (CaptureLog) to
hold the captured data, and maintains a stack of unused CaptureLog
instances to avoid creating new ones where possible.

This reuse stack is global to the class and it looks like the use of
it is not thread-safe.  The startCapture() method acquires a
CaptureLog() this way:

if (!reuse.isEmpty()) {
log = (CaptureLog)reuse.pop();
} else {
log = new CaptureLog();
}

There's a race between the call to isEmpty() and the call to pop().
We've been able to reliably elicit a java.util.EmptyStackException at
this point with an application under heavy load.

Replacing the above code with

synchronized (reuse) {
log = reuse.isEmpty() ? new CaptureLog() : (CaptureLog)reuse.pop();
}

eliminates the problem (with no effect on performance that we could
observe).

An alternative approach might be to catch the (rare)
EmptyStackException and treat it as equivalent to the isEmpty==true
case, but this seems cleaner.

There would seem to be no need to synchronize the code that pushes
old CaptureLog instances onto the reuse stack since java.util.Stack
is already synchronized.

-
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-09-02 Thread yoavs
yoavs   2004/09/02 09:05:07

  Modified:jasper2/src/share/org/apache/jasper
EmbeddedServletOptions.java JspC.java Options.java
   jasper2/src/share/org/apache/jasper/compiler
AntCompiler.java JDTCompiler.java
  Log:
  Added compilerTargetVM option support, 1.4 default.
  
  Revision  ChangesPath
  1.13  +17 -0 
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.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- EmbeddedServletOptions.java   1 Sep 2004 22:54:13 -   1.12
  +++ EmbeddedServletOptions.java   2 Sep 2004 16:05:06 -   1.13
  @@ -139,6 +139,11 @@
   private String compiler = null;
   
   /**
  + * Compiler target VM.
  + */
  +private String compilerTargetVM = 1.4;
  +
  +/**
* Cache for the TLD locations
*/
   private TldLocationsCache tldLocationsCache = null;
  @@ -291,6 +296,13 @@
   return compiler;
   }
   
  +/**
  + * @see Options#getCompilerTargetVM
  + */
  +public String getCompilerTargetVM() {
  +return compilerTargetVM;
  +}
  +
   public boolean getErrorOnUseBeanInvalidClassAttribute() {
   return errorOnUseBeanInvalidClassAttribute;
   }
  @@ -553,6 +565,11 @@
   scratchDir.getAbsolutePath()));
 
   this.compiler = config.getInitParameter(compiler);
  +
  +String compilerTargetVM = config.getInitParameter(compilerTargetVM);
  +if(compilerTargetVM != null) {
  +this.compilerTargetVM = compilerTargetVM;
  +}
   
   String javaEncoding = config.getInitParameter(javaEncoding);
   if (javaEncoding != null) {
  
  
  
  1.81  +15 -0 
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java
  
  Index: JspC.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java,v
  retrieving revision 1.80
  retrieving revision 1.81
  diff -u -r1.80 -r1.81
  --- JspC.java 16 Jun 2004 14:20:17 -  1.80
  +++ JspC.java 2 Sep 2004 16:05:06 -   1.81
  @@ -142,7 +142,11 @@
   private int dieLevel;
   private boolean helpNeeded = false;
   private boolean compile = false;
  +
   private String compiler = null;
  +
  +private String compilerTargetVM = 1.4;
  +
   private boolean classDebugInfo = true;
   private Vector extensions;
   private Vector pages = new Vector();
  @@ -460,6 +464,17 @@
   
   public void setCompiler(String c) {
   compiler=c;
  +}
  +
  +/**
  + * @see Options#getCompilerTargetVM
  + */
  +public String getCompilerTargetVM() {
  +return compilerTargetVM;
  +}
  +
  +public void setCompileTargetVM(String vm) {
  +compilerTargetVM = vm;
   }
   
   public TldLocationsCache getTldLocationsCache() {
  
  
  
  1.24  +5 -0  
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/Options.java
  
  Index: Options.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/Options.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- Options.java  17 Mar 2004 19:23:03 -  1.23
  +++ Options.java  2 Sep 2004 16:05:06 -   1.24
  @@ -117,6 +117,11 @@
   public String getCompiler();
   
   /**
  + * The compiler target VM, e.g. 1.1, 1.2, 1.3, or 1.4.
  + */
  +public String getCompilerTargetVM();
  +
  +/**
* The cache for the location of the TLD's
* for the various tag libraries 'exposed'
* by the web application.
  
  
  
  1.2   +5 -0  
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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AntCompiler.java  16 Aug 2004 23:48:35 -  1.1
  +++ AntCompiler.java  2 Sep 2004 16:05:06 -   1.2
  @@ -170,6 +170,11 @@
   javac.setCompiler(options.getCompiler());
   info.append(compiler= + options.getCompiler() + \n);
   }
  +
  +if (options.getCompilerTargetVM() != null) {
  +javac.setTarget(options.getCompilerTargetVM());
  +

Sandra Lee/AdminHO/CMS/CANON_AP/SG is out of the office.

2004-09-02 Thread sandra_lee
I will be out of the office starting  09/03/2004 and will not return until
09/06/2004.

I will respond to your message when I return.


---
Important : This message is intended for the recipient(s) addressed
above. It contains privileged and confidential information.  If you
are not the intended recipient, kindly notify the sender immediately
 by replying to this message and then delete it from your system.
You must not read,  copy,  use,  disseminate,  disclose,  retain or
reproduce all or any part of the information or any attachments
from this communication in any form. Thank you.

Disclaimer  : Email communications are not secure.  While we have
taken every  reasonable effort  to ensure that this  communication
has not been tampered with,  Canon is not responsible for any changes
made to the contents of or any attachments to this message without its
consent.  If you wish to receive a hard copy of this  message to verify
the accuracy of the contents thereof, please contact the sender. Note
that only views,  opinions or such other  information contained in this
message that relate to the official business of Canon is to be taken to
have been sent by  and on behalf of Canon.  All opinions,  conclusions
and other  information  expressed in  this message  not of an official
nature  shall  not be  deemed  as  given  or  endorsed  by  Canon unless
otherwise indicated by an authorized  representative  independent of
this message.



-
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 JspC.java

2004-09-02 Thread yoavs
yoavs   2004/09/02 09:08:03

  Modified:jasper2/src/share/org/apache/jasper Tag: TOMCAT_5_0
EmbeddedServletOptions.java JspC.java
  Log:
  Made default target 1.3 instead of 1.2 and cleaned up a typo bug in reading the 
property for EmbeddedServletOptions.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.10.2.2  +4 -3  
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.10.2.1
  retrieving revision 1.10.2.2
  diff -u -r1.10.2.1 -r1.10.2.2
  --- EmbeddedServletOptions.java   2 Sep 2004 15:19:26 -   1.10.2.1
  +++ EmbeddedServletOptions.java   2 Sep 2004 16:08:03 -   1.10.2.2
  @@ -139,9 +139,9 @@
   private String compiler = null;
   
   /**
  - * The compiler target VM (1.2 by default).
  + * The compiler target VM (1.3 by default).
*/
  -private String compilerTargetVM = 1.2;
  +private String compilerTargetVM = 1.3;
   
   /**
* Cache for the TLD locations
  @@ -565,7 +565,8 @@
   scratchDir.getAbsolutePath()));
 
   this.compiler = config.getInitParameter(compiler);
  -compilerTargetVM = config.getInitParameter(compilerTargetVM);
  +
  +String compilerTargetVM = config.getInitParameter(compilerTargetVM);
   if(compilerTargetVM != null) {
   this.compilerTargetVM = compilerTargetVM;
   }
  
  
  
  1.80.2.2  +1 -1  
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java
  
  Index: JspC.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java,v
  retrieving revision 1.80.2.1
  retrieving revision 1.80.2.2
  diff -u -r1.80.2.1 -r1.80.2.2
  --- JspC.java 2 Sep 2004 15:19:26 -   1.80.2.1
  +++ JspC.java 2 Sep 2004 16:08:03 -   1.80.2.2
  @@ -144,7 +144,7 @@
   private boolean compile = false;
   
   private String compiler = null;
  -private String compilerTargetVM = 1.2;
  +private String compilerTargetVM = 1.3;
   
   private boolean classDebugInfo = true;
   private Vector extensions;
  
  
  

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



DO NOT REPLY [Bug 30984] - Add an ability to compile JSPs to specified target JVM

2004-09-02 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=30984.
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=30984

Add an ability to compile JSPs to specified target JVM

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-09-02 16:10 ---
OK, added compilerTargetVM option to JspServlet and JspC.

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



Sandra Lee/AdminHO/CMS/CANON_AP/SG is out of the office.

2004-09-02 Thread sandra_lee
I will be out of the office starting  09/03/2004 and will not return until
09/06/2004.

I will respond to your message when I return.


---
Important : This message is intended for the recipient(s) addressed
above. It contains privileged and confidential information.  If you
are not the intended recipient, kindly notify the sender immediately
 by replying to this message and then delete it from your system.
You must not read,  copy,  use,  disseminate,  disclose,  retain or
reproduce all or any part of the information or any attachments
from this communication in any form. Thank you.

Disclaimer  : Email communications are not secure.  While we have
taken every  reasonable effort  to ensure that this  communication
has not been tampered with,  Canon is not responsible for any changes
made to the contents of or any attachments to this message without its
consent.  If you wish to receive a hard copy of this  message to verify
the accuracy of the contents thereof, please contact the sender. Note
that only views,  opinions or such other  information contained in this
message that relate to the official business of Canon is to be taken to
have been sent by  and on behalf of Canon.  All opinions,  conclusions
and other  information  expressed in  this message  not of an official
nature  shall  not be  deemed  as  given  or  endorsed  by  Canon unless
otherwise indicated by an authorized  representative  independent of
this message.



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



Sandra Lee/AdminHO/CMS/CANON_AP/SG is out of the office.

2004-09-02 Thread sandra_lee
I will be out of the office starting  09/03/2004 and will not return until
09/06/2004.

I will respond to your message when I return.


---
Important : This message is intended for the recipient(s) addressed
above. It contains privileged and confidential information.  If you
are not the intended recipient, kindly notify the sender immediately
 by replying to this message and then delete it from your system.
You must not read,  copy,  use,  disseminate,  disclose,  retain or
reproduce all or any part of the information or any attachments
from this communication in any form. Thank you.

Disclaimer  : Email communications are not secure.  While we have
taken every  reasonable effort  to ensure that this  communication
has not been tampered with,  Canon is not responsible for any changes
made to the contents of or any attachments to this message without its
consent.  If you wish to receive a hard copy of this  message to verify
the accuracy of the contents thereof, please contact the sender. Note
that only views,  opinions or such other  information contained in this
message that relate to the official business of Canon is to be taken to
have been sent by  and on behalf of Canon.  All opinions,  conclusions
and other  information  expressed in  this message  not of an official
nature  shall  not be  deemed  as  given  or  endorsed  by  Canon unless
otherwise indicated by an authorized  representative  independent of
this message.



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



Sandra Lee/AdminHO/CMS/CANON_AP/SG is out of the office.

2004-09-02 Thread sandra_lee
I will be out of the office starting  09/03/2004 and will not return until
09/06/2004.

I will respond to your message when I return.


---
Important : This message is intended for the recipient(s) addressed
above. It contains privileged and confidential information.  If you
are not the intended recipient, kindly notify the sender immediately
 by replying to this message and then delete it from your system.
You must not read,  copy,  use,  disseminate,  disclose,  retain or
reproduce all or any part of the information or any attachments
from this communication in any form. Thank you.

Disclaimer  : Email communications are not secure.  While we have
taken every  reasonable effort  to ensure that this  communication
has not been tampered with,  Canon is not responsible for any changes
made to the contents of or any attachments to this message without its
consent.  If you wish to receive a hard copy of this  message to verify
the accuracy of the contents thereof, please contact the sender. Note
that only views,  opinions or such other  information contained in this
message that relate to the official business of Canon is to be taken to
have been sent by  and on behalf of Canon.  All opinions,  conclusions
and other  information  expressed in  this message  not of an official
nature  shall  not be  deemed  as  given  or  endorsed  by  Canon unless
otherwise indicated by an authorized  representative  independent of
this message.



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



Sandra Lee/AdminHO/CMS/CANON_AP/SG is out of the office.

2004-09-02 Thread sandra_lee
I will be out of the office starting  09/03/2004 and will not return until
09/06/2004.

I will respond to your message when I return.


---
Important : This message is intended for the recipient(s) addressed
above. It contains privileged and confidential information.  If you
are not the intended recipient, kindly notify the sender immediately
 by replying to this message and then delete it from your system.
You must not read,  copy,  use,  disseminate,  disclose,  retain or
reproduce all or any part of the information or any attachments
from this communication in any form. Thank you.

Disclaimer  : Email communications are not secure.  While we have
taken every  reasonable effort  to ensure that this  communication
has not been tampered with,  Canon is not responsible for any changes
made to the contents of or any attachments to this message without its
consent.  If you wish to receive a hard copy of this  message to verify
the accuracy of the contents thereof, please contact the sender. Note
that only views,  opinions or such other  information contained in this
message that relate to the official business of Canon is to be taken to
have been sent by  and on behalf of Canon.  All opinions,  conclusions
and other  information  expressed in  this message  not of an official
nature  shall  not be  deemed  as  given  or  endorsed  by  Canon unless
otherwise indicated by an authorized  representative  independent of
this message.



-
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 JDTCompiler.java

2004-09-02 Thread remm
remm2004/09/02 09:28:07

  Modified:jasper2/src/share/org/apache/jasper/compiler
JDTCompiler.java
  Log:
  - Ignore warnings. They are reported as problems, and since there was no code 
separating errors from warnings (ex: the bad import warning
for which Eclipse is known for ;) ), it was causing compilation to fail.
  
  Revision  ChangesPath
  1.3   +12 -9 
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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- JDTCompiler.java  2 Sep 2004 16:05:06 -   1.2
  +++ JDTCompiler.java  2 Sep 2004 16:28:07 -   1.3
  @@ -314,17 +314,20 @@
   IProblem[] problems = result.getProblems();
   for (int i = 0; i  problems.length; i++) {
   IProblem problem = problems[i];
  -String name = 
  -new 
String(problems[i].getOriginatingFileName());
  -try {
  -problemList.add(ErrorDispatcher.createJavacError
  -(name, pageNodes, new 
StringBuffer(problem.getMessage()), 
  -problem.getSourceLineNumber()));
  -} catch (JasperException e) {
  -log.error(Error visiting node, e);
  +if (problem.isError()) {
  +String name = 
  +new 
String(problems[i].getOriginatingFileName());
  +try {
  +
problemList.add(ErrorDispatcher.createJavacError
  +(name, pageNodes, new 
StringBuffer(problem.getMessage()), 
  +
problem.getSourceLineNumber()));
  +} catch (JasperException e) {
  +log.error(Error visiting node, e);
  +}
   }
   }
  -} else {
  +}
  +if (problemList.isEmpty()) {
   ClassFile[] classFiles = result.getClassFiles();
   for (int i = 0; i  classFiles.length; i++) {
   ClassFile classFile = classFiles[i];
  
  
  

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



Re: Time for 2.0.51 and 2.1.0

2004-09-02 Thread William A. Rowe, Jr.
At 09:25 AM 9/2/2004, Henri Gomez wrote:
Bad news for me and many others since without AJP support included in
2.0.x, users will still require to have mod_jk to link there HTTPD to
Tomcats.

Could we hope the dev team to relax the situation for mod_proxy/ajp in
future 2.0.x release, since Graham, Mladen and Jean-Frederic works
hard to make mod_proxy as stable as possible even now with AJP support
?

Henri, meaning no disrespect to this team (they have accomplished some
fantastic things) ... it took us a very long time to beyond the initial
release to get proxy to something resembling the stability of 1.3, and
mod_cache is still getting there.

Admins understand why n.x - (n+1).0 can sometimes break things.
That's the natural aversion to .0 releases.  They can even understand
if n.x.z - n.(x+1).0 breaks things.  But please don't expect them
to sympathize when n.x.z - n.x.(z+1) starts breaking things, this
undermines the confidence in one of the most successful open source
projects in the world.

When we say x.even releases are -stable- we mean, don't expect things
to break when you upgrade.  When we say x.odd releases are development,
that means ya - it might break on a point bump, live with it and let
us know so the subsequent x.even release is golden.

We are trying to move from the 1.3 and early 2.0 models of change 
this, dabble in that, add this, break that and keep the users 
chasing a moving target.  The beginnings of the 2.0 release were
pretty violent in terms of the changes needed to move from 2.0.36 
to 2.0.39 to 2.0.43, and it didn't do alot for us in terms of
uptake for the httpd-2 server.  Since .43 the consistency has
changed alot - and we want to continue to improve the quality,
and not introduce potentially shaky changes.

You have a simple option though - grab 2.0.  Replace the modules/proxy/
tree with 2.1-dev and voila - buildconf - configure - make install.
Or use 2.1-dev and help the effort of identifying when 2.1-dev reaches
release quality.  Mladen provided both alternatives in the current mod.

Bill



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



Re: Time for 2.0.51 and 2.1.0

2004-09-02 Thread Mladen Turk
William A. Rowe, Jr. wrote:
Bad news for me and many others since without AJP support included in
2.0.x, users will still require to have mod_jk to link there HTTPD to
Tomcats.
Could we hope the dev team to relax the situation for mod_proxy/ajp in
future 2.0.x release
Admins understand why n.x - (n+1).0 can sometimes break things.
That's the natural aversion to .0 releases.  They can even understand
if n.x.z - n.(x+1).0 breaks things.  But please don't expect them
to sympathize when n.x.z - n.x.(z+1) starts breaking things, this
undermines the confidence in one of the most successful open source
projects in the world.
Although I'm not very happy with that, I must say that you hold
'all the aces' :).
The major problem is how to prove the new proxy stuff is stable
enough. Obviously we need a 2.1 release that will
'stick around' for a while, and prove the module's stability.
Further more, all this really looks like a 'killer' 2.1 feature,
with all that protocol and dynamic balancing stuff included.
What I'm concerned about right now is not whether it will be
backported or not, but rather does it works or not. The backport
discussion will be irrelevant when the later gets resolved.
You have a simple option though - grab 2.0.  Replace the modules/proxy/
tree with 2.1-dev and voila - buildconf - configure - make install.
Or use 2.1-dev and help the effort of identifying when 2.1-dev reaches
release quality.  Mladen provided both alternatives in the current mod.
We can even put some documentation about that to the jakarta site.
Since we have more then enthusiastic user base, I'm sure we'll receive
a lots of valuable real-world test's. But again, we may also encourage
users to use it's 'native' environment (being 2.1).
Regards,
MT.


smime.p7s
Description: S/MIME Cryptographic Signature


DO NOT REPLY [Bug 25750] - Cannot find server Errors

2004-09-02 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=25750.
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=25750

Cannot find server Errors

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX



--- Additional Comments From [EMAIL PROTECTED]  2004-09-02 18:19 ---
No response after two months. Without information, this can't be investigated.

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



DO NOT REPLY [Bug 25354] - Problem with servlet 2.3, filters servlet or jsp !

2004-09-02 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=25354.
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=25354

Problem with servlet 2.3, filters servlet or jsp !

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX



--- Additional Comments From [EMAIL PROTECTED]  2004-09-02 18:21 ---
No resposne for two months. Without a test case, this will not be addressed.

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



DO NOT REPLY [Bug 24538] - JasperException: file.jsp(x,y) equal symbol expected refers to incorrect location

2004-09-02 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=24538.
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=24538

JasperException: file.jsp(x,y) equal symbol expected refers to incorrect location

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX



--- Additional Comments From [EMAIL PROTECTED]  2004-09-02 18:24 ---
No response after two months. Without the requested information, this bug will 
not be addressed.

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



DO NOT REPLY [Bug 30309] - Clarify error message

2004-09-02 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=30309.
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=30309

Clarify error message

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2004-09-02 18:38 ---
I guess not ;)

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



cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/util CustomObjectInputStream.java

2004-09-02 Thread markt
markt   2004/09/02 11:45:17

  Modified:.RELEASE-NOTES-4.1.txt
   catalina/src/share/org/apache/catalina/util
CustomObjectInputStream.java
  Log:
  Fix bug 19701. Unable to serialize array of custom class
   - Port of Remy's fix in TC5 for bug 22146
  
  Revision  ChangesPath
  1.88  +5 -1  jakarta-tomcat-4.0/RELEASE-NOTES-4.1.txt
  
  Index: RELEASE-NOTES-4.1.txt
  ===
  RCS file: /home/cvs/jakarta-tomcat-4.0/RELEASE-NOTES-4.1.txt,v
  retrieving revision 1.87
  retrieving revision 1.88
  diff -u -r1.87 -r1.88
  --- RELEASE-NOTES-4.1.txt 30 Aug 2004 20:00:26 -  1.87
  +++ RELEASE-NOTES-4.1.txt 2 Sep 2004 18:45:17 -   1.88
  @@ -1242,6 +1242,10 @@
Incorrect handling of negative timeout in
SingleSignOn.sessionEvent()
   
  +[4.1.31] #19701
  + Session persistence
  + Fix serialization of array of custom class
  +
   
   
   Coyote Bug Fixes:
  
  
  
  1.4   +10 -10
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/util/CustomObjectInputStream.java
  
  Index: CustomObjectInputStream.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/util/CustomObjectInputStream.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- CustomObjectInputStream.java  26 Aug 2004 21:42:40 -  1.3
  +++ CustomObjectInputStream.java  2 Sep 2004 18:45:17 -   1.4
  @@ -26,9 +26,9 @@
* class loader for this web application.  This allows classes defined only
* with the web application to be found correctly.
*
  - * @@author Craig R. McClanahan
  - * @@author Bip Thelin
  - * @@version $Revision$, $Date$
  + * @author Craig R. McClanahan
  + * @author Bip Thelin
  + * @version $Revision$, $Date$
*/
   
   public final class CustomObjectInputStream
  @@ -43,10 +43,10 @@
   /**
* Construct a new instance of CustomObjectInputStream
*
  - * @@param stream The input stream we will read from
  - * @@param classLoader The class loader used to instantiate objects
  + * @param stream The input stream we will read from
  + * @param classLoader The class loader used to instantiate objects
*
  - * @@exception IOException if an input/output error occurs
  + * @exception IOException if an input/output error occurs
*/
   public CustomObjectInputStream(InputStream stream,
  ClassLoader classLoader)
  @@ -60,14 +60,14 @@
* Load the local class equivalent of the specified stream class
* description, by using the class loader assigned to this Context.
*
  - * @@param classDesc Class description from the input stream
  + * @param classDesc Class description from the input stream
*
  - * @@exception ClassNotFoundException if this class cannot be found
  - * @@exception IOException if an input/output error occurs
  + * @exception ClassNotFoundException if this class cannot be found
  + * @exception IOException if an input/output error occurs
*/
   public Class resolveClass(ObjectStreamClass classDesc)
   throws ClassNotFoundException, IOException {
   
  -return (classLoader.loadClass(classDesc.getName()));
  +return Class.forName(classDesc.getName(), false, classLoader);
   }
   }
  
  
  

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



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

2004-09-02 Thread yoavs
yoavs   2004/09/02 11:45:38

  Modified:catalina/src/share/org/apache/catalina/startup Tag:
TOMCAT_5_0 SetDocBaseRule.java
   webapps/docs Tag: TOMCAT_5_0 changelog.xml
  Log:
  Fixed Bugzilla 30415, a dubious use case.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.13.2.1  +2 -1  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Attic/SetDocBaseRule.java
  
  Index: SetDocBaseRule.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Attic/SetDocBaseRule.java,v
  retrieving revision 1.13
  retrieving revision 1.13.2.1
  diff -u -r1.13 -r1.13.2.1
  --- SetDocBaseRule.java   26 May 2004 16:16:50 -  1.13
  +++ SetDocBaseRule.java   2 Sep 2004 18:45:38 -   1.13.2.1
  @@ -120,7 +120,8 @@
   docBase = file.getCanonicalPath();
   }
   
  -if (docBase.toLowerCase().endsWith(.war)) {
  +if ((docBase.toLowerCase().endsWith(.war)) 
  +(file.isFile())) {
   URL war = new URL(jar: + (new File(docBase)).toURL() + !/);
   String contextPath = child.getPath();
   if (contextPath.equals()) {
  
  
  
  No   revision
  No   revision
  1.70.2.27 +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.26
  retrieving revision 1.70.2.27
  diff -u -r1.70.2.26 -r1.70.2.27
  --- changelog.xml 2 Sep 2004 15:19:26 -   1.70.2.26
  +++ changelog.xml 2 Sep 2004 18:45:38 -   1.70.2.27
  @@ -57,6 +57,9 @@
 fix
   bug30636/bug: NPE in DigesterFactory when resources cannot be located. 
(yoavs)
 /fix
  +  fix
  +bug30415/bug: Directories ending in .war not handled well. (yoavs)
  +  /fix
   /changelog
 /subsection
 subsection name=Webapps
  
  
  

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



DO NOT REPLY [Bug 19701] - array of custom class cannot be serialized in session persistance

2004-09-02 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=19701.
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=19701

array of custom class cannot be serialized in session persistance

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-09-02 18:47 ---
OK. I have ported the patch and it will be included in the upcoming 4.1.31 
release.

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



DO NOT REPLY [Bug 30415] - DocBase folders that end with .war are incorrectly handled as WAR files

2004-09-02 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=30415.
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=30415

DocBase folders that end with .war are incorrectly handled as WAR files

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-09-02 18:47 ---
Fixed on TOMCAT_5_0 branch.  I'll take a look at CVS HEAD, but this might not 
be relevant for Tomcat 5.5.  I still think it's a dubious use-case that should 
be avoided.

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



cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/log SystemLogHandler.java

2004-09-02 Thread yoavs
yoavs   2004/09/02 11:48:47

  Modified:util/java/org/apache/tomcat/util/log SystemLogHandler.java
  Log:
  Addressed Bugzilla 31018.
  
  Revision  ChangesPath
  1.5   +6 -4  
jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/log/SystemLogHandler.java
  
  Index: SystemLogHandler.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/log/SystemLogHandler.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SystemLogHandler.java 24 Feb 2004 08:50:06 -  1.4
  +++ SystemLogHandler.java 2 Sep 2004 18:48:47 -   1.5
  @@ -75,17 +75,19 @@
*/
   public static void startCapture() {
   CaptureLog log = null;
  -if (!reuse.isEmpty()) {
  -log = (CaptureLog)reuse.pop();
  -} else {
  -log = new CaptureLog();
  +
  +// Synchronized for Bugzilla 31018
  +synchronized(reuse) {
  +log = reuse.isEmpty() ? new CaptureLog() : (CaptureLog)reuse.pop();
   }
  +
   Thread thread = Thread.currentThread();
   Stack stack = (Stack)logs.get(thread);
   if (stack == null) {
   stack = new Stack();
   logs.put(thread, stack);
   }
  +
   stack.push(log);
   }
   
  
  
  

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



cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/log SystemLogHandler.java

2004-09-02 Thread yoavs
yoavs   2004/09/02 11:51:00

  Modified:webapps/docs Tag: TOMCAT_5_0 changelog.xml
   util/java/org/apache/tomcat/util/log Tag: TOMCAT_5_0
SystemLogHandler.java
  Log:
  Addressed Bugzilla 31018.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.70.2.28 +7 -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.27
  retrieving revision 1.70.2.28
  diff -u -r1.70.2.27 -r1.70.2.28
  --- changelog.xml 2 Sep 2004 18:45:38 -   1.70.2.27
  +++ changelog.xml 2 Sep 2004 18:51:00 -   1.70.2.28
  @@ -76,6 +76,13 @@
 /fix
   /changelog
 /subsection
  +  subsection name=Coyote
  +changelog
  +  fix
  +bug31018/bug: Race condition in SystemLogHandler. (yoavs)
  +  /fix
  +/changelog
  +  /subsection
   /section
   
   section name=Tomcat 5.0.28 (yoavs)
  
  
  
  No   revision
  No   revision
  1.4.2.1   +6 -4  
jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/log/SystemLogHandler.java
  
  Index: SystemLogHandler.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/log/SystemLogHandler.java,v
  retrieving revision 1.4
  retrieving revision 1.4.2.1
  diff -u -r1.4 -r1.4.2.1
  --- SystemLogHandler.java 24 Feb 2004 08:50:06 -  1.4
  +++ SystemLogHandler.java 2 Sep 2004 18:51:00 -   1.4.2.1
  @@ -75,17 +75,19 @@
*/
   public static void startCapture() {
   CaptureLog log = null;
  -if (!reuse.isEmpty()) {
  -log = (CaptureLog)reuse.pop();
  -} else {
  -log = new CaptureLog();
  +
  +// Synchronized for Bugzilla 31018
  +synchronized(reuse) {
  +log = reuse.isEmpty() ? new CaptureLog() : (CaptureLog)reuse.pop();
   }
  +
   Thread thread = Thread.currentThread();
   Stack stack = (Stack)logs.get(thread);
   if (stack == null) {
   stack = new Stack();
   logs.put(thread, stack);
   }
  +
   stack.push(log);
   }
   
  
  
  

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



DO NOT REPLY [Bug 31018] - Race condition in SystemLogHandler.java

2004-09-02 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=31018.
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=31018

Race condition in SystemLogHandler.java

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-09-02 18:52 ---
Fixed, thanks.

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



DO NOT REPLY [Bug 30551] - New version of JK Connector(1.2.6) does not seem to be working for POST requests.

2004-09-02 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=30551.
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=30551

New version of JK Connector(1.2.6) does not seem to be working for POST requests.

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME



--- Additional Comments From [EMAIL PROTECTED]  2004-09-02 18:53 ---
I've just did some testing with the:
TC-4.1.30-LE/JK1.2.6/IIS60/WIN2K3.

It works for both for POST and GET data, with IE and Mozilla.
There must be soe other reason why is this breaking.
Try to see if the jk log is reporting something.

Also do you have a Tomcat on a different box? If not then use the:
worker.test.host=localhost

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



DO NOT REPLY [Bug 20758] - Memory Leak in Classloader/Manager deploy/undeploy

2004-09-02 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=20758.
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=20758

Memory Leak in Classloader/Manager deploy/undeploy





--- Additional Comments From [EMAIL PROTECTED]  2004-09-02 18:54 ---
The same problem still exists for 5.0.27. Can the version be changed to 
reflect this.

I have some rather large singletons that do not get garbage collect on 
undeploy. This renders the undeploy/deploy features utterly useless.

Bug 11128 has a suggested fix. Why have they not been commented on or 
implemented?

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



Re: Time for 2.0.51 and 2.1.0

2004-09-02 Thread William A. Rowe, Jr.
At 12:59 PM 9/2/2004, Mladen Turk wrote:
William A. Rowe, Jr. wrote:

Could we hope the dev team to relax the situation for mod_proxy/ajp in
future 2.0.x release
[...] please don't expect them
to sympathize when n.x.z - n.x.(z+1) starts breaking things, this
undermines the confidence in one of the most successful open source
projects in the world.

Although I'm not very happy with that, I must say that you hold
'all the aces' :).

httpd, like Tomcat, is a meritocracy.  Jeff and I argued for a stable
tree and development effort not to break existing 2.0 users.  Others
argued against that.  The last round of voting our suggestion won.
Next vote that could change of course.

Just wanted to reinforce, no one individual or even group of devs
ever holds all the aces here :)

The major problem is how to prove the new proxy stuff is stable

Aye - there is the rub.

Bill 


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



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

2004-09-02 Thread yoavs
yoavs   2004/09/02 11:56:56

  Modified:webapps/docs status.xml
  Log:
  Corrected the last 5.1 reference to 5.5 ;)
  
  Revision  ChangesPath
  1.9   +1 -1  jakarta-tomcat-catalina/webapps/docs/status.xml
  
  Index: status.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/status.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- status.xml1 Sep 2004 22:04:28 -   1.8
  +++ status.xml2 Sep 2004 18:56:56 -   1.9
  @@ -46,7 +46,7 @@
   p
 bTomcat 4.1.x/b is no longer actively developed.  It is maintained to 
address
 only showstopper, security, and Servlet Specification compliance issues.  
Maintenance
  -  for Tomcat 4.1.x will likely cease once a stable release or two of Tomcat 5.1 
are out.
  +  for Tomcat 4.1.x will likely cease once a stable release or two of Tomcat 5.5 
are out.
 Users of Tomcat 4.1.x are strongly encouraged to upgrade to the latest stable 
Tomcat
 5.0 release.
   /p
  
  
  

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



cvs commit: jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager HTMLManagerServlet.java LocalStrings.properties

2004-09-02 Thread yoavs
yoavs   2004/09/02 12:13:38

  Modified:webapps/docs changelog.xml
   webapps/manager/WEB-INF/classes/org/apache/catalina/manager
HTMLManagerServlet.java LocalStrings.properties
  Log:
  Added JavaScript confirmation dialogs to dangerous manager servlet links.
  
  Revision  ChangesPath
  1.99  +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.98
  retrieving revision 1.99
  diff -u -r1.98 -r1.99
  --- changelog.xml 2 Sep 2004 12:53:57 -   1.98
  +++ changelog.xml 2 Sep 2004 19:13:38 -   1.99
  @@ -81,6 +81,9 @@
 update 
   Major documentation update with current Tomcat 5.5 changes. (remm)
 /update
  +  update
  +Added JavaScript confirmation dialog to dangerous Manager servler links. 
(yoavs)
  +  /update
   /changelog
 /subsection
   /section
  
  
  
  1.14  +6 -6  
jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/HTMLManagerServlet.java
  
  Index: HTMLManagerServlet.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/HTMLManagerServlet.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- HTMLManagerServlet.java   27 Jul 2004 07:18:37 -  1.13
  +++ HTMLManagerServlet.java   2 Sep 2004 19:13:38 -   1.14
  @@ -567,9 +567,9 @@
td class=\row-left\\n +
 small\n +
 nbsp;{1}nbsp;\n +
  -  nbsp;a href=\{2}\{3}/anbsp;\n +
  -  nbsp;a href=\{4}\{5}/anbsp;\n +
  -  nbsp;a href=\{6}\{7}/anbsp;\n +
  +  nbsp;a href=\{2}\ onclick=\return(confirm('Are you 
sure?'))\{3}/anbsp;\n +
  +  nbsp;a href=\{4}\ onclick=\return(confirm('Are you 
sure?'))\{5}/anbsp;\n +
  +  nbsp;a href=\{6}\ onclick=\return(confirm('Are you 
sure?'))\{7}/anbsp;\n +
 /small\n +
/td\n +
   /tr\n;
  @@ -577,10 +577,10 @@
   private static final String STOPPED_APPS_ROW_BUTTON_SECTION =
td class=\row-left\\n +
 small\n +
  -  nbsp;a href=\{0}\{1}/anbsp;\n +
  +  nbsp;a href=\{0}\ onclick=\return(confirm('Are you 
sure?'))\{1}/anbsp;\n +
 nbsp;{3}nbsp;\n +
 nbsp;{5}nbsp;\n +
  -  nbsp;a href=\{6}\{7}/anbsp;\n +
  +  nbsp;a href=\{6}\ onclick=\return(confirm('Are you 
sure?'))\{7}/anbsp;\n +
 /small\n +
/td\n +
   /tr\n;
  
  
  
  1.5   +1 -1  
jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/LocalStrings.properties
  
  Index: LocalStrings.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/LocalStrings.properties,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- LocalStrings.properties   22 Sep 2003 12:34:45 -  1.4
  +++ LocalStrings.properties   2 Sep 2004 19:13:38 -   1.5
  @@ -58,7 +58,7 @@
   managerServlet.noSelf=FAIL - The manager can not reload, undeploy, stop, or 
undeploy itself
   managerServlet.noWrapper=Container has not called setWrapper() for this servlet
   managerServlet.reloaded=OK - Reloaded application at context path {0}
  -managerServlet.undeployd=OK - Undeployd application at context path {0}
  +managerServlet.undeployd=OK - Undeployed application at context path {0}
   managerServlet.resourcesAll=OK - Listed global resources of all types
   managerServlet.resourcesType=OK - Listed global resources of type {0}
   managerServlet.rolesList=OK - Listed security roles
  
  
  

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



DO NOT REPLY [Bug 29485] - Undeploy considered dangerous

2004-09-02 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=29485.
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=29485

Undeploy considered dangerous





--- Additional Comments From [EMAIL PROTECTED]  2004-09-02 19:18 ---
Created an attachment (id=12620)
HTMLManagerServlet

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



DO NOT REPLY [Bug 29485] - Undeploy considered dangerous

2004-09-02 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=29485.
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=29485

Undeploy considered dangerous





--- Additional Comments From [EMAIL PROTECTED]  2004-09-02 19:19 ---
Created an attachment (id=12621)
LocalStrings.properties

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



cvs commit: jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager HTMLManagerServlet.java

2004-09-02 Thread yoavs
yoavs   2004/09/02 12:18:07

  Modified:webapps/docs Tag: TOMCAT_5_0 changelog.xml
   webapps/manager/WEB-INF/classes/org/apache/catalina/manager
Tag: TOMCAT_5_0 HTMLManagerServlet.java
  Log:
  Added JavaScript confirmation for dangerous manager tasks.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.70.2.29 +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.28
  retrieving revision 1.70.2.29
  diff -u -r1.70.2.28 -r1.70.2.29
  --- changelog.xml 2 Sep 2004 18:51:00 -   1.70.2.28
  +++ changelog.xml 2 Sep 2004 19:18:07 -   1.70.2.29
  @@ -67,6 +67,9 @@
 fix
   bug29526/bug: Manager redeployment locked JAR because of context.xml 
stream. (yoavs)
 /fix
  +  update
  +Added JavaScript confirmation for dangerous manager tasks. (yoavs)
  +  /update
   /changelog
 /subsection
 subsection name=Jasper
  
  
  
  No   revision
  No   revision
  1.12.2.1  +6 -6  
jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/HTMLManagerServlet.java
  
  Index: HTMLManagerServlet.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/HTMLManagerServlet.java,v
  retrieving revision 1.12
  retrieving revision 1.12.2.1
  diff -u -r1.12 -r1.12.2.1
  --- HTMLManagerServlet.java   26 May 2004 16:41:49 -  1.12
  +++ HTMLManagerServlet.java   2 Sep 2004 19:18:07 -   1.12.2.1
  @@ -593,9 +593,9 @@
td class=\row-left\\n +
 small\n +
 nbsp;{1}nbsp;\n +
  -  nbsp;a href=\{2}\{3}/anbsp;\n +
  -  nbsp;a href=\{4}\{5}/anbsp;\n +
  -  nbsp;a href=\{6}\{7}/anbsp;\n +
  +  nbsp;a href=\{2}\ onclick=\return(confirm('Are you 
sure?'))\{3}/anbsp;\n +
  +  nbsp;a href=\{4}\ onclick=\return(confirm('Are you 
sure?'))\{5}/anbsp;\n +
  +  nbsp;a href=\{6}\ onclick=\return(confirm('Are you 
sure?'))\{7}/anbsp;\n +
 /small\n +
/td\n +
   /tr\n;
  @@ -603,10 +603,10 @@
   private static final String STOPPED_APPS_ROW_BUTTON_SECTION =
td class=\row-left\\n +
 small\n +
  -  nbsp;a href=\{0}\{1}/anbsp;\n +
  +  nbsp;a href=\{0}\ onclick=\return(confirm('Are you 
sure?'))\{1}/anbsp;\n +
 nbsp;{3}nbsp;\n +
 nbsp;{5}nbsp;\n +
  -  nbsp;a href=\{6}\{7}/anbsp;\n +
  +  nbsp;a href=\{6}\ onclick=\return(confirm('Are you 
sure?'))\{7}/anbsp;\n +
 /small\n +
/td\n +
   /tr\n;
  
  
  

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



DO NOT REPLY [Bug 29107] - Redeploy existing application using URL will remove the application

2004-09-02 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=29107.
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=29107

Redeploy existing application using URL will remove the application

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-09-02 19:20 ---
I've added JavaScript confirmation to the manager tasks like stop, start, 
deploy, undeploy, etc.  As for refreshing your own browser, be careful doing 
that when in an admin/manager web page ;)  I suppose we could code some sort of 
a form token into the page but that seems like overkill for a problem no one 
else has complained about.

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



DO NOT REPLY [Bug 29485] - Undeploy considered dangerous

2004-09-02 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=29485.
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=29485

Undeploy considered dangerous

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-09-02 19:22 ---
I've added JavaScript confirmation for manager actions.  Thanks for the patch 
Vitor, but I didn't use it.  I only saw it after committing, although it's 
pretty close (I didn't i18n the confirmation message).

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



DO NOT REPLY [Bug 29182] - Jasper locks jar files when compiling JSPs through Ant

2004-09-02 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=29182.
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=29182

Jasper locks jar files when compiling JSPs through Ant





--- Additional Comments From [EMAIL PROTECTED]  2004-09-02 19:23 ---
Tomcat 5.5 uses the Eclipse JDT compiler by default, hopefully it behaves 
better with regards to resource locking.

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



DO NOT REPLY [Bug 30936] - Adding HTTPS Connector with Administration webapp mangles server.xml

2004-09-02 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=30936.
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=30936

Adding HTTPS Connector with Administration webapp mangles server.xml





--- Additional Comments From [EMAIL PROTECTED]  2004-09-02 19:38 ---
I actually think this might be much simpler: both the Connector and the 
ProtocolHandler have a secure attribute, so the persister outputs it twice 
and Digester complains.  This is not an i18n issue like some other admin 
persistence errors.

BTW, you're too late for 5.5.0 ;)

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



DO NOT REPLY [Bug 30533] - search dtd with system location in CATALINA_BASE/bin

2004-09-02 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=30533.
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=30533

search dtd with system location in CATALINA_BASE/bin





--- Additional Comments From [EMAIL PROTECTED]  2004-09-02 19:46 ---
I think it's a parser configuration issue, not a Tomcat issue.  Does the 
behavior change of you tell the parser to not resolve DTD URIs?  See the 
resolve-dtd-uris option in http://www.saxproject.org/apidoc/org/xml/sax/package-
summary.html#package_description.

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



DO NOT REPLY [Bug 20758] - Memory Leak in Classloader/Manager deploy/undeploy

2004-09-02 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=20758.
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=20758

Memory Leak in Classloader/Manager deploy/undeploy





--- Additional Comments From [EMAIL PROTECTED]  2004-09-02 21:47 ---
In summary it looks like there are three issues here:
1. StandardContext
2. Static references in servlets
3. ClassLoader

The issues may or may be not be inter-related.

I have just downloaded a profiler and started to have a look at these. I'll 
post results as I get them.

On the subject of changing version, lets leave it as TC4 for now. If I make 
any changes I'll make them to TC5 as well.

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



cvs commit: jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager ManagerServlet.java

2004-09-02 Thread remm
remm2004/09/02 14:50:49

  Modified:webapps/manager/WEB-INF/classes/org/apache/catalina/manager
ManagerServlet.java
  Log:
  - It should be ok to call deploy with just config.
  
  Revision  ChangesPath
  1.21  +2 -2  
jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/ManagerServlet.java
  
  Index: ManagerServlet.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/ManagerServlet.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- ManagerServlet.java   27 Jul 2004 17:53:15 -  1.20
  +++ ManagerServlet.java   2 Sep 2004 21:50:49 -   1.21
  @@ -341,7 +341,7 @@
   if (command == null) {
   writer.println(sm.getString(managerServlet.noCommand));
   } else if (command.equals(/deploy)) {
  -if (war != null) {
  +if (war != null || config != null) {
   deploy(writer, config, path, war, update);
   } else {
   deploy(writer, path, tag);
  
  
  

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



cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant DeployTask.java

2004-09-02 Thread remm
remm2004/09/02 15:31:38

  Modified:catalina/src/share/org/apache/catalina/ant DeployTask.java
  Log:
  - It should be ok to call deploy with just config.
  - Submitted by Michael Schuerig.
  
  Revision  ChangesPath
  1.7   +3 -3  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant/DeployTask.java
  
  Index: DeployTask.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant/DeployTask.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- DeployTask.java   27 Feb 2004 14:58:40 -  1.6
  +++ DeployTask.java   2 Sep 2004 22:31:38 -   1.7
  @@ -142,9 +142,9 @@
   throw new BuildException
   (Must specify 'path' attribute);
   }
  -if ((war == null)  (localWar == null)  (tag == null)) {
  +if ((war == null)  (localWar == null)  (config == null)  (tag == 
null)) {
   throw new BuildException
  -(Must specify either 'war', 'localWar', or 'tag' attribute);
  +(Must specify either 'war', 'localWar', 'config', or 'tag' 
attribute);
   }
   
   // Building an input stream on the WAR to upload, if any
  
  
  

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



DO NOT REPLY [Bug 20758] - Memory Leak in Classloader/Manager deploy/undeploy

2004-09-02 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=20758.
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=20758

Memory Leak in Classloader/Manager deploy/undeploy





--- Additional Comments From [EMAIL PROTECTED]  2004-09-02 22:36 ---
The profiler shows that the static references in servlets are being cleaned 
up. Therefore 2 is not an issue.

On re-reading this report it looks like there might be a fourth issue. Steve - 
can you provide me with a simple test case for your singleton issue?

In summary:
1. Still to investigate
2. No issue
3. Still to investigate
4. Need more info

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



DO NOT REPLY [Bug 31027] New: - major error from minor whitespace error in properties file

2004-09-02 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=31027.
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=31027

major error from minor whitespace error in properties file

   Summary: major error from minor whitespace error in properties
file
   Product: Tomcat 4
   Version: 4.1.30
  Platform: HP
OS/Version: Linux
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


A developer accidentally placed a tab character after the port number in the
properties file for a tomcat instance.  This prevented tomcat from listening on
that port, but it was difficult to track down whether tomcat was running.  Seems
like the properties-file reader could easily trim excess whitespace before
trying to use entries.

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



Hi

2004-09-02 Thread mikeb
--  Virus Warning Message (on uusnwa0p)  --

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

-
Important document!


--  Virus Warning Message (on uusnwa0p)  --

Important.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-catalina/catalina/src/share/org/apache/catalina/session ManagerBase.java StandardSession.java mbeans-descriptors.xml

2004-09-02 Thread luehe
luehe   2004/09/02 17:53:02

  Modified:catalina/src/share/org/apache/catalina Manager.java
   catalina/src/share/org/apache/catalina/session
ManagerBase.java StandardSession.java
mbeans-descriptors.xml
  Log:
  Added longest time an expired session had been alive to set of monitorable session 
manager attributes
  
  Revision  ChangesPath
  1.13  +21 -3 
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/Manager.java
  
  Index: Manager.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/Manager.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- Manager.java  16 Aug 2004 09:31:07 -  1.12
  +++ Manager.java  3 Sep 2004 00:53:02 -   1.13
  @@ -199,6 +199,26 @@
   public void setRejectedSessions(int rejectedSessions);
   
   
  +/**
  + * Gets the longest time (in seconds) that an expired session had been
  + * alive.
  + *
  + * @return Longest time (in seconds) that an expired session had been
  + * alive.
  + */
  +public int getSessionMaxAliveTime();
  +
  +
  +/**
  + * Sets the longest time (in seconds) that an expired session had been
  + * alive.
  + *
  + * @param sessionMaxAliveTime Longest time (in seconds) that an expired
  + * session had been alive.
  + */
  +public void setSessionMaxAliveTime(int sessionMaxAliveTime);
  +
  +
   // - Public Methods
   
   
  @@ -301,7 +321,5 @@
 * a method that executes periodic tasks, such as expiring sessions etc.
 */
public void backgroundProcess();
  -
  -
   
   }
  
  
  
  1.33  +31 -1 
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session/ManagerBase.java
  
  Index: ManagerBase.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session/ManagerBase.java,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- ManagerBase.java  31 Aug 2004 14:07:54 -  1.32
  +++ ManagerBase.java  3 Sep 2004 00:53:02 -   1.33
  @@ -148,6 +148,12 @@
   
   
   /**
  + * The longest time (in seconds) that an expired session had been alive.
  + */
  +protected int sessionMaxAliveTime;
  +
  +
  +/**
* The set of currently active Sessions for this Manager, keyed by
* session identifier.
*/
  @@ -877,6 +883,30 @@
   
   public void setMaxActive(int maxActive) {
   this.maxActive = maxActive;
  +}
  +
  +
  +/**
  + * Gets the longest time (in seconds) that an expired session had been
  + * alive.
  + *
  + * @return Longest time (in seconds) that an expired session had been
  + * alive.
  + */
  +public int getSessionMaxAliveTime() {
  +return sessionMaxAliveTime;
  +}
  +
  +
  +/**
  + * Sets the longest time (in seconds) that an expired session had been
  + * alive.
  + *
  + * @param sessionMaxAliveTime Longest time (in seconds) that an expired
  + * session had been alive.
  + */
  +public void setSessionMaxAliveTime(int sessionMaxAliveTime) {
  +this.sessionMaxAliveTime = sessionMaxAliveTime;
   }
   
   
  
  
  
  1.47  +13 -3 
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session/StandardSession.java
  
  Index: StandardSession.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session/StandardSession.java,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- StandardSession.java  15 Jul 2004 14:42:38 -  1.46
  +++ StandardSession.java  3 Sep 2004 00:53:02 -   1.47
  @@ -683,9 +683,19 @@
   accessCount = 0;
   setValid(false);
   
  +/*
  + * Compute how long this session has been alive, and update
  + * manager's sessionMaxAliveTime property if necessary
  + */
  +long timeNow = System.currentTimeMillis();
  +int timeAlive = (int) ((timeNow - creationTime)/1000);
  +if (timeAlive  manager.getSessionMaxAliveTime()) {
  +manager.setSessionMaxAliveTime(timeAlive);
  +}
  +
  +
   // Remove this session from our manager's active sessions
  -if (manager != null)
  -manager.remove(this);
  +manager.remove(this);
   
   // Notify interested session event listeners
   if (notify) {
  
  
  
  1.7   +4 -0  

cvs commit: jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager StatusTransformer.java

2004-09-02 Thread luehe
luehe   2004/09/02 17:54:44

  Modified:webapps/manager/WEB-INF/classes/org/apache/catalina/manager
StatusTransformer.java
  Log:
  Added longest time an expired session had been alive to set of monitorable session 
manager attributes
  
  Revision  ChangesPath
  1.20  +26 -1 
jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/StatusTransformer.java
  
  Index: StatusTransformer.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/StatusTransformer.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- StatusTransformer.java23 Jul 2004 22:46:08 -  1.19
  +++ StatusTransformer.java3 Sep 2004 00:54:44 -   1.20
  @@ -660,6 +660,10 @@
   writer.print( Expired sessions: );
   writer.print(mBeanServer.getAttribute
(objectName, expiredSessions));
  +writer.print( Longest session alive time: );
  +writer.print(formatSeconds(mBeanServer.getAttribute(
  +objectName,
  +sessionMaxAliveTime)));
   writer.print( Processing time: );
   writer.print(formatTime(mBeanServer.getAttribute
   (objectName, processingTime), false));
  @@ -829,6 +833,27 @@
   } else {
   return (time +  ms);
   }
  +}
  +
  +
  +/**
  + * Formats the given time (given in seconds) as a string.
  + *
  + * @param obj Time object to be formatted as string
  + *
  + * @return String formatted time
  + */
  +public static String formatSeconds(Object obj) {
  +
  +long time = -1L;
  +
  +if (obj instanceof Long) {
  +time = ((Long) obj).longValue();
  +} else if (obj instanceof Integer) {
  +time = ((Integer) obj).intValue();
  +}
  +
  +return (time +  s);
   }
   
   }
  
  
  

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



DO NOT REPLY [Bug 20758] - Memory Leak in Classloader/Manager deploy/undeploy

2004-09-02 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=20758.
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=20758

Memory Leak in Classloader/Manager deploy/undeploy





--- Additional Comments From [EMAIL PROTECTED]  2004-09-03 01:57 ---
Is it possible that a static reference to the webapp's classloader could keep
the servlet context components from being garbage collected? I've seen hints
that this might be the case, particularly w.r.t. webapps that use cglib and/or
hibernate.

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



DO NOT REPLY [Bug 20758] - Memory Leak in Classloader/Manager deploy/undeploy

2004-09-02 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=20758.
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=20758

Memory Leak in Classloader/Manager deploy/undeploy





--- Additional Comments From [EMAIL PROTECTED]  2004-09-03 02:11 ---
Created an attachment (id=12622)
Singleton Test Servlet

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



DO NOT REPLY [Bug 20758] - Memory Leak in Classloader/Manager deploy/undeploy

2004-09-02 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=20758.
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=20758

Memory Leak in Classloader/Manager deploy/undeploy





--- Additional Comments From [EMAIL PROTECTED]  2004-09-03 02:12 ---
Created an attachment (id=12623)
Singleton Test Class

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



DO NOT REPLY [Bug 20758] - Memory Leak in Classloader/Manager deploy/undeploy

2004-09-02 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=20758.
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=20758

Memory Leak in Classloader/Manager deploy/undeploy





--- Additional Comments From [EMAIL PROTECTED]  2004-09-03 02:13 ---
Created an attachment (id=12624)
Large object to load via reflection

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



cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/common JkMX.java

2004-09-02 Thread billbarker
billbarker2004/09/02 21:28:40

  Modified:jk/java/org/apache/jk/common JkMX.java
  Log:
  Allow the mx4j HttpAdaptor to be configured for authentication.
  
  Submitted By:  Rainer Jung [EMAIL PROTECTED]
  
  Revision  ChangesPath
  1.25  +48 -1 jakarta-tomcat-connectors/jk/java/org/apache/jk/common/JkMX.java
  
  Index: JkMX.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/common/JkMX.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- JkMX.java 30 Aug 2004 16:00:06 -  1.24
  +++ JkMX.java 3 Sep 2004 04:28:39 -   1.25
  @@ -46,6 +46,9 @@
   private boolean enabled=false;
   private int httpport=-1;
   private String httphost=localhost;
  +private String authmode=none;
  +private String authuser=null;
  +private String authpassword=null;
   private int jrmpport=-1;
   private String jrmphost=localhost;
   private boolean useXSLTProcessor = true;
  @@ -93,6 +96,30 @@
   return httphost;
   }
   
  +public void setAuthMode(String mode) {
  +authmode=mode;
  +}
  +
  +public String getAuthMode() {
  +return authmode;
  +}
  +
  +public void setAuthUser(String user) {
  +authuser=user;
  +}
  +
  +public String getAuthUser() {
  +return authuser;
  +}
  +
  +public void setAuthPassword(String password) {
  +authpassword=password;
  +}
  +
  +public String getAuthPassword() {
  +return authpassword;
  +}
  +
   /** Enable the MX4J JRMP internal adapter
*/
   public void setJrmpPort( int i ) {
  @@ -140,6 +167,16 @@
   mserver.setAttribute(httpServerName, new Attribute(Host, 
httphost));
   mserver.setAttribute(httpServerName, new Attribute(Port, new 
Integer(httpport)));
   
  +if( none.equals(authmode) || basic.equals(authmode) || 
digest.equals(authmode) )
  +mserver.setAttribute(httpServerName, new 
Attribute(AuthenticationMethod, authmode));
  +
  +if( authuser!=null  authpassword!=null )
  +mserver.invoke(httpServerName, addAuthorization,
  +new Object[] {
  +authuser,
  +authpassword},
  +new String[] { java.lang.String, java.lang.String });
  +
   if(useXSLTProcessor) {
   ObjectName processorName = 
registerObject(mx4j.adaptor.http.XSLTProcessor,
 
Http:name=XSLTProcessor);
  @@ -169,7 +206,17 @@
   mserver.setAttribute(httpServerName, new Attribute(Host, 
httphost));
   mserver.setAttribute(httpServerName, new Attribute(Port, new 
Integer(httpport)));
   
  -if(useXSLTProcessor) {
  +if( none.equals(authmode) || basic.equals(authmode) || 
digest.equals(authmode) )
  +mserver.setAttribute(httpServerName, new 
Attribute(AuthenticationMethod, authmode));
  +
  +if( authuser!=null  authpassword!=null )
  +mserver.invoke(httpServerName, addAuthorization,
  +new Object[] {
  +authuser,
  +authpassword},
  +new String[] { java.lang.String, java.lang.String });
  +
  +   if(useXSLTProcessor) {
   ObjectName processorName = 
registerObject(mx4j.tools.adaptor.http.XSLTProcessor,
 
Http:name=XSLTProcessor);
   mserver.setAttribute(httpServerName, new 
Attribute(ProcessorName, processorName));
  
  
  

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