svn commit: r1153379 - in /tomcat/trunk: build.properties.default webapps/docs/changelog.xml

2011-08-03 Thread markt
Author: markt
Date: Wed Aug  3 07:53:29 2011
New Revision: 1153379

URL: http://svn.apache.org/viewvc?rev=1153379&view=rev
Log:
Update to daemon 1.0.7

Modified:
tomcat/trunk/build.properties.default
tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/build.properties.default?rev=1153379&r1=1153378&r2=1153379&view=diff
==
--- tomcat/trunk/build.properties.default (original)
+++ tomcat/trunk/build.properties.default Wed Aug  3 07:53:29 2011
@@ -161,7 +161,7 @@ nsis.nsisdl.dll=${nsis.home}/Plugins/NSI
 nsis.loc=${base-sf.loc}/nsis/nsis-2.46.zip
 
 # - Commons Daemon, version 1.0-Alpha or later -
-commons-daemon.version=1.0.6
+commons-daemon.version=1.0.7
 commons-daemon.home=${base.path}/commons-daemon-${commons-daemon.version}
 
commons-daemon.jar=${commons-daemon.home}/commons-daemon-${commons-daemon.version}.jar
 commons-daemon.native.win.home=${commons-daemon.home}/windows

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1153379&r1=1153378&r2=1153379&view=diff
==
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Wed Aug  3 07:53:29 2011
@@ -254,6 +254,9 @@
 without a service name from executing since the uninstall will not be
 complete. (markt)
   
+  
+Update to Apache Commons Daemon 1.0.7. (markt)
+  
 
   
 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 51606] New: Version 1.2.32 does not work with Jenkins on RHEL 6

2011-08-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51606

 Bug #: 51606
   Summary: Version 1.2.32 does not work with Jenkins on RHEL 6
   Product: Tomcat Connectors
   Version: unspecified
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: critical
  Priority: P2
 Component: mod_jk
AssignedTo: dev@tomcat.apache.org
ReportedBy: rene.snaj...@i-med.ac.at
Classification: Unclassified


For some reason I am having problems after updating from 1.2.31 to 1.2.32.
All of my applications which connect either to JBoss-1.4.2 and JBoss-6.0.0 work
fine, except Jenkins on RHEL 6 (which also uses JBoss-6.0.0). 
It worked fine with mod_jk 1.2.31 but after updating to 1.2.32 in the browser I
always get Error 502 BAD_GATEWAY. 

In the logfile it says:

[error] ajp_get_reply::jk_ajp_common.c (2118): (jenkins) Tomcat is down or
refused connection. No response has been sent to the client (yet)
[info] ajp_service::jk_ajp_common.c (2607): (jenkins) sending request to tomcat
failed (recoverable),  (attempt=2)
[error] ajp_service::jk_ajp_common.c (2626): (jenkins) connecting to tomcat
failed.
[info] jk_handler::mod_jk.c (2678): Service error=0 for worker=jenkins
[info] ajp_connection_tcp_get_message::jk_ajp_common.c (1266): (jenkins) can't
receive the response header message from tomcat, tomcat (127.0.0.1:11009) has
forced a connection close for socket 60

In my workers.conf:
worker.jenkins.port=11009
worker.jenkins.host=127.0.0.1
worker.jenkins.type=ajp13

