svn commit: r680101 - in /tomcat: container/tc5.5.x/webapps/docs/realm-howto.xml tc6.0.x/trunk/webapps/docs/realm-howto.xml trunk/webapps/docs/realm-howto.xml

2008-07-27 Thread markt
Author: markt
Date: Sun Jul 27 06:20:07 2008
New Revision: 680101

URL: http://svn.apache.org/viewvc?rev=680101&view=rev
Log:
Fix error in JAAS realm doc reported on users list.

Modified:
tomcat/container/tc5.5.x/webapps/docs/realm-howto.xml
tomcat/tc6.0.x/trunk/webapps/docs/realm-howto.xml
tomcat/trunk/webapps/docs/realm-howto.xml

Modified: tomcat/container/tc5.5.x/webapps/docs/realm-howto.xml
URL: 
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/realm-howto.xml?rev=680101&r1=680100&r2=680101&view=diff
==
--- tomcat/container/tc5.5.x/webapps/docs/realm-howto.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/realm-howto.xml Sun Jul 27 06:20:07 
2008
@@ -1058,7 +1058,7 @@
  
href="http://java.sun.com/j2se/1.4.1/docs/guide/security/jaas/tutorials/LoginConfigFile.html";>JAAS
 LoginConfig file) and tell Tomcat where to find it by specifying
 its location to the JVM, for instance by setting the environment
-variable: 
JAVA_OPTS=-DJAVA_OPTS=-Djava.security.auth.login.config==$CATALINA_HOME/conf/jaas.config
+variable: JAVA_OPTS=$JAVA_OPTS 
-Djava.security.auth.login.config==$CATALINA_HOME/conf/jaas.config
 
   Configure your security-constraints in your web.xml for
 the resources you want to protect

Modified: tomcat/tc6.0.x/trunk/webapps/docs/realm-howto.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/realm-howto.xml?rev=680101&r1=680100&r2=680101&view=diff
==
--- tomcat/tc6.0.x/trunk/webapps/docs/realm-howto.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/realm-howto.xml Sun Jul 27 06:20:07 2008
@@ -1342,7 +1342,7 @@
  
href="http://java.sun.com/j2se/1.4.1/docs/guide/security/jaas/tutorials/LoginConfigFile.html";>JAAS
 LoginConfig file) and tell Tomcat where to find it by specifying
 its location to the JVM, for instance by setting the environment
-variable: 
JAVA_OPTS=-DJAVA_OPTS=-Djava.security.auth.login.config==$CATALINA_BASE/conf/jaas.config
+variable: JAVA_OPTS=$JAVA_OPTS 
-Djava.security.auth.login.config==$CATALINA_BASE/conf/jaas.config
 
   Configure your security-constraints in your web.xml for
 the resources you want to protect

Modified: tomcat/trunk/webapps/docs/realm-howto.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/realm-howto.xml?rev=680101&r1=680100&r2=680101&view=diff
==
--- tomcat/trunk/webapps/docs/realm-howto.xml (original)
+++ tomcat/trunk/webapps/docs/realm-howto.xml Sun Jul 27 06:20:07 2008
@@ -1342,7 +1342,7 @@
  
href="http://java.sun.com/j2se/1.4.1/docs/guide/security/jaas/tutorials/LoginConfigFile.html";>JAAS
 LoginConfig file) and tell Tomcat where to find it by specifying
 its location to the JVM, for instance by setting the environment
-variable: 
JAVA_OPTS=-DJAVA_OPTS=-Djava.security.auth.login.config==$CATALINA_BASE/conf/jaas.config
+variable: JAVA_OPTS=$JAVA_OPTS 
-Djava.security.auth.login.config==$CATALINA_BASE/conf/jaas.config
 
   Configure your security-constraints in your web.xml for
 the resources you want to protect



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



svn commit: r680102 - /tomcat/site/trunk/docs/doap_Tomcat.rdf

2008-07-27 Thread markt
Author: markt
Date: Sun Jul 27 06:33:31 2008
New Revision: 680102

URL: http://svn.apache.org/viewvc?rev=680102&view=rev
Log:
Fix RDF as per report on users list

Modified:
tomcat/site/trunk/docs/doap_Tomcat.rdf

Modified: tomcat/site/trunk/docs/doap_Tomcat.rdf
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/doap_Tomcat.rdf?rev=680102&r1=680101&r2=680102&view=diff
==
--- tomcat/site/trunk/docs/doap_Tomcat.rdf (original)
+++ tomcat/site/trunk/docs/doap_Tomcat.rdf Sun Jul 27 06:33:31 2008
@@ -34,11 +34,15 @@
 2006-04-14
 5.5.17
   
+
+
   
 5.5.16
 2006-03-05
 5.5.16
   
