New taglib to script JSP pages in languages other than Java
Hello, as I haven't posted here before, I hope I won't make a mistake by posting to both of these lists. IMHO, this announcement is relevant to both communities. This is to inform the taglibs-user and tomcat-dev communities of a small new taglib which allows to script JSP pages in languages other than Java. Scriptlets and expressions using the taglib have access to the same implicit objects normal JSP scriptlets have access to. Internally, the taglib only depends on the javax.script interface defined as part of JSR-223 and included in Java 6 onwards, although it can also work with other implementations of javax.script on earlier version of Java (such as, for instance, Bean Scripting Framework 3). So for people who want to include scripts in their JSP pages, any scripting language that exposes a javax.script interface can be used. Given the nature of the project, and the existence of partial alternatives at least for some languages (such as Quercus/Resin), I expect interest to be quite small (if any), but if there's any interest it could be included in the newly re-organized Extended Taglib. Ideally, I would want Tomcat to support this kind of functionality natively via the language attribute of the page directive, but the taglib at least offers a simpler and container-independent solution. Source code can be found at: http://stani.ryabenkiy.com/downloads/releases/script-taglib-1.0.tar.gz The related thesis paper (with source code in appendix): http://stani.ryabenkiy.com/downloads/papers/scripting_thesis.pdf Kind Regards, Stani - 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.2
Testing on win32 and entering username/password during install creates a designated user, but that's not usable cause old (pre Tommcat7) roles are used. In case both manager and host-manager should be enabled by those roles the manager-gui and admin-gui roles should be used instead old ones. The proposed 7.0.2 release is: [X] Beta - go ahead and release as 7.0.2 Beta Regards -- ^TM - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r982151 - /tomcat/trunk/res/tomcat.nsi
Author: mturk Date: Wed Aug 4 08:06:36 2010 New Revision: 982151 URL: http://svn.apache.org/viewvc?rev=982151view=rev Log: Use new admin-gui and manager-gui roles for the user Modified: tomcat/trunk/res/tomcat.nsi Modified: tomcat/trunk/res/tomcat.nsi URL: http://svn.apache.org/viewvc/tomcat/trunk/res/tomcat.nsi?rev=982151r1=982150r2=982151view=diff == --- tomcat/trunk/res/tomcat.nsi (original) +++ tomcat/trunk/res/tomcat.nsi Wed Aug 4 08:06:36 2010 @@ -46,7 +46,7 @@ ${StrRep} !define MUI_HEADERIMAGE !define MUI_HEADERIMAGE_RIGHT !define MUI_HEADERIMAGE_BITMAP header.bmp - !define MUI_WELCOMEFINISHPAGE_BITMAP side_left.bmp + !define MUI_WELCOMEFINISHPAGE_BITMAP side_left.bmp !define MUI_FINISHPAGE_SHOWREADME $INSTDIR\webapps\ROOT\RELEASE-NOTES.txt !define MUI_FINISHPAGE_RUN $instdir\bin\tom...@version_major@w.exe !define MUI_FINISHPAGE_RUN_PARAMETERS //MR//tom...@version_major@ @@ -514,37 +514,37 @@ FunctionEnd Function findJVMPath ClearErrors - + ;Step one: Is this a JRE path (Program Files\Java\XXX) StrCpy $1 $JavaHome - + StrCpy $2 $1\bin\hotspot\jvm.dll IfFileExists $2 FoundJvmDll StrCpy $2 $1\bin\server\jvm.dll IfFileExists $2 FoundJvmDll - StrCpy $2 $1\bin\client\jvm.dll + StrCpy $2 $1\bin\client\jvm.dll IfFileExists $2 FoundJvmDll StrCpy $2 $1\bin\classic\jvm.dll IfFileExists $2 FoundJvmDll ;Step two: Is this a JDK path (Program Files\XXX\jre) StrCpy $1 $JavaHome\jre - + StrCpy $2 $1\bin\hotspot\jvm.dll IfFileExists $2 FoundJvmDll StrCpy $2 $1\bin\server\jvm.dll IfFileExists $2 FoundJvmDll - StrCpy $2 $1\bin\client\jvm.dll + StrCpy $2 $1\bin\client\jvm.dll IfFileExists $2 FoundJvmDll StrCpy $2 $1\bin\classic\jvm.dll IfFileExists $2 FoundJvmDll ClearErrors ;Step tree: Read defaults from registry - + ReadRegStr $1 HKLM SOFTWARE\JavaSoft\Java Runtime Environment CurrentVersion ReadRegStr $2 HKLM SOFTWARE\JavaSoft\Java Runtime Environment\$1 RuntimeLib - + IfErrors 0 FoundJvmDll StrCpy $2 @@ -606,12 +606,12 @@ Function configure Push $R2 Call xmlEscape Pop $R2 - + StrCmp $R1 +4 0 ; Blank user - do not add anything to tomcat-users.xml StrCmp $R2 +3 0 ; Blank password - do not add anything to tomcat-users.xml - StrCpy $R5 'user name=$R1 password=$R2 roles=admin,manager /' + StrCpy $R5 'user name=$R1 password=$R2 roles=admin-gui,manager-gui /' DetailPrint 'Admin user added: $R1' - + Silent: DetailPrint 'HTTP/1.1 Connector configured on port $R0' @@ -633,7 +633,7 @@ Silent: DetailPrint server.xml written ; Build final tomcat-users.xml - + Delete $INSTDIR\conf\tomcat-users.xml FileOpen $R9 $INSTDIR\conf\tomcat-users.xml w ; File will be written using current windows codepage @@ -734,16 +734,16 @@ Section Uninstall IfSilent Removed 0 ; if $INSTDIR was removed, skip these next ones - IfFileExists $INSTDIR 0 Removed + IfFileExists $INSTDIR 0 Removed MessageBox MB_YESNO|MB_ICONQUESTION \ Remove all files in your Tomcat @VERSION_MAJOR_MINOR@ directory? (If you have anything \ you created that you want to keep, click No) IDNO Removed RMDir /r $INSTDIR\webapps\ROOT ; this would be skipped if the user hits no RMDir $INSTDIR\webapps -Delete $INSTDIR\*.* +Delete $INSTDIR\*.* RMDir /r $INSTDIR Sleep 500 -IfFileExists $INSTDIR 0 Removed +IfFileExists $INSTDIR 0 Removed MessageBox MB_OK|MB_ICONEXCLAMATION \ Note: $INSTDIR could not be removed. Removed: - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r982157 - /tomcat/trunk/res/tomcat.nsi
Author: mturk Date: Wed Aug 4 08:26:18 2010 New Revision: 982157 URL: http://svn.apache.org/viewvc?rev=982157view=rev Log: Add default --PidFile (new with daemon 1.0.3) Modified: tomcat/trunk/res/tomcat.nsi Modified: tomcat/trunk/res/tomcat.nsi URL: http://svn.apache.org/viewvc/tomcat/trunk/res/tomcat.nsi?rev=982157r1=982156r2=982157view=diff == --- tomcat/trunk/res/tomcat.nsi (original) +++ tomcat/trunk/res/tomcat.nsi Wed Aug 4 08:26:18 2010 @@ -322,7 +322,8 @@ SectionEnd Section -post nsExec::ExecToLog '$instdir\bin\tom...@version_major@.exe //US//tom...@version_major@ --Classpath $INSTDIR\bin\bootstrap.jar;$INSTDIR\bin\tomcat-juli.jar --StartClass org.apache.catalina.startup.Bootstrap --StopClass org.apache.catalina.startup.Bootstrap --StartParams start --StopParams stop --StartMode jvm --StopMode jvm' - nsExec::ExecToLog '$instdir\bin\tom...@version_major@.exe //US//tom...@version_major@ --JvmOptions -Dcatalina.home=$INSTDIR#-Dcatalina.base=$INSTDIR#-Djava.endorsed.dirs=$INSTDIR\endorsed#-Djava.io.tmpdir=$INSTDIR\temp#-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager#-Djava.util.logging.config.file=$INSTDIR\conf\logging.properties --StdOutput auto --StdError auto' + nsExec::ExecToLog '$instdir\bin\tom...@version_major@.exe //US//tom...@version_major@ --JvmOptions -Dcatalina.home=$INSTDIR#-Dcatalina.base=$INSTDIR#-Djava.endorsed.dirs=$INSTDIR\endorsed#-Djava.io.tmpdir=$INSTDIR\temp#-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager#-Djava.util.logging.config.file=$INSTDIR\conf\logging.properties' + nsExec::ExecToLog '$instdir\bin\tom...@version_major@.exe //US//tom...@version_major@ --StdOutput auto --StdError auto --PidFile tom...@version_major@.pid' WriteUninstaller $INSTDIR\Uninstall.exe - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [Proposal]
I plan to create a new Bugzilla project - Tomact Modules - and move all of the module bugs to that project. If there are no objections, I'll do this tomorrow evening. +1 - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r982165 - in /tomcat/trunk: java/org/apache/catalina/ha/ java/org/apache/catalina/ha/authenticator/ java/org/apache/catalina/ha/session/ java/org/apache/catalina/ha/tcp/ webapps/docs/ weba
Author: kfujino Date: Wed Aug 4 08:59:48 2010 New Revision: 982165 URL: http://svn.apache.org/viewvc?rev=982165view=rev Log: Remove domainReplication attribute from ClusterManager. Modified: tomcat/trunk/java/org/apache/catalina/ha/CatalinaCluster.java tomcat/trunk/java/org/apache/catalina/ha/ClusterManager.java tomcat/trunk/java/org/apache/catalina/ha/authenticator/ClusterSingleSignOn.java tomcat/trunk/java/org/apache/catalina/ha/session/BackupManager.java tomcat/trunk/java/org/apache/catalina/ha/session/DeltaManager.java tomcat/trunk/java/org/apache/catalina/ha/session/DeltaSession.java tomcat/trunk/java/org/apache/catalina/ha/session/JvmRouteBinderValve.java tomcat/trunk/java/org/apache/catalina/ha/session/mbeans-descriptors.xml tomcat/trunk/java/org/apache/catalina/ha/tcp/ReplicationValve.java tomcat/trunk/java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java tomcat/trunk/java/org/apache/catalina/ha/tcp/mbeans-descriptors.xml tomcat/trunk/webapps/docs/changelog.xml tomcat/trunk/webapps/docs/config/cluster-interceptor.xml tomcat/trunk/webapps/docs/config/cluster-manager.xml Modified: tomcat/trunk/java/org/apache/catalina/ha/CatalinaCluster.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ha/CatalinaCluster.java?rev=982165r1=982164r2=982165view=diff == --- tomcat/trunk/java/org/apache/catalina/ha/CatalinaCluster.java (original) +++ tomcat/trunk/java/org/apache/catalina/ha/CatalinaCluster.java Wed Aug 4 08:59:48 2010 @@ -77,13 +77,6 @@ public interface CatalinaCluster extends * @param dest Member */ public void send(ClusterMessage msg, Member dest); - -/** - * Sends a message to a all members at local cluster domain - * - * @param msg ClusterMessage - */ -public void sendClusterDomain(ClusterMessage msg); /** * Returns that cluster has members. Modified: tomcat/trunk/java/org/apache/catalina/ha/ClusterManager.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ha/ClusterManager.java?rev=982165r1=982164r2=982165view=diff == --- tomcat/trunk/java/org/apache/catalina/ha/ClusterManager.java (original) +++ tomcat/trunk/java/org/apache/catalina/ha/ClusterManager.java Wed Aug 4 08:59:48 2010 @@ -78,18 +78,6 @@ public interface ClusterManager extends public CatalinaCluster getCluster(); public void setCluster(CatalinaCluster cluster); - - /** -* @return Manager send only to same cluster domain. -* @since 5.5.10 -*/ - public boolean doDomainReplication(); - - /** -* @param domainReplication Flag value. -* @since 5.5.10 -*/ - public void setDomainReplication(boolean domainReplication); public ReplicationStream getReplicationStream(byte[] data) throws IOException; Modified: tomcat/trunk/java/org/apache/catalina/ha/authenticator/ClusterSingleSignOn.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ha/authenticator/ClusterSingleSignOn.java?rev=982165r1=982164r2=982165view=diff == --- tomcat/trunk/java/org/apache/catalina/ha/authenticator/ClusterSingleSignOn.java (original) +++ tomcat/trunk/java/org/apache/catalina/ha/authenticator/ClusterSingleSignOn.java Wed Aug 4 08:59:48 2010 @@ -201,7 +201,7 @@ public class ClusterSingleSignOn msg.setAction(SingleSignOnMessage.ADD_SESSION); -cluster.sendClusterDomain(msg); +cluster.send(msg); if (containerLog.isDebugEnabled()) containerLog.debug(SingleSignOnMessage Send with action @@ -241,7 +241,7 @@ public class ClusterSingleSignOn msg.setAction(SingleSignOnMessage.DEREGISTER_SESSION); -cluster.sendClusterDomain(msg); +cluster.send(msg); if (containerLog.isDebugEnabled()) containerLog.debug(SingleSignOnMessage Send with action + msg.getAction()); @@ -275,7 +275,7 @@ public class ClusterSingleSignOn ssoId, null); msg.setAction(SingleSignOnMessage.LOGOUT_SESSION); -cluster.sendClusterDomain(msg); +cluster.send(msg); if (containerLog.isDebugEnabled()) containerLog.debug(SingleSignOnMessage Send with action + msg.getAction()); @@ -317,7 +317,7 @@ public class ClusterSingleSignOn msg.setUsername(username); msg.setPassword(password); -cluster.sendClusterDomain(msg); +cluster.send(msg); if (containerLog.isDebugEnabled()) containerLog.debug(SingleSignOnMessage Send with action
svn commit: r982167 - in /tomcat/tc6.0.x/trunk/webapps/docs/config: cluster-interceptor.xml cluster-manager.xml
Author: kfujino Date: Wed Aug 4 09:09:38 2010 New Revision: 982167 URL: http://svn.apache.org/viewvc?rev=982167view=rev Log: In Tomcat6, domainReplication is deprecated. Modified: tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-interceptor.xml tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-manager.xml Modified: tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-interceptor.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-interceptor.xml?rev=982167r1=982166r2=982167view=diff == --- tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-interceptor.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-interceptor.xml Wed Aug 4 09:09:38 2010 @@ -96,6 +96,17 @@ /attributes /subsection + subsection name=org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor Attributes + attributes + attribute name=domain required=true + The logical cluster domain that this Interceptor accepts. + Two different type of values are possible:br/ + 1. Regular string values like quot;staging-domainquot; or quot;tomcat-clusterquot; will be converted into bytes + using ISO-8859-1 encoding.br/ + 2. byte array in string form, for example {216,123,12,3}br/ + /attribute + /attributes + /subsection subsection name=org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor Attributes attributes attribute name=className required=true Modified: tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-manager.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-manager.xml?rev=982167r1=982166r2=982167view=diff == --- tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-manager.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-manager.xml Wed Aug 4 09:09:38 2010 @@ -91,11 +91,10 @@ subsection name=org.apache.catalina.ha.session.DeltaManager Attributes attributes attribute name=domainReplication required=false -Set to true if you wish sessions to be replicated only to members that -have the same logical domain set. If set to false, session replication -will ignore the domain setting the -codea href=cluster-membership.htmllt;Membershipgt;/a/code -element. +bDeprecated since 6.0.0/bbr/ +If you wish sessions to be replicated only to members that have the +same logical domain set, use +codea href=cluster-interceptor.htmlDomainFilterInterceptor /a/code. /attribute attribute name=expireSessionsOnShutdown required=false When a web application is being shutdown, Tomcat issues an expire call - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r982202 - /tomcat/trunk/webapps/docs/config/jar-scanner.xml
Author: rjung Date: Wed Aug 4 10:43:13 2010 New Revision: 982202 URL: http://svn.apache.org/viewvc?rev=982202view=rev Log: Fix class name of default jar scanner in docs. Modified: tomcat/trunk/webapps/docs/config/jar-scanner.xml Modified: tomcat/trunk/webapps/docs/config/jar-scanner.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/jar-scanner.xml?rev=982202r1=982201r2=982202view=diff == --- tomcat/trunk/webapps/docs/config/jar-scanner.xml (original) +++ tomcat/trunk/webapps/docs/config/jar-scanner.xml Wed Aug 4 10:43:13 2010 @@ -71,7 +71,7 @@ subsection name=Standard Implementation pThe standard implementation of strongJar Scanner/strong is -strongorg.apache.catalina.deploy.DefaultJarScanner/strong. +strongorg.apache.tomcat.util.scan.StandardJarScanner/strong. It supports the following additional attributes (in addition to the common attributes listed above):/p - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r982205 - /tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml
Author: markt Date: Wed Aug 4 10:46:04 2010 New Revision: 982205 URL: http://svn.apache.org/viewvc?rev=982205view=rev Log: Typo Modified: tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Modified: tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml?rev=982205r1=982204r2=982205view=diff == --- tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Wed Aug 4 10:46:04 2010 @@ -1235,7 +1235,7 @@ bug47499/bug: Don't swallow bind exceptions. (markt) /fix fix -bug47744/bug: Prevent a medium term memory leak if using SSl with +bug47744/bug: Prevent a medium term memory leak if using SSL with the JSSE provider and also using a security manager. Based on a patch by Greg Vanore. (markt) /fix - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r982207 - /tomcat/trunk/webapps/docs/changelog.xml
Author: markt Date: Wed Aug 4 10:50:50 2010 New Revision: 982207 URL: http://svn.apache.org/viewvc?rev=982207view=rev Log: Update the 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=982207r1=982206r2=982207view=diff == --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Wed Aug 4 10:50:50 2010 @@ -35,6 +35,24 @@ body !-- Catalina, Coyote, Jasper, Cluster, Web applications, Extras, Other -- +section name=Tomcat 7.0.3 (markt) + subsection name=Web applications +changelog + fix +Correct the class name of the default JAR scanner in the documentaiton +web application. (rjung) + /fix +/changelog + /subsection + subsection name=Other +changelog + fix +Correct the user names created by the Windows installer for the Manager +and Host Manager applications. (mturk) + /fix +/changelog + /subsection +/section section name=Tomcat 7.0.2 (markt) subsection name=Catalina changelog - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r982208 - /tomcat/trunk/webapps/docs/changelog.xml
Author: markt Date: Wed Aug 4 10:52:16 2010 New Revision: 982208 URL: http://svn.apache.org/viewvc?rev=982208view=rev Log: Move stuff that didn't make the 7.0.2 tag 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=982208r1=982207r2=982208view=diff == --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Wed Aug 4 10:52:16 2010 @@ -36,6 +36,23 @@ body !-- Catalina, Coyote, Jasper, Cluster, Web applications, Extras, Other -- section name=Tomcat 7.0.3 (markt) + subsection name=Catalina +changelog + update +Allow glob patterns in the codejarsToSkip/code configuration and add +some debug logging to the jar scanner. (rjung) + /update +/changelog + /subsection + subsection name=Cluster +changelog + fix +Remove domainReplication attribute from ClusterManager. +If you send session to only same domain, use DomainFilterInterceptor. +(kfujino) + /fix +/changelog + /subsection subsection name=Web applications changelog fix @@ -66,15 +83,6 @@ /update /changelog /subsection - subsection name=Cluster -changelog - fix -Remove domainReplication attribute from ClusterManager. -If you send session to only same domain, use DomainFilterInterceptor. -(kfujino) - /fix -/changelog - /subsection subsection name=Web applications changelog fix - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Tomcat 7.0.2 available from Maven snapshot repository
I've just finished updating the snapshot repo to (effectively) 7.0.2. The JARs are all marked as snapshots but they the snapshot was taken at the point of the 7.0.2 tag. If the release vote passes, I'll upload the same JARs to the main repo. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r982210 - /tomcat/trunk/java/org/apache/tomcat/util/scan/StandardJarScanner.java
Author: rjung Date: Wed Aug 4 11:03:30 2010 New Revision: 982210 URL: http://svn.apache.org/viewvc?rev=982210view=rev Log: Let's be more explicit in logging, what the actual jar file is. Modified: tomcat/trunk/java/org/apache/tomcat/util/scan/StandardJarScanner.java Modified: tomcat/trunk/java/org/apache/tomcat/util/scan/StandardJarScanner.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/scan/StandardJarScanner.java?rev=982210r1=982209r2=982210view=diff == --- tomcat/trunk/java/org/apache/tomcat/util/scan/StandardJarScanner.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/scan/StandardJarScanner.java Wed Aug 4 11:03:30 2010 @@ -184,14 +184,14 @@ public class StandardJarScanner implemen // Extract the jarName if there is one to be found String jarName = getJarName(urls[i]); -// Skip JARs with known not to be interesting and JARs +// Skip JARs known not to be interesting and JARs // in WEB-INF/lib we have already scanned if (jarName != null !(Matcher.matchPath(ignoredJarsTokens, jarName) || urls[i].toString().contains( Constants.WEB_INF_LIB + jarName))) { if (log.isDebugEnabled()) { - log.debug(sm.getString(jarScan.classloaderJarScan, jarName)); + log.debug(sm.getString(jarScan.classloaderJarScan, urls[i])); } try { process(callback, urls[i]); @@ -201,7 +201,7 @@ public class StandardJarScanner implemen } } else { if (log.isTraceEnabled()) { - log.trace(sm.getString(jarScan.classloaderJarNoScan, jarName)); + log.trace(sm.getString(jarScan.classloaderJarNoScan, urls[i])); } } } - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 49698] AsyncContext timeout always return http 500
https://issues.apache.org/bugzilla/show_bug.cgi?id=49698 --- Comment #1 from Mark Thomas ma...@apache.org 2010-08-04 07:09:57 EDT --- Which version are you using? There were a number of fixes in this area included in 7.0.2 (currently being voted on for release). Whilst the release vote is in progress, you can get a copy for testing from here: http://people.apache.org/~markt/dev/tomcat-7/v7.0.2/ Note that this is NOT an official release. -- 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
[g...@vmgump]: Project tomcat-catalina (in module jakarta-tomcat-4.0) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project tomcat-catalina has an issue affecting its community integration. This issue affects 3 projects, and has been outstanding for 63 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-tomcat-4.0 : Servlet 2.3 and JSP 1.2 Reference Implementation - jakarta-tomcat-coyote-tomcat4 : Connectors to various web servers - tomcat-catalina : Servlet 2.3 and JSP 1.2 Reference Implementation Full details are available at: http://vmgump.apache.org/gump/public/jakarta-tomcat-4.0/tomcat-catalina/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole jar output [catalina.jar] identifier set to project name -DEBUG- Dependency on jakarta-servletapi-4 exists, no need to add for property servlet.jar. -DEBUG- Dependency on commons-logging exists, no need to add for property commons-logging-api.jar. -DEBUG- Dependency on jakarta-regexp exists, no need to add for property regexp.jar. -INFO- Failed with reason build failed -DEBUG- Extracted fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/jakarta-tomcat-4.0/tomcat-catalina/gump_work/build_jakarta-tomcat-4.0_tomcat-catalina.html Work Name: build_jakarta-tomcat-4.0_tomcat-catalina (Type: Build) Work ended in a state of : Failed Elapsed: 10 secs Command Line: /usr/lib/jvm/java-6-sun/bin/java -Djava.awt.headless=true -Xbootclasspath/p:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dcommons-beanutils.jar=/srv/gump/public/workspace/apache-commons/beanutils/dist/commons-beanutils-04082010.jar -Djtc.home=/srv/gump/public/workspace/jakarta-tomcat-connectors -Dversion=4.1.25-dev -Dregexp.jar=/srv/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-04082010.jar -Dcommons-logging-api.jar=/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-04082010.jar -Dservlet.jar=/srv/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar -Dcommons-logging.jar=/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-04082010.jar -Dcommons-collections.jar=/srv/gump/public/workspace/commons-collections-3.x/t arget/commons-collections-3.3-SNAPSHOT.jar -Dcommons-digester.jar=/srv/gump/public/workspace/apache-commons/digester/dist/commons-digester.jar deploy-catalina [Working Directory: /srv/gump/public/workspace/jakarta-tomcat-4.0/catalina] CLASSPATH: /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/srv/gump/public/workspace/jakarta-tomcat-connectors/util/build/lib/tomcat-util.jar:/srv/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/srv/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-04082010.jar:commons-fileupload-gump-01082010.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/beanutils/dist/commons-beanutils-04082010.jar:/srv/gump/public/workspace/apa che-commons/digester/dist/commons-digester.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-04082010.jar - [javac] symbol : class DiskFileItemFactory [javac] location: class org.apache.catalina.servlets.HTMLManagerServlet [javac] DiskFileItemFactory factory = new DiskFileItemFactory(); [javac] ^ [javac] /srv/gump/public/workspace/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/servlets/HTMLManagerServlet.java:155: cannot find symbol [javac] symbol : class DiskFileItemFactory [javac] location: class org.apache.catalina.servlets.HTMLManagerServlet [javac] DiskFileItemFactory factory = new DiskFileItemFactory(); [javac] ^ [javac] /srv/gump/public/workspace/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/servlets/HTMLManagerServlet.java:157: cannot find symbol [javac] symbol : class ServletFileUpload [javac]
svn commit: r982220 - /tomcat/trunk/webapps/docs/changelog.xml
Author: rjung Date: Wed Aug 4 11:38:11 2010 New Revision: 982220 URL: http://svn.apache.org/viewvc?rev=982220view=rev Log: - Remove duplicate entry - Fix typo 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=982220r1=982219r2=982220view=diff == --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Wed Aug 4 11:38:11 2010 @@ -74,13 +74,9 @@ subsection name=Catalina changelog fix -Fix repgrssion that prevented running with a security manager enabled. +Fix regression that prevented running with a security manager enabled. (markt) /fix - update -Allow glob patterns in the codejarsToSkip/code configuration and add -some debug logging to the jar scanner. (rjung) - /update /changelog /subsection subsection name=Web applications - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Again JarScanner and jarsToSkip
Hello everyone, would it make sense to make jarsToSkip publicly available in the JarScanner interface and default impl, in order to allow to configure it per context as part of context.xml? Is there one JarScanner instance per context? If so: How would we want to merge default settings and per context settings? Some of the default exclusions we know for sure we want to exclude e.g. the stuff shipped with Tomcat. Others we can't say for sure for all the future, like the commons stuff. So it seems if we make it configurable per context and do not want people to have to include the Tomcat stuff in every context config, the default would need to be split in two parts, namely the always to exclude and the default per context which gets overwritten. What about allowing to match against the full path of the jar, possibly implicitley prefixing all pattrns which do not start with a slash with **/? Does that make sense, i.e. is there a use case? The list now allows glob patterns like in ant, so **, * and ?. E.g. we could add ${catalina.home}/lib/* and ${catalina.base}/lib/* to shortcut our own jar list. For the classpath jars it seems the jars are all coming from file URLs, so retrieving the full path is easy. Concerning the WEB-INF/lib jars, I didn't yet check. Should we also add standard.jar and jstl.jar to the default exclude list? They are scanned as part of the examples webapp. Or do we think the names are to generic to add them to the list? Is there any complication, because the JarScanner is also used for taglib scanning? There is an API to set noTldJar, although I'm not sure whether that's available by config. Default is null which leads to again using jarsToSkip. Regards, Rainer - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[g...@vmgump]: Project jakarta-tomcat-catalina (in module jakarta-tomcat-catalina) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project jakarta-tomcat-catalina has an issue affecting its community integration. This issue affects 2 projects, and has been outstanding for 13 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-tomcat-catalina : Servlet 2.4 Reference Implementation - jakarta-tomcat-jk : Connectors to various web servers Full details are available at: http://vmgump.apache.org/gump/public/jakarta-tomcat-catalina/jakarta-tomcat-catalina/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on ant exists, no need to add for property ant.home. -DEBUG- Dependency on jmx exists, no need to add for property jmx.home. -DEBUG- Dependency on jaf exists, no need to add for property activation.home. -DEBUG- Dependency on jakarta-tomcat-coyote exists, no need to add for property tomcat-coyote.home. -INFO- Failed with reason build failed -DEBUG- Extracted fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/jakarta-tomcat-catalina/jakarta-tomcat-catalina/gump_work/build_jakarta-tomcat-catalina_jakarta-tomcat-catalina.html Work Name: build_jakarta-tomcat-catalina_jakarta-tomcat-catalina (Type: Build) Work ended in a state of : Failed Elapsed: 15 secs Command Line: /usr/lib/jvm/java-6-sun/bin/java -Djava.awt.headless=true -Xbootclasspath/p:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/srv/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar:/srv/gump/public/workspace/xml-xalan/build/serializer.jar org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dtomcat33.home=--UnSet-- -Dcatalina.build=/srv/gump/public/workspace/jakarta-tomcat-catalina/build -Djmx.home=/srv/gump/packages/jmx-1_2_1-bin -Djdbc20ext.jar=/srv/gump/packages/jdbc2_0/jdbc2_0-stdext.jar -Djtc.home=/srv/gump/public/workspace/jakarta-tomcat-connectors -Djasper.home=/srv/gump/public/workspace/jakarta-tomcat-jasper_tc5 -Dant.home=/srv/gump/public/workspace/ant/dist -Dcommons-io.jar=/srv/gump/public/workspace/apache-commons/io/target/commons-io-2.0-SNAPSHOT.jar -Dcompile.source=1.4 -Dcommons-collections.jar=/srv/gump/public/ workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar -Dcatalina.deploy=/srv/gump/public/workspace/jakarta-tomcat-catalina/build -Djaas.jar=/srv/gump/packages/jaas1_0/lib/jaas.jar -Dcommons-fileupload.jar=/srv/gump/public/workspace/apache-commons/fileupload/target/commons-fileupload-04082010.jar -Dcommons-digester.jar=/srv/gump/public/workspace/apache-commons/digester/dist/commons-digester.jar -Dtomcat-http11.jar=/srv/gump/public/workspace/jakarta-tomcat-connectors/http11/build/lib/tomcat-http11.jar -Dactivation.home=/srv/gump/packages/jaf-1.1ea -Dcatalina.home=/srv/gump/public/workspace/jakarta-tomcat-catalina/build -Dcommons-launcher.jar=/srv/gump/public/workspace/apache-commons/launcher/dist/bin/commons-launcher-04082010.jar -Dtomcat.build=/srv/gump/public/workspace/jakarta-tomcat-catalina/build -Dcommons-beanutils.jar=/srv/gump/public/workspace/apache-commons/beanutils/dist/commons-beanutils-04082010.jar -Dcommons-modeler.jar=/srv/gump/public/work space/apache-commons/modeler/dist/commons-modeler-04082010.jar -Dtomcat-coyote.home=/srv/gump/public/workspace/jakarta-tomcat-connectors/coyote -Djmx-remote.jar=/srv/gump/packages/jmxremote-1_0_1-bin/lib/jmxremote.jar -Dcommons-logging-api.jar=/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-04082010.jar -Dtomcat-dbcp.jar=/srv/gump/public/workspace/jakarta-tomcat-5/tomcat-deps/naming-factory-dbcp.jar -Djta.jar=/srv/gump/packages/jta-spec1_0_1/jta-spec1_0_1.jar deploy-catalina [Working Directory: /srv/gump/public/workspace/jakarta-tomcat-catalina] CLASSPATH:
[BSF,Tomcat] ad JSR-223 taglib for Tomcat ... (Re: Question ad alternative of BSF taglib in Tomcat ? [Fwd: In the move of some taglibs to Tomcat, the BSF taglib got retired]
Resending attempt. Hi Henri, relating to our conversation of last fall, I just wanted to point out that Mr. Ryabenkiy posts of today (copied at the end to inform the BSF-community) fulfills the idea of creating a jsr-223 taglib for Tomcat. He applies the Apache License 2.0 to his work, such that it can be taken on by ASF. The Quercus/Resin http://www.caucho.com/resin-3.0/quercus/tutorial/module/index.xtp package Mr. Ryabenkiy refers to is used in his work as proof of concept to use PHP scripts in Tomcat served JSP (which might be quite interesting for PHP-acquantied programmers, who have no expert knowledge of Java) ! (He also uses the scripting language ooRexx as a proof of concept for which he wrote a JSR-223 engine.) In effect all scripting languages can be used, that adhere to Java 6 scripting a.k.a. JSR-223 with his taglib to create scripts for JSP. It would even be possible to use multiple scripts in different languages for the same JSP. It will (again) allow for JSP and Java what ASP allows for the MS world. ---rony On 13.10.2009 08:17, Rony G. Flatscher (Apache) wrote: Henri Yandell wrote: Not sure where Christopher's email was, but: If there is any interest in a retired taglib, I'm all for it being merged into the Extended Taglib. Currently I plan to consider replacing the functionality from String Taglib (mostly as EL functions), Log Taglib and JNDI Taglib (perhaps). It sounds like BSF taglib, given it has only the two tags, might be very interesting if a dependency on BSF itself can be avoided (ie: base it on javax.script). +1 If you include just the taglib (the JSR-223 to be created), then its usage would be restricted to Java 6 and up, such that current Java 1.4 and 1.5 installations in the field could not take advantage of it. To cover Java 1.4 and 1.5 BSF 3.0 got created, which implements the javax.script specifications. If BSF 3.0 is included then the scripting support will be available from Java 1.4 on. Starting with Java 6 the Java 6 javax.script would prevail due to using its own package by placement of the classes. ---rony cut here, Mr. Ryabenskiy post of 2010-08-04 -- Original Message Subject:New taglib to script JSP pages in languages other than Java Date: Wed, 4 Aug 2010 09:49:20 +0200 From: Stanislav Ryabenkiy stani.ryaben...@gmail.com To: taglibs-u...@tomcat.apache.org, dev@tomcat.apache.org Hello, as I haven't posted here before, I hope I won't make a mistake by posting to both of these lists. IMHO, this announcement is relevant to both communities. This is to inform the taglibs-user and tomcat-dev communities of a small new taglib which allows to script JSP pages in laqnguages other than Java. Scriptlets and expressions using the taglib have access to the same implicit objects normal JSP scriptlets have access to. Internally, the taglib only depends on the javax.script interface defined as part of JSR-223 and included in Java 6 onwards, although it can also work with other implementations of javax.script on earlier version of Java (such as, for instance, Bean Scripting Framework 3). So for people who want to include scripts in their JSP pages, any scripting language that exposes a javax.script interface can be used. Given the nature of the project, and the existence of partial alternatives at least for some languages (such as Quercus/Resin), I expect interest to be quite small (if any), but if there's any interest it could be included in the newly re-organized Extended Taglib. Ideally, I would want Tomcat to support this kind of functionality natively via the language attribute of the page directive, but the taglib at least offers a simpler and container-independent solution. Source code can be found at: http://stani.ryabenkiy.com/downloads/releases/script-taglib-1.0.tar.gz The related thesis paper (with source code in appendix): http://stani.ryabenkiy.com/downloads/papers/scripting_thesis.pdf Kind Regards, Stani
DO NOT REPLY [Bug 49698] AsyncContext timeout always return http 500
https://issues.apache.org/bugzilla/show_bug.cgi?id=49698 --- Comment #2 from heyoulin heyou...@hotmail.com 2010-08-04 12:02:52 EDT --- (In reply to comment #1) Which version are you using? There were a number of fixes in this area included in 7.0.2 (currently being voted on for release). Whilst the release vote is in progress, you can get a copy for testing from here: http://people.apache.org/~markt/dev/tomcat-7/v7.0.2/ Note that this is NOT an official release. I build from svn sources. From the sources: public void doInternalDispatch() throws ServletException, IOException { if (this.state.compareAndSet(AsyncState.TIMING_OUT, AsyncState.COMPLETING)) { log.debug(TIMING OUT!); boolean listenerInvoked = false; for (AsyncListenerWrapper listener : listeners) { listener.fireOnTimeout(event); listenerInvoked = true; } if (listenerInvoked) { // Listener should have called complete if (state.get() != AsyncState.NOT_STARTED) { ((HttpServletResponse)servletResponse).setStatus(500); doInternalComplete(true); } ... When timeout AsyncState is COMPLETING. But complete method do nothing to COMPLETING state: public void complete() { if (log.isDebugEnabled()) { log.debug(AsyncContext Complete Called[+state.get()+; +request.getRequestURI()+?+request.getQueryString()+], new DebugException()); } if (state.get()==AsyncState.COMPLETING) { //do nothing } So always return http500. It has changed since svn revision 966548.In revision 960692 is below: ublic void doInternalDispatch() throws ServletException, IOException { if (this.state.compareAndSet(AsyncState.TIMING_OUT, AsyncState.COMPLETING)) { log.debug(TIMING OUT!); boolean listenerInvoked = false; for (AsyncListenerWrapper listener : listeners) { listener.fireOnTimeout(event); listenerInvoked = true; } if (!listenerInvoked) { ((HttpServletResponse)servletResponse).setStatus(500); } doInternalComplete(true); -- 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 46247] SVN property patches
https://issues.apache.org/bugzilla/show_bug.cgi?id=46247 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: bayeux |Bayeux Product|Tomcat 6|Tomcat Modules Target Milestone|default |--- -- 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 46209] Findbugs report on Tomcat-Pool
https://issues.apache.org/bugzilla/show_bug.cgi?id=46209 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: jdbc-pool |jdbc-pool Product|Tomcat 6|Tomcat Modules Target Milestone|default |--- -- 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 48935] Eviction thread trouble
https://issues.apache.org/bugzilla/show_bug.cgi?id=48935 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: jdbc-pool |jdbc-pool Version|6.0.26 |unspecified Product|Tomcat 6|Tomcat Modules Target Milestone|default |--- -- 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 47452] Patch for build.xml - javadoc classpath and junit formatter
https://issues.apache.org/bugzilla/show_bug.cgi?id=47452 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: jdbc-pool |jdbc-pool Product|Tomcat 6|Tomcat Modules Target Milestone|default |--- -- 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 46224] StatementFinalizerTest requires Java 1.6 to compile
https://issues.apache.org/bugzilla/show_bug.cgi?id=46224 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: jdbc-pool |jdbc-pool Product|Tomcat 6|Tomcat Modules Target Milestone|default |--- -- 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 46201] jdbc-pool : con.close() should no-op if already closed
https://issues.apache.org/bugzilla/show_bug.cgi?id=46201 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: jdbc-pool |jdbc-pool Product|Tomcat 6|Tomcat Modules Target Milestone|default |--- -- 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 47440] Remove DB-specific SQL statements from test cases (SELECT 1)
https://issues.apache.org/bugzilla/show_bug.cgi?id=47440 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: jdbc-pool |jdbc-pool Product|Tomcat 6|Tomcat Modules Target Milestone|default |--- -- 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 47439] PooledConnection.connect() fails to check for null connection
https://issues.apache.org/bugzilla/show_bug.cgi?id=47439 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: jdbc-pool |jdbc-pool Product|Tomcat 6|Tomcat Modules Target Milestone|default |--- -- 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 47458] Allow test database settings to be specified in build.properties
https://issues.apache.org/bugzilla/show_bug.cgi?id=47458 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: jdbc-pool |jdbc-pool Product|Tomcat 6|Tomcat Modules Target Milestone|default |--- -- 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 46200] jdbc-pool needs to close opened assets too
https://issues.apache.org/bugzilla/show_bug.cgi?id=46200 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: jdbc-pool |jdbc-pool Product|Tomcat 6|Tomcat Modules Target Milestone|default |--- -- 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 46223] FairBlockingQueue throws ArrayIndexOutOfBoundsException
https://issues.apache.org/bugzilla/show_bug.cgi?id=46223 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: jdbc-pool |jdbc-pool Product|Tomcat 6|Tomcat Modules Target Milestone|default |--- -- 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 48370] PublishRequest.java can not be compiled
https://issues.apache.org/bugzilla/show_bug.cgi?id=48370 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: bayeux |Bayeux Version|trunk |unspecified Product|Tomcat 7|Tomcat Modules -- 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 48373] Can not get clients from TomcatBayeux
https://issues.apache.org/bugzilla/show_bug.cgi?id=48373 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: bayeux |Bayeux Version|trunk |unspecified Product|Tomcat 7|Tomcat Modules -- 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 47791] Update h2database location
https://issues.apache.org/bugzilla/show_bug.cgi?id=47791 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: jdbc-pool |jdbc-pool Version|trunk |unspecified Product|Tomcat 7|Tomcat Modules -- 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 47576] Javadoc errors - Exception name misspelt
https://issues.apache.org/bugzilla/show_bug.cgi?id=47576 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: jdbc-pool |jdbc-pool Version|trunk |unspecified Product|Tomcat 7|Tomcat Modules -- 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 49224] NullPointerException in PooledConnection when username or password are null
https://issues.apache.org/bugzilla/show_bug.cgi?id=49224 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: jdbc-pool |jdbc-pool Product|Tomcat 7|Tomcat Modules -- 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 48392] jdbc-pool is not returning the proxied connection in resultSet and statement
https://issues.apache.org/bugzilla/show_bug.cgi?id=48392 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: jdbc-pool |jdbc-pool Product|Tomcat 7|Tomcat Modules -- 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 49241] DataSourceFactory.parsePoolProperties() doesn't look for suspectTimeout
https://issues.apache.org/bugzilla/show_bug.cgi?id=49241 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: jdbc-pool |jdbc-pool Version|trunk |unspecified Product|Tomcat 7|Tomcat Modules -- 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 49584] Borrowers Getting Stuck
https://issues.apache.org/bugzilla/show_bug.cgi?id=49584 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: jdbc-pool |jdbc-pool Product|Tomcat 7|Tomcat Modules -- 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 47612] [PATCH] fix unsafe public string array in AbstractCreateStatementInterceptor
https://issues.apache.org/bugzilla/show_bug.cgi?id=47612 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: jdbc-pool |jdbc-pool Version|trunk |unspecified Product|Tomcat 7|Tomcat Modules -- 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 49543] Request for a shared datasource configuration as in DBCP
https://issues.apache.org/bugzilla/show_bug.cgi?id=49543 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: jdbc-pool |jdbc-pool Product|Tomcat 7|Tomcat Modules -- 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 48817] Skip validation query and use JDBC API for validation
https://issues.apache.org/bugzilla/show_bug.cgi?id=48817 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: jdbc-pool |jdbc-pool Product|Tomcat 7|Tomcat Modules -- 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 49269] Shouldn't see maxIdle maxActive message with default props
https://issues.apache.org/bugzilla/show_bug.cgi?id=49269 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: jdbc-pool |jdbc-pool Version|trunk |unspecified Product|Tomcat 7|Tomcat Modules -- 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 47583] Fix occasional test failure in TestConcurrency
https://issues.apache.org/bugzilla/show_bug.cgi?id=47583 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: jdbc-pool |jdbc-pool Version|trunk |unspecified Product|Tomcat 7|Tomcat Modules -- 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 47792] Some int parameters are identified as longs in doc
https://issues.apache.org/bugzilla/show_bug.cgi?id=47792 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: jdbc-pool |jdbc-pool Version|trunk |unspecified Product|Tomcat 7|Tomcat Modules -- 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 47577] Unused imports and other compilation warnings
https://issues.apache.org/bugzilla/show_bug.cgi?id=47577 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: jdbc-pool |jdbc-pool Version|trunk |unspecified Product|Tomcat 7|Tomcat Modules -- 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 48861] Files without AL headers
https://issues.apache.org/bugzilla/show_bug.cgi?id=48861 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: tomcat-lite|Tomcat Lite Version|trunk |unspecified Product|Tomcat 7|Tomcat Modules -- 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 49316] org.apache.tomcat.lite.util.Base64 broken
https://issues.apache.org/bugzilla/show_bug.cgi?id=49316 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: tomcat-lite|Tomcat Lite Product|Tomcat 7|Tomcat Modules -- 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 48178] org.apache.tomcat.lite.Locale2Charset.defaultMap is not threadsafe
https://issues.apache.org/bugzilla/show_bug.cgi?id=48178 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: tomcat-lite|Tomcat Lite Version|trunk |unspecified Product|Tomcat 7|Tomcat Modules -- 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 49686] Using an instance lock to protect static shared data in class SocketConnector
https://issues.apache.org/bugzilla/show_bug.cgi?id=49686 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: tomcat-lite|Tomcat Lite Version|7.0.0 |unspecified Product|Tomcat 7|Tomcat Modules -- 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 48238] Tomcat-lite won't compile
https://issues.apache.org/bugzilla/show_bug.cgi?id=48238 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: tomcat-lite|Tomcat Lite Version|trunk |unspecified Product|Tomcat 7|Tomcat Modules -- 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 48268] Patch to fix generics in tomcat-lite
https://issues.apache.org/bugzilla/show_bug.cgi?id=48268 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: tomcat-lite|Tomcat Lite Version|trunk |unspecified Product|Tomcat 7|Tomcat Modules -- 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 48240] Tomcat-Lite missing @Override markers
https://issues.apache.org/bugzilla/show_bug.cgi?id=48240 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: tomcat-lite|Tomcat Lite Version|trunk |unspecified Product|Tomcat 7|Tomcat Modules -- 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 49685] Unsafe synchronization in class ManagedBean
https://issues.apache.org/bugzilla/show_bug.cgi?id=49685 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Modules: tomcat-lite|Tomcat Lite Version|7.0.0 |unspecified Product|Tomcat 7|Tomcat Modules -- 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 49407] backup manager reports too few current sessions
https://issues.apache.org/bugzilla/show_bug.cgi?id=49407 Mark Thomas ma...@apache.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #2 from Mark Thomas ma...@apache.org 2010-08-04 12:45:58 EDT --- The documentation has been fixed but code will not be changed in Tomcat 6 as the changes required are too invasive. -- 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 49698] AsyncContext timeout always return http 500
https://issues.apache.org/bugzilla/show_bug.cgi?id=49698 --- Comment #4 from heyoulin heyou...@hotmail.com 2010-08-04 13:03:05 EDT --- (In reply to comment #3) You are required by the spec to implement a listener to handle the timeout. I have a listener to handle the timeout. public void onTimeout(AsyncEvent event) throws IOException { event.getAsyncContext().complete(); } When implement event.getAsyncContext().complete() actually tomcat do nothing.AsyncState is still in COMPLETING.So return http500. So how to handle the timeout to make AsyncState to NOT_STARTED only using servlet 3.0 api? -- 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 49698] AsyncContext timeout always return http 500
https://issues.apache.org/bugzilla/show_bug.cgi?id=49698 Mark Thomas ma...@apache.org changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID | --- Comment #5 from Mark Thomas ma...@apache.org 2010-08-04 13:09:49 EDT --- OK, let me take a look. -- 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.2
Looks fine on my side. [X] Beta - go ahead and release as 7.0.2 Beta Martin
Re: [VOTE] Release Apache Tomcat 7.0.2
On 04/08/2010 01:46, Mark Thomas wrote: The proposed Apache Tomcat 7.0.2 release is now available for voting. It can be obtained from: http://people.apache.org/~markt/dev/tomcat-7/v7.0.2/ The svn tag is: http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_2/ I have included a stable option below although my personal inclination at this point is to vote beta. And now for the important bit: The proposed 7.0.2 release is: [ ] Broken - do not release [ ] Alpha - go ahead and release as 7.0.2 Alpha [X] Beta - go ahead and release as 7.0.2 Beta [ ] Stable - go ahead and release as 7.0.2 Stable This vote will run for 72 hours. Servlet TCK passes with BIO, NIO (apart from SSL re-neg) APR JSP TCK passes with APR EL TCK passes All with a security manager There are still appear to be some issues around Async, so beta for now. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Again JarScanner and jarsToSkip
On 04/08/2010 12:54, Rainer Jung wrote: Hello everyone, would it make sense to make jarsToSkip publicly available in the JarScanner interface and default impl, in order to allow to configure it per context as part of context.xml? +1 Is there one JarScanner instance per context? Yes. If so: How would we want to merge default settings and per context settings? Some of the default exclusions we know for sure we want to exclude e.g. the stuff shipped with Tomcat. Others we can't say for sure for all the future, like the commons stuff. So it seems if we make it configurable per context and do not want people to have to include the Tomcat stuff in every context config, the default would need to be split in two parts, namely the always to exclude and the default per context which gets overwritten. What about allowing to match against the full path of the jar, possibly implicitley prefixing all pattrns which do not start with a slash with **/? Does that make sense, i.e. is there a use case? The list now allows glob patterns like in ant, so **, * and ?. E.g. we could add ${catalina.home}/lib/* and ${catalina.base}/lib/* to shortcut our own jar list. For the classpath jars it seems the jars are all coming from file URLs, so retrieving the full path is easy. Concerning the WEB-INF/lib jars, I didn't yet check. Should we also add standard.jar and jstl.jar to the default exclude list? They are scanned as part of the examples webapp. Or do we think the names are to generic to add them to the list? Is there any complication, because the JarScanner is also used for taglib scanning? There is an API to set noTldJar, although I'm not sure whether that's available by config. Default is null which leads to again using jarsToSkip. I'm happy to see all of this configuration completely re-written if that is what is required. That said, this is just a start-up optimisation. I think we need three groups: a) never scan (JAR or TLD) b) default jarsToSkip c) default noTldJar I'd suggest all three being set in catalina.properties with b) c) over-ridable per context. Users can over-ride the defaults in catalina.properties if they wish. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r982399 - in /tomcat/trunk/webapps/examples/WEB-INF/classes: async/ chat/ compressionFilters/ filters/ jsp2/examples/simpletag/ listeners/
Author: markt Date: Wed Aug 4 20:52:23 2010 New Revision: 982399 URL: http://svn.apache.org/viewvc?rev=982399view=rev Log: Fix Eclipse warnings in webapps Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/async/Async0.java tomcat/trunk/webapps/examples/WEB-INF/classes/async/Async1.java tomcat/trunk/webapps/examples/WEB-INF/classes/async/Async2.java tomcat/trunk/webapps/examples/WEB-INF/classes/async/Stockticker.java tomcat/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java tomcat/trunk/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilter.java tomcat/trunk/webapps/examples/WEB-INF/classes/filters/ExampleFilter.java tomcat/trunk/webapps/examples/WEB-INF/classes/filters/SetCharacterEncodingFilter.java tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.java tomcat/trunk/webapps/examples/WEB-INF/classes/listeners/ContextListener.java tomcat/trunk/webapps/examples/WEB-INF/classes/listeners/SessionListener.java Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/async/Async0.java URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/async/Async0.java?rev=982399r1=982398r2=982399view=diff == --- tomcat/trunk/webapps/examples/WEB-INF/classes/async/Async0.java (original) +++ tomcat/trunk/webapps/examples/WEB-INF/classes/async/Async0.java Wed Aug 4 20:52:23 2010 @@ -45,6 +45,7 @@ public class Async0 extends HttpServlet final AsyncContext actx = req.startAsync(); actx.setTimeout(Long.MAX_VALUE); Runnable run = new Runnable() { +@Override public void run() { try { req.setAttribute(dispatch, Boolean.TRUE); Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/async/Async1.java URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/async/Async1.java?rev=982399r1=982398r2=982399view=diff == --- tomcat/trunk/webapps/examples/WEB-INF/classes/async/Async1.java (original) +++ tomcat/trunk/webapps/examples/WEB-INF/classes/async/Async1.java Wed Aug 4 20:52:23 2010 @@ -38,6 +38,7 @@ public class Async1 extends HttpServlet final AsyncContext actx = req.startAsync(); actx.setTimeout(30*1000); Runnable run = new Runnable() { +@Override public void run() { try { String path = /jsp/async/async1.jsp; Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/async/Async2.java URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/async/Async2.java?rev=982399r1=982398r2=982399view=diff == --- tomcat/trunk/webapps/examples/WEB-INF/classes/async/Async2.java (original) +++ tomcat/trunk/webapps/examples/WEB-INF/classes/async/Async2.java Wed Aug 4 20:52:23 2010 @@ -38,6 +38,7 @@ public class Async2 extends HttpServlet final AsyncContext actx = req.startAsync(); actx.setTimeout(30*1000); Runnable run = new Runnable() { +@Override public void run() { try { Thread.currentThread().setName(Async2-Thread); Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/async/Stockticker.java URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/async/Stockticker.java?rev=982399r1=982398r2=982399view=diff == --- tomcat/trunk/webapps/examples/WEB-INF/classes/async/Stockticker.java (original) +++ tomcat/trunk/webapps/examples/WEB-INF/classes/async/Stockticker.java Wed Aug 4 20:52:23 2010 @@ -59,6 +59,7 @@ public class Stockticker implements Runn } } +@Override public void run() { try { Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java?rev=982399r1=982398r2=982399view=diff == --- tomcat/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java (original) +++ tomcat/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java Wed Aug 4 20:52:23 2010 @@ -70,6 +70,7 @@ public class ChatServlet * @throws IOException * @throws ServletException */ +@Override public void event(CometEvent event) throws IOException, ServletException { @@ -216,6 +217,7 @@ public class ChatServlet * The background thread that listens for incoming TCP/IP connections and * hands them off to an appropriate processor. */ +
svn commit: r982422 - in /tomcat/trunk: ./ java/javax/persistence/ java/javax/servlet/jsp/ java/javax/servlet/jsp/tagext/ java/org/apache/catalina/authenticator/ java/org/apache/catalina/core/ java/or
Author: markt Date: Wed Aug 4 22:29:39 2010 New Revision: 982422 URL: http://svn.apache.org/viewvc?rev=982422view=rev Log: Remove redundant imports (Bugzilla was down) Modified: tomcat/trunk/checkstyle.xml tomcat/trunk/java/javax/persistence/PersistenceUnits.java tomcat/trunk/java/javax/servlet/jsp/JspFactory.java tomcat/trunk/java/javax/servlet/jsp/tagext/TagLibraryInfo.java tomcat/trunk/java/org/apache/catalina/authenticator/SingleSignOnEntry.java tomcat/trunk/java/org/apache/catalina/core/DefaultInstanceManager.java tomcat/trunk/java/org/apache/catalina/ha/session/JvmRouteBinderValve.java tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/SimpleCoordinator.java tomcat/trunk/java/org/apache/catalina/valves/RemoteIpValve.java tomcat/trunk/java/org/apache/catalina/valves/SSLValve.java tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/Attribute.java tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/FieldOrMethod.java tomcat/trunk/test/org/apache/catalina/core/TestStandardContextAliases.java tomcat/trunk/test/org/apache/catalina/deploy/TestWebXmlOrdering.java tomcat/trunk/test/org/apache/catalina/valves/TestRemoteIpValve.java tomcat/trunk/test/org/apache/el/TestELEvaluation.java tomcat/trunk/test/org/apache/naming/resources/TestProxyDirContext.java tomcat/trunk/test/org/apache/tomcat/util/http/TestCookies.java Modified: tomcat/trunk/checkstyle.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/checkstyle.xml?rev=982422r1=982421r2=982422view=diff == --- tomcat/trunk/checkstyle.xml (original) +++ tomcat/trunk/checkstyle.xml Wed Aug 4 22:29:39 2010 @@ -31,8 +31,18 @@ module name=IllegalInstantiation/ !-- Imports -- -module name=IllegalImport/ module name=AvoidStarImport/ +module name=AvoidStaticImport/ +module name=IllegalImport/ +!-- Will trigger ~600 errors +module name=ImportOrder +property name=groups value=java,javax,async,jsp2,junit,org,util/ +property name=ordered value=true/ +property name=separated value=true/ +property name=option value=above/ +/module +-- +module name=RedundantImport/ !-- Do not use - does not take account of imports required for Javadocs module name=UnusedImports/ Modified: tomcat/trunk/java/javax/persistence/PersistenceUnits.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/persistence/PersistenceUnits.java?rev=982422r1=982421r2=982422view=diff == --- tomcat/trunk/java/javax/persistence/PersistenceUnits.java (original) +++ tomcat/trunk/java/javax/persistence/PersistenceUnits.java Wed Aug 4 22:29:39 2010 @@ -22,7 +22,6 @@ import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; -import javax.persistence.PersistenceUnit; @Target({ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) Modified: tomcat/trunk/java/javax/servlet/jsp/JspFactory.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/jsp/JspFactory.java?rev=982422r1=982421r2=982422view=diff == --- tomcat/trunk/java/javax/servlet/jsp/JspFactory.java (original) +++ tomcat/trunk/java/javax/servlet/jsp/JspFactory.java Wed Aug 4 22:29:39 2010 @@ -20,7 +20,6 @@ import javax.servlet.Servlet; import javax.servlet.ServletContext; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; -import javax.servlet.jsp.PageContext; /** * p Modified: tomcat/trunk/java/javax/servlet/jsp/tagext/TagLibraryInfo.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/jsp/tagext/TagLibraryInfo.java?rev=982422r1=982421r2=982422view=diff == --- tomcat/trunk/java/javax/servlet/jsp/tagext/TagLibraryInfo.java (original) +++ tomcat/trunk/java/javax/servlet/jsp/tagext/TagLibraryInfo.java Wed Aug 4 22:29:39 2010 @@ -16,8 +16,6 @@ */ package javax.servlet.jsp.tagext; -import javax.servlet.jsp.tagext.TagInfo; -import javax.servlet.jsp.tagext.TagFileInfo; /** * Translation-time information associated with a taglib directive, and its Modified: tomcat/trunk/java/org/apache/catalina/authenticator/SingleSignOnEntry.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/authenticator/SingleSignOnEntry.java?rev=982422r1=982421r2=982422view=diff == --- tomcat/trunk/java/org/apache/catalina/authenticator/SingleSignOnEntry.java (original) +++
svn commit: r982426 - in /tomcat/trunk: checkstyle.xml java/org/apache/catalina/core/ApplicationContext.java java/org/apache/catalina/core/ApplicationContextFacade.java java/org/apache/catalina/sessio
Author: markt Date: Wed Aug 4 22:45:20 2010 New Revision: 982426 URL: http://svn.apache.org/viewvc?rev=982426view=rev Log: Tried to add GenericWhitespace test - has to be disabled due to a bug Modified: tomcat/trunk/checkstyle.xml tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java tomcat/trunk/java/org/apache/catalina/core/ApplicationContextFacade.java tomcat/trunk/java/org/apache/catalina/session/ManagerBase.java Modified: tomcat/trunk/checkstyle.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/checkstyle.xml?rev=982426r1=982425r2=982426view=diff == --- tomcat/trunk/checkstyle.xml (original) +++ tomcat/trunk/checkstyle.xml Wed Aug 4 22:45:20 2010 @@ -47,5 +47,11 @@ Do not use - does not take account of imports required for Javadocs module name=UnusedImports/ -- + +!-- Whitespace -- +!-- Can't handle HashMapString,Class?[] + https://sourceforge.net/tracker/?func=detailaid=3039718group_id=29721atid=397078 +module name=GenericWhitespace/ +-- /module /module \ No newline at end of file Modified: tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java?rev=982426r1=982425r2=982426view=diff == --- tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java (original) +++ tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java Wed Aug 4 22:45:20 2010 @@ -1042,7 +1042,7 @@ public class ApplicationContext * in web.xml, a web-fragment or annotated with {...@link WebListener}. */ public ServletRegistration.Dynamic addServlet(String servletName, -Class ? extends Servlet servletClass) +Class? extends Servlet servletClass) throws IllegalStateException { return addServlet(servletName, servletClass.getName(), null); @@ -1430,7 +1430,7 @@ public class ApplicationContext @Override public MapString, ? extends ServletRegistration getServletRegistrations() { -MapString, ApplicationServletRegistration result = +MapString, ApplicationServletRegistration result = new HashMapString, ApplicationServletRegistration(); Container[] wrappers = context.findChildren(); Modified: tomcat/trunk/java/org/apache/catalina/core/ApplicationContextFacade.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/ApplicationContextFacade.java?rev=982426r1=982425r2=982426view=diff == --- tomcat/trunk/java/org/apache/catalina/core/ApplicationContextFacade.java (original) +++ tomcat/trunk/java/org/apache/catalina/core/ApplicationContextFacade.java Wed Aug 4 22:45:20 2010 @@ -490,7 +490,7 @@ public final class ApplicationContextFac public ServletRegistration.Dynamic addServlet(String servletName, -Class ? extends Servlet servletClass) { +Class? extends Servlet servletClass) { if (SecurityUtil.isPackageProtectionEnabled()) { return (ServletRegistration.Dynamic) doPrivileged( addServlet, new Object[]{servletName, servletClass.getName()}); Modified: tomcat/trunk/java/org/apache/catalina/session/ManagerBase.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/session/ManagerBase.java?rev=982426r1=982425r2=982426view=diff == --- tomcat/trunk/java/org/apache/catalina/session/ManagerBase.java (original) +++ tomcat/trunk/java/org/apache/catalina/session/ManagerBase.java Wed Aug 4 22:45:20 2010 @@ -233,7 +233,7 @@ public abstract class ManagerBase extend // - Security classes -private class PrivilegedSetRandomFile implements PrivilegedActionDataInputStream{ +private class PrivilegedSetRandomFile implements PrivilegedActionDataInputStream { public PrivilegedSetRandomFile(String s) { devRandomSource = s; - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r982428 - in /tomcat/trunk: ./ java/org/apache/catalina/startup/ java/org/apache/catalina/tribes/transport/nio/ java/org/apache/coyote/http11/ java/org/apache/tomcat/util/buf/ java/org/apa
Author: markt Date: Wed Aug 4 22:50:52 2010 New Revision: 982428 URL: http://svn.apache.org/viewvc?rev=982428view=rev Log: Couple more whitespace checks. In both cases went with the nospace option since that is what the majority of the current code uses Modified: tomcat/trunk/checkstyle.xml tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/NioReceiver.java tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/ParallelNioSender.java tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java tomcat/trunk/java/org/apache/tomcat/util/buf/ByteChunk.java tomcat/trunk/java/org/apache/tomcat/util/buf/CharChunk.java tomcat/trunk/java/org/apache/tomcat/util/http/MimeHeaders.java tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Modified: tomcat/trunk/checkstyle.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/checkstyle.xml?rev=982428r1=982427r2=982428view=diff == --- tomcat/trunk/checkstyle.xml (original) +++ tomcat/trunk/checkstyle.xml Wed Aug 4 22:50:52 2010 @@ -53,5 +53,7 @@ https://sourceforge.net/tracker/?func=detailaid=3039718group_id=29721atid=397078 module name=GenericWhitespace/ -- +module name=EmptyForInitializerPad/ +module name=EmptyForIteratorPad/ /module /module \ No newline at end of file Modified: tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java?rev=982428r1=982427r2=982428view=diff == --- tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java (original) +++ tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java Wed Aug 4 22:50:52 2010 @@ -673,7 +673,7 @@ public class Tomcat { ctx.setSessionTimeout(30); // MIME mappings -for (int i = 0; i DEFAULT_MIME_MAPPINGS.length; ) { +for (int i = 0; i DEFAULT_MIME_MAPPINGS.length;) { ctx.addMimeMapping(DEFAULT_MIME_MAPPINGS[i++], DEFAULT_MIME_MAPPINGS[i++]); } Modified: tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/NioReceiver.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/NioReceiver.java?rev=982428r1=982427r2=982428view=diff == --- tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/NioReceiver.java (original) +++ tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/NioReceiver.java Wed Aug 4 22:50:52 2010 @@ -202,7 +202,7 @@ public class NioReceiver extends Receive Selector tmpsel = selector; SetSelectionKey keys = (isListening()tmpsel!=null)?tmpsel.keys():null; if ( keys == null ) return; -for (IteratorSelectionKey iter = keys.iterator(); iter.hasNext(); ) { +for (IteratorSelectionKey iter = keys.iterator(); iter.hasNext();) { SelectionKey key = iter.next(); try { //if (key.interestOps() == SelectionKey.OP_READ) { Modified: tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/ParallelNioSender.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/ParallelNioSender.java?rev=982428r1=982427r2=982428view=diff == --- tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/ParallelNioSender.java (original) +++ tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/ParallelNioSender.java Wed Aug 4 22:50:52 2010 @@ -288,7 +288,7 @@ public class ParallelNioSender extends A @Override public boolean keepalive() { boolean result = false; -for ( IteratorEntryMember, NioSender i = nioSenders.entrySet().iterator(); i.hasNext(); ) { +for ( IteratorEntryMember, NioSender i = nioSenders.entrySet().iterator(); i.hasNext();) { Map.EntryMember, NioSender entry = i.next(); NioSender sender = entry.getValue(); if ( sender.keepalive() ) { Modified: tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java?rev=982428r1=982427r2=982428view=diff == --- tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java (original) +++ tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java Wed Aug 4 22:50:52 2010 @@ -708,7 +708,7 @@ public abstract class AbstractHttp11Proc if (Ascii.toLower(buff[i]) != first)
DO NOT REPLY [Bug 49704] New: Cognos TM1 Contributor - Unable to deploy WAR File
https://issues.apache.org/bugzilla/show_bug.cgi?id=49704 Summary: Cognos TM1 Contributor - Unable to deploy WAR File Product: Tomcat 7 Version: 7.0.0 Platform: PC OS/Version: Windows XP Status: NEW Severity: blocker Priority: P2 Component: Manager AssignedTo: dev@tomcat.apache.org ReportedBy: rk...@hotmail.com When trying to deploy the WAR file for Cognos TM1 I am getting this error: FAIL: Nonce mismatch. Command /upload was ignored. Here are the installation instructions from IBM Cognos: http://publib.boulder.ibm.com/infocenter/ctm1/v9r5m0/index.jsp?lang=en This problem is only on Tomcat 7 -- 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 49704] Cognos TM1 Contributor - Unable to deploy WAR File
https://issues.apache.org/bugzilla/show_bug.cgi?id=49704 rk...@hotmail.com changed: What|Removed |Added CC||rk...@hotmail.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