and in the VHost I have:
JKMount /jenkins jenkins
JKMount /jenkins/* jenkins


Please note that I didn't change anything except the mod_jk version, so it must
be related to the recent changes..

Thanks,
Rene

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1153423 - in /tomcat/trunk/webapps/docs: changelog.xml security-howto.xml

2011-08-03 Thread markt
Author: markt
Date: Wed Aug  3 10:36:33 2011
New Revision: 1153423

URL: http://svn.apache.org/viewvc?rev=1153423&view=rev
Log:
Add info on ciphers

Modified:
tomcat/trunk/webapps/docs/changelog.xml
tomcat/trunk/webapps/docs/security-howto.xml

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1153423&r1=1153422&r2=1153423&view=diff
==
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Wed Aug  3 10:36:33 2011
@@ -217,6 +217,10 @@
   
 Improve class loading documentation. (kkolinko)
   
+  
+Add information to the security page of the the documentation web
+application for the ciphers attribute of the Connector element. (markt)
+  
 
   
   

Modified: tomcat/trunk/webapps/docs/security-howto.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/security-howto.xml?rev=1153423&r1=1153422&r2=1153423&view=diff
==
--- tomcat/trunk/webapps/docs/security-howto.xml (original)
+++ tomcat/trunk/webapps/docs/security-howto.xml Wed Aug  3 10:36:33 2011
@@ -187,6 +187,12 @@
   proxy uses AJP then the SSL attributes of the client connection are
   passed via the AJP protocol and separate connectors are not needed.
   
+  The ciphers attribute controls the ciphers used for
+  SSL connections. By default, the default ciphers for the JVM will be 
used.
+  This usually means that the weak export grade ciphers will be included in
+  the list of available ciphers. Secure environments will normally want to
+  configure a more limited set of ciphers.
+  
   The tomcatAuthentication attribute is used with the
   AJP connectors to determine if Tomcat should authenticate the user or if
   authentication can be delegated to the reverse proxy that will then pass



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: Hosting the current Tomcat Maven Plugin from mojo codehaus

2011-08-03 Thread Mark Thomas
On 01/08/2011 13:44, Olivier Lamy wrote:
> Hi Folks,
> Sorry for (very) long delay.
> 
> The ip clearance xml form is here :
> http://people.apache.org/~olamy/tomcat-maven-plugin-to-apache/ip-clearance-tomcat-maven-plugin.xml

Looks good to me.

Cheers,

Mark

> 
> Let me know if all is fine for you and I will send to incubator@ (it
> looks to be the next step).
> 
> Thanks,


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1153573 - in /tomcat/trunk: res/tomcat.nsi webapps/docs/changelog.xml

2011-08-03 Thread kkolinko
Author: kkolinko
Date: Wed Aug  3 16:41:47 2011
New Revision: 1153573

URL: http://svn.apache.org/viewvc?rev=1153573&view=rev
Log:
Explicitly configure what icon is used with Tomcat in the list of uninstallable 
programs on Windows.

Before this it somehow used the icon from Tomcat.exe (feather(, but when the 
service name contains "-" Windows somehow was not able to find the icon and 
displayed a default one. With this change the Tomcat (cat) icon will be used.

Modified:
tomcat/trunk/res/tomcat.nsi
tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/res/tomcat.nsi
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/res/tomcat.nsi?rev=1153573&r1=1153572&r2=1153573&view=diff
==
--- tomcat/trunk/res/tomcat.nsi (original)
+++ tomcat/trunk/res/tomcat.nsi Wed Aug  3 16:41:47 2011
@@ -348,6 +348,8 @@ Section -post
   WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Apache 
Tomcat @VERSION_MAJOR_MINOR@ $TomcatServiceName" \
"DisplayName" "Apache Tomcat @VERSION_MAJOR_MINOR@ 
$TomcatServiceName (remove only)"
   WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Apache 
Tomcat @VERSION_MAJOR_MINOR@ $TomcatServiceName" \
+   "DisplayIcon" "$\"$INSTDIR\tomcat.ico$\""
+  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Apache 
Tomcat @VERSION_MAJOR_MINOR@ $TomcatServiceName" \
"UninstallString" "$\"$INSTDIR\Uninstall.exe$\" 
-ServiceName=$\"$TomcatServiceName$\""
 
 SectionEnd

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1153573&r1=1153572&r2=1153573&view=diff
==
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Wed Aug  3 16:41:47 2011
@@ -258,6 +258,10 @@
 without a service name from executing since the uninstall will not be
 complete. (markt)
   
+  
+Use Tomcat icon (cat) instead of Apache Commons Daemon (feather) one
+in the list of uninstallable programs on Windows. (kkolinko) 
+  
   
 Update to Apache Commons Daemon 1.0.7. (markt)
   



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1153578 - /tomcat/tc6.0.x/trunk/STATUS.txt

2011-08-03 Thread kkolinko
Author: kkolinko
Date: Wed Aug  3 16:48:53 2011
New Revision: 1153578

URL: http://svn.apache.org/viewvc?rev=1153578&view=rev
Log:
Update installer patch - added r1153573

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=1153578&r1=1153577&r2=1153578&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Wed Aug  3 16:48:53 2011
@@ -159,17 +159,11 @@ PATCHES PROPOSED TO BACKPORT:
   build.xml:671: Can't get 
http://archive.apache.org/dist/commons/daemon/binaries/1.0.6/commons-daemon-1.0.6-bin.tar.gz
 to ***\libraries\tomcat6\file.tar.gz
 )
 minus unwanted change to TEXT_JVM_LABEL1 message
-plus r1152988, r1153075
-  
http://people.apache.org/~kkolinko/patches/2011-08-03_tc6_windows-installer.patch
+plus r1152988, r1153075, r1153573
+  
http://people.apache.org/~kkolinko/patches/2011-08-03_tc6_windows-installer_v2.patch
   +1: kkolinko
   -1:
 
-  kkolinko: There is one glitch I noticed when testing my patch: if service
-  name contains a '-', in the Add/Remove Programs list there will not be
-  Apache Feather icon on "Apache Tomcat .. (remove only)" item. The default
-  icon will be used instead. I suspect something like r1152988 is needed
-  elsewhere, but I have not found where.  It does not impact functionality
-  - uninstallation performs correctly. It is not a stopper.
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49929
   No definitive information that this is the fix but back-porting Mladen's fix



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 50944] JSF: java.lang.NullPointerException at com.sun.faces.context.flash.ELFlash.loggingGetPhaseMapForWriting

2011-08-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=50944

Hemanth  changed:

   What|Removed |Added

 CC||venkatahemanth...@gmail.com

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1153605 - /tomcat/tc6.0.x/trunk/STATUS.txt

2011-08-03 Thread kkolinko
Author: kkolinko
Date: Wed Aug  3 18:40:31 2011
New Revision: 1153605

URL: http://svn.apache.org/viewvc?rev=1153605&view=rev
Log:
proposal

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=1153605&r1=1153604&r2=1153605&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Wed Aug  3 18:40:31 2011
@@ -157,6 +157,7 @@ PATCHES PROPOSED TO BACKPORT:
 minus update to commons-daemon-1.0.6
 (It fails to download it:
   build.xml:671: Can't get 
http://archive.apache.org/dist/commons/daemon/binaries/1.0.6/commons-daemon-1.0.6-bin.tar.gz
 to ***\libraries\tomcat6\file.tar.gz
+  -> a separate patch for this update is proposed below
 )
 minus unwanted change to TEXT_JVM_LABEL1 message
 plus r1152988, r1153075, r1153573
@@ -195,3 +196,10 @@ PATCHES PROPOSED TO BACKPORT:
   http://svn.apache.org/viewvc?rev=1152601&view=rev
   +1: markt, kkolinko
   -1:
+
+* Update to Apache Commons Daemon 1.0.7
+  Use two alternative download locations for components downloaded from
+  apache.org.
+  http://people.apache.org/~kkolinko/patches/2011-08-03_tc6_daemon107.patch
+  +1: kkolinko
+  -1:



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1153621 - /tomcat/tc6.0.x/trunk/STATUS.txt

2011-08-03 Thread markt
Author: markt
Date: Wed Aug  3 19:38:13 2011
New Revision: 1153621

URL: http://svn.apache.org/viewvc?rev=1153621&view=rev
Log:
Withdraw my patch, vote for Konstantin's

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=1153621&r1=1153620&r2=1153621&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Wed Aug  3 19:38:13 2011
@@ -136,33 +136,15 @@ PATCHES PROPOSED TO BACKPORT:
   - Simplify the installer by using search and replace for server.xml
   - Provide the ability to configure the shutdown port
   - Provide service name and port validation
-  - Update to Commons daemon 1.0.6
-  - Removes res/confinstall/server*.xml, res/tick*.bmp, res/main.ico,
-res/uninst.ico
-  
http://people.apache.org/~markt/patches/2011-08-01-windows-installer-multiple-tc6.patch
-  http://svn.apache.org/viewvc?rev=1153075&view=rev
-  +1: markt
-  -1:
-
-  kkolinko:
-   1) Commands to remove files - removal of binaries cannot be expressed by 
the patch
+  1) Commands to remove files - removal of binaries cannot be expressed by the 
patch
  svn rm res/confinstall/server_1.xml
  svn rm res/confinstall/server_2.xml
  svn rm res/tickno.bmp
  svn rm res/tickyes.bmp
  svn rm res/main.ico
  svn rm res/uninst.ico
-   2) Mark's 2011-08-01-windows-installer-multiple-tc6.patch
-minus changes to changelog.xml and deleted files,
-minus update to commons-daemon-1.0.6
-(It fails to download it:
-  build.xml:671: Can't get 
http://archive.apache.org/dist/commons/daemon/binaries/1.0.6/commons-daemon-1.0.6-bin.tar.gz
 to ***\libraries\tomcat6\file.tar.gz
-  -> a separate patch for this update is proposed below
-)
-minus unwanted change to TEXT_JVM_LABEL1 message
-plus r1152988, r1153075, r1153573
-  
http://people.apache.org/~kkolinko/patches/2011-08-03_tc6_windows-installer_v2.patch
-  +1: kkolinko
+  2) 
http://people.apache.org/~kkolinko/patches/2011-08-03_tc6_windows-installer_v2.patch
+  +1: kkolinko, markt
   -1:
 
 
@@ -201,5 +183,5 @@ PATCHES PROPOSED TO BACKPORT:
   Use two alternative download locations for components downloaded from
   apache.org.
   http://people.apache.org/~kkolinko/patches/2011-08-03_tc6_daemon107.patch
-  +1: kkolinko
+  +1: kkolinko, markt
   -1:



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Tomcat Wiki] Trivial Update of "FAQ" by greggggg

2011-08-03 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change 
notification.

The "FAQ" page has been changed by greg:
http://wiki.apache.org/tomcat/FAQ?action=diff&rev1=54&rev2=55

  * Please do some research. Use a search engine. It is frustrating to see 
questions which can be answered with a simple Google search (or your favorite 
search engine).
  * Browse or search our [[http://tomcat.apache.org/lists.html|mailing 
lists]].
  
+ 
+ 
  == Table of Contents ==
  
- For your convenience, we have tried to break the FAQ out into multiple 
sections consisting of the following topics: 
+ For your convenience, we have tried to break the FAQ out into multiple 
sections consisting of the following topics:
  
  * [[/Bugs|Bugs]] - You think you have a bug or there is a difference in 
behavior with another servlet container.
  * [[/CharacterEncoding|Character Encoding]] - How to handle non-standard 
characters.
@@ -17, +19 @@

  * [[/Clustering|Clustering]] - Cluster and clustering related questions
  * [[/Connectors|Connectors]] - You want to connect tomcat to Apache, IIS, 
or have questions about tomcat-standalone.
  * [[/Database|Database]] - Getting tomcat to talk to a database.
- * [[/Deployment|Deployment]] - Questions related to web application 
deployment.
+ * [[/Deployment|Deployment]] - Questions related to web application 
deployment  .
  * [[/Developing|Developing]] - Various IDE integration questions.
  * [[/FDA_Validation|FDA Validation]] - Questions related to running 
Tomcat in an FDA validated environment.
  * [[HowTo|How To]] - Miscellaneous common how to's.
@@ -31, +33 @@

  * [[UsefulLinks|Other Resources]] - A lot of links to tomcat related 
documentation and experiences.
  * [[/Performance_and_Monitoring|Performance & Monitoring]] - Performance 
& Monitoring questions.
  * [[/Security|Security]] - Common security issues.
- * [[/Tomcat_User|Tomcat User]] - More information about the tomcat-user 
list.
+ * [[/Tomcat_User|Tomcat User]] - More information about the tomcat-user 
list   .
  * [[/Troubleshooting_and_Diagnostics|Troubleshooting & Diagnostics]] - 
Tools and techniques for diagnosing problems.
  * [[TomcatVersions|Version]] - About the different tomcat versions.
  * [[../Tomcat/WebDav|WebDav]] - Questions on using Tomcat Webdav servlet.
  * [[/Windows|Windows]] - Common Windows questions.
- 
+ [[http://www.sanfranciscodentistdds.com|san francisco dentist]] | 
[[http://www.sanfrancisco-weddingphotographers.com|san francisco wedding 
photographer]]
  
  [[CategoryFAQ|CategoryFAQ]]
  

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Tomcat Wiki] Update of "LocalBadContent" by ChuckCaldarale

2011-08-03 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change 
notification.

The "LocalBadContent" page has been changed by ChuckCaldarale:
http://wiki.apache.org/tomcat/LocalBadContent?action=diff&rev1=25&rev2=26

  profi-fachuebersetzung\.de
  profischnell\.com
  //prosch
+ sanfranciscodentistdds\.com
+ sanfrancisco-weddingphotographers\.com
  seorj\.cn
  sfzone\.cn
  sh-dzbc\.com\.cn

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1153696 - in /tomcat/trunk/webapps/docs: changelog.xml logging.xml

2011-08-03 Thread kkolinko
Author: kkolinko
Date: Wed Aug  3 22:57:35 2011
New Revision: 1153696

URL: http://svn.apache.org/viewvc?rev=1153696&view=rev
Log:
Update logging documentation
1. Place a better note that Log4J configuration is not needed if it is only 
osed by one's webapp.
2. Rearrange Log4J configuration section and document how configure it to be 
used by a single CATALINA_BASE only.
3. Add "productive usage considerations" subsection to JULI one.

Modified:
tomcat/trunk/webapps/docs/changelog.xml
tomcat/trunk/webapps/docs/logging.xml

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1153696&r1=1153695&r2=1153696&view=diff
==
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Wed Aug  3 22:57:35 2011
@@ -115,7 +115,7 @@
 Servlet instance. (markt)
   
   
-Committing connection if autoCommit is false.
+In JDBCStore: Committing connection if autoCommit is false.
 Make sure committed connection is returned to the pool if datasource 
is 
 enabled. (kfujino)
   
@@ -215,7 +215,8 @@
 $CATALINA_BASE. (markt) 
   
   
-Improve class loading documentation. (kkolinko)
+Improve class loading documentation and logging documentation.
+(kkolinko)
   
   
 Add information to the security page of the the documentation web

Modified: tomcat/trunk/webapps/docs/logging.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/logging.xml?rev=1153696&r1=1153695&r2=1153696&view=diff
==
--- tomcat/trunk/webapps/docs/logging.xml (original)
+++ tomcat/trunk/webapps/docs/logging.xml Wed Aug  3 22:57:35 2011
@@ -85,7 +85,7 @@
   by the system and is shared across web applications.
 
 
-
+
 
 
   Apache Tomcat has its own implementation of several key elements of
@@ -364,10 +364,10 @@ java.util.logging.ConsoleHandler.formatt
 
 
 
-
+
   See the following resources for additional information:
   
-Tomcat Javadoc for the
+Apache Tomcat Javadoc for the
   org.apache.juli
   package.
 
@@ -378,6 +378,26 @@ java.util.logging.ConsoleHandler.formatt
   
 
 
+
+  You may want to take note of the following:
+  
+Consider removing ConsoleHandler from 
configuration.
+By default (thanks to the .handlers setting) logging 
goes
+both to a FileHandler and to a 
ConsoleHandler.
+The output of the latter one is usually captured into a file, such as
+catalina.out. Thus you end up with two copies of the same
+messages.
+
+Consider removing FileHandlers for the applications
+that you do not use. E.g., the one for 
host-manager.
+The handlers by default use the system default encoding to write
+the log files. It can be configured with encoding 
property.
+See Javadoc for details.
+Consider configuring an Access
+log.
+  
+
+
   
 
   
@@ -386,29 +406,22 @@ java.util.logging.ConsoleHandler.formatt
   http://logging.apache.org/log4j/";>log4j rather than
   java.util.logging for all Tomcat's internal logging.
 
-Note, that
-
-This exposes log4j libraries to the web applications through the
-Common classloader. See class 
loading
-for details. The web applications using
-http://commons.apache.org/logging";>Apache Commons Logging
-library are likely to automatically choose log4j as the underlying
-logging implementation.
-The java.util.logging API is still available, for
-those who use it directly. Removal of the
-${catalina.base}/conf/logging.properties file, mentioned
-as one of the steps below, causes it to fallback to the default
-configuration configured in JRE, which is to use a ConsoleHandler and
-do not create any files.
-
+Note: The steps described in this section are needed
+  when you want to reconfigure Tomcat to use Apache log4j for its own
+  logging. These steps are not needed if you just want
+  to use log4j in your own web application. — In that case, just
+  put log4j.jar and log4j.properties into
+  WEB-INF/lib and WEB-INF/classes
+  of your web application.
+
 
   The following steps describe configuring log4j to output Tomcat's
   internal logging.
 
 
 
-Create a file called log4j.properties with the following content 
-and save it into $CATALINA_HOME/lib.
+Create a file called log4j.properties with the 
+following content and save it into $CATALINA_BASE/lib
 
 
 log4j.rootLogger=INFO, CATALINA
@@ -461,25 +474,51 @@ log4

svn commit: r1153703 - in /tomcat/tc6.0.x/trunk/webapps/docs: changelog.xml logging.xml

2011-08-03 Thread kkolinko
Author: kkolinko
Date: Wed Aug  3 23:29:41 2011
New Revision: 1153703

URL: http://svn.apache.org/viewvc?rev=1153703&view=rev
Log:
CTR: Docs
Update logging documentation
1. Place a better note that Log4J configuration is not needed if it is only 
osed by one's webapp.
2. Rearrange Log4J configuration section and document how configure it to be 
used by a single CATALINA_BASE only.
3. Add "productive usage considerations" subsection to JULI one.

Modified:
tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml
tomcat/tc6.0.x/trunk/webapps/docs/logging.xml

Modified: tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml?rev=1153703&r1=1153702&r2=1153703&view=diff
==
--- tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Wed Aug  3 23:29:41 2011
@@ -297,7 +297,8 @@
 (markt)
   
   
-Improve Tomcat Logging documentation. (kkolinko)
+Improve class loading documentation and logging documentation.
+(kkolinko)
   
   
 Configure Security Manager How-To to include a copy of the actual
@@ -336,9 +337,6 @@
 (markt)
   
   
-Improve class loading documentation. (kkolinko)
-  
-  
 Update documentation to be even more explicit about the implications
 of setting the path attribute on a Context
 element in server.xml. (markt/kkolinko)

Modified: tomcat/tc6.0.x/trunk/webapps/docs/logging.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/logging.xml?rev=1153703&r1=1153702&r2=1153703&view=diff
==
--- tomcat/tc6.0.x/trunk/webapps/docs/logging.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/logging.xml Wed Aug  3 23:29:41 2011
@@ -85,7 +85,7 @@
   by the system and is shared across web applications.
 
 
-
+
 
 
   Apache Tomcat has its own implementation of several key elements of
@@ -367,10 +367,10 @@ java.util.logging.ConsoleHandler.formatt
 
 
 
-
+
   See the following resources for additional information:
   
-Tomcat Javadoc for the
+Apache Tomcat Javadoc for the
   org.apache.juli
   package.
 
@@ -381,6 +381,26 @@ java.util.logging.ConsoleHandler.formatt
   
 
 
+
+  You may want to take note of the following:
+  
+Consider removing ConsoleHandler from 
configuration.
+By default (thanks to the .handlers setting) logging 
goes
+both to a FileHandler and to a 
ConsoleHandler.
+The output of the latter one is usually captured into a file, such as
+catalina.out. Thus you end up with two copies of the same
+messages.
+
+Consider removing FileHandlers for the applications
+that you do not use. E.g., the one for 
host-manager.
+The handlers by default use the system default encoding to write
+the log files. It can be configured with encoding 
property.
+See Javadoc for details.
+Consider configuring an Access
+log.
+  
+
+
   
 
   
@@ -389,29 +409,22 @@ java.util.logging.ConsoleHandler.formatt
   http://logging.apache.org/log4j/";>log4j rather than
   java.util.logging for all Tomcat's internal logging.
 
-Note, that
-
-This exposes log4j libraries to the web applications through the
-Common classloader. See class 
loading
-for details. The web applications using
-http://commons.apache.org/logging";>Apache Commons Logging
-library are likely to automatically choose log4j as the underlying
-logging implementation.
-The java.util.logging API is still available, for
-those who use it directly. Removal of the
-${catalina.base}/conf/logging.properties file, mentioned
-as one of the steps below, causes it to fallback to the default
-configuration configured in JRE, which is to use a ConsoleHandler and
-do not create any files.
-
+Note: The steps described in this section are needed
+  when you want to reconfigure Tomcat to use Apache log4j for its own
+  logging. These steps are not needed if you just want
+  to use log4j in your own web application. — In that case, just
+  put log4j.jar and log4j.properties into
+  WEB-INF/lib and WEB-INF/classes
+  of your web application.
+
 
   The following steps describe configuring log4j to output Tomcat's
   internal logging.
 
 
 
-Create a file called log4j.properties with the following content 
-and save it into $CATALINA_HOME/lib.
+Create a file called log4j.properties with the 
+following content and save it into $CATALINA_BASE/lib
 

DO NOT REPLY [Bug 51515] Comet over HTTPS: END event recieved immeidately for the first few times

2011-08-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51515

--- Comment #4 from Sudeep Pradhan  2011-08-04 00:28:00 
UTC ---
Mark,

Can I have the patch so that I can test it?

Thanks,
Sudeep

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 51609] New: Session does time-out shorter than setting in web.xml

2011-08-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51609

 Bug #: 51609
   Summary: Session does time-out shorter than setting in web.xml
   Product: Tomcat 6
   Version: 6.0.20
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: major
  Priority: P2
 Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: kirandonth...@gmail.com
Classification: Unclassified


Session does time-out shorter than setting in web.xml, this is happening 2-3
time in day, load is very low 10 clients.
session time out is  30 minutes

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 51609] Session does time-out shorter than setting in web.xml

2011-08-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51609

Konstantin Kolinko  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID

--- Comment #1 from Konstantin Kolinko  2011-08-04 
02:47:48 UTC ---
1. You do not describe how to reproduce the issue.
2. 6.0.20 is very outdated. It is very likely that the issue have already been
fixed.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1153742 - in /tomcat/trunk: java/org/apache/catalina/valves/AccessLogValve.java java/org/apache/catalina/valves/mbeans-descriptors.xml webapps/docs/changelog.xml webapps/docs/config/valve

2011-08-03 Thread kkolinko
Author: kkolinko
Date: Thu Aug  4 03:53:27 2011
New Revision: 1153742

URL: http://svn.apache.org/viewvc?rev=1153742&view=rev
Log:
Split "condition" attribute of AccessLogValve into two, "conditionIf" and 
"conditionUnless".
Implement conditional logging that logs only if a request attribute is present.
The old attribute "condition" is provided as well, for backwards compatibility, 
and is equal to "conditionUnless".

Modified:
tomcat/trunk/java/org/apache/catalina/valves/AccessLogValve.java
tomcat/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml
tomcat/trunk/webapps/docs/changelog.xml
tomcat/trunk/webapps/docs/config/valve.xml

Modified: tomcat/trunk/java/org/apache/catalina/valves/AccessLogValve.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/valves/AccessLogValve.java?rev=1153742&r1=1153741&r2=1153742&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/valves/AccessLogValve.java (original)
+++ tomcat/trunk/java/org/apache/catalina/valves/AccessLogValve.java Thu Aug  4 
03:53:27 2011
@@ -135,9 +135,13 @@ import org.apache.tomcat.util.buf.B2CCon
  * 
  * 
  * Conditional logging is also supported. This can be done with the
- * condition property.
- * If the value returned from ServletRequest.getAttribute(condition)
+ * conditionUnless and conditionIf properties.
+ * If the value returned from ServletRequest.getAttribute(conditionUnless)
  * yields a non-null value, the logging will be skipped.
+ * If the value returned from ServletRequest.getAttribute(conditionIf)
+ * yields the null value, the logging will be skipped.
+ * The condition attribute is synonym for
+ * conditionUnless and is provided for backwards compatibility.
  * 
  * 
  * 
@@ -524,13 +528,19 @@ public class AccessLogValve extends Valv
  * agent renames the log file so we can automagically recreate it.
  */
 private boolean checkExists = false;
