svn commit: r1082104 - in /tomcat/trunk: java/org/apache/tomcat/util/net/AprEndpoint.java java/org/apache/tomcat/util/net/res/LocalStrings.properties webapps/docs/changelog.xml

2011-03-16 Thread markt
Author: markt
Date: Wed Mar 16 09:30:10 2011
New Revision: 1082104

URL: http://svn.apache.org/viewvc?rev=1082104&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50927
Better error message if SSLCertificateFile not set

Modified:
tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java
tomcat/trunk/java/org/apache/tomcat/util/net/res/LocalStrings.properties
tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java?rev=1082104&r1=1082103&r2=1082104&view=diff
==
--- tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java Wed Mar 16 
09:30:10 2011
@@ -463,6 +463,11 @@ public class AprEndpoint extends Abstrac
 // Initialize SSL if needed
 if (isSSLEnabled()) {
 
+if (SSLCertificateFile == null) {
+// This is required
+throw new 
Exception(sm.getString("endpoint.apr.noSslCertFile"));
+}
+
 // SSL protocol
 int value = SSL.SSL_PROTOCOL_ALL;
 if ("SSLv2".equalsIgnoreCase(SSLProtocol)) {

Modified: 
tomcat/trunk/java/org/apache/tomcat/util/net/res/LocalStrings.properties
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/res/LocalStrings.properties?rev=1082104&r1=1082103&r2=1082104&view=diff
==
--- tomcat/trunk/java/org/apache/tomcat/util/net/res/LocalStrings.properties 
(original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/res/LocalStrings.properties 
Wed Mar 16 09:30:10 2011
@@ -45,3 +45,4 @@ endpoint.warn.noInsecureReneg=Secure ren
 endpoint.warn.unlockAcceptorFailed=Acceptor thread [{0}] failed to unlock. 
Forcing hard socket shutdown.
 endpoint.debug.channelCloseFail=Failed to close channel
 endpoint.debug.socketCloseFail=Failed to close socket
+endpoint.apr.noSslCertFile=Connector attribute SSLCertificateFile must be 
defined when using SSL with APR

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1082104&r1=1082103&r2=1082104&view=diff
==
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Wed Mar 16 09:30:10 2011
@@ -92,6 +92,11 @@
 completion. (markt) 
   
   
+50927: Improve error message when SSLCertificateFile is not
+specified when using APR with SSL. Based on a patch provided by sebb.
+(markt)
+  
+  
 50928: Don't ignore keyPass attribute for HTTP BIO and
 NIO connectors. Based on a patch provided by sebb. (markt)
   



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



DO NOT REPLY [Bug 50927] [patch] More specific error message for missing SSLCertificateFile

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

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #1 from Mark Thomas  2011-03-16 05:32:27 EDT ---
Patch applied to 7.0.x with a few corrections:
- use i18n support for error messages
- throw the exception earlier to avoid pointless initialisation

Will be included in 7.0.12 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 50838] Enhance Supported TLD Scanning Locations with WEB-INF/classes Support

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

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX

--- Comment #1 from Mark Thomas  2011-03-16 08:17:18 EDT ---
The JAR scanning in Tomcat 7 also supports scanning for web fragments. It isn't
going to be possible for IDEs to expand web fragments into WEB-INF/classes
since the web-fragment.xml files would over-write each other. Therefore IDEs
are going to have to find an alternative solution for this.

I took a look at adding this extension to Tomcat 7 but hit a few issues. Since
you have a working solution for your case, the general case is looking
problematic and the general solution will always fail anyway for web fragments
I don't think this is worth pursuing.

-- 
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 50838] Enhance Supported TLD Scanning Locations with WEB-INF/classes Support

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

--- Comment #2 from Scott Hamilton  2011-03-16 
08:25:05 EDT ---
Thanks for taking a look, and I understand the issue you're running into.  As
long as Tomcat allows a configurable JarScanner I think we've got a viable
work-around.

-- 
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 48685] Spnego Support in Tomcat

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

--- Comment #18 from Mark Thomas  2011-03-16 08:51:21 EDT ---
(In reply to comment #17)
> This is weird, I wasn't notified about your comment..Do you want me to attach
> the maven project? What license do you prefer, ASL?

Sorry for the slow reply. Yes please. ALv2 is by far the easiest to work with.

-- 
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 10021] Include upgrade option in installer

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

Mark Thomas  changed:

   What|Removed |Added

  Component|Installable Packages|Packaging
