DO NOT REPLY [Bug 44988] JPDA_OPTS in catalina.sh / catalina.bat is using old JDWP semantics

2009-03-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44988


Cédrik LIME  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |




--- Comment #3 from Cédrik LIME   2009-03-03 02:28:44 
PST ---
In addition to the changes described in the description (and successfully
applied), we also need to keep the documentation of the impacted files in sync
with code.

Please change "-Xdebug -Xrunjdwp:" to "-agentlib:jdwp="
in catalina.sh (line 60) / catalina.bat (line 64)

Trunk and Tomcat 6.x only!

-- 
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 46792] New: NullPointerException in org.apache.catalina.connector

2009-03-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46792

   Summary: NullPointerException in org.apache.catalina.connector
   Product: Tomcat 6
   Version: 6.0.18
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: alexander.schm...@it.nrw.de


i get an exception at:

java.lang.NullPointerException
at org.apache.catalina.connector.Request.parseParameters(Request.java:2446)
at
org.apache.catalina.connector.Request.getParameterNames(Request.java:1082)
at
org.apache.catalina.connector.RequestFacade.getParameterNames(RequestFacade.java:371)
at
com.sun.faces.context.RequestParameterMap.getEntryIterator(ExternalContextImpl.java:1218)
at
com.sun.faces.context.BaseContextMap$EntrySet.iterator(ExternalContextImpl.java:582)
at
com.sun.faces.context.BaseContextMap$BaseSet.size(ExternalContextImpl.java:570)
at java.util.Collections$UnmodifiableCollection.size(Collections.java:998)
at java.util.AbstractMap.size(AbstractMap.java:67)
at java.util.Collections$UnmodifiableMap.size(Collections.java:1278)

 the method 'getMethod()' sometimes returns null for unkown reasons.

i think this is a bug?

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



can tomcat 5.0 be used as an application server

2009-03-03 Thread l...@work

hi,
  i am developing an online application which uses money
transactions via credit card.can i use tomcat 5.0 for this ..does this
server have enough security.i am planning to use ejb's for transactions.
thanks in advance
-- 
View this message in context: 
http://www.nabble.com/can-tomcat-5.0-be-used-as-an-application-server-tp22310212p22310212.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



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

2009-03-03 Thread markt
Author: markt
Date: Tue Mar  3 15:35:56 2009
New Revision: 749632

URL: http://svn.apache.org/viewvc?rev=749632&view=rev
Log:
Fix broken link. Use proper link rather than redirect for FAQ. Clarify 
alpha/beta/stable

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/bugreport.xml
tomcat/site/trunk/xdocs/stylesheets/project.xml
tomcat/site/trunk/xdocs/whichversion.xml

Modified: tomcat/site/trunk/docs/bugreport.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/bugreport.html?rev=749632&r1=749631&r2=749632&view=diff
==
--- tomcat/site/trunk/docs/bugreport.html (original)
+++ tomcat/site/trunk/docs/bugreport.html Tue Mar  3 15:35:56 2009
@@ -116,7 +116,7 @@
 Find help
 
 
-FAQ
+http://wiki.apache.org/tomcat/FAQ";>FAQ
 
 
 Mailing Lists
@@ -258,9 +258,8 @@
   You may want to enable debug output in your Apache Tomcat configuration
   so that you have more information to help diagnose the problem.
 
-FAQ's - Search Frequently Asked Question documents. FAQ's
-  for all Jakarta projects can be found
-  http://jakarta.apache.org/site/faqs.html";>here.
+FAQ's - Search the http://wiki.apache.org/tomcat/FAQ";>
+  Tomcat Frequently Asked Questions.
 
   
 

Modified: tomcat/site/trunk/docs/contact.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/contact.html?rev=749632&r1=749631&r2=749632&view=diff
==
--- tomcat/site/trunk/docs/contact.html (original)
+++ tomcat/site/trunk/docs/contact.html Tue Mar  3 15:35:56 2009
@@ -114,7 +114,7 @@
 Find help
 
 
-FAQ
+http://wiki.apache.org/tomcat/FAQ";>FAQ
 
 
 Mailing Lists