-
-
+
+
 /**
- * Are we doing conditional logging. default false.
+ * Are we doing conditional logging. default null.
+ * It is the value of conditionUnless property.
  */
 protected String condition = null;
 
+/**
+ * Are we doing conditional logging. default null.
+ * It is the value of conditionIf property.
+ */
+protected String conditionIf = null;
 
 /**
  * Date format to place in log file name. Use at your own risk!
@@ -788,6 +798,46 @@ public class AccessLogValve extends Valv
 
 
 /**
+ * Return whether the attribute name to look for when
+ * performing conditional logging. If null, every
+ * request is logged.
+ */
+public String getConditionUnless() {
+return getCondition();
+}
+
+
+/**
+ * Set the ServletRequest.attribute to look for to perform
+ * conditional logging. Set to null to log everything.
+ *
+ * @param condition Set to null to log everything
+ */
+public void setConditionUnless(String condition) {
+setCondition(condition);
+}
+
+/**
+ * Return whether the attribute name to look for when
+ * performing conditional logging. If null, every
+ * request is logged.
+ */
+public String getConditionIf() {
+return conditionIf;
+}
+
+
+/**
+ * Set the ServletRequest.attribute to look for to perform
+ * conditional logging. Set to null to log everything.
+ *
+ * @param condition Set to null to log everything
+ */
+public void setConditionIf(String condition) {
+this.conditionIf = condition;
+}
+
+/**
  *  Return the date format date based log rotation.
  */
 public String getFileDateFormat() {
@@ -882,9 +932,11 @@ public class AccessLogValve extends Valv
 
 @Override
 public void log(Request request, Response response, long time) {
-if (!getState().isAvailable() || !getEnabled() ||
-logElements == null || condition != null
-&& null != request.getRequest().getAttribute(condition)) {
+if (!getState().isAvailable() || !getEnabled() || logElements == null
+|| condition != null
+&& null != request.getRequest().getAttribute(condition)
+|| conditionIf != null
+&& null == request.getRequest().getAttribute(conditionIf)) {
 return;
 }
 

Modified: tomcat/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml?rev=1153742&r1=1153741&r2=1153742&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml 
(original)
+++ tomcat/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml Thu Aug 
 4 03:53:27 2011
@@ -44,6 +44,14 @@
writeable="false"/>
 
 
+
+
+

svn commit: r1153745 - in /tomcat/trunk: java/org/apache/catalina/core/AccessLogAdapter.java java/org/apache/catalina/core/ContainerBase.java webapps/docs/changelog.xml

2011-08-03 Thread kkolinko
Author: kkolinko
Date: Thu Aug  4 04:01:23 2011
New Revision: 1153745

URL: http://svn.apache.org/viewvc?rev=1153745&view=rev
Log:
Allow to have several AccessLogValve instances in the same scope (e.g. in the 
same Context).

Added:
tomcat/trunk/java/org/apache/catalina/core/AccessLogAdapter.java   (with 
props)
Modified:
tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java
tomcat/trunk/webapps/docs/changelog.xml

Added: tomcat/trunk/java/org/apache/catalina/core/AccessLogAdapter.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/AccessLogAdapter.java?rev=1153745&view=auto
==
--- tomcat/trunk/java/org/apache/catalina/core/AccessLogAdapter.java (added)
+++ tomcat/trunk/java/org/apache/catalina/core/AccessLogAdapter.java Thu Aug  4 
04:01:23 2011
@@ -0,0 +1,67 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.catalina.core;
+
+import java.util.Arrays;
+
+import org.apache.catalina.AccessLog;
+import org.apache.catalina.connector.Request;
+import org.apache.catalina.connector.Response;
+
+/**
+ * A helper class that wraps several AccessLog instances.
+ */
+public class AccessLogAdapter implements AccessLog {
+
+private AccessLog[] logs;
+
+public AccessLogAdapter(AccessLog log) {
+if (log == null) {
+throw new NullPointerException();
+}
+logs = new AccessLog[] { log };
+}
+
+public void add(AccessLog log) {
+if (log == null) {
+throw new NullPointerException();
+}
+AccessLog newArray[] = Arrays.copyOf(logs, logs.length + 1);
+newArray[newArray.length - 1] = log;
+logs = newArray;
+}
+
+@Override
+public void log(Request request, Response response, long time) {
+for (AccessLog log: logs) {
+log.log(request, response, time);
+}
+}
+
+@Override
+public void setRequestAttributesEnabled(boolean requestAttributesEnabled) {
+// NOOP
+}
+
+@Override
+public boolean getRequestAttributesEnabled() {
+// NOOP. Could return logs[0].getRequestAttributesEnabled(), but I do
+// not see a use case for that.
+return false;
+}
+
+}

Propchange: tomcat/trunk/java/org/apache/catalina/core/AccessLogAdapter.java
--
svn:eol-style = native

Modified: tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java?rev=1153745&r1=1153744&r2=1153745&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java Thu Aug  4 
04:01:23 2011
@@ -1144,14 +1144,21 @@ public abstract class ContainerBase exte
 if (accessLogScanComplete) {
 return accessLog;
 }
-
+
+AccessLogAdapter adapter = null;
 Valve valves[] = getPipeline().getValves();
 for (Valve valve : valves) {
 if (valve instanceof AccessLog) {
-accessLog = (AccessLog) valve;
-break;
+if (adapter == null) {
+adapter = new AccessLogAdapter((AccessLog) valve);
+} else {
+adapter.add((AccessLog) valve);
+}
 }
 }
+if (adapter != null) {
+accessLog = adapter;
+}
 accessLogScanComplete = true;
 return accessLog;
 }

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1153745&r1=1153744&r2=1153745&view=diff
==
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Thu Aug  4 04:01:23 2011
@@ -125,6 +125,10 @@
 conditional logging that logs only if a request attribute is present.
 (kkol

DO NOT REPLY [Bug 51515] Comet over HTTPS: END event recieved immeidately for the first few times

2011-08-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51515

--- Comment #5 from Konstantin Kolinko  2011-08-04 
04:06:50 UTC ---
(In reply to comment #4)
> Can I have the patch so that I can test it?

See STATUS.txt in the root of tc6.0.x source tree. A patch was "proposed" means
that it has been added to the status file.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 51610] New: Context fails to reload after an error in web.xml was corrected

2011-08-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51610

 Bug #: 51610
   Summary: Context fails to reload after an error in web.xml was
corrected
   Product: Tomcat 7
   Version: 7.0.19
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: knst.koli...@gmail.com
Classification: Unclassified


With current trunk. Steps to reproduce:

1. Start Tomcat 7

2. Go to webapps/examples/WEB-INF/web.xml and uncomment  for
"Timing Filter" (line 75).

3. Wait several seconds. The examples webapp is reloaded, but fails to start. 

This happens because there is a typo. The  value should be
s/Timing Filter/Timing filter/.

There is stack trace in the logs:

[[[
04.08.2011 8:09:39 org.apache.catalina.startup.HostConfig checkResources
WARNING: Error during context [/examples] restart
java.lang.IllegalArgumentException: Filter mapping specifies an unknown filter
name Timing Filter
at
org.apache.catalina.core.StandardContext.validateFilterMap(StandardContext.java:2950)
at
org.apache.catalina.core.StandardContext.addFilterMap(StandardContext.java:2915)
at org.apache.catalina.deploy.WebXml.configureContext(WebXml.java:1206)
at
org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1343)
at
org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:896)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:322)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5103)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at
org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1279)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1360)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:294)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)
at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1240)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1398)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1408)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1387)
at java.lang.Thread.run(Thread.java:662)
]]]