+
+
   
 5.5.15
 2006-01-23



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



Re: svn commit: r680102 - /tomcat/site/trunk/docs/doap_Tomcat.rdf

2008-07-27 Thread Mark Thomas

[EMAIL PROTECTED] wrote:

Author: markt
Date: Sun Jul 27 06:33:31 2008
New Revision: 680102

URL: http://svn.apache.org/viewvc?rev=680102&view=rev
Log:
Fix RDF as per report on users list


This is now fixed but the data is horribly out of date? Does anyone care 
about this file? If not, better to delete it than to provide information 
that is two years out of date.


Mark



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



Re: svn commit: r680102 - /tomcat/site/trunk/docs/doap_Tomcat.rdf

2008-07-27 Thread William A. Rowe, Jr.

Mark Thomas wrote:

[EMAIL PROTECTED] wrote:

Author: markt
Date: Sun Jul 27 06:33:31 2008
New Revision: 680102

URL: http://svn.apache.org/viewvc?rev=680102&view=rev
Log:
Fix RDF as per report on users list


This is now fixed but the data is horribly out of date? Does anyone care 
about this file? If not, better to delete it than to provide information 
that is two years out of date.


Hmm... see http://projects.apache.org/indexes/quick.html

I don't suppose we want tomcat falling off that list?

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



Re: svn commit: r680102 - /tomcat/site/trunk/docs/doap_Tomcat.rdf

2008-07-27 Thread William A. Rowe, Jr.

William A. Rowe, Jr. wrote:

Mark Thomas wrote:

[EMAIL PROTECTED] wrote:

Author: markt
Date: Sun Jul 27 06:33:31 2008
New Revision: 680102

URL: http://svn.apache.org/viewvc?rev=680102&view=rev
Log:
Fix RDF as per report on users list


This is now fixed but the data is horribly out of date? Does anyone 
care about this file? If not, better to delete it than to provide 
information that is two years out of date.


Hmm... see http://projects.apache.org/indexes/quick.html

I don't suppose we want tomcat falling off that list?


Speaking of which, none of my projects seemed to understand the fields
required for presentation of
http://projects.apache.org/indexes/releases.html
(or that page is just broken :).  Will research, if I learn anything I'm
happy to update tomcat's doap as well.

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



Re: svn commit: r680102 - /tomcat/site/trunk/docs/doap_Tomcat.rdf

2008-07-27 Thread William A. Rowe, Jr.

Mark Thomas wrote:

[EMAIL PROTECTED] wrote:

Author: markt
Date: Sun Jul 27 06:33:31 2008
New Revision: 680102

URL: http://svn.apache.org/viewvc?rev=680102&view=rev
Log:
Fix RDF as per report on users list


This is now fixed but the data is horribly out of date? Does anyone care 
about this file? If not, better to delete it than to provide information 
that is two years out of date.


For starters, try the attached.

Is part of the flaw that it's not in the xdocs origin tree?  Maybe leaving
this in plain site for authoring would make it easier to keep it in sync.


Index: tomcat/docs/doap_Tomcat.rdf
===
--- tomcat/docs/doap_Tomcat.rdf	(revision 680122)
+++ tomcat/docs/doap_Tomcat.rdf	(working copy)
@@ -30,23 +30,23 @@
 
 
   
-Latest Stable Release
-2006-04-14
-5.5.17
+Current Stable Release 6.0.18
+2008-07-22
+6.0.18
   
 
 
   
-5.5.16
-2006-03-05
-5.5.16
+Current Legacy Release 5.5.26
+2008-01-28
+5.5.26
   
 
 
   
-5.5.15
-2006-01-23
-5.5.15
+Current Legacy Release 4.1.37
+2008-02-12
+4.1.37
   
 
 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

svn commit: r680146 - in /tomcat/site/trunk: build.xml docs/doap_Tomcat.rdf xdocs/doap_Tomcat.rdf

2008-07-27 Thread markt
Author: markt
Date: Sun Jul 27 09:30:22 2008
New Revision: 680146

