svn commit: r794159 - /tomcat/trunk/webapps/docs/funcspecs/project.xml

2009-07-15 Thread markt
Author: markt
Date: Wed Jul 15 07:02:37 2009
New Revision: 794159

URL: http://svn.apache.org/viewvc?rev=794159&view=rev
Log:
Tab police

Modified:
tomcat/trunk/webapps/docs/funcspecs/project.xml

Modified: tomcat/trunk/webapps/docs/funcspecs/project.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/funcspecs/project.xml?rev=794159&r1=794158&r2=794159&view=diff
==
--- tomcat/trunk/webapps/docs/funcspecs/project.xml (original)
+++ tomcat/trunk/webapps/docs/funcspecs/project.xml Wed Jul 15 07:02:37 2009
@@ -33,7 +33,7 @@
 
 
 
- 
+
 
 
 



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



svn commit: r794160 - in /tomcat/trunk/webapps/docs: class-loader-howto.xml funcspecs/fs-admin-apps.xml jndi-datasource-examples-howto.xml setup.xml

2009-07-15 Thread markt
Author: markt
Date: Wed Jul 15 07:03:17 2009
New Revision: 794160

URL: http://svn.apache.org/viewvc?rev=794160&view=rev
Log:
Remove Jakarta references from the docs.
Update those sections of the docs as necessary.

Modified:
tomcat/trunk/webapps/docs/class-loader-howto.xml
tomcat/trunk/webapps/docs/funcspecs/fs-admin-apps.xml
tomcat/trunk/webapps/docs/jndi-datasource-examples-howto.xml
tomcat/trunk/webapps/docs/setup.xml

Modified: tomcat/trunk/webapps/docs/class-loader-howto.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/class-loader-howto.xml?rev=794160&r1=794159&r2=794160&view=diff
==
--- tomcat/trunk/webapps/docs/class-loader-howto.xml (original)
+++ tomcat/trunk/webapps/docs/class-loader-howto.xml Wed Jul 15 07:03:17 2009
@@ -91,7 +91,7 @@
 $CATALINA_HOME/bin/bootstrap.jar - Contains the main() method
 that is used to initialize the Tomcat 6 server, and the class loader
 implementation classes it depends on.
-$CATALINA_HOME/bin/tomcat-juli.jar - Package renamed Jakarta 
commons 
+$CATALINA_HOME/bin/tomcat-juli.jar - Package renamed Commons 
 logging API, and java.util.logging LogManager.
 
 Common - This class loader contains additional classes

Modified: tomcat/trunk/webapps/docs/funcspecs/fs-admin-apps.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/funcspecs/fs-admin-apps.xml?rev=794160&r1=794159&r2=794160&view=diff
==
--- tomcat/trunk/webapps/docs/funcspecs/fs-admin-apps.xml (original)
+++ tomcat/trunk/webapps/docs/funcspecs/fs-admin-apps.xml Wed Jul 15 07:03:17 
2009
@@ -180,7 +180,7 @@
 http://www.jcp.org/jsr/detail/152.jsp";>JavaServer Pages 
2.0
 (supported natively by Tomcat 6)
 http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html";>JavaServer 
Pages Standard Tag Library 1.0 (Jakarta Taglibs-Standard 1.0.3)
-http://jakarta.apache.org/struts/";>Struts Framework
+http://struts.apache.org/";>Struts Framework
 (Version 1.0) - MVC Framework for Web Applications
 TO BE DETERMINED - Application for hosting SOAP
 based web services

Modified: tomcat/trunk/webapps/docs/jndi-datasource-examples-howto.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/jndi-datasource-examples-howto.xml?rev=794160&r1=794159&r2=794160&view=diff
==
--- tomcat/trunk/webapps/docs/jndi-datasource-examples-howto.xml (original)
+++ tomcat/trunk/webapps/docs/jndi-datasource-examples-howto.xml Wed Jul 15 
07:03:17 2009
@@ -80,17 +80,16 @@
 JDBC 3.0 features with a 1.4 JVM.
 
 
-See the http://jakarta.apache.org/commons/dbcp/configuration.html";>
+See the http://commons.apache.org/dbcp/configuration.html";>
 DBCP documentation for a complete list of configuration parameters.
 
 
 