4. Go to web.xml and edit it once again. E.g. re-comment the mapping, or
correct the typo.

5. Wait several seconds. Here is an issue:

EXPECTED: The examples webapp should reload successfully.
ACTUAL: Reload fails. The following is printed in the logs:

04.08.2011 8:09:59 org.apache.catalina.startup.HostConfig checkResources
INFO: Reloading context [/examples]
04.08.2011 8:09:59 org.apache.catalina.util.LifecycleBase start
INFO: The start() method was called on component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/examples]]
after start() had already been called. The second call will be ignored.


6. Stop Tomcat. Here is the second issue:

EXPECTED: Successful shutdown
ACTUAL: 
[[[
04.08.2011 8:14:10 org.apache.catalina.startup.Catalina stop
SEVERE: Catalina.stop
org.apache.catalina.LifecycleException: An invalid Lifecycle transition was
attempted ([before_stop]) for component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/examples]]
in state [STARTING_PREP]
at
org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:387)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:212)
at
org.apache.catalina.core.ContainerBase.stopInternal(ContainerBase.java:1072)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:225)
at
org.apache.catalina.core.ContainerBase.stopInternal(ContainerBase.java:1072)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:225)
at
org.apache.catalina.core.StandardService.stopInternal(StandardService.java:502)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:225)
at
org.apache.catalina.core.StandardServer.stopInternal(StandardServer.java:748)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:225)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:694)
at
org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:847)
]]]

This exception at shutdown happens only if examples webapp was correct when
Tomcat started, but was broken afterwards. If it was already broken at startup

DO NOT REPLY [Bug 51611] New: javascript gzip not support

2011-08-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51611

 Bug #: 51611
   Summary: javascript gzip  not support
   Product: Tomcat 7
   Version: 7.0.19
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P2
 Component: Cluster
AssignedTo: dev@tomcat.apache.org
ReportedBy: kdringk...@yahoo.com.tw
Classification: Unclassified


When I set server.xml 
config as below

  compression="on"
  compressionMinSize="2048"
  noCompressionUserAgents="gozilla, traviata"

compressableMimeType="text/html,text/xml,text/css,text/javascript,application/xhtml+xml,application/x-javascript,application/javascript,text/xhtml"
 


it does not work to gzip javascript file.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org