URL: http://svn.apache.org/viewvc?rev=680146&view=rev
Log:
Update doap (based on Bill's suggested patch), add doap to src folder and add 
copying it to the build process.

Added:
tomcat/site/trunk/xdocs/doap_Tomcat.rdf   (with props)
Modified:
tomcat/site/trunk/build.xml
tomcat/site/trunk/docs/doap_Tomcat.rdf

Modified: tomcat/site/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/build.xml?rev=680146&r1=680145&r2=680146&view=diff
==
--- tomcat/site/trunk/build.xml (original)
+++ tomcat/site/trunk/build.xml Sun Jul 27 09:30:22 2008
@@ -47,6 +47,14 @@
 
 
 
+
+
+
+
+
+
+
+
 
 
 
@@ -59,4 +67,4 @@
 
   
 
-
\ No newline at end of file
+

Modified: tomcat/site/trunk/docs/doap_Tomcat.rdf
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/doap_Tomcat.rdf?rev=680146&r1=680145&r2=680146&view=diff
==
--- tomcat/site/trunk/docs/doap_Tomcat.rdf (original)
+++ tomcat/site/trunk/docs/doap_Tomcat.rdf Sun Jul 27 09:30:22 2008
@@ -30,23 +30,23 @@
 
 
   
-Latest Stable Release
-2006-04-14
-5.5.17
+Latest Stable 6.0.x Release
+2008-02-08
+6.0.16
   
 
 
   
-5.5.16
-2006-03-05
-5.5.16
+Latest Stable 5.5.x release
+2008-01-28
+5.5.26
   
 
 
   
-5.5.15
-2006-01-23
-5.5.15
+Latest Stable 4.1.x release
+2008-02-12
+4.1.37
   
 
 

Added: tomcat/site/trunk/xdocs/doap_Tomcat.rdf
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/doap_Tomcat.rdf?rev=680146&view=auto
==
--- tomcat/site/trunk/xdocs/doap_Tomcat.rdf (added)
+++ tomcat/site/trunk/xdocs/doap_Tomcat.rdf Sun Jul 27 09:30:22 2008
@@ -0,0 +1,76 @@
+
+
+http://usefulinc.com/ns/doap#"; 
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"; 
+ xmlns:asfext="http://projects.apache.org/ns/asfext#";
+ xmlns:foaf="http://xmlsns.com/foaf/0.1/";>
+  http://tomcat.apache.org/";>
+2006-01-27
+http://usefulinc.com/doap/licenses/asl20"; />
+Apache Tomcat
+http://tomcat.apache.org"; />
+http://tomcat.apache.org"; />
+A Java Servlet and Java Servet Pages specifications 
implementation.
+Apache Tomcat is the servlet container that is used in the 
official Reference Implementation for the Java Servlet and JavaServer Pages 
technologies. The Java Servlet and JavaServer Pages specifications are 
developed by Sun under the Java Community Process.
+
+Apache Tomcat is developed in an open and participatory environment and 
released under the Apache Software License. Apache Tomcat is intended to be a 
collaboration of the best-of-breed developers from around the world. We invite 
you to participate in this open development project. To learn more about 
getting involved, click here.
+
+Apache Tomcat powers numerous large-scale, mission-critical web applications 
across a diverse range of industries and organizations. Some of these users and 
their stories are listed on the PoweredBy wiki page.
+http://issues.apache.org/bugzilla"; />
+http://tomcat.apache.org/lists.html"; />
+http://tomcat.apache.org"; />
+Java
+http://projects.apache.org/category/network-server"; />
+
+  
+Tomcat PMC
+  mailto:dev@tomcat.apache.org"/>
+  
+
+
+  
+Latest Stable 6.0.x Release
+2008-02-08
+6.0.16
+  
+
+
+  
+Latest Stable 5.5.x release
+2008-01-28
+5.5.26
+  
+
+
+  
+Latest Stable 4.1.x release
+2008-02-12
+4.1.37
+  
+
+
+  
+http://svn.apache.org/repos/asf/tomcat"/>
+http://svn.apache.org/repos/asf/tomcat/"/>
+  
+
+
+  
+Java Servlets
+JCP
+JSR 154
+http://www.jcp.org/en/jsr/detail?id=154"/>
+  
+
+
+  
+Java Server Pages
+JCP
+JSR 152
+http://www.jcp.org/en/jsr/detail?id=152"/>
+  
+
+  
+
+

Propchange: tomcat/site/trunk/xdocs/doap_Tomcat.rdf
--
svn:eol-style = native



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



Re: svn commit: r680102 - /tomcat/site/trunk/docs/doap_Tomcat.rdf

2008-07-27 Thread Mark Thomas

William A. Rowe, Jr. wrote:

Mark Thomas wrote:

[EMAIL PROTECTED] wrote:

Author: markt
Date: Sun Jul 27 06:33:31 2008
New Revision: 680102

URL: http://svn.apache.org/viewvc?rev=680102&view=rev
Log:
Fix RDF as per report on users list


This is now fixed but the data is horribly out of date? Does anyone 
care about this file? If not, better to delete it than to provide 
information that is two years out of date.


For starters, try the attached.

I've committed something similar. Note 6.0.18 isn't released yet.


Is part of the flaw that it's not in the xdocs origin tree?  Maybe leaving
this in plain site for authoring would make it easier to keep it in sync.
Possibly but I suspect it is more than to with the fact the none of the 
committers use/care about the information. We'll see if it gets kept up to 
date now.


Mark



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



Programmatically detecting a login or logout using Apache Tomcat

2008-07-27 Thread MartinOShea

Hello

I'm trying to find a way to detect a user logging into or logging out of an
application I'm working on. I want to record these events so that I know the
exact steps a user has taken through the application's JSPs and servlets. I
want to do this without reference to the Apache Tomcat server logs as well.

I have tried the following code in index.jsp (which is serving as each
user's home page):

<% if (request.getParameter("logoff") != null) {
   session.invalidate();
   response.sendRedirect("/myDataSharer/jsp/user/index.jsp");   
   return;
} %>  

And I have tried using variations like:

<% if (request.getParameter("logon") == true) {

But without success. 

does anyone know a way that the login and logout events can be recorded by
an event in a program, a session object and so on?

I'm using NetBeans 6.1 with Apache Tomcat 6.X.

Thanks

Martin O'Shea.

-- 
View this message in context: 
http://www.nabble.com/Programmatically-detecting-a-login-or-logout-using-Apache-Tomcat-tp18679788p18679788.html
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


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



svn commit: r680206 - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/

2008-07-27 Thread markt
Author: markt
Date: Sun Jul 27 16:30:46 2008
New Revision: 680206

URL: http://svn.apache.org/viewvc?rev=680206&view=rev
Log:
Update website copyright dates. Bugs 45468 and 45469.

Modified:
tomcat/site/trunk/docs/bugreport.html
tomcat/site/trunk/docs/contact.html
tomcat/site/trunk/docs/download-41.html
tomcat/site/trunk/docs/download-55.html
tomcat/site/trunk/docs/download-60.html
tomcat/site/trunk/docs/download-connectors.html
tomcat/site/trunk/docs/download-native.html
tomcat/site/trunk/docs/findhelp.html
tomcat/site/trunk/docs/getinvolved.html
tomcat/site/trunk/docs/heritage.html
tomcat/site/trunk/docs/index.html
tomcat/site/trunk/docs/irc.html
tomcat/site/trunk/docs/legal.html
tomcat/site/trunk/docs/lists.html
tomcat/site/trunk/docs/migration.html
tomcat/site/trunk/docs/resources.html
tomcat/site/trunk/docs/security-3.html
tomcat/site/trunk/docs/security-4.html
tomcat/site/trunk/docs/security-5.html
tomcat/site/trunk/docs/security-6.html
tomcat/site/trunk/docs/security-impact.html
tomcat/site/trunk/docs/security-jk.html
tomcat/site/trunk/docs/security.html
tomcat/site/trunk/docs/svn.html
tomcat/site/trunk/docs/whichversion.html
tomcat/site/trunk/docs/whoweare.html
tomcat/site/trunk/xdocs/legal.xml
tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl

Modified: tomcat/site/trunk/docs/bugreport.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/bugreport.html?rev=680206&r1=680205&r2=680206&view=diff
==
--- tomcat/site/trunk/docs/bugreport.html (original)
+++ tomcat/site/trunk/docs/bugreport.html Sun Jul 27 16:30:46 2008
@@ -519,7 +519,7 @@
 
 
 
-Copyright © 1999-2007, The Apache Software Foundation
+Copyright © 1999-2008, The Apache Software Foundation
 
 
 

Modified: tomcat/site/trunk/docs/contact.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/contact.html?rev=680206&r1=680205&r2=680206&view=diff
==
--- tomcat/site/trunk/docs/contact.html (original)
+++ tomcat/site/trunk/docs/contact.html Sun Jul 27 16:30:46 2008
@@ -292,7 +292,7 @@
 
 
 
-Copyright © 1999-2007, The Apache Software Foundation
+Copyright © 1999-2008, The Apache Software Foundation
 
 
 

Modified: tomcat/site/trunk/docs/download-41.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-41.html?rev=680206&r1=680205&r2=680206&view=diff
==
--- tomcat/site/trunk/docs/download-41.html (original)
+++ tomcat/site/trunk/docs/download-41.html Sun Jul 27 16:30:46 2008
@@ -482,7 +482,7 @@
 
 
 
-Copyright © 1999-2007, The Apache Software Foundation
+Copyright © 1999-2008, The Apache Software Foundation
 
 
 

Modified: tomcat/site/trunk/docs/download-55.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-55.html?rev=680206&r1=680205&r2=680206&view=diff
==
--- tomcat/site/trunk/docs/download-55.html (original)
+++ tomcat/site/trunk/docs/download-55.html Sun Jul 27 16:30:46 2008
@@ -506,7 +506,7 @@
 
 
 
-Copyright © 1999-2007, The Apache Software Foundation
+Copyright © 1999-2008, The Apache Software Foundation
 
 
 

Modified: tomcat/site/trunk/docs/download-60.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-60.html?rev=680206&r1=680205&r2=680206&view=diff
==
--- tomcat/site/trunk/docs/download-60.html (original)
+++ tomcat/site/trunk/docs/download-60.html Sun Jul 27 16:30:46 2008
@@ -451,7 +451,7 @@
 
 
 
-Copyright © 1999-2007, The Apache Software Foundation
+Copyright © 1999-2008, The Apache Software Foundation
 
 
 

Modified: tomcat/site/trunk/docs/download-connectors.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-connectors.html?rev=680206&r1=680205&r2=680206&view=diff
==
--- tomcat/site/trunk/docs/download-connectors.html (original)
+++ tomcat/site/trunk/docs/download-connectors.html Sun Jul 27 16:30:46 2008
@@ -423,7 +423,7 @@
 
 
 
-Copyright © 1999-2007, The Apache Software Foundation
+Copyright © 1999-2008, The Apache Software Foundation
 
 
 

Modified: tomcat/site/trunk/docs/download-native.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-native.html?rev=680206&r1=680205&r2=680206&view=diff
==
--- tomcat/site/trunk/docs/download-native.html (original)
+++ tomcat/site/trunk/docs/download-native.html Sun Jul 27 16:30:46 2008
@@ 

DO NOT REPLY [Bug 45469] Update copyright on "legal" page

2008-07-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45469





--- Comment #2 from Mark Thomas <[EMAIL PROTECTED]>  2008-07-27 16:31:37 PST ---
Many thanks. Updates applied and should be live in ~1 hour.


-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 45468] Upate copyright to 2008, site-wide

2008-07-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45468


Mark Thomas <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #1 from Mark Thomas <[EMAIL PROTECTED]>  2008-07-27 16:32:09 PST ---
Many thanks. Updates applied and should be live in ~1 hour.


-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 45469] Update copyright on "legal" page

2008-07-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45469


Mark Thomas <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 45467] typo corrections, whichversion web page