-DBCP uses the Jakarta-Commons Database Connection Pool. It relies on
-number of Jakarta-Commons components:
+DBCP uses the Commons Database Connection Pool. It relies on
+number of Commons components:
 
-Jakarta-Commons DBCP
-Jakarta-Commons Collections
-Jakarta-Commons Pool
+Commons DBCP
+Commons Pool
 
 These libraries are located in a single JAR at 
 $CATALINA_HOME/lib/tomcat-dbcp.jar. However,

Modified: tomcat/trunk/webapps/docs/setup.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/setup.xml?rev=794160&r1=794159&r2=794160&view=diff
==
--- tomcat/trunk/webapps/docs/setup.xml (original)
+++ tomcat/trunk/webapps/docs/setup.xml Wed Jul 15 07:03:17 2009
@@ -101,10 +101,6 @@
 Please note that you should use the GNU make (gmake) instead of
the native BSD make on FreeBSD systems.
 
-Download a commons-daemon binary from the Jakarta Commons download 
page, 
-   and place jsvc.tar.gz and commons-daemon.jar in the 
-   $CATALINA_HOME/bin folder.
-
 
 cd $CATALINA_HOME/bin
 tar xvfz jsvc.tar.gz



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



svn commit: r794161 - in /tomcat/trunk/java/org/apache: catalina/ant/ catalina/ant/jmx/ catalina/servlets/ jasper/resources/ tomcat/util/digester/ tomcat/util/modeler/

2009-07-15 Thread markt
Author: markt
Date: Wed Jul 15 07:15:10 2009
New Revision: 794161

URL: http://svn.apache.org/viewvc?rev=794161&view=rev
Log:
Remainder of fix in trunk for 47444
Update references to Jakarta in Javadoc and JspC

Modified:
tomcat/trunk/java/org/apache/catalina/ant/jmx/package.html
tomcat/trunk/java/org/apache/catalina/ant/package.html
tomcat/trunk/java/org/apache/catalina/servlets/CGIServlet.java
tomcat/trunk/java/org/apache/jasper/resources/LocalStrings.properties
tomcat/trunk/java/org/apache/jasper/resources/LocalStrings_es.properties
tomcat/trunk/java/org/apache/jasper/resources/LocalStrings_fr.properties
tomcat/trunk/java/org/apache/jasper/resources/LocalStrings_ja.properties
tomcat/trunk/java/org/apache/tomcat/util/digester/CallMethodRule.java
tomcat/trunk/java/org/apache/tomcat/util/digester/package.html
tomcat/trunk/java/org/apache/tomcat/util/modeler/package.html

Modified: tomcat/trunk/java/org/apache/catalina/ant/jmx/package.html
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ant/jmx/package.html?rev=794161&r1=794160&r2=794161&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/ant/jmx/package.html (original)
+++ tomcat/trunk/java/org/apache/catalina/ant/jmx/package.html Wed Jul 15 
07:15:10 2009
@@ -20,8 +20,8 @@
 Ant (version 1.6 or later) that can be used to interact with the
 Remote JMX JSR 160 RMI Adaptor to get/set attributes, invoke MBean operations
 and query for Mbeans inside a running instance of Tomcat.  For more 
information, see
-http://jakarta.apache.org/tomcat/tomcat-5.5-doc/monitoring.html";>
-http://jakarta.apache.org/tomcat/tomcat-5.5-doc/monitoring.html.
+http://tomcat.apache.org/tomcat-7.0-doc/monitoring.html";>
+http://tomcat.apache.org/tomcat-7.0-doc/monitoring.html.
 
 Each task element can open a new jmx connection or reference an
existing one. The following attribute are exists in every tasks:

Modified: tomcat/trunk/java/org/apache/catalina/ant/package.html
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ant/package.html?rev=794161&r1=794160&r2=794161&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/ant/package.html (original)
+++ tomcat/trunk/java/org/apache/catalina/ant/package.html Wed Jul 15 07:15:10 
2009
@@ -20,8 +20,8 @@
 Ant (version 1.6.x or later) that can be used to interact with the
 Manager application to deploy, undeploy, list, reload, start and stop web 
applications 
 from a running instance of Tomcat.  For more information, see
-http://jakarta.apache.org/tomcat/tomcat-5.5-doc/manager-howto.html";>
-http://jakarta.apache.org/tomcat/tomcat-5.5-doc/manager-howto.html.
+http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html";>
+http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html.
 
 The attributes of each task element correspond
 exactly to the request parameters that are included with an HTTP request