Modified: tomcat/site/trunk/docs/download-41.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-41.html?rev=749632&r1=749631&r2=749632&view=diff
==
--- tomcat/site/trunk/docs/download-41.html (original)
+++ tomcat/site/trunk/docs/download-41.html Tue Mar  3 15:35:56 2009
@@ -114,7 +114,7 @@
 Find help
 
 
-FAQ
+http://wiki.apache.org/tomcat/FAQ";>FAQ
 
 
 Mailing Lists

Modified: tomcat/site/trunk/docs/download-55.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-55.html?rev=749632&r1=749631&r2=749632&view=diff
==
--- tomcat/site/trunk/docs/download-55.html (original)
+++ tomcat/site/trunk/docs/download-55.html Tue Mar  3 15:35:56 2009
@@ -114,7 +114,7 @@
 Find help
 
 
-FAQ
+http://wiki.apache.org/tomcat/FAQ";>FAQ
 
 
 Mailing Lists

Modified: tomcat/site/trunk/docs/download-60.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-60.html?rev=749632&r1=749631&r2=749632&view=diff
==
--- tomcat/site/trunk/docs/download-60.html (original)
+++ tomcat/site/trunk/docs/download-60.html Tue Mar  3 15:35:56 2009
@@ -114,7 +114,7 @@
 Find help
 
 
-FAQ
+http://wiki.apache.org/tomcat/FAQ";>FAQ
 
 
 Mailing Lists

Modified: tomcat/site/trunk/docs/download-connectors.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-connectors.html?rev=749632&r1=749631&r2=749632&view=diff
==
--- tomcat/site/trunk/docs/download-connectors.html (original)
+++ tomcat/site/trunk/docs/download-connectors.html Tue Mar  3 15:35:56 2009
@@ -114,7 +114,7 @@
 Find help
 
 
-FAQ
+http://wiki.apache.org/tomcat/FAQ";>FAQ
 
 
 Mailing Lists

Modified: tomcat/site/trunk/docs/download-native.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-native.html?rev=749632&r1=749631&r2=749632&view=diff
==
---

Re: Website and stable versions

2009-03-03 Thread Mark Thomas
Chris Wilson wrote:
> Dear sirs,
> 
> Can I point out that on your website, http://tomcat.apache.org, the "Which 
> Version?" page is supposed to help one decide which version to download, 
> and it does describe the meaning of the various stability levels, but it 
> does not describe what level each version has achieved. E.g. is Tomcat 6.0 
> stable yet or not?

Thanks for your e-mail.

I have added some clarification text that makes it clear that the download pages
always list the latest stable release and any newer alpha/beta if one exists.
Therefore, 6.0.x is stable. http://tomcat.apache.org always lists the latest
production quality (ie stable) releases.

> Also, the link to the FAQ on the Bug Report page ("FAQ's for all Jakarta 
> projects can be found here.") is broken.

Fixed.

Both these updates will show on the main website in ~1 hour after the changes
have replicated across.

Mark


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



Re: can tomcat 5.0 be used as an application server

2009-03-03 Thread Mark Thomas
l...@work wrote:
> hi,
>   i am developing an online application which uses money
> transactions via credit card.can i use tomcat 5.0 for this ..does this
> server have enough security.i am planning to use ejb's for transactions.
> thanks in advance

That is a question for the users list.

Mark


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



svn commit: r749685 - in /tomcat/connectors/trunk/jk/native/common: jk_ajp_common.c jk_ajp_common.h jk_lb_worker.c jk_lb_worker.h jk_status.c

2009-03-03 Thread rjung
Author: rjung
Date: Tue Mar  3 18:38:51 2009
New Revision: 749685

URL: http://svn.apache.org/viewvc?rev=749685&view=rev
Log:
Some updates related to dynamic address change:

- Include shm lock and unlock in pull and push
  functions. Indicate whether we already acquired
  the lock with the new argument "locked".
- Move the dynamic address resolution into jk_ajp_pull().
  Do the actual resolution outside of the lock,
  and don't change the worker is the resolution fails.
  In case of failure log an error, but do not fail fatal.
- Use a fixed size array for the host field in the
  ajp structure. We use that in shm anyways and we
  wouldn't know how to free the dynamic memory, if we
  allocated the host filed fresh during each address update.
- Only use local data copy when displaying config data
  in the status worker. We ensure, that we sync via pull
  if needed, so no need to use the shm data except for
  the volatile runtime statistics data.
- Do not directly write new address data to shm in status
  worker, instead use general push mechanism.
- In status worker ensure that host is always set before
  trying to update address data, even if only port changed.
- Fix display of address data in status worker for port
  equals zero case.

Modified:
tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c
tomcat/connectors/trunk/jk/native/common/jk_ajp_common.h
tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c
tomcat/connectors/trunk/jk/native/common/jk_lb_worker.h
tomcat/connectors/trunk/jk/native/common/jk_status.c

Modified: tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c?rev=749685&r1=749684&r2=749685&view=diff
==
--- tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c Tue Mar  3 
18:38:51 2009
@@ -963,10 +963,16 @@
 }
 
 /* Syncing config values from shm */