2008-07-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45467


Mark Thomas <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #1 from Mark Thomas <[EMAIL PROTECTED]>  2008-07-27 16:39:34 PST ---
Thanks for the patch. I applied a variation. It should be live in ~1 hour.


-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r680210 - in /tomcat/site/trunk: docs/whichversion.html xdocs/whichversion.xml

2008-07-27 Thread markt
Author: markt
Date: Sun Jul 27 16:39:18 2008
New Revision: 680210

URL: http://svn.apache.org/viewvc?rev=680210&view=rev
Log:
Fix 45467 (typos). Based on a patch by David Barnes. 

Modified:
tomcat/site/trunk/docs/whichversion.html
tomcat/site/trunk/xdocs/whichversion.xml

Modified: tomcat/site/trunk/docs/whichversion.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/whichversion.html?rev=680210&r1=680209&r2=680210&view=diff
==
--- tomcat/site/trunk/docs/whichversion.html (original)
+++ tomcat/site/trunk/docs/whichversion.html Sun Jul 27 16:39:18 2008
@@ -195,7 +195,7 @@
 
 Different versions of Apache Tomcat are available for different versions
 of the Servlet and JSP specifications. The mapping between the specifications
-and the respective Apache Tomcat verisons is:
+and the respective Apache Tomcat versions is:
 
 
 