Modified: tomcat/trunk/java/org/apache/catalina/servlets/CGIServlet.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/servlets/CGIServlet.java?rev=794161&r1=794160&r2=794161&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/servlets/CGIServlet.java (original)
+++ tomcat/trunk/java/org/apache/catalina/servlets/CGIServlet.java Wed Jul 15 
07:15:10 2009
@@ -122,7 +122,7 @@
  * or an instance where the specification cited differs from Best
  * Community Practice (BCP).
  * Such instances should be well-documented here.  Please email the
- * mailto:tomcat-...@jakarta.apache.org";>Jakarta Tomcat group 
[tomcat-...@jakarta.apache.org]
+ * mailto:dev@tomcat.apache.org";>Tomcat group 
[...@tomcat.apache.org]
  * with amendments.
  *
  * 

Modified: tomcat/trunk/java/org/apache/jasper/resources/LocalStrings.properties
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/resources/LocalStrings.properties?rev=794161&r1=794160&r2=794161&view=diff
==
--- tomcat/trunk/java/org/apache/jasper/resources/LocalStrings.properties 
(original)
+++ tomcat/trunk/java/org/apache/jasper/resources/LocalStrings.properties Wed 
Jul 15 07:15:10 2009
@@ -265,7 +265,7 @@
 \PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"\n\
 \"http://java.sun.com/dtd/web-app_2_3.dtd";>\n\
 \n\
 \n\
 \n
@@ -274,7 +274,7 @@
 \n
 jspc.webinc.header=\n\
 \n

Modified: 
tomcat/trunk/java/org/apache/jasper/resources/LocalStrings_es.properties
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/resources/LocalStrings_es.properties?rev=794161&r1=794160&r2=794161&view=diff
==
--- tomcat/trunk/java/org/apache/jasper/resources/LocalStrings_

DO NOT REPLY [Bug 47444] Removal of Jakarta references

2009-07-15 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47444


Mark Thomas  changed:

   What|Removed |Added

  Attachment #23894|0   |1
is obsolete||




--- Comment #2 from Mark Thomas   2009-07-15 00:17:12 PST ---
(From update of attachment 23894)
The patch is bad. It incorrectly changes the DTD for the mbeans descriptors and
breaks the tag libraries in the examples web app.

-- 
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 47444] Removal of Jakarta references

2009-07-15 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47444





--- Comment #3 from Mark Thomas   2009-07-15 00:18:14 PST ---
An alternative patch has been applied to trunk.

-- 
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: r794163 - /tomcat/tc6.0.x/trunk/webapps/ROOT/index.jsp

2009-07-15 Thread markt
Author: markt
Date: Wed Jul 15 07:27:44 2009
New Revision: 794163

URL: http://svn.apache.org/viewvc?rev=794163&view=rev
Log:
Fix 47444 for the ROOT web application

Modified:
tomcat/tc6.0.x/trunk/webapps/ROOT/index.jsp

Modified: tomcat/tc6.0.x/trunk/webapps/ROOT/index.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/ROOT/index.jsp?rev=794163&r1=794162&r2=794163&view=diff
==
--- tomcat/tc6.0.x/trunk/webapps/ROOT/index.jsp (original)
+++ tomcat/tc6.0.x/trunk/webapps/ROOT/index.jsp Wed Jul 15 07:27:44 2009
@@ -97,7 +97,7 @@
   
   <%= application.getServerInfo() 
%>
   
-http://jakarta.apache.org/";>
+http://www.apache.org/";>
  





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



DO NOT REPLY [Bug 41093] publish 6.0.2 beta jars in a maven repository

2009-07-15 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=41093


Konstantin Kolinko  changed:

   What|Removed |Added

 Status|VERIFIED|CLOSED




-- 
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 40162] JNDI Environment is null within subthreads in Servlet.destroy()

2009-07-15 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=40162





--- Comment #9 from Horst Scheruga   2009-07-15 04:41:28 
PST ---
(In reply to comment #8)

Finding a workaround for my problem is not so hard.

In the Servlet.init() method I store the Jndi Context value I need into a
String.

For retrieving the JndiContext I use the attached JndiContext class, which has
an instance variable of type InheritableThreadLocal, which is used if the Jndi
context does not deliver the needed values

In Servlet.destroy() I set the stored String into the JndiContext class.

---
However the servlets destroy() methods should be called by tomcat BEFORE the
resources of a web application are released.

-- 
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 40162] JNDI Environment is null within subthreads in Servlet.destroy()