-void jk_ajp_pull(ajp_worker_t * aw, jk_logger_t *l)
+void jk_ajp_pull(ajp_worker_t * aw, int locked, jk_logger_t *l)
 {
+int resolve = JK_FALSE;
+int port = 0;
+char host[JK_SHM_STR_SIZ+1];
+struct sockaddr_in inet_addr;
 JK_TRACE_ENTER(l);
 
+if (locked == JK_FALSE)
+jk_shm_lock();
 if (JK_IS_DEBUG_LEVEL(l))
 jk_log(l, JK_LOG_DEBUG,
"syncing mem for ajp worker '%s' from shm",
@@ -981,15 +987,39 @@
 aw->retry_interval = aw->s->retry_interval;
 aw->max_packet_size = aw->s->max_packet_size;
 aw->sequence = aw->s->h.sequence;
+if (aw->addr_sequence != aw->s->addr_sequence) {
+resolve = JK_TRUE;
+aw->addr_sequence = aw->s->addr_sequence;
+strncpy(host, aw->s->host, JK_SHM_STR_SIZ);
+port = aw->s->port;
+}
+if (locked == JK_FALSE)
+jk_shm_unlock();
+
+if (resolve == JK_TRUE) {
+if (!jk_resolve(host, port, &inet_addr,
+aw->worker.we->pool, l)) {
+jk_log(l, JK_LOG_ERROR,
+   "Failed resolving address '%s:%d' for worker '%s'.",
+   host, port, aw->name);
+}
+else {
+aw->port = port;
+strncpy(aw->host, host, JK_SHM_STR_SIZ);
+memcpy(&(aw->worker_inet_addr), &inet_addr, sizeof(inet_addr));
+}
+}
 
 JK_TRACE_EXIT(l);
 }
 
 /* Syncing config values to shm */
-void jk_ajp_push(ajp_worker_t * aw, jk_logger_t *l)
+void jk_ajp_push(ajp_worker_t * aw, int locked, jk_logger_t *l)
 {
 JK_TRACE_ENTER(l);
 
+if (locked == JK_FALSE)
+jk_shm_lock();
 if (JK_IS_DEBUG_LEVEL(l))
 jk_log(l, JK_LOG_DEBUG,
"syncing shm for ajp worker '%s' from mem",
@@ -1004,6 +1034,13 @@
 aw->s->retry_interval = aw->retry_interval;
 aw->s->max_packet_size = aw->max_packet_size;
 aw->s->h.sequence = aw->sequence;
+if (aw->s->addr_sequence != aw->addr_sequence) {
+aw->s->addr_sequence = aw->addr_sequence;
+strncpy(aw->s->host, aw->host, JK_SHM_STR_SIZ);
+aw->s->port = aw->port;
+}
+if (locked == JK_FALSE)
+jk_shm_unlock();
 
 JK_TRACE_EXIT(l);
 }
@@ -2164,23 +2201,8 @@
 p = e->endpoint_private;
 aw = p->worker;
 
-jk_shm_lock();
 if (aw->sequence != aw->s->h.sequence)
-jk_ajp_pull(aw, l);
-if (aw->addr_sequence != aw->s->addr_sequence) {
-aw->addr_sequence = aw->s->addr_sequence;
-aw->host = aw->s->host;
-aw->port = aw->s->port;
-if (!jk_resolve(aw->host, aw->port, &aw->worker_inet_addr,
-aw->worker.we->pool, l)) {
-if (is_error)
-*is_error = JK_HTTP_SERVER_ERROR;
-jk_shm_unlock();
-JK_TRACE_EXIT(l);
-return JK_FALSE;
-   }
-}
-jk_shm_unlock();
+jk_ajp_pull(aw, JK_FALSE, l);
 
 aw->s->

svn commit: r749724 - /tomcat/current/tc4.1.x/STATUS.txt

2009-03-03 Thread markt
Author: markt
Date: Tue Mar  3 20:17:13 2009
New Revision: 749724

URL: http://svn.apache.org/viewvc?rev=749724&view=rev
Log:
Propose fix

Modified:
tomcat/current/tc4.1.x/STATUS.txt

Modified: tomcat/current/tc4.1.x/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/current/tc4.1.x/STATUS.txt?rev=749724&r1=749723&r2=749724&view=diff
==
--- tomcat/current/tc4.1.x/STATUS.txt (original)
+++ tomcat/current/tc4.1.x/STATUS.txt Tue Mar  3 20:17:13 2009
@@ -24,3 +24,9 @@
 
 PATCHES PROPOSED TO BACKPORT:
   [ New proposals should be added at the end of the list ]
+
+* Provide a partial work-around for browsers that ignore charset requirements 
of
+  RFC2616
+  http://people.apache.org/~markt/patches/2009-03-03-broken-browser.patch
+  +1: markt
+  -1: 



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



DO NOT REPLY [Bug 46764] Tomcat 6 and xmlValidation="false" not working

2009-03-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46764





--- Comment #1 from Mark Thomas   2009-03-03 14:05:57 PST ---
Can you please supply the simplest JSP that exhibits this error on a clean
6.0.18 installation.

-- 
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 46792] NullPointerException in org.apache.catalina.connector

2009-03-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46792


Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Comment #1 from Mark Thomas   2009-03-03 14:17:03 PST ---
I can't yet see how you are getting a NPE there. Please provide the full stack
trace.

-- 
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: r749800 - in /tomcat/trunk/bin: catalina.bat catalina.sh

2009-03-03 Thread markt
Author: markt
Date: Tue Mar  3 22:20:16 2009
New Revision: 749800

URL: http://svn.apache.org/viewvc?rev=749800&view=rev
Log:
Update docs to reflect changes for bug 44988

Modified:
tomcat/trunk/bin/catalina.bat
tomcat/trunk/bin/catalina.sh

Modified: tomcat/trunk/bin/catalina.bat
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/bin/catalina.bat?rev=749800&r1=749799&r2=749800&view=diff
==
--- tomcat/trunk/bin/catalina.bat (original)
+++ tomcat/trunk/bin/catalina.bat Tue Mar  3 22:20:16 2009
@@ -61,7 +61,7 @@
 rem   and JPDA_SUSPEND are ignored. Thus, all required jpda
 rem   options MUST be specified. The default is:
 rem
-rem   -Xdebug -Xrunjdwp:transport=%JPDA_TRANSPORT%,
+rem   -agentlib:jdwp=transport=%JPDA_TRANSPORT%,
 rem   
address=%JPDA_ADDRESS%,server=y,suspend=%JPDA_SUSPEND%
 rem
 rem $Id$

Modified: tomcat/trunk/bin/catalina.sh
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/bin/catalina.sh?rev=749800&r1=749799&r2=749800&view=diff
==
--- tomcat/trunk/bin/catalina.sh (original)
+++ tomcat/trunk/bin/catalina.sh Tue Mar  3 22:20:16 2009
@@ -57,7 +57,7 @@
 #   and JPDA_SUSPEND are ignored. Thus, all required jpda
 #   options MUST be specified. The default is:
 #
-#   -Xdebug -Xrunjdwp:transport=$JPDA_TRANSPORT,
+#   -agentlib:jdwp=transport=$JPDA_TRANSPORT,
 #   address=$JPDA_ADDRESS,server=y,suspend=$JPDA_SUSPEND
 #
 #   JSSE_HOME   (Optional) May point at your Java Secure Sockets Extension



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



svn commit: r749802 - in /tomcat/tc6.0.x/trunk/bin: catalina.bat catalina.sh

2009-03-03 Thread markt
Author: markt
Date: Tue Mar  3 22:23:03 2009
New Revision: 749802

URL: http://svn.apache.org/viewvc?rev=749802&view=rev
Log:
Update docs to reflect changes for bug 44988

Modified:
tomcat/tc6.0.x/trunk/bin/catalina.bat
tomcat/tc6.0.x/trunk/bin/catalina.sh

Modified: tomcat/tc6.0.x/trunk/bin/catalina.bat
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/bin/catalina.bat?rev=749802&r1=749801&r2=749802&view=diff
==
--- tomcat/tc6.0.x/trunk/bin/catalina.bat (original)
+++ tomcat/tc6.0.x/trunk/bin/catalina.bat Tue Mar  3 22:23:03 2009
@@ -61,7 +61,7 @@
 rem   and JPDA_SUSPEND are ignored. Thus, all required jpda
 rem   options MUST be specified. The default is:
 rem
-rem   -Xdebug -Xrunjdwp:transport=%JPDA_TRANSPORT%,
+rem   -agentlib:jdwp=transport=%JPDA_TRANSPORT%,
 rem   
address=%JPDA_ADDRESS%,server=y,suspend=%JPDA_SUSPEND%
 rem
 rem $Id$

Modified: tomcat/tc6.0.x/trunk/bin/catalina.sh
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/bin/catalina.sh?rev=749802&r1=749801&r2=749802&view=diff
==
--- tomcat/tc6.0.x/trunk/bin/catalina.sh (original)
+++ tomcat/tc6.0.x/trunk/bin/catalina.sh Tue Mar  3 22:23:03 2009
@@ -57,7 +57,7 @@
 #   and JPDA_SUSPEND are ignored. Thus, all required jpda
 #   options MUST be specified. The default is:
 #
-#   -Xdebug -Xrunjdwp:transport=$JPDA_TRANSPORT,
+#   -agentlib:jdwp=transport=$JPDA_TRANSPORT,
 #   address=$JPDA_ADDRESS,server=y,suspend=$JPDA_SUSPEND
 #
 #   JSSE_HOME   (Optional) May point at your Java Secure Sockets Extension



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



DO NOT REPLY [Bug 44988] JPDA_OPTS in catalina.sh / catalina.bat is using old JDWP semantics

2009-03-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44988


Mark Thomas  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED




--- Comment #4 from Mark Thomas   2009-03-03 14:23:27 PST ---
Thanks for the catch. Fixed in trunk and 6.0.x
Will be in 6.0.19 onwards.

-- 
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 46766] Random StackOverflowError