@@ -254,10 +254,10 @@
 which one is right for you.  More details about each release can be found in
 the associated release notes.
 
-Please note that alhough we offer downloads and documentation of older
+Please note that although we offer downloads and documentation of older
 releases, such as Apache Tomcat 4.x, we strongly encourage users to use the
 latest stable version of Apache Tomcat whenever possible.  We recognize that 
upgrading
-across major version may not be a trivial task, and some support is still
+across major versions may not be a trivial task, and some support is still
 offered on the mailing list for users of old versions.  However, because of the
 community-driven support approach, the older your version the less people would
 be interested or able to support you.
@@ -300,7 +300,7 @@
 
 
 Alpha releases may contain large amounts of untested/missing
-functionality required by the specification and/or signifcant bugs and are not
+functionality required by the specification and/or significant bugs and are not
 expected to run stably for any length of time.
 
 
@@ -338,7 +338,7 @@
 
 
 
-Apache Tomcat 6.x.  Apache Tomcat 6.x is the current focus of
+Apache Tomcat 6.x is the current focus of
 development.  It builds upon the improvements made in Tomcat 5.5.x and 
implements
 the Servlet 2.5 and JSP 2.1
 specifications. In addition to that, it includes the following improvements:
@@ -375,15 +375,15 @@
 
 
 