2009-07-15 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=40162





--- Comment #10 from Horst Scheruga   2009-07-15 04:45:24 
PST ---
Created an attachment (id=23986)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23986)
JndiContext workaorund class

-- 
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: r794246 - /tomcat/current/tc5.5.x/STATUS.txt

2009-07-15 Thread kkolinko
Author: kkolinko
Date: Wed Jul 15 12:13:10 2009
New Revision: 794246

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

Modified:
tomcat/current/tc5.5.x/STATUS.txt

Modified: tomcat/current/tc5.5.x/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/current/tc5.5.x/STATUS.txt?rev=794246&r1=794245&r2=794246&view=diff
==
--- tomcat/current/tc5.5.x/STATUS.txt (original)
+++ tomcat/current/tc5.5.x/STATUS.txt Wed Jul 15 12:13:10 2009
@@ -111,3 +111,9 @@
   +1: markt, kkolinko
   -1:
 
+* Minor cleanups for AccessLogValve classes
+  Note: do not add much value. Just less StringBuffers, etc.
+  http://people.apache.org/~kkolinko/patches/2009-07-15_tc55_ALV.patch
+  http://people.apache.org/~kkolinko/patches/2009-07-15_tc55_FCALV.patch
+  +1: kkolinko
+  -1:



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



DO NOT REPLY [Bug 40162] JNDI Environment is null within subthreads in Servlet.destroy()

2009-07-15 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=40162





--- Comment #11 from Konstantin Kolinko   2009-07-15 
05:51:54 PST ---
(In reply to comment #9)
> However the servlets destroy() methods should be called by tomcat BEFORE the
> resources of a web application are released.

It *is* called BEFORE.  It is your Runnable that runs *AFTER* those are
released. If you need additional threads, write a Listener and terminate/wait
for them before the webapp stops.

-- 
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



Why was the behaviour of ResourceBundleELResolver

2009-07-15 Thread Maarten_D

Hi,

In response to https://issues.apache.org/bugzilla/show_bug.cgi?id=46915, the
Tomcat code was patched and 6.0.20 has now reverted back to the old
behaviour of throwing an exception for every element in a resource bundle
that can't be found.

Personally, I find this unfortunate. The "new" method of simply outputting
the key name surrounded by ??? was much easier to develop with. It used to
be that you could implement your page, and already put in the keys you
needed, and still have it render (just with the ???foo?? strings). Then,
when you were done with the layout/code, you could copy/paste all the ???
keys into the props file and fill them out. Now, even the slightest typo
will result in an exception, which means that you either have to take out
the key temporarily, or fix the props file immediately and, here's the
kicker, restart your webapp. The old "new" way (just surround the keys with
???) was a lot better for development.

Also, should any errors sneak their way into your production app, I think
it's better to render a page that might have some "???" somewhere (if the
text is even visible) rather than knocking the user over the head with a
stacktrace/error page. I realize that you should check your apps for errors,
that this scenario should never take place, etc. etc., but the fact is that
it does happen, and throwing an exception for a missing resource bundle key
seems a little draconic.

So, my question is, why was the behaviour of ResourceBundleELResolver rolled
back to what it was in the 5.5 branch? What's so terrible about the "???"
method that it warrants the hit that developer productivity takes when you
start throwing exceptions instead?

Regards,
Maarten
-- 
View this message in context: 
http://www.nabble.com/Why-was-the-behaviour-of-ResourceBundleELResolver-tp24499717p24499717.html
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


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



DO NOT REPLY [Bug 47537] New: Empty response when forward to login page fails

2009-07-15 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47537

   Summary: Empty response when forward to login page fails
   Product: Tomcat 5
   Version: 5.5.27
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: jans...@hotmail.com


When tomcat receives a POST request on a session that has timedout, it will
forward to the form based login page (form-login-page). 
If this forward fails for some reason (an error in the login page for
instance), tomcat will return an empty HTTP response, without any error code. 

The tomcat log says "Unexpected error forwarding to login page" and contains
the detailed stacktrace, but i would expect the error to show up in the browser
as well (at least a 500 status)

-- 
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