2009-03-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46766


Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Comment #1 from Mark Thomas   2009-03-03 14:32:22 PST ---
You have forwarded the request too many times for the stack size you have
available. This is an application issue, or possibly a struts issue, not a
Tomcat one. Alternatively, if you really need all those forwards, you need a
bigger stack.

-- 
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: r749862 - /tomcat/tc6.0.x/trunk/STATUS.txt

2009-03-03 Thread fhanik
Author: fhanik
Date: Wed Mar  4 00:42:20 2009
New Revision: 749862

URL: http://svn.apache.org/viewvc?rev=749862&view=rev
Log:
proposal to move the cookie attribute to the context

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=749862&r1=749861&r2=749862&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Wed Mar  4 00:42:20 2009
@@ -165,3 +165,11 @@
   http://svn.apache.org/viewvc?rev=747863&view=rev
   +1: markt
   -1: 
+
+* UseHttpOnly is a cookie attribute. Our Manager is cookie agnostic, hence the 
attribute might
+  serve a better purpose being implemented at the Context level
+  http://people.apache.org/~fhanik/tomcat/useHttpOnly.patch
+  This also allows people to configure it globally in conf/context.xml without 
automatically 
+  setting the default manager class
+  +1: fhanik
+  -1: 



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



DO NOT REPLY [Bug 46792] NullPointerException in org.apache.catalina.connector

2009-03-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46792





--- Comment #2 from alex   2009-03-03 22:25:54 PST 
---
the lines causing the exception are

externalContext = FacesContext.getCurrentInstance().getExternalContext();
requestParameterMap = externalContext.getRequestParameterMap();
// next line causes the exception, you can see the size() call in the stack
trace
if (requestParameterMap != null && requestParameterMap.size() > 0) {
  //do something
  //...
}

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