-Apache Tomcat 5.5.x.  It supports the same Servlet and JSP
-Specification versions as Apache Tomcat 5.0.x, there are significant changes
+Apache Tomcat 5.5.x supports the same Servlet and JSP
+Specification versions as Apache Tomcat 5.0.x. There are significant changes
 in many areas under the hood, resulting in improved performance, stability,
 and total cost of ownership.  Please refer to the Apache Tomcat 5.5 Changelog
 for details.
 
 
 
-Apache Tomcat 5.0.x.  Apache Tomcat 5.0 improves on Apache 
Tomcat 4.1 in many
+Apache Tomcat 5.0.x improves on Apache Tomcat 4.1 in many
 ways, including:
 
 Performance optimizations and reduced garbage collection
@@ -433,7 +433,7 @@
 specifications.
 
 
-Apache Tomcat 4.1.x. Apache Tomcat 4.1 is a refactoring
+Apache Tomcat 4.1.x is a refactoring
 of Apache Tomcat 4.0.x, and contains significant enhancements, including:
 
 JMX based administration features
@@ -489,7 +489,7 @@
 
 Version 3.3 is the current production quality release for
 the Servlet 2.2 and JSP 1.1 specifications.  Apache Tomcat 3.3 is the latest
-continuation of the Apache Tomcat 3.x architecture and it is more advanced 
then 3.2.4,
+continuation of the Apache Tomcat 3.x architecture; it is more advanced then 
3.2.4,
 which is the 'old' production quality release.
 Version 3.2.4 is the 'old' production quality release and is now in
 maintenance only mode.

Modified: tomcat/site/trunk/xdocs/whichversion.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/whichversion.xml?rev=680210&r1=680209&r2=680210&view=diff
==
--- tomcat/site/trunk/xdocs/whichversion.xml (original)
+++ tomcat/site/trunk/xdocs/whichversion.xml Sun Jul 27 16:39:18 2008
@@ -12,7 +12,7 @@
 
 Different versions of Apache Tomcat are available for different versions
 of the Servlet and JSP specifications. The mapping between the specifications
-and the respective Apache Tomcat verisons is:
+and the respective Apache Tomcat versions is:
 
 
 
@@ -47,10 +47,10 @@
 which one is right for you.  More details about each release can be found in
 the associated release notes.
 
-Please note that alhough we offer downloads and documentation of older
+Please note that although we offer downloads and documentation of older
 releases, such as Apache Tomcat 4.x, we strongly encourage users to use the
 latest stable version of Apache Tomcat whenever possible.  We recognize that 
upgrading
-across major version may not be a trivial task, and some support is still
+across major versions may not be a trivial task, and some support is st

Bug report for Watchdog [2008/07/27]

2008-07-27 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|  278|Unc|Nor|2000-12-04|Bug in GetParameterValuesTestServlet.java file Bug|
|  279|Unc|Nor|2000-12-04|Logical Error in GetParameterValuesTestServlet Bug|
|  469|Unc|Nor|2001-01-17|in example-taglib.tld "urn" should be "uri" BugRat|
|  470|Unc|Nor|2001-01-17|FAIL positiveForward.jsp and positiveInclude.jsp B|
| 9634|New|Enh|2002-06-05|No tests exist for ServletContext.getResourcePaths|
|10703|New|Enh|2002-07-11|Need to test getRequestURI after RequestDispatcher|
|11336|New|Enh|2002-07-31|Test wrapped path methods with RD.foward()|
|11663|New|Maj|2002-08-13|JSP precompile tests rely on Jasper specific behav|
|11664|New|Maj|2002-08-13|A sweep is needed of all Watchdog 4.0 tag librarie|
|11665|New|Maj|2002-08-13|ServletToJSPErrorPageTest and ServletToServletErro|
|11666|New|Maj|2002-08-13|SetBufferSize_1TestServlet is invalid.|
|14004|New|Maj|2002-10-28|Incorrent behaviour of all attribute-related lifec|
|15504|New|Nor|2002-12-18|JSP positiveGetValues test relies on order preserv|
|24649|New|Nor|2003-11-12|getRemoteHost fails when agent has uppercase chara|
|29398|New|Nor|2004-06-04|Update site and note current status   |
+-+---+---+--+--+
| Total   15 bugs   |
+---+

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



Bug report for Tomcat 4 [2008/07/27]

