svn commit: r464840 - /tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_6/
Author: mturk Date: Tue Oct 17 00:01:38 2006 New Revision: 464840 URL: http://svn.apache.org/viewvc?view=revrev=464840 Log: Tag the tomcat native 1.1.6 Added: tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_6/ - copied from r464839, tomcat/connectors/trunk/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: svn commit: r464761 - in /tomcat/tc6.0.x/trunk: java/org/apache/catalina/core/AprLifecycleListener.java res/tomcat.nsi
[EMAIL PROTECTED] wrote: Log: - At the moment, I prefer version 1.1.3. Remy, I have uploaded the 1.1.6 tag that fixes the problems with 1.1.4. 1.1.5 was not made as public, because of few small compile problems. Also I have changed the source distribution naming, so it follows the APR name scheme. The source tarball is now: tomcat-native.loc=${base-tomcat.loc}/tomcat-connectors/native/tomcat-native-1.1.6-src.tar.gz (Added a -src suffix for .tgz and -win32-src for .zip with DOS line ends) Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 40668] - MailSessionFactory is missing in Tomcat 5.5.20
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=40668. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=40668 --- Additional Comments From [EMAIL PROTECTED] 2006-10-17 01:58 --- Can it be that a total of 5 files are missing in Tomcat 5.5.20 naming-factory.jar? SendMailFactory SendMailFactory$1 MailSessionFactory MailSessionFactory$1 MailSessionFactory$2 -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 40774] New: - tomcat-connector 1.2.19 Error in resolving configuration references
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=40774. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=40774 Summary: tomcat-connector 1.2.19 Error in resolving configuration references Product: Tomcat 5 Version: Unknown Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Native:JK AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] hi, apache does not start when configuring more than JK_MAP_RECURSION (20) workers referencing another worker. The debug output stops at recursion level 20. I am using apache 1.3.x and tomcat 4.1.x but this may happen in every apache/tomcat combination. I tried the following fix which worked for me: Change the following line (recursion) in native/common/jk_map.c: rc = jk_map_resolve_references(m, m-values[i], 0, ++depth, l); to rc = jk_map_resolve_references(m, m-values[i], 0, depth+1, l); /* after leaving the recursion the depth level has the same value as when entering the recursion. */ hopefully in time for 1.2.20 thanks -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r464892 - in /tomcat/tc6.0.x/trunk: build.properties.default res/tomcat.nsi
Author: remm Date: Tue Oct 17 03:22:35 2006 New Revision: 464892 URL: http://svn.apache.org/viewvc?view=revrev=464892 Log: - Update to the new packages. Modified: tomcat/tc6.0.x/trunk/build.properties.default tomcat/tc6.0.x/trunk/res/tomcat.nsi Modified: tomcat/tc6.0.x/trunk/build.properties.default URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/build.properties.default?view=diffrev=464892r1=464891r2=464892 == --- tomcat/tc6.0.x/trunk/build.properties.default (original) +++ tomcat/tc6.0.x/trunk/build.properties.default Tue Oct 17 03:22:35 2006 @@ -34,9 +34,9 @@ jdt.loc=http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/drops/R-3.2-200606291905/eclipse-JDT-3.2.zip # - Tomcat native library - -tomcat-native.home=${base.path}/tomcat-native-1.1.3 +tomcat-native.home=${base.path}/tomcat-native-1.1.6 tomcat-native.tar.gz=${tomcat-native.home}/tomcat-native.tar.gz -tomcat-native.loc=${base-tomcat.loc}/tomcat-connectors/native/tomcat-native-1.1.3.tar.gz +tomcat-native.loc=${base-tomcat.loc}/tomcat-connectors/native/tomcat-native-1.1.6-src.tar.gz # - Commons DBCP, version 1.1 or later - commons-dbcp.version=1.2.1 Modified: tomcat/tc6.0.x/trunk/res/tomcat.nsi URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/res/tomcat.nsi?view=diffrev=464892r1=464891r2=464892 == --- tomcat/tc6.0.x/trunk/res/tomcat.nsi (original) +++ tomcat/tc6.0.x/trunk/res/tomcat.nsi Tue Oct 17 03:22:35 2006 @@ -191,11 +191,11 @@ SectionIn 3 - NSISdl::download /TIMEOUT=3 http://tomcat.heanet.ie/native/1.1.3/binaries/win32/tcnative-1.dll $INSTDIR\bin\tcnative-1.dll + NSISdl::download /TIMEOUT=3 http://tomcat.heanet.ie/native/1.1.6/binaries/win32/tcnative-1.dll $INSTDIR\bin\tcnative-1.dll Pop $0 StrCmp $0 success success SetDetailsView show -DetailPrint download failed from http://tomcat.heanet.ie/native/1.1.3/binaries/win32/tcnative-1.dll: $0 +DetailPrint download failed from http://tomcat.heanet.ie/native/1.1.6/binaries/win32/tcnative-1.dll: $0 success: ClearErrors - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r464922 - in /tomcat/connectors/trunk/jk: native/common/jk_map.c xdocs/changelog.xml
Author: rjung Date: Tue Oct 17 06:23:25 2006 New Revision: 464922 URL: http://svn.apache.org/viewvc?view=revrev=464922 Log: Fixing BZ 40774: Wrong termination detection for feature reference. Modified: tomcat/connectors/trunk/jk/native/common/jk_map.c tomcat/connectors/trunk/jk/xdocs/changelog.xml Modified: tomcat/connectors/trunk/jk/native/common/jk_map.c URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_map.c?view=diffrev=464922r1=464921r2=464922 == --- tomcat/connectors/trunk/jk/native/common/jk_map.c (original) +++ tomcat/connectors/trunk/jk/native/common/jk_map.c Tue Oct 17 06:23:25 2006 @@ -661,7 +661,7 @@ *(to+remain) = '.'; *(to+remain+1) = '\0'; -rc = jk_map_resolve_references(m, m-values[i], 0, ++depth, l); +rc = jk_map_resolve_references(m, m-values[i], 0, depth+1, l); if (rc == JK_FALSE) { break; } Modified: tomcat/connectors/trunk/jk/xdocs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/changelog.xml?view=diffrev=464922r1=464921r2=464922 == --- tomcat/connectors/trunk/jk/xdocs/changelog.xml (original) +++ tomcat/connectors/trunk/jk/xdocs/changelog.xml Tue Oct 17 06:23:25 2006 @@ -27,7 +27,11 @@ subsection name=Native changelog fix - bug40716/bug: Adding reference feature to IIS and Netscape. + bug40774/bug: Fixing wrong recursion termination. This one restricted the + reference feature unintentionally to 20 workers. (rjung) + /fix + fix + bug40716/bug: Adding reference feature to IIS and Netscape. (rjung) /fix fix Documentation: Corrected SetEnvIf syntax in JK_WORKER_NAME example. (rjung) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 40774] - tomcat-connector 1.2.19 Error in resolving configuration references
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=40774. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=40774 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2006-10-17 06:22 --- Thanks for spotting that and sorry for the silly error. I hope you like the feature :) Fixed for 1.2.20. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r464928 - /tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/deploy/FarmWarDeployer.java
Author: fhanik Date: Tue Oct 17 07:05:50 2006 New Revision: 464928 URL: http://svn.apache.org/viewvc?view=revrev=464928 Log: Fixed startup exception Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/deploy/FarmWarDeployer.java Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/deploy/FarmWarDeployer.java URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/deploy/FarmWarDeployer.java?view=diffrev=464928r1=464927r2=464928 == --- tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/deploy/FarmWarDeployer.java (original) +++ tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/deploy/FarmWarDeployer.java Tue Oct 17 07:05:50 2006 @@ -142,12 +142,18 @@ watcher = new WarWatcher(this, new File(getWatchDir())); if (log.isInfoEnabled()) log.info(Cluster deployment is watching + getWatchDir() -+ for changes.); + + for changes.); } - + // Check to correct engine and host setup -host = (Host) getCluster().getContainer(); -Engine engine = (Engine) host.getParent(); +Object parent = getCluster().getContainer(); +Engine engine = null; +if ( parent instanceof Host ) { +host = (Host) parent; +engine = (Engine) host.getParent(); +}else { +engine = (Engine)parent; +} try { oname = new ObjectName(engine.getName() + :type=Deployer,host= + host.getName()); @@ -157,8 +163,7 @@ configBase = new File(System.getProperty(catalina.base), conf); if (engine != null) { configBase = new File(configBase, engine.getName()); -} -if (host != null) { +} else if (host != null) { configBase = new File(configBase, host.getName()); } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 40775] New: - Single-sign on session invalidation not working as expected
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=40775. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=40775 Summary: Single-sign on session invalidation not working as expected Product: Tomcat 5 Version: 5.5.17 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Unknown AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] After enabling the single sign-on valve, I noticed unexpected logout behavior. Here are steps to reproduce: 1. Using form auth, log into webapp1 (by attempting to access a protected resource that does not exist) 2. Attempt to access a protected resource in webapp2 is granted (meaning you are logged into 2 by logging into 1 as we expect). 3. Invalidating the session from webapp2 does not log you out. It appears that you are able to sign-on and be authorized by other webapps without accessing an existing protected resource but you will not be able to logout from those webapps. I can provide simple sample webapps to demonstrate this behavior. This was discovered in an embedded Tomcat in JBoss and they explained the issue as following: What you're seeing is due to a subtlety in your test combining with a subtlety in how Tomcat SSO invalidation works. The reason you can invalidate an SSO and not just a single session by calling session.invalidate() is because Tomcat provides a reference to the session to the SSO valve. The valve registers as a listener on the session and thus gets a callback when you call session.invalidate(). It then uses that callback to invalidate the SSO. The problem is the way Tomcat provides the reference to the session to the SSO valve. This only happens if you access a protected resource. If you look at the steps in your test, you'll notice you never access a protected resource in testapp2. Thus the SSO valve doesn't know about your testapp2 session. When you invalidate the session, the SSO doesn't get invalidated. I expect that if you are considered logged into a webapp you should also be able to log out from that same web app. Please let me know your thoughts. Thanks Mark -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SSL Connectors - config proposal
gents and ladies, currently we are doing SSL a little bit differently between APR and the Java connectors. The APR connector requires an attribute sslEngine=On to kick in. I believe this attribute to be useful for two reasons: 1. Config should be as consistent as possible. 2. If I use a SSL network card, or apache doing SSL etc, I would like to trick Tomcat into thinking it is running in SSL for example: Apache Port 80 - mod_proxy(http) - Tomcat 8080 Connector protocol=HTTP/1.1 port=8080/ Apache Port 443 - mod_proxy(http) - Tomcat 8081 Connector protocol=HTTP/1.1 port=8081 secure=true scheme=https sslEngine=off/ This example here is with Apache, but if you use any kind of SSL accelerator, be it a network card or an appliance, there is a risk of getting stuck in a redirect loop when using transport-guaranteeCONFIDENTIAL/transport-guarantee in web.xml Currently, you have to work around it using Valves or filters, but it can get a little messy. Useful? Filip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r464958 - /tomcat/tc6.0.x/trunk/conf/server.xml
Author: fhanik Date: Tue Oct 17 09:49:59 2006 New Revision: 464958 URL: http://svn.apache.org/viewvc?view=revrev=464958 Log: Cleaned up server.xml, added in documentation references so that a user can navigate from an element in server.xml to the correct location in the online documentation. Modified: tomcat/tc6.0.x/trunk/conf/server.xml Modified: tomcat/tc6.0.x/trunk/conf/server.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/conf/server.xml?view=diffrev=464958r1=464957r2=464958 == --- tomcat/tc6.0.x/trunk/conf/server.xml (original) +++ tomcat/tc6.0.x/trunk/conf/server.xml Tue Oct 17 09:49:59 2006 @@ -1,95 +1,54 @@ !-- Example Server Configuration File -- -!-- Note that component elements are nested corresponding to their - parent-child relationships with each other -- - -!-- A Server is a singleton element that represents the entire JVM, - which may contain one or more Service instances. The Server - listens for a shutdown command on the indicated port. - - Note: A Server is not itself a Container, so you may not - define subcomponents such as Valves or Loggers at this level. +!-- Note: A Server is not itself a Container, so you may not + define subcomponents such as Valves at this level. + Documentation at /docs/config/server.html -- - Server port=8005 shutdown=SHUTDOWN - !-- Comment these entries out to disable JMX MBeans support used for the - administration web application -- + !--APR library loader. Documentation at /docs/apr.html -- Listener className=org.apache.catalina.core.AprLifecycleListener / + !--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -- Listener className=org.apache.catalina.core.JasperListener / + !-- JMX Support for the Tomcat server. Documentation at /docs/non-existent.html -- Listener className=org.apache.catalina.mbeans.ServerLifecycleListener / Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener / !--Listener className=org.apache.catalina.storeconfig.StoreConfigLifecycleListener/-- - !-- Global JNDI resources -- + !-- Global JNDI resources + Documentation at /docs/jndi-resources-howto.html + -- GlobalNamingResources - !-- Test entry for demonstration purposes -- Environment name=simpleValue type=java.lang.Integer value=30/ - !-- Editable user database that can also be used by - UserDatabaseRealm to authenticate users -- + UserDatabaseRealm to authenticate users +-- Resource name=UserDatabase auth=Container type=org.apache.catalina.UserDatabase - description=User database that can be updated and saved - factory=org.apache.catalina.users.MemoryUserDatabaseFactory - pathname=conf/tomcat-users.xml / - + description=User database that can be updated and saved + factory=org.apache.catalina.users.MemoryUserDatabaseFactory + pathname=conf/tomcat-users.xml / /GlobalNamingResources !-- A Service is a collection of one or more Connectors that share - a single Container (and therefore the web applications visible - within that Container). Normally, that Container is an Engine, - but this is not required. - - Note: A Service is not itself a Container, so you may not - define subcomponents such as Valves or Loggers at this level. + a single Container Note: A Service is not itself a Container, + so you may not define subcomponents such as Valves at this level. + Documentation at /docs/config/service.html -- - - !-- Define the Tomcat Stand-Alone Service -- Service name=Catalina !-- A Connector represents an endpoint by which requests are received - and responses are returned. Each Connector passes requests on to the - associated Container (normally an Engine) for processing. - - By default, a non-SSL HTTP/1.1 Connector is established on port 8080. - You can also enable an SSL HTTP/1.1 Connector on port 8443 by - following the instructions below and uncommenting the second Connector - entry. SSL support requires the following steps (see the SSL Config - HOWTO in the Tomcat 5 documentation bundle for more detailed - instructions): - * If your JDK version 1.3 or prior, download and install JSSE 1.0.2 or - later, and put the JAR files into $JAVA_HOME/jre/lib/ext. - * Execute: - %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows) - $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix) - with a password value of changeit for both the certificate and - the keystore itself. - - By default, DNS lookups are enabled when a web application calls - request.getRemoteHost(). This can have an
Re: svn commit: r464958 - /tomcat/tc6.0.x/trunk/conf/server.xml
[EMAIL PROTECTED] wrote: Author: fhanik Date: Tue Oct 17 09:49:59 2006 New Revision: 464958 URL: http://svn.apache.org/viewvc?view=revrev=464958 Log: Cleaned up server.xml, added in documentation references so that a user can navigate from an element in server.xml to the correct location in the online documentation. Can I take this stuff out too: !-- Example Server Configuration File -- It's not quite an example, it's the default config, and it seems usable to me right now. !--Listener className=org.apache.catalina.storeconfig.StoreConfigLifecycleListener/-- Not ported yet. !-- Test entry for demonstration purposes -- Environment name=simpleValue type=java.lang.Integer value=30/ That does not seem very useful. Valve className=org.apache.catalina.valves.AccessLogValve directory=logs Can I use the FastCommonAccessLogValve as the className there (it's more efficient should one test it without thinking) ? ? I'll also use this config for the Windows installer, of course. Rémy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: svn commit: r464958 - /tomcat/tc6.0.x/trunk/conf/server.xml
knock yourself out :) Remy Maucherat wrote: [EMAIL PROTECTED] wrote: Author: fhanik Date: Tue Oct 17 09:49:59 2006 New Revision: 464958 URL: http://svn.apache.org/viewvc?view=revrev=464958 Log: Cleaned up server.xml, added in documentation references so that a user can navigate from an element in server.xml to the correct location in the online documentation. Can I take this stuff out too: !-- Example Server Configuration File -- It's not quite an example, it's the default config, and it seems usable to me right now. !--Listener className=org.apache.catalina.storeconfig.StoreConfigLifecycleListener/-- Not ported yet. !-- Test entry for demonstration purposes -- Environment name=simpleValue type=java.lang.Integer value=30/ That does not seem very useful. Valve className=org.apache.catalina.valves.AccessLogValve directory=logs Can I use the FastCommonAccessLogValve as the className there (it's more efficient should one test it without thinking) ? ? I'll also use this config for the Windows installer, of course. Rémy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SSL Connectors - config proposal
Filip Hanik - Dev Lists wrote: gents and ladies, currently we are doing SSL a little bit differently between APR and the Java connectors. The APR connector requires an attribute sslEngine=On to kick in. Actually, it's anything but off to enable SSL. Values other than on enable hardware acceleration modules. I believe this attribute to be useful for two reasons: 1. Config should be as consistent as possible. 2. If I use a SSL network card, or apache doing SSL etc, I would like to trick Tomcat into thinking it is running in SSL for example: Apache Port 80 - mod_proxy(http) - Tomcat 8080 Connector protocol=HTTP/1.1 port=8080/ Apache Port 443 - mod_proxy(http) - Tomcat 8081 Connector protocol=HTTP/1.1 port=8081 secure=true scheme=https sslEngine=off/ This example here is with Apache, but if you use any kind of SSL accelerator, be it a network card or an appliance, there is a risk of getting stuck in a redirect loop when using transport-guaranteeCONFIDENTIAL/transport-guarantee in web.xml Currently, you have to work around it using Valves or filters, but it can get a little messy. Useful? Ok. I think it only applies to the protocol implementation, so it shouldn't cause any regressions. Rémy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SSL Connectors - config proposal
Filip Hanik - Dev Lists wrote: gents and ladies, currently we are doing SSL a little bit differently between APR and the Java connectors. The APR connector requires an attribute sslEngine=On to kick in. I believe this attribute to be useful for two reasons: 1. Config should be as consistent as possible. 2. If I use a SSL network card, or apache doing SSL etc, I would like to trick Tomcat into thinking it is running in SSL for example: Apache Port 80 - mod_proxy(http) - Tomcat 8080 Connector protocol=HTTP/1.1 port=8080/ Apache Port 443 - mod_proxy(http) - Tomcat 8081 Connector protocol=HTTP/1.1 port=8081 secure=true scheme=https sslEngine=off/ This example here is with Apache, but if you use any kind of SSL accelerator, be it a network card or an appliance, there is a risk of getting stuck in a redirect loop when using transport-guaranteeCONFIDENTIAL/transport-guarantee in web.xml Currently, you have to work around it using Valves or filters, but it can get a little messy. Useful? What would you propose if we use HTTP/AJP + SSL between Apache httpd and TC? BTW: In TC 5.x the secure=true or secure=false does not behave as in the documentation (See PR 40766). Cheers Jean-Frederic Filip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SSL Connectors - config proposal
Jean-frederic Clere wrote: Filip Hanik - Dev Lists wrote: gents and ladies, currently we are doing SSL a little bit differently between APR and the Java connectors. The APR connector requires an attribute sslEngine=On to kick in. I believe this attribute to be useful for two reasons: 1. Config should be as consistent as possible. 2. If I use a SSL network card, or apache doing SSL etc, I would like to trick Tomcat into thinking it is running in SSL for example: Apache Port 80 - mod_proxy(http) - Tomcat 8080 Connector protocol=HTTP/1.1 port=8080/ Apache Port 443 - mod_proxy(http) - Tomcat 8081 Connector protocol=HTTP/1.1 port=8081 secure=true scheme=https sslEngine=off/ This example here is with Apache, but if you use any kind of SSL accelerator, be it a network card or an appliance, there is a risk of getting stuck in a redirect loop when using transport-guaranteeCONFIDENTIAL/transport-guarantee in web.xml Currently, you have to work around it using Valves or filters, but it can get a little messy. Useful? What would you propose if we use HTTP/AJP + SSL between Apache httpd and TC? AJP doesn't support SSL, so its not affected. BTW: In TC 5.x the secure=true or secure=false does not behave as in the documentation (See PR 40766). yes, this is what we are trying to avoid, secure=value should just result in request.getSecure to return value, and so on. sslEngine=on actually kicks in the SSL enc/dec Filip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r465031 - /tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/session/DeltaSession.java
Author: fhanik Date: Tue Oct 17 13:36:13 2006 New Revision: 465031 URL: http://svn.apache.org/viewvc?view=revrev=465031 Log: Fix NPE on session state transfer Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/session/DeltaSession.java Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/session/DeltaSession.java URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/session/DeltaSession.java?view=diffrev=465031r1=465030r2=465031 == --- tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/session/DeltaSession.java (original) +++ tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/session/DeltaSession.java Tue Oct 17 13:36:13 2006 @@ -698,7 +698,8 @@ } protected void setAccessCount(int count) { -super.accessCount.set(count); +if ( accessCount == null ACTIVITY_CHECK ) accessCount = new AtomicInteger(); +if ( accessCount != null ) super.accessCount.set(count); } } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SSL Connectors - config proposal
Filip Hanik - Dev Lists wrote: Jean-frederic Clere wrote: Filip Hanik - Dev Lists wrote: gents and ladies, currently we are doing SSL a little bit differently between APR and the Java connectors. The APR connector requires an attribute sslEngine=On to kick in. I believe this attribute to be useful for two reasons: 1. Config should be as consistent as possible. 2. If I use a SSL network card, or apache doing SSL etc, I would like to trick Tomcat into thinking it is running in SSL for example: Apache Port 80 - mod_proxy(http) - Tomcat 8080 Connector protocol=HTTP/1.1 port=8080/ Apache Port 443 - mod_proxy(http) - Tomcat 8081 Connector protocol=HTTP/1.1 port=8081 secure=true scheme=https sslEngine=off/ This example here is with Apache, but if you use any kind of SSL accelerator, be it a network card or an appliance, there is a risk of getting stuck in a redirect loop when using transport-guaranteeCONFIDENTIAL/transport-guarantee in web.xml Currently, you have to work around it using Valves or filters, but it can get a little messy. Useful? What would you propose if we use HTTP/AJP + SSL between Apache httpd and TC? AJP doesn't support SSL, so its not affected. Well. That would be protocol=AJP sslEngine=on secure=value scheme=value. BTW: Apache httpd does not yet support SSL proxy. ProxyPass /servlets-examplex https://anotherhost:8443/servlets-examples is not yet supported. Or do I miss something? BTW: In TC 5.x the secure=true or secure=false does not behave as in the documentation (See PR 40766). yes, this is what we are trying to avoid, secure=value should just result in request.getSecure to return value, and so on. sslEngine=on actually kicks in the SSL enc/dec +1 Cheers Jean-Frederic Filip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r465044 - in /tomcat/tc6.0.x/trunk: build.xml conf/catalina.policy conf/server-minimal.xml conf/server.xml webapps/docs/security-manager-howto.xml
Author: remm Date: Tue Oct 17 13:50:56 2006 New Revision: 465044 URL: http://svn.apache.org/viewvc?view=revrev=465044 Log: - Also copy the policy file. - server.xml tweaks. - Remove the minimal server.xml, which isn't that helpful anymore. Removed: tomcat/tc6.0.x/trunk/conf/server-minimal.xml Modified: tomcat/tc6.0.x/trunk/build.xml tomcat/tc6.0.x/trunk/conf/catalina.policy tomcat/tc6.0.x/trunk/conf/server.xml tomcat/tc6.0.x/trunk/webapps/docs/security-manager-howto.xml Modified: tomcat/tc6.0.x/trunk/build.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/build.xml?view=diffrev=465044r1=465043r2=465044 == --- tomcat/tc6.0.x/trunk/build.xml (original) +++ tomcat/tc6.0.x/trunk/build.xml Tue Oct 17 13:50:56 2006 @@ -450,6 +450,7 @@ !-- Copy static resource files -- copy todir=${tomcat.build}/conf fileset dir=conf +include name=**/*.policy/ include name=**/*.xml/ include name=**/*.properties/ /fileset Modified: tomcat/tc6.0.x/trunk/conf/catalina.policy URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/conf/catalina.policy?view=diffrev=465044r1=465043r2=465044 == --- tomcat/tc6.0.x/trunk/conf/catalina.policy (original) +++ tomcat/tc6.0.x/trunk/conf/catalina.policy Tue Oct 17 13:50:56 2006 @@ -40,18 +40,13 @@ // == CATALINA CODE PERMISSIONS === -// These permissions apply to the launcher code -grant codeBase file:${catalina.home}/bin/commons-launcher.jar { -permission java.security.AllPermission; -}; - -// These permissions apply to the daemon code +/ These permissions apply to the daemon code grant codeBase file:${catalina.home}/bin/commons-daemon.jar { permission java.security.AllPermission; }; -// These permissions apply to the commons-logging API -grant codeBase file:${catalina.home}/bin/commons-logging-api.jar { +// These permissions apply to the logging API +grant codeBase file:${catalina.home}/bin/tomcat-juli.jar { permission java.security.AllPermission; }; @@ -62,16 +57,12 @@ // These permissions apply to the servlet API classes // and those that are shared across all class loaders -// located in the common directory +// located in the lib directory grant codeBase file:${catalina.home}/lib/- { permission java.security.AllPermission; }; -// The permissions granted to the balancer WEB-INF/classes and WEB-INF/lib directory -grant codeBase file:${catalina.home}/webapps/balancer/- { -permission java.lang.RuntimePermission accessClassInPackage.org.apache.tomcat.util.digester; -permission java.lang.RuntimePermission accessClassInPackage.org.apache.tomcat.util.digester.*; -}; + // == WEB APPLICATION PERMISSIONS = Modified: tomcat/tc6.0.x/trunk/conf/server.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/conf/server.xml?view=diffrev=465044r1=465043r2=465044 == --- tomcat/tc6.0.x/trunk/conf/server.xml (original) +++ tomcat/tc6.0.x/trunk/conf/server.xml Tue Oct 17 13:50:56 2006 @@ -1,4 +1,3 @@ -!-- Example Server Configuration File -- !-- Note: A Server is not itself a Container, so you may not define subcomponents such as Valves at this level. Documentation at /docs/config/server.html @@ -12,14 +11,11 @@ !-- JMX Support for the Tomcat server. Documentation at /docs/non-existent.html -- Listener className=org.apache.catalina.mbeans.ServerLifecycleListener / Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener / - !--Listener className=org.apache.catalina.storeconfig.StoreConfigLifecycleListener/-- !-- Global JNDI resources Documentation at /docs/jndi-resources-howto.html -- GlobalNamingResources -!-- Test entry for demonstration purposes -- -Environment name=simpleValue type=java.lang.Integer value=30/ !-- Editable user database that can also be used by UserDatabaseRealm to authenticate users -- @@ -44,7 +40,8 @@ APR (HTTP/AJP) Connector: /docs/apr.html Define a non-SSL HTTP/1.1 Connector on port 8080 -- -Connector port=8080 maxThreads=150 connectionTimeout=2 +Connector port=8080 protocol=HTTP/1.1 + maxThreads=150 connectionTimeout=2 redirectPort=8443 / !-- Define a SSL HTTP/1.1 Connector on port 8443 @@ -52,7 +49,8 @@ connector should be using the OpenSSL style configuration described in the APR documentation -- !-- -Connector port=8443 maxThreads=150 scheme=https secure=true +Connector port=8443 protocol=HTTP/1.1 + maxThreads=150 scheme=https secure=true clientAuth=false
Re: SSL Connectors - config proposal
Jean-frederic Clere wrote: Filip Hanik - Dev Lists wrote: Jean-frederic Clere wrote: Filip Hanik - Dev Lists wrote: gents and ladies, currently we are doing SSL a little bit differently between APR and the Java connectors. The APR connector requires an attribute sslEngine=On to kick in. I believe this attribute to be useful for two reasons: 1. Config should be as consistent as possible. 2. If I use a SSL network card, or apache doing SSL etc, I would like to trick Tomcat into thinking it is running in SSL for example: Apache Port 80 - mod_proxy(http) - Tomcat 8080 Connector protocol=HTTP/1.1 port=8080/ Apache Port 443 - mod_proxy(http) - Tomcat 8081 Connector protocol=HTTP/1.1 port=8081 secure=true scheme=https sslEngine=off/ This example here is with Apache, but if you use any kind of SSL accelerator, be it a network card or an appliance, there is a risk of getting stuck in a redirect loop when using transport-guaranteeCONFIDENTIAL/transport-guarantee in web.xml Currently, you have to work around it using Valves or filters, but it can get a little messy. Useful? What would you propose if we use HTTP/AJP + SSL between Apache httpd and TC? AJP doesn't support SSL, so its not affected. Well. That would be protocol=AJP sslEngine=on secure=value scheme=value. AJP doesn't support SSL, so I am not sure what the sslEngine attribute would do. and SSL info was passed in AJP package, not sure if that affects getSecure or getScheme, but I would assume it does BTW: Apache httpd does not yet support SSL proxy. ProxyPass /servlets-examplex https://anotherhost:8443/servlets-examples is not yet supported. Or do I miss something? this is supported, but this is also what we don't want, we dont want to do SSL twice, thats the point of my whole proposal. BTW: In TC 5.x the secure=true or secure=false does not behave as in the documentation (See PR 40766). yes, this is what we are trying to avoid, secure=value should just result in request.getSecure to return value, and so on. sslEngine=on actually kicks in the SSL enc/dec +1 Cheers Jean-Frederic Filip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: SSL Connectors - config proposal
-Original Message- From: Jean-frederic Clere [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 17, 2006 1:12 PM To: Tomcat Developers List Subject: Re: SSL Connectors - config proposal Filip Hanik - Dev Lists wrote: gents and ladies, currently we are doing SSL a little bit differently between APR and the Java connectors. The APR connector requires an attribute sslEngine=On to kick in. I believe this attribute to be useful for two reasons: 1. Config should be as consistent as possible. 2. If I use a SSL network card, or apache doing SSL etc, I would like to trick Tomcat into thinking it is running in SSL for example: Apache Port 80 - mod_proxy(http) - Tomcat 8080 Connector protocol=HTTP/1.1 port=8080/ Apache Port 443 - mod_proxy(http) - Tomcat 8081 Connector protocol=HTTP/1.1 port=8081 secure=true scheme=https sslEngine=off/ This example here is with Apache, but if you use any kind of SSL accelerator, be it a network card or an appliance, there is a risk of getting stuck in a redirect loop when using transport-guaranteeCONFIDENTIAL/transport-guarantee in web.xml Currently, you have to work around it using Valves or filters, but it can get a little messy. Useful? What would you propose if we use HTTP/AJP + SSL between Apache httpd and TC? BTW: In TC 5.x the secure=true or secure=false does not behave as in the documentation (See PR 40766). There are a lot of people that are relying on the current behavior (e.g. using the same worker for both the HTTP and HTTPS vhost, and using the value that is passed to TC). IMHO, it is the documentation that should be fixed, since the AJP connector has never allowed you to configure secure outside the AJP protocol (going all the way back to TC 3.x :). Cheers Jean-Frederic Filip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message is intended only for the use of the person(s) listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not an intended recipient, you may not read, copy, or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments. In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet is not secure. Do not send confidential or sensitive information, such as social security numbers, account numbers, personal identification numbers and passwords, to us via ordinary (unencrypted) e-mail. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: SSL Connectors - config proposal
-Original Message- From: Jean-frederic Clere [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 17, 2006 1:43 PM To: Tomcat Developers List Subject: Re: SSL Connectors - config proposal Filip Hanik - Dev Lists wrote: Jean-frederic Clere wrote: Filip Hanik - Dev Lists wrote: gents and ladies, currently we are doing SSL a little bit differently between APR and the Java connectors. The APR connector requires an attribute sslEngine=On to kick in. I believe this attribute to be useful for two reasons: 1. Config should be as consistent as possible. 2. If I use a SSL network card, or apache doing SSL etc, I would like to trick Tomcat into thinking it is running in SSL for example: Apache Port 80 - mod_proxy(http) - Tomcat 8080 Connector protocol=HTTP/1.1 port=8080/ Apache Port 443 - mod_proxy(http) - Tomcat 8081 Connector protocol=HTTP/1.1 port=8081 secure=true scheme=https sslEngine=off/ This example here is with Apache, but if you use any kind of SSL accelerator, be it a network card or an appliance, there is a risk of getting stuck in a redirect loop when using transport-guaranteeCONFIDENTIAL/transport-guarantee in web.xml Currently, you have to work around it using Valves or filters, but it can get a little messy. Useful? What would you propose if we use HTTP/AJP + SSL between Apache httpd and TC? AJP doesn't support SSL, so its not affected. Well. That would be protocol=AJP sslEngine=on secure=value scheme=value. BTW: Apache httpd does not yet support SSL proxy. ProxyPass /servlets-examplex https://anotherhost:8443/servlets-examples is not yet supported. Or do I miss something? I haven't tried in in 2.2.x, but I know it used to work. Do you have mod_ssl turned off? BTW: In TC 5.x the secure=true or secure=false does not behave as in the documentation (See PR 40766). yes, this is what we are trying to avoid, secure=value should just result in request.getSecure to return value, and so on. sslEngine=on actually kicks in the SSL enc/dec +1 Cheers Jean-Frederic Filip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message is intended only for the use of the person(s) listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not an intended recipient, you may not read, copy, or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments. In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet is not secure. Do not send confidential or sensitive information, such as social security numbers, account numbers, personal identification numbers and passwords, to us via ordinary (unencrypted) e-mail. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[VOTE] Tomcat 6 release plan
Hi, The release plan is located here: http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/RELEASE-PLAN-6.0.txt ballot [ ] +1 [ ] +0 [ ] -1 /ballot This calls for a first build to be released by friday, and it will use the same release process as 5.5.x. At the moment, there's no plan to port the admin webapp, but it would certainly be possible to do so should volunteers show up. Any comments ? Thanks, Rémy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] Tomcat 6 release plan
ballot [X] +1 [ ] +0 [ ] -1 /ballot Filip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] Tomcat 6 release plan
[X] +1 Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 40735] - tomcat 5.5.30 build from source failing
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=40735. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=40735 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2006-10-17 18:10 --- 5.0.30 is almost 2 years old so some of the download locations have changed. The one you want is: http://switch.dl.sourceforge.net/sourceforge/mx4j/mx4j-1.1.1.tar.gz I am marking this as WONTFIX given that a new 5.0.x release is very unlikely. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 40741] - tomcat-5.5.20 source build fails because the download location for Eclipse JDT has changed
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=40741. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=40741 [EMAIL PROTECTED] changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2006-10-17 18:13 --- Remy has fixed the JDT issue. The users list is the place for the remaining issues. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r465118 - /tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/
Author: markt Date: Tue Oct 17 18:29:43 2006 New Revision: 465118 URL: http://svn.apache.org/viewvc?view=revrev=465118 Log: Fix bug 40762. I took the opportunity to remove all redundant code in o.a.c.core as identified by Eclipse. Modified: tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationContextFacade.java tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationDispatcher.java tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationFilterChain.java tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationFilterConfig.java tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationFilterFactory.java tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/NamingContextListener.java tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/StandardContext.java tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/StandardContextValve.java tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/StandardHost.java tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/StandardServer.java tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/StandardWrapperValve.java Modified: tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationContextFacade.java URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationContextFacade.java?view=diffrev=465118r1=465117r2=465118 == --- tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationContextFacade.java (original) +++ tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationContextFacade.java Tue Oct 17 18:29:43 2006 @@ -365,26 +365,6 @@ /** * Use reflection to invoke the requested method. Cache the method object * to speed up the process - * @param appContext The AppliationContext object on which the method - * will be invoked - * @param methodName The method to call. - * @param params The arguments passed to the called method. - */ -private Object doPrivileged(ApplicationContext appContext, -final String methodName, -final Object[] params) { -try{ -return invokeMethod(appContext, methodName, params ); -} catch (Throwable t){ -throw new RuntimeException(t.getMessage()); -} - -} - - -/** - * Use reflection to invoke the requested method. Cache the method object - * to speed up the process * will be invoked * @param methodName The method to call. * @param params The arguments passed to the called method. Modified: tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationDispatcher.java URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationDispatcher.java?view=diffrev=465118r1=465117r2=465118 == --- tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationDispatcher.java (original) +++ tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationDispatcher.java Tue Oct 17 18:29:43 2006 @@ -518,7 +518,7 @@ // Create a wrapped response to use for this request // ServletResponse wresponse = null; -ServletResponse wresponse = wrapResponse(); +wrapResponse(); // Handle a non-HTTP include if (!(request instanceof HttpServletRequest) || @@ -623,7 +623,6 @@ } // Initialize local variables we may need -HttpServletRequest hrequest = (HttpServletRequest) request; HttpServletResponse hresponse = (HttpServletResponse) response; Servlet servlet = null; IOException ioException = null; Modified: tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationFilterChain.java URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationFilterChain.java?view=diffrev=465118r1=465117r2=465118 == --- tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationFilterChain.java (original) +++ tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationFilterChain.java Tue Oct 17 18:29:43 2006 @@ -204,8 +204,6 @@ if( System.getSecurityManager() != null ) { final ServletRequest req = request; final ServletResponse res = response; -
DO NOT REPLY [Bug 40762] - liveDeploy local variable is unused in StandardHost
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=40762. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=40762 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2006-10-17 18:29 --- Fixed in SVN. Thanks for the report. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r465126 - /tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/filters/SavedRequestInputFilter.java
Author: markt Date: Tue Oct 17 19:26:48 2006 New Revision: 465126 URL: http://svn.apache.org/viewvc?view=revrev=465126 Log: Port fix bug 40771. Correct doRead method so Filters and Valves can read POST data. patch provided by Michael Dufel. Modified: tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/filters/SavedRequestInputFilter.java Modified: tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/filters/SavedRequestInputFilter.java URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/filters/SavedRequestInputFilter.java?view=diffrev=465126r1=465125r2=465126 == --- tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/filters/SavedRequestInputFilter.java (original) +++ tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/filters/SavedRequestInputFilter.java Tue Oct 17 19:26:48 2006 @@ -55,6 +55,9 @@ writeLength = input.getLength(); } +if(input.getOffset()= input.getEnd()) +return -1; + input.substract(chunk.getBuffer(), 0, writeLength); chunk.setOffset(0); chunk.setEnd(writeLength); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r465127 - in /tomcat: connectors/trunk/http11/src/java/org/apache/coyote/http11/filters/SavedRequestInputFilter.java container/tc5.5.x/webapps/docs/changelog.xml
Author: markt Date: Tue Oct 17 19:28:56 2006 New Revision: 465127 URL: http://svn.apache.org/viewvc?view=revrev=465127 Log: Fix bug 40771. Correct doRead method so Filters and Valves can read POST data. patch provided by Michael Dufel. Modified: tomcat/connectors/trunk/http11/src/java/org/apache/coyote/http11/filters/SavedRequestInputFilter.java tomcat/container/tc5.5.x/webapps/docs/changelog.xml Modified: tomcat/connectors/trunk/http11/src/java/org/apache/coyote/http11/filters/SavedRequestInputFilter.java URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/http11/src/java/org/apache/coyote/http11/filters/SavedRequestInputFilter.java?view=diffrev=465127r1=465126r2=465127 == --- tomcat/connectors/trunk/http11/src/java/org/apache/coyote/http11/filters/SavedRequestInputFilter.java (original) +++ tomcat/connectors/trunk/http11/src/java/org/apache/coyote/http11/filters/SavedRequestInputFilter.java Tue Oct 17 19:28:56 2006 @@ -55,6 +55,9 @@ writeLength = input.getLength(); } +if(input.getOffset()= input.getEnd()) +return -1; + input.substract(chunk.getBuffer(), 0, writeLength); chunk.setOffset(0); chunk.setEnd(writeLength); Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?view=diffrev=465127r1=465126r2=465127 == --- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original) +++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Tue Oct 17 19:28:56 2006 @@ -55,6 +55,15 @@ /fix /changelog /subsection + subsection name=Coyote +changelog + fix +bug40771/bug: Fix implementation of +SavedRequestInputFilter.doRead() so POST data may be read using a +Valve or Filter. Patch provided by Michael Dufel. (markt) + /fix +/changelog + /subsection subsection name=Webapps changelog fix @@ -494,7 +503,7 @@ HttpSession.getId will no longer throw an ISE when the session is invalid (remm) /fix fix - ore detailed errors for naming issues (remm) + More detailed errors for naming issues (remm) /fix docs Add documentation for the Transaction element (remm) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 40771] - Can't read POST data from within a filter or valve
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=40771. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=40771 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2006-10-17 19:28 --- Fixed in SVN. Will be included in 5.5.21 onwards. Many thanks for the patch. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mod_proxy_ajp vs mod_jk
Hi, I have read many postings about this topic, but one mod_proxy_ajp configuration detail eludes me. When using mod_jk you can ensure that the apache and tomcat are restricted to each other with the use of a unique secret word. In the workers.properties documentation the directive secret says: http://tomcat.apache.org/connectors-doc/config/workers.html secret - If set to AJP Connector secret keyword, only request with this keyword are successfull responding. Use request.useSecret=true and request.secret=secret key word at your tomcat ajp Connector configuration. The question is - how can you set secret in mod_proxy_ajp ? If this feature is not (yet) implemented, can this be easily added - aka can we expect this in a later version :) ? Please let me know if this post should be made on apache-httpd dev forum. In advance thank you for you replies, Fred -- View this message in context: http://www.nabble.com/mod_proxy_ajp-vs-mod_jk-tf2463710.html#a6868349 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: r465128 - in /tomcat/container/tc5.5.x: catalina/src/share/org/apache/catalina/valves/JDBCAccessLogValve.java webapps/docs/changelog.xml
Author: markt Date: Tue Oct 17 19:37:42 2006 New Revision: 465128 URL: http://svn.apache.org/viewvc?view=revrev=465128 Log: Fix 40723. Correct javadoc for JDBCAccessLogValve. Modified: tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/valves/JDBCAccessLogValve.java tomcat/container/tc5.5.x/webapps/docs/changelog.xml Modified: tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/valves/JDBCAccessLogValve.java URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/valves/JDBCAccessLogValve.java?view=diffrev=465128r1=465127r2=465128 == --- tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/valves/JDBCAccessLogValve.java (original) +++ tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/valves/JDBCAccessLogValve.java Tue Oct 17 19:37:42 2006 @@ -74,7 +74,6 @@ * pre * CREATE TABLE access ( * id INT UNSIGNED AUTO_INCREMENT NOT NULL, - * ts TIMESTAMP NOT NULL, * remoteHost CHAR(15) NOT NULL, * userName CHAR(15), * timestamp TIMESTAMP NOT NULL, @@ -86,7 +85,7 @@ * referer VARCHAR(128), * userAgent VARCHAR(128), * PRIMARY KEY (id), - * INDEX (ts), + * INDEX (timestamp), * INDEX (remoteHost), * INDEX (virtualHost), * INDEX (query), Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?view=diffrev=465128r1=465127r2=465128 == --- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original) +++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Tue Oct 17 19:37:42 2006 @@ -53,6 +53,10 @@ bug40625/bug: Stop CGIServlet swallowing the root cause of an exception. Patch provided by Takayoshi Kimura. (markt) /fix + fix +bug40723/bug: Correct table creation example in JavaDoc for +JDBCAccessLogValve. (markt) + /fix /changelog /subsection subsection name=Coyote - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r465129 - /tomcat/tc6.0.x/trunk/java/org/apache/catalina/valves/JDBCAccessLogValve.java
Author: markt Date: Tue Oct 17 19:37:58 2006 New Revision: 465129 URL: http://svn.apache.org/viewvc?view=revrev=465129 Log: Port fix 40723. Correct javadoc for JDBCAccessLogValve. Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/valves/JDBCAccessLogValve.java Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/valves/JDBCAccessLogValve.java URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/valves/JDBCAccessLogValve.java?view=diffrev=465129r1=465128r2=465129 == --- tomcat/tc6.0.x/trunk/java/org/apache/catalina/valves/JDBCAccessLogValve.java (original) +++ tomcat/tc6.0.x/trunk/java/org/apache/catalina/valves/JDBCAccessLogValve.java Tue Oct 17 19:37:58 2006 @@ -74,7 +74,6 @@ * pre * CREATE TABLE access ( * id INT UNSIGNED AUTO_INCREMENT NOT NULL, - * ts TIMESTAMP NOT NULL, * remoteHost CHAR(15) NOT NULL, * userName CHAR(15), * timestamp TIMESTAMP NOT NULL, @@ -86,7 +85,7 @@ * referer VARCHAR(128), * userAgent VARCHAR(128), * PRIMARY KEY (id), - * INDEX (ts), + * INDEX (timestamp), * INDEX (remoteHost), * INDEX (virtualHost), * INDEX (query), - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 40723] - Wrong and misleading documentation in JDBCAccessLogValve
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=40723. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=40723 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2006-10-17 19:38 --- Javadoc corrected in SVN. The change will be in 5.5.21 onwards. Thanks for the report. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 40637] - java.io.IOException: Stream closed / JspWriterImpl.java:203
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=40637. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=40637 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2006-10-17 19:45 --- From the exceptino and lookingat the Tomcat source, you appear to be closing the stream in your JSP which makes this a quesiton for the users list. If you are 100% sure you are not closing the stream feel free to re-open this bug and provide the source for the simplest possible JSP that exhibit this issue. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ajp connector ssl support
Hi: I have a rhetorical question for the developers of mod_jk and mod_proxy_ajp. Assuming the tomcat ajp connector was able to accept ssl connections - if the apache httpd server and tomcat are on separate machines and you needed to secure the connection with ssl, would you get better performance by implementing a mod_proxy_ajp or mod_jk with ssl or implementing stunnel? in advance thank you for your answers... Fred -- View this message in context: http://www.nabble.com/ajp-connector-ssl-support-tf2463893.html#a6868737 Sent from the Tomcat - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] Tomcat 6 release plan
+1 2006/10/18, Mark Thomas [EMAIL PROTECTED]: [X] +1 Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]