DO NOT REPLY [Bug 51503] Tomcat service don't stop properly

2011-07-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51503

Etienne Massip etienne.mas...@gmail.com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |

--- Comment #2 from Etienne Massip etienne.mas...@gmail.com 2011-07-18 
08:50:27 UTC ---
I got the same issue with 7.0.19; please also note that my HTTP connector is
disabled in server.xml.

-- 
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 51503] Tomcat service don't stop properly

2011-07-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51503

--- Comment #3 from Mark Thomas ma...@apache.org 2011-07-18 09:26:12 UTC ---
This report makes no sense. If the http connector is disabled then there won't
be any http acceptor threads.

-- 
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 51523] New: ClassNotFoundException when loading TLD listeners

2011-07-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51523

 Bug #: 51523
   Summary: ClassNotFoundException when loading TLD listeners
   Product: Tomcat 7
   Version: unspecified
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: alonso.do...@gmail.com
Classification: Unclassified


Created attachment 27296
  -- https://issues.apache.org/bugzilla/attachment.cgi?id=27296
Localhost log file

Tomcat 7 fails to find listener class defined in TLD.

Tag library is packaged inside folder META-INF of one the libraries deployed
with the webapp. Tomcat seems to read perfectly the tag library definition but
throws a ClassNotFoundException when trying to invoke the listener class,
which exists and it's contained in same jar file as the tag library definition.

Same application starts up perfectly with Tomcat 6.x.

-- 
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 51503] Tomcat service don't stop properly

2011-07-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51503

--- Comment #4 from Etienne Massip etienne.mas...@gmail.com 2011-07-18 
09:33:06 UTC ---
Got it : It happens when I remove the 8080 HTTP port value at installation
time.

I thought that the installer then would comment the HTTP connector part in the
server.xml, but actually, it just wrote port=.

I guess you should consider adding a check that the port number value should
not be empty to prevent the user to be misled as I was.

-- 
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 51503] Tomcat service don't stop properly

2011-07-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51503

--- Comment #5 from Etienne Massip etienne.mas...@gmail.com 2011-07-18 
09:36:00 UTC ---
BTW, there is no error logged at server startup, is the port= syntax legal ?

-- 
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: r1147915 - /tomcat/trunk/java/javax/servlet/AsyncContext.java

2011-07-18 Thread markt
Author: markt
Date: Mon Jul 18 15:01:41 2011
New Revision: 1147915

URL: http://svn.apache.org/viewvc?rev=1147915view=rev
Log:
Minor improvement to javadoc

Modified:
tomcat/trunk/java/javax/servlet/AsyncContext.java

Modified: tomcat/trunk/java/javax/servlet/AsyncContext.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/AsyncContext.java?rev=1147915r1=1147914r2=1147915view=diff
==
--- tomcat/trunk/java/javax/servlet/AsyncContext.java (original)
+++ tomcat/trunk/java/javax/servlet/AsyncContext.java Mon Jul 18 15:01:41 2011
@@ -73,12 +73,12 @@ public interface AsyncContext {
 throws ServletException;
 
 /**
- * Get timeout in milliseconds
+ * Get timeout in milliseconds. 0 or less indicates no timeout.
  */
 long getTimeout();
 
 /**
- * Set timeout in milliseconds
+ * Set timeout in milliseconds. 0 or less indicates no timeout.
  */
 void setTimeout(long timeout);
 }



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



svn commit: r1147920 - /tomcat/trunk/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java

2011-07-18 Thread markt
Author: markt
Date: Mon Jul 18 15:09:43 2011
New Revision: 1147920

URL: http://svn.apache.org/viewvc?rev=1147920view=rev
Log:
Modify the test to ensure that the default connection timeout (-1) is used and 
so that pipe-lining doesn't trigger false positive results

Modified:
tomcat/trunk/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java

Modified: tomcat/trunk/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java?rev=1147920r1=1147919r2=1147920view=diff
==
--- tomcat/trunk/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java 
(original)
+++ tomcat/trunk/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java Mon 
Jul 18 15:09:43 2011
@@ -46,6 +46,7 @@ public class TestAbstractAjpProcessor ex
 
 public void testKeepAlive() throws Exception {
 Tomcat tomcat = getTomcatInstance();
+tomcat.getConnector().setProperty(connectionTimeout, -1);
 tomcat.start();
 
 // Must have a real docBase - just use temp
@@ -73,6 +74,9 @@ public class TestAbstractAjpProcessor ex
 validateResponseBody(responseBody, 
HelloWorldServlet.RESPONSE_TEXT);
 validateResponseEnd(ajpClient.readMessage(), true);
 
+// Give connections plenty of time to time out
+Thread.sleep(2000);
+
 // Double check the connection is still open
 validateCpong(ajpClient.cping());
 }



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