2008-07-27 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
| 3839|Opn|Enh|2001-09-26|Problem bookmarking login page|
| 4227|Opn|Enh|2001-10-17|Invalid CGI path  |
| 5329|New|Enh|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|
| 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   |
| 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  without className in server.xml produces N|
|11129|New|Enh|2002-07-24|New valve for putting the sessionIDs in the reques|
|11248|New|Enh|2002-07-29|DefaultServlet doesn't send expires header|
|11754|Opn|Enh|2002-08-15|Synchronous shutdown script - shutdown.sh should w|
|12069|New|Enh|2002-08-27|Creation of more HttpSession objects for one previ|
|12428|Opn|Enh|2002-09-09|request.getUserPrincipal(): Misinterpretation of s|
|12658|New|Enh|2002-09-15|a proxy host and port at the  element level |
|12766|New|Enh|2002-09-18|Tomcat should use tld files in /WEB-INF/ over vers|
|13309|Opn|Enh|2002-10-04|Catalina calls System.exit()  |
|13634|New|Enh|2002-10-15|Allowing system properties to be substituted in co|
|13689|Opn|Enh|2002-10-16|Classloader paths for 'Common' classes and librari|
|13731|New|Enh|2002-10-17|Final request, response, session and other variabl|
|13941|New|Enh|2002-10-24|reload is VERY slow   |
|13965|New|Enh|2002-10-25|Catalina.sh correction request for Tru64 Unix |
|14097|New|Enh|2002-10-30|hardcoded registry value for vm lets tomcat servic|
|14416|New|Enh|2002-11-10|blank tag name in TLD cause NullPointerException  |
|14635|New|Enh|2002-11-18|Should be possible not to have -MM-DD in log f|
|14766|New|Enh|2002-11-22|Redirect Vavle|
|14993|New|Enh|2002-12-02|Possible obselete synchronized declaration|
|15115|New|Enh|2002-12-05|correct docs... XML parser *cannot* be overridden |
|15417|Opn|Enh|2002-12-16|Add port for forced compilation of JSP pages  |
|15688|New|Enh|2002-12-27|full-qualified names instead of imports   |
|15941|New|Enh|2003-01-10|Expose rootCause exceptions at deeper levels  |
|16294|New|Enh|2003-01-21|Configurable URL Decoding.|
|16357|New|Enh|2003-01-23|"connection timeout reached"  |
|16531|New|Enh|2003-01-29|Updating already deployed ".war" files in a single|
|16579|New|Enh|2003-01-30|documentation page layout/style breaks wrapping to|
|16596|New|Enh|2003-01-30|option for disabling log rotation |
|17070|New|Enh|2003-02-14|The Catalina Ant tasks do not allow for 'reusable'|
|17146|New|Enh|2003-02-18|Simplify build.xml using 

Bug report for Tomcat 3 [2008/07/27]

2008-07-27 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
| 2350|Ver|Nor|2001-06-27|ServletConfig.getInitParameter() requires url-patt|
| 6488|Ver|Maj|2002-02-15|Error: 304. Apparent bug in default ErrorHandler c|
| 9737|Ver|Nor|2002-06-10|ArrayIndexOutOfBoundsException when sending just p|
|44911|Ass|Nor|2008-04-30|Test again from Chirag|
+-+---+---+--+--+
| Total4 bugs   |
+---+

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



Bug report for Tomcat 5 [2008/07/27]