Version|4.0.4 Final |trunk
Product|Tomcat 4|Tomcat 7

--- Comment #6 from Mark Thomas  2011-03-16 08:54:39 EDT ---
I'm still mulling this one over. I'm currently on the fence between WONTFIX and
the replace the JARs upgrade method (with a your config might break caveat).

If it does get implemented, it will be for Tomcat 7 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 50570] Allow explicit use of FIPS mode in APR lifecycle listener

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

Chris Beckey  changed:

   What|Removed |Added

   Keywords|FixedInTrunk|

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



[Tomcat Wiki] Update of "PoweredBy" by Björn Hahnefeld

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

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

The "PoweredBy" page has been changed by Björn Hahnefeld.
http://wiki.apache.org/tomcat/PoweredBy?action=diff&rev1=325&rev2=326

--

  [[http://www.dspace.org/|DSpace]] is an open-source repository for research 
materials. It is installed in numerous places, including 
[[http://dspace.mit.edu|MIT]] and the 
[[http://www.iue.it/LIB/Cadmus/InstallationNotes.shtml|European University 
Institute]]. Detailed 
[[http://www.dspace.org/technology/system-docs/install.html|installation 
instructions]] are available.
  
  === Duramental Shop ===
- {{http://www.duramental.de/images/logo/meria.gif}} "Duramental Online-Shop" 
[[http://www.duramental.de|DURAMENTAL Glutathion]] runs on Tomcat and is 
realized with JSP-Pages. The Backend is a client solution based on swing - a 
complete Java-App!
+ {{http://www.duramental.de/images/logo/meria.gif}} "Duramental Online-Shop" 
[[http://www.duramental.de|DURAMENTAL Glutathion]] runs on Tomcat and is 
realized with JSP-Pages. The Backend is a client solution based on swing - a 
complete Java-App! It was implemented by the [[http://www.hahnefeld.de|TYPO3]]- 
and [[http://www.hahnefeld.de|Magento]]-Agency "björn hahnefeld IT"
  
  === electricshopping.com ===
   {{http://www.esfiles.co.uk/images/es%2Dlogo.gif||width="355",height="48"}} 
[[http://www.electricshopping.com|electricshopping.com]]is a UK based internet 
retailer of home appliances and merchandise. Started in early 2001, it provides 
a low price guarantee along with free shipping in the UK and aims establish 
itself as the premier destination for electric home goods in Europe. It 
currently uses Tomcat for is online store.

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



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

2011-03-16 Thread markt
Author: markt
Date: Wed Mar 16 18:26:40 2011
New Revision: 1082248

URL: http://svn.apache.org/viewvc?rev=1082248&view=rev
Log:
Remove random "

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=1082248&r1=1082247&r2=1082248&view=diff
==
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Wed Mar 16 18:26:40 2011
@@ -116,7 +116,7 @@
 keyPass connector attribute. (markt)
   
 
-  "
+  
   
 
   



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



[Tomcat Wiki] Trivial Update of "wiki2011" by wiki2011

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

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

The "wiki2011" page has been changed by wiki2011.
The comment on this change is: silver tiffany necklace.
http://wiki.apache.org/tomcat/wiki2011

--

New page:
tiffany tag necklace
tiffany And Co
tag necklace tiffany
tiffany on sale
visit this tiffany site

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



Page wiki2011 deleted from Tomcat Wiki

2011-03-16 Thread Apache Wiki
Dear wiki user,

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

The page "wiki2011" has been deleted by ChuckCaldarale.
The comment on this change is: spam removal.
http://wiki.apache.org/tomcat/wiki2011

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



Caused by: java.lang.IllegalStateException: No modifications are allowed to a locked ParameterMap

2011-03-16 Thread Rao G.Srinivasa

Hi,

I have developed a web application. It's working fine with the Web Sphere. I 
have deployed the same application into the tomcat 6.0.14, the deployment was 
successful.
But I try to use some functionalities such as saving data after entering input 
to the page, it's throwing the following error message and the operation was 
failed.

Caused by: 
java.lang.IllegalStateException:
 No modifications are allowed to a locked ParameterMap
at org.apache.catalina.util.ParameterMap.put(ParameterMap.java:166)
at 
com.deere.u90.iaf.ejpm.utility.HttpServletRequestMapper.mapToBean(HttpServletRequestMapper.java:42)
... 25 more
Requesting you please let me know that what may be the mistake and provided 
solution.



Thanks,
Srinivas.

Thanks,
G Srinivasa Rao