svn commit: r1147921 - /tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

2011-07-18 Thread markt
Author: markt
Date: Mon Jul 18 15:10:29 2011
New Revision: 1147921

URL: http://svn.apache.org/viewvc?rev=1147921view=rev
Log:
Only test for timeouts if timeout is greater than zero (aligns with BIO and APR)

Modified:
tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?rev=1147921r1=1147920r2=1147921view=diff
==
--- tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Mon Jul 18 
15:10:29 2011
@@ -1339,7 +1339,10 @@ public class NioEndpoint extends Abstrac
 //only timeout sockets that we are waiting for a read 
from
 long delta = now - ka.getLastAccess();
 long timeout = (ka.getTimeout()==-1)?((long) 
socketProperties.getSoTimeout()):(ka.getTimeout());
-boolean isTimedout = delta  timeout;
+boolean isTimedout = false;
+if (timeout  0) {
+ isTimedout = delta  timeout;
+}
 if ( close ) {
 key.interestOps(0); 
 ka.interestOps(0); //avoid duplicate stop calls



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



svn commit: r1147923 - /tomcat/trunk/webapps/docs/changelog.xml

2011-07-18 Thread markt
Author: markt
Date: Mon Jul 18 15:12:48 2011
New Revision: 1147923

URL: http://svn.apache.org/viewvc?rev=1147923view=rev
Log:
Update to changelog

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

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1147923r1=1147922r2=1147923view=diff
==
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Mon Jul 18 15:12:48 2011
@@ -64,6 +64,14 @@
   /fix
 /changelog
   /subsection
+  subsection name=Coyote
+changelog
+  fix
+Correctly handle a connectionTimeout value of -1 (no timeout) for the
+HTTP NIO and AJP NIO connectors. (markt)
+  /fix
+/changelog
+  /subsection
 /section
 section name=Tomcat 7.0.19 (markt)
   subsection name=Catalina



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



svn commit: r1147925 - /tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

2011-07-18 Thread markt
Author: markt
Date: Mon Jul 18 15:15:26 2011
New Revision: 1147925

URL: http://svn.apache.org/viewvc?rev=1147925view=rev
Log:
Cleaner code

Modified:
tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?rev=1147925r1=1147924r2=1147925view=diff
==
--- tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Mon Jul 18 
15:15:26 2011
@@ -1339,10 +1339,7 @@ public class NioEndpoint extends Abstrac
 //only timeout sockets that we are waiting for a read 
from
 long delta = now - ka.getLastAccess();
 long timeout = (ka.getTimeout()==-1)?((long) 
socketProperties.getSoTimeout()):(ka.getTimeout());
-boolean isTimedout = false;
-if (timeout  0) {
- isTimedout = delta  timeout;
-}
+boolean isTimedout = timeout  0  delta  timeout;
 if ( close ) {
 key.interestOps(0); 
 ka.interestOps(0); //avoid duplicate stop calls



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



DO NOT REPLY [Bug 51503] Additional error checking required for connector port attribute (e.g. for port=)

2011-07-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51503

Mark Thomas ma...@apache.org changed:

   What|Removed |Added

Summary|Tomcat service don't stop   |Additional error checking
   |properly|required for connector port
   ||attribute (e.g. for
   ||port=)

--- Comment #6 from Mark Thomas ma...@apache.org 2011-07-18 15:15:32 UTC ---
OK, that makes a lot more sense. Looks like some

-- 
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 51503] Additional error checking required for connector port attribute (e.g. for port=)

2011-07-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51503

--- Comment #7 from Mark Thomas ma...@apache.org 2011-07-18 15:15:53 UTC ---
... additional checks are required.

-- 
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: r1147949 - in /tomcat/trunk: java/org/apache/catalina/connector/Connector.java java/org/apache/catalina/connector/LocalStrings.properties res/tomcat.nsi webapps/docs/changelog.xml

2011-07-18 Thread markt
Author: markt
Date: Mon Jul 18 16:18:54 2011
New Revision: 1147949

URL: http://svn.apache.org/viewvc?rev=1147949view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51503
Add additional validation to Windows installer and Tomcat start for connector 
port numbers

Modified:
tomcat/trunk/java/org/apache/catalina/connector/Connector.java
tomcat/trunk/java/org/apache/catalina/connector/LocalStrings.properties
tomcat/trunk/res/tomcat.nsi
tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/catalina/connector/Connector.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/connector/Connector.java?rev=1147949r1=1147948r2=1147949view=diff
==
--- tomcat/trunk/java/org/apache/catalina/connector/Connector.java (original)
+++ tomcat/trunk/java/org/apache/catalina/connector/Connector.java Mon Jul 18 
16:18:54 2011
@@ -927,6 +927,12 @@ public class Connector extends Lifecycle
 @Override
 protected void startInternal() throws LifecycleException {
 
+// Validate settings before starting
+if (getPort()  1) {
+throw new LifecycleException(sm.getString(
+coyoteConnector.invalidPort, 
Integer.valueOf(getPort(;
+}
+
 setState(LifecycleState.STARTING);
 
 try {

Modified: 
tomcat/trunk/java/org/apache/catalina/connector/LocalStrings.properties
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/connector/LocalStrings.properties?rev=1147949r1=1147948r2=1147949view=diff
==
--- tomcat/trunk/java/org/apache/catalina/connector/LocalStrings.properties 
(original)
+++ tomcat/trunk/java/org/apache/catalina/connector/LocalStrings.properties Mon 
Jul 18 16:18:54 2011
@@ -18,6 +18,7 @@
 # CoyoteConnector
 #
 coyoteConnector.cannotRegisterProtocol=Cannot register MBean for the Protocol
+coyoteConnector.invalidPort=The connector cannot start since the specified 
port value of [{0}] is invalid
 coyoteConnector.protocolHandlerDestroyFailed=Protocol handler destroy failed
 coyoteConnector.protocolHandlerInitializationFailed=Protocol handler 
initialization failed
 coyoteConnector.protocolHandlerInstantiationFailed=Protocol handler 
instantiation failed

Modified: tomcat/trunk/res/tomcat.nsi
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/res/tomcat.nsi?rev=1147949r1=1147948r2=1147949view=diff
==
--- tomcat/trunk/res/tomcat.nsi (original)
+++ tomcat/trunk/res/tomcat.nsi Mon Jul 18 16:18:54 2011
@@ -549,6 +549,24 @@ Function pageConfigurationLeave
 ${NSD_GetText} $CtlTomcatAdminRoles $TomcatAdminRoles
   ${EndIf}
 
+  ${If} $TomcatPortShutdown == 
+MessageBox MB_ICONEXCLAMATION|MB_OK 'The shutdown port may not be empty'
+Abort Config not right
+Goto exit
+  ${EndIf}
+
+  ${If} $TomcatPortHttp == 
+MessageBox MB_ICONEXCLAMATION|MB_OK 'The HTTP port may not be empty'
+Abort Config not right
+Goto exit
+  ${EndIf}
+
+  ${If} $TomcatPortAjp == 
+MessageBox MB_ICONEXCLAMATION|MB_OK 'The AJP port may not be empty'
+Abort Config not right
+Goto exit
+  ${EndIf}
+
   ${If} $TomcatServiceName == 
 MessageBox MB_ICONEXCLAMATION|MB_OK 'The Service Name may not be empty'
 Abort Config not right

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1147949r1=1147948r2=1147949view=diff
==
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Mon Jul 18 16:18:54 2011
@@ -70,6 +70,19 @@
 Correctly handle a connectionTimeout value of -1 (no timeout) for the
 HTTP NIO and AJP NIO connectors. (markt)
   /fix
+  fix
+bug51503/bug: Add additional validation that prevents a connector
+from starting if it does not have a port  0. (markt)
+  /fix
+/changelog
+  /subsection
+  subsection
+changelog
+  fix
+bug51503/bug: Add additional validation to Windows installer that
+ensure that the shutdown port, HTTP port and AJP port are all specified
+during the install process. (markt)
+  /fix
 /changelog
   /subsection
 /section



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



DO NOT REPLY [Bug 51503] Additional error checking required for connector port attribute (e.g. for port=)

2011-07-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51503

Mark Thomas ma...@apache.org changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED

--- Comment #8 from Mark Thomas ma...@apache.org 2011-07-18 16:19:23 UTC ---
The additional validation has been added to 7.0.x and will be included in
7.0.20 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 51525] New: Binding Tomcat Instance to an IP Address using command line parameter

2011-07-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51525

 Bug #: 51525
   Summary: Binding Tomcat Instance to an IP Address using command
line parameter
   Product: Tomcat 7
   Version: unspecified
  Platform: All
OS/Version: All
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: sva...@successfactors.com
Classification: Unclassified


In Jboss there is an command line parameter using which you can specify the
IPAddress to which a particular instance can be bind to.

It would be nice to have similar feature in the tomcat also.  Currently we have
to modify the conf/server.xml file for the same.

Similarly if the port to which a particular tomcat instance listen to, made a
command line parameter, that also would be good.

In short instead of modifying the conf/server.xml, attributes relates to a
particular instance should be made as command line parameters so that any
modifications to them are not intrusive.

-- 
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 51525] Binding Tomcat Instance to an IP Address using command line parameter

2011-07-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51525

Srini sva...@successfactors.com changed:

   What|Removed |Added

 CC||sva...@successfactors.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



DO NOT REPLY [Bug 51525] Binding Tomcat Instance to an IP Address using command line parameter

2011-07-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51525

Mark Thomas ma...@apache.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX

--- Comment #1 from Mark Thomas ma...@apache.org 2011-07-18 18:52:48 UTC ---
Use ${...} property replacement and specify the properties on the command line.

-- 
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 51525] Binding Tomcat Instance to an IP Address using command line parameter

2011-07-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51525

--- Comment #2 from Srini sva...@successfactors.com 2011-07-18 18:55:46 UTC 
---
Should the parameters be passed like below?

startup.bat ${port}=8080, ${ip_address}=127.0.0.1.

-- 
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 51525] Binding Tomcat Instance to an IP Address using command line parameter

2011-07-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51525

--- Comment #3 from Mark Thomas ma...@apache.org 2011-07-18 18:56:50 UTC ---
Bugzilla is not a support forum. Please use the users mailing list.

-- 
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 51508] Using generic URL in jsp-config breaks welcome file handling

2011-07-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51508

Mark Thomas ma...@apache.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID

--- Comment #1 from Mark Thomas ma...@apache.org 2011-07-18 20:03:10 UTC ---
This is as per the spec and confirmed by a number of tests within the JSP 2.2
TCK, although the spec could make this clearer.

Section JSP.1.1.8 of the JSP spec states that:
quote
The jsp-property-group element of web.xml can be used to indicate that some
group of files, perhaps not using either of the extensions above, are JSP
pages...
/quote

A url-pattern in a JSP property group must take precedence over any servlet
mapping. A mapping of '/*' will bypass the welcome file mapping, hence why you
see what you see. '*.jsp' may be a better choice for you in this case.

-- 
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 51526] New: Process web application context config with embedded Tomcat.addWebApp(...)

2011-07-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51526

 Bug #: 51526
   Summary: Process web application context config with embedded
Tomcat.addWebApp(...)
   Product: Tomcat 7
   Version: 7.0.16
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: i...@ianbrandt.com
Classification: Unclassified


It would be nice if org.apache.catalina.startup.Tomcat.addWebApp(...) would
process the web application's META-INF/context.xml if found.  The current
implementation skips META-INF/context.xml loading, and does not appear to offer
any hook to enable it--the StandardContext is instantiated and initialized with
a null configFile in the single call to addWebApp(...).

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



Re: [VOTE] Release Apache Tomcat 7.0.19

2011-07-18 Thread Filip Hanik - Dev Lists

[X] Stable - go ahead and release as 7.0.19 Stable



On 7/14/2011 3:21 AM, Mark Thomas wrote:

The proposed Apache Tomcat 7.0.19 release is now available for voting.

It can be obtained from:
http://people.apache.org/~markt/dev/tomcat-7/v7.0.19/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_19/

The proposed 7.0.19 release is:

[ ] Broken - do not release
[ ] Alpha  - go ahead and release as 7.0.19 Alpha
[ ] Beta   - go ahead and release as 7.0.19 Beta
[ ] Stable - go ahead and release as 7.0.19 Stable

Cheers,

Mark



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





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



Re: [RESULT] [VOTE] Release Apache Tomcat 7.0.19

2011-07-18 Thread Peter Roßbach
[X] Stable - go ahead and release as 7.0.19 Stable
Peter

Am 18.07.2011 um 11:32 schrieb Mark Thomas:

 On 14/07/2011 10:21, Mark Thomas wrote:
 The result of the vote is stable, with the following minor issues to be
 noted in the release announcement:
 
 1. AJP NIO connector does not use persistent connections unless an
 explicit timeout is specified. The default of -1 results in an
 immediate timeout for the AJP NIO connector rather than the expected
 infinite timeout.
 2. A typo in the tomcat.util.scan.DefaultJarScanner.jarsToSkip property,
 fixed in http://svn.apache.org/viewvc?view=revisionrevision=1146623
 
 Mark
 
 
 
 -
 To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: dev-h...@tomcat.apache.org
 
 



smime.p7s
Description: S/MIME cryptographic signature