2008-07-27 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|27122|Opn|Enh|2004-02-20|IE plugins cannot access components through Tomcat|
|28039|Opn|Enh|2004-03-30|Cluster Support for SingleSignOn  |
|29160|Ver|Enh|2004-05-23|precompile problem: _jspx_meth_* (javax.servlet.js|
|29494|Inf|Enh|2004-06-10|No way to set PATH when running as a service on Wi|
|29936|Opn|Blk|2004-07-06|XML parser loading problems by container  |
|30241|Ver|Enh|2004-07-21|Enhance build script to use branch argument when c|
|31257|Opn|Cri|2004-09-16|java.endorsed.dirs is not used when JSP compilatio|
|33262|Inf|Enh|2005-01-27|Service Manager autostart should check for adminis|
|33453|Opn|Enh|2005-02-08|Jasper should recompile JSP files whose datestamps|
|33650|Inf|Enh|2005-02-19|Jasper performance for multiple files processing  |
|33671|Opn|Enh|2005-02-21|Manual Windows service installation with custom na|
|34526|Opn|Nor|2005-04-19|Truncated content in decompressed requests from mo|
|34801|New|Enh|2005-05-08|PATCH: CGIServlet does not terminate child after a|
|34805|Ass|Enh|2005-05-08|warn about invalid security constraint url pattern|
|34868|Ass|Enh|2005-05-11|allow to register a trust store for a session that|
|35054|Inf|Enh|2005-05-25|warn if appBase is not existing as a File or direc|
|35959|Opn|Enh|2005-08-01|mod_jk not independant of UseCanonicalName|
|36133|Inf|Enh|2005-08-10|Support JSS SSL implementation|
|36169|New|Enh|2005-08-12|[PATCH] Enable chunked encoding for requests in II|
|36362|New|Enh|2005-08-25|missing check for Java reserved keywords in tag fi|
|36569|Inf|Enh|2005-09-09|Redirects produce illegal URL's   |
|36837|Inf|Enh|2005-09-28|Looking for ProxyHandler implementation of Http re|
|36922|Inf|Enh|2005-10-04|setup.sh file mis-advertised and missing  |
|36923|New|Nor|2005-10-05|Deactivated EL expressions are not parsed for jsp |
|37018|Ass|Enh|2005-10-11|Document how to use tomcat-SSL with a pkcs11 token|
|37084|Opn|Reg|2005-10-14|JspC from ant fails on JSPs that use custom taglib|
|37334|Inf|Enh|2005-11-02|Realm digest property not aligned with the adminis|
|37449|Opn|Enh|2005-11-10|Two UserDatabaseRealm break manager user  |
|37458|Opn|Nor|2005-11-10|Datarace on org.apache.catalina.loader.WebappClass|
|37485|Inf|Enh|2005-11-14|I'd like to run init SQL after JDBC Connection cre|
|37498|Inf|Nor|2005-11-14|[PATCH] NPE in org.apache.catalina.core.ContainerB|
|37515|Inf|Nor|2005-11-15|smap not generated by JspC when used from Ant for |
|37627|Opn|Nor|2005-11-24|Slow and incomplete dynamic content generation aft|
|37785|Inf|Nor|2005-12-05|Changing startup type via Tomcat Monitor does not |
|37794|Opn|Nor|2005-12-05|getParameter() fails on POST with transfer-encodin|
|37797|Inf|Maj|2005-12-05|Configure Tomcat utility truncates classpath to 96|
|37847|Ass|Enh|2005-12-09|Allow User To Optionally Specify Catalina Output F|
|37869|Opn|Nor|2005-12-12|Cannot obtain client certificate with SSL / client|
|37918|Inf|Nor|2005-12-15|EL cannot find valid getter from object when using|
|37984|New|Nor|2005-12-21|JNDIRealm.java not able to handle MD5 password|
|38046|Ass|Reg|2005-12-27|apache-tomcat-5.5.14-deployer doesn't work (Illega|
|38197|Opn|Maj|2006-01-09|taglib pool bug when tag is used with jsp:attribut|
|38216|Inf|Enh|2006-01-10|Extend Jmxproxy to allow call of MBean Operations |
|38217|Ver|Enh|2006-01-10|mention that private key password and keystore pas|
|38268|Inf|Enh|2006-01-13|User friendly: Need submit button on adding/deleti|
|38352|Inf|Nor|2006-01-22|Additional Entries for Default catalina.policy fil|
|38360|Inf|Enh|2006-01-24|Domain for session cookies|
|38367|Inf|Nor|2006-01-24|Executing any Catalina Ant task results in an exce|
|38372|Inf|Cri|2006-01-25|tcnative-1.dll response overflow corruption, parti|
|38427|Inf|Nor|2006-01-27|ServletContextListener Notified Multiple Times Whe|
|38483|New|Nor|2006-02-01|access log valve uses simpledateformat in tread-un|
|38484|

Re: Programmatically detecting a login or logout using Apache Tomcat

2008-07-27 Thread Johnny Kewl


- Original Message - 
From: "MartinOShea" <[EMAIL PROTECTED]>

To: 
Sent: Sunday, July 27, 2008 9:40 PM
Subject: Programmatically detecting a login or logout using Apache Tomcat




Hello

I'm trying to find a way to detect a user logging into or logging out of 
an
application I'm working on. I want to record these events so that I know 
the
exact steps a user has taken through the application's JSPs and servlets. 
I
want to do this without reference to the Apache Tomcat server logs as 
well.


I have tried the following code in index.jsp (which is serving as each
user's home page):

<% if (request.getParameter("logoff") != null) {
  session.invalidate();
  response.sendRedirect("/myDataSharer/jsp/user/index.jsp");
  return;
} %>

And I have tried using variations like:

<% if (request.getParameter("logon") == true) {

But without success.

does anyone know a way that the login and logout events can be recorded by
an event in a program, a session object and so on?

I'm using NetBeans 6.1 with Apache Tomcat 6.X.

Thanks

Martin O'Shea.


Martin, you in the wrong mailing list... this ones for the guru's that build 
tomcat.


You looking for this

request.getRemoteUser();

Will give you the user name if user logged in and will become null when user 
closes the browser...

You also need to setup basic authentication in web.xml

If you get stuck... ask more questions in the user group..

---
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
---


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