[Tomcat Wiki] Update of "amit jana" by amit jana
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The "amit jana" page has been changed by amit jana. http://wiki.apache.org/tomcat/amit%20jana -- New page: ##language:en == AMIT JANA == Email: <> LIVE LIFE KING SIZE CategoryHomepage - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Page amit jana deleted from Tomcat Wiki
Dear wiki user, You have subscribed to a wiki page "Tomcat Wiki" for change notification. The page "amit jana" has been deleted by KonstantinKolinko. The comment on this change is: Remove spam. http://wiki.apache.org/tomcat/amit%20jana - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Tomcat Wiki] Update of "LocalBadContent" by markt
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The "LocalBadContent" page has been changed by markt. The comment on this change is: Yet more spam. http://wiki.apache.org/tomcat/LocalBadContent?action=diff&rev1=7&rev2=8 -- masterjin\.com mathsolutions\.50webs\.com mnsp\.cn + mystreyguy nekoo\.cn oa8000\.com\.cn o-f\.com - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1071243 - in /tomcat/trunk: java/org/apache/catalina/ant/ java/org/apache/catalina/manager/ webapps/docs/ webapps/manager/WEB-INF/
Author: markt Date: Wed Feb 16 13:43:39 2011 New Revision: 1071243 URL: http://svn.apache.org/viewvc?rev=1071243&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50713 Remove roles command from Manager application Removed: tomcat/trunk/java/org/apache/catalina/ant/RolesTask.java Modified: tomcat/trunk/java/org/apache/catalina/ant/antlib.xml tomcat/trunk/java/org/apache/catalina/ant/catalina.tasks tomcat/trunk/java/org/apache/catalina/manager/LocalStrings.properties tomcat/trunk/java/org/apache/catalina/manager/LocalStrings_de.properties tomcat/trunk/java/org/apache/catalina/manager/LocalStrings_es.properties tomcat/trunk/java/org/apache/catalina/manager/LocalStrings_fr.properties tomcat/trunk/java/org/apache/catalina/manager/LocalStrings_ja.properties tomcat/trunk/java/org/apache/catalina/manager/ManagerServlet.java tomcat/trunk/webapps/docs/changelog.xml tomcat/trunk/webapps/docs/html-manager-howto.xml tomcat/trunk/webapps/docs/manager-howto.xml tomcat/trunk/webapps/manager/WEB-INF/web.xml Modified: tomcat/trunk/java/org/apache/catalina/ant/antlib.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ant/antlib.xml?rev=1071243&r1=1071242&r2=1071243&view=diff == --- tomcat/trunk/java/org/apache/catalina/ant/antlib.xml (original) +++ tomcat/trunk/java/org/apache/catalina/ant/antlib.xml Wed Feb 16 13:43:39 2011 @@ -35,9 +35,6 @@ name="undeploy" classname="org.apache.catalina.ant.UndeployTask" /> - http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ant/catalina.tasks?rev=1071243&r1=1071242&r2=1071243&view=diff == --- tomcat/trunk/java/org/apache/catalina/ant/catalina.tasks (original) +++ tomcat/trunk/java/org/apache/catalina/ant/catalina.tasks Wed Feb 16 13:43:39 2011 @@ -19,7 +19,6 @@ list=org.apache.catalina.ant.ListTask reload=org.apache.catalina.ant.ReloadTask sessions=org.apache.catalina.ant.SessionsTask resources=org.apache.catalina.ant.ResourcesTask -roles=org.apache.catalina.ant.RolesTask start=org.apache.catalina.ant.StartTask stop=org.apache.catalina.ant.StopTask undeploy=org.apache.catalina.ant.UndeployTask Modified: tomcat/trunk/java/org/apache/catalina/manager/LocalStrings.properties URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/manager/LocalStrings.properties?rev=1071243&r1=1071242&r2=1071243&view=diff == --- tomcat/trunk/java/org/apache/catalina/manager/LocalStrings.properties (original) +++ tomcat/trunk/java/org/apache/catalina/manager/LocalStrings.properties Wed Feb 16 13:43:39 2011 @@ -95,7 +95,6 @@ managerServlet.postCommand=FAIL - Tried managerServlet.reloaded=OK - Reloaded application at context path {0} managerServlet.resourcesAll=OK - Listed global resources of all types managerServlet.resourcesType=OK - Listed global resources of type {0} -managerServlet.rolesList=OK - Listed security roles managerServlet.saveFail=FAIL - Configuration save failed: {0} managerServlet.saved=OK - Server configuration saved managerServlet.savedContext=OK - Context {0} configuration saved Modified: tomcat/trunk/java/org/apache/catalina/manager/LocalStrings_de.properties URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/manager/LocalStrings_de.properties?rev=1071243&r1=1071242&r2=1071243&view=diff == --- tomcat/trunk/java/org/apache/catalina/manager/LocalStrings_de.properties (original) +++ tomcat/trunk/java/org/apache/catalina/manager/LocalStrings_de.properties Wed Feb 16 13:43:39 2011 @@ -76,7 +76,6 @@ managerServlet.noWrapper=Container hat s managerServlet.reloaded=OK - Anwendung mit Kontext Pfad {0} neu geladen managerServlet.resourcesAll=OK - Auflistung globaler Ressourcen (alle Typen) managerServlet.resourcesType=OK - Auflistung globaler Ressourcen von Typ {0} -managerServlet.rolesList=OK - Auflistung der Sicherheits-Rollen managerServlet.saveFail=FEHLER - Speichern der Konfiguration fehlgeschlagen: {0} managerServlet.sessiondefaultmax=Voreingestellter Sitzungsablauf nach maximal {0} Minuten Inaktivit\u00e4t #TODO: Please review the following three messages. These are displayed when "Expire sessions" button is pressed in the Manager webapp: Modified: tomcat/trunk/java/org/apache/catalina/manager/LocalStrings_es.properties URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/manager/LocalStrings_es.properties?rev=1071243&r1=1071242&r2=1071243&view=diff == --- tomcat/trunk/java/org/apache/catalina/manager/LocalStrings_es.properties (original) +++ tomcat/trunk/java/org/apache/catalina/manager
svn commit: r1071244 - in /tomcat/site/trunk: docs/migration.html xdocs/migration.xml
Author: markt Date: Wed Feb 16 13:45:52 2011 New Revision: 1071244 URL: http://svn.apache.org/viewvc?rev=1071244&view=rev Log: Add info on removal of roles command from manager Modified: tomcat/site/trunk/docs/migration.html tomcat/site/trunk/xdocs/migration.xml Modified: tomcat/site/trunk/docs/migration.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/migration.html?rev=1071244&r1=1071243&r2=1071244&view=diff == --- tomcat/site/trunk/docs/migration.html (original) +++ tomcat/site/trunk/docs/migration.html Wed Feb 16 13:45:52 2011 @@ -773,6 +773,10 @@ compatibility problems. the browser must be closed afterwards to terminate the session. +The roles command has been removed from the Manager application since it +did not work with the default configuration and most Realms do not support +providing a list of roles. + Modified: tomcat/site/trunk/xdocs/migration.xml URL: http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/migration.xml?rev=1071244&r1=1071243&r2=1071244&view=diff == --- tomcat/site/trunk/xdocs/migration.xml (original) +++ tomcat/site/trunk/xdocs/migration.xml Wed Feb 16 13:45:52 2011 @@ -193,6 +193,10 @@ compatibility problems. the browser must be closed afterwards to terminate the session. +The roles command has been removed from the Manager application since it +did not work with the default configuration and most Realms do not support +providing a list of roles. + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 50713] The "roles" command doesn't work
https://issues.apache.org/bugzilla/show_bug.cgi?id=50713 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #4 from Mark Thomas 2011-02-16 08:46:28 EST --- The roles command has been removed from Tomcat 7 trunk. This will take affect from 7.0.9 onwards. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1071262 - /tomcat/trunk/java/org/apache/catalina/core/StandardContext.java
Author: markt Date: Wed Feb 16 14:18:12 2011 New Revision: 1071262 URL: http://svn.apache.org/viewvc?rev=1071262&view=rev Log: Move test outside the loop Modified: tomcat/trunk/java/org/apache/catalina/core/StandardContext.java Modified: tomcat/trunk/java/org/apache/catalina/core/StandardContext.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardContext.java?rev=1071262&r1=1071261&r2=1071262&view=diff == --- tomcat/trunk/java/org/apache/catalina/core/StandardContext.java (original) +++ tomcat/trunk/java/org/apache/catalina/core/StandardContext.java Wed Feb 16 14:18:12 2011 @@ -5817,30 +5817,30 @@ public class StandardContext extends Con if ((instances != null) && (instances.length > 0)) { -ServletRequestEvent event = -new ServletRequestEvent(getServletContext(), request); - -for (int i = 0; i < instances.length; i++) { -if (instances[i] == null) -continue; -if (!(instances[i] instanceof ServletRequestListener)) -continue; -ServletRequestListener listener = -(ServletRequestListener) instances[i]; +// Don't fire the listener for async requests +if (!DispatcherType.ASYNC.equals(request.getDispatcherType())) { -try { -// Don't fire the listener for async requests -if (!DispatcherType.ASYNC.equals( -request.getDispatcherType())) { +ServletRequestEvent event = +new ServletRequestEvent(getServletContext(), request); + +for (int i = 0; i < instances.length; i++) { +if (instances[i] == null) +continue; +if (!(instances[i] instanceof ServletRequestListener)) +continue; +ServletRequestListener listener = +(ServletRequestListener) instances[i]; + +try { listener.requestInitialized(event); +} catch (Throwable t) { +ExceptionUtils.handleThrowable(t); +getLogger().error(sm.getString( +"standardContext.requestListener.requestInit", +instances[i].getClass().getName()), t); + request.setAttribute(RequestDispatcher.ERROR_EXCEPTION, t); +return false; } -} catch (Throwable t) { -ExceptionUtils.handleThrowable(t); -getLogger().error(sm.getString( -"standardContext.requestListener.requestInit", -instances[i].getClass().getName()), t); -request.setAttribute(RequestDispatcher.ERROR_EXCEPTION, t); -return false; } } } @@ -5854,31 +5854,31 @@ public class StandardContext extends Con if ((instances != null) && (instances.length > 0)) { -ServletRequestEvent event = +// Don't fire the listener for async requests +if (!DispatcherType.ASYNC.equals(request.getDispatcherType())) { + +ServletRequestEvent event = new ServletRequestEvent(getServletContext(), request); -for (int i = 0; i < instances.length; i++) { -int j = (instances.length -1) -i; -if (instances[j] == null) -continue; -if (!(instances[j] instanceof ServletRequestListener)) -continue; -ServletRequestListener listener = -(ServletRequestListener) instances[j]; - -try { -// Don't fire the listener for async requests -if (!DispatcherType.ASYNC.equals( -request.getDispatcherType())) { +for (int i = 0; i < instances.length; i++) { +int j = (instances.length -1) -i; +if (instances[j] == null) +continue; +if (!(instances[j] instanceof ServletRequestListener)) +continue; +ServletRequestListener listener = +(ServletRequestListener) instances[j]; + +try { listener.requestDestroyed(event); +} catch (Throwable t) { +ExceptionUtils.handleThrowable(t); +getLogger().error(sm.getString( +"standardCont
DO NOT REPLY [Bug 50744] When Tomcat was updated from version 5.5.27 to 5.5.32, SSL support for Tomcat does not work on AIX 5.3 TL-11 SP-2
https://issues.apache.org/bugzilla/show_bug.cgi?id=50744 --- Comment #13 from Sridhar Murthy 2011-02-16 09:50:33 EST --- I will test this out next week and let you know if the issue reported is resolved. Thank you very much Konstantin for helping me with the patch. Regards, Sri -- 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
tomcat6 status results into dead state
Hi, When i start tomcat6 two times without a stop in between, rctomcat6 status results into dead state. I checked the rctomcat6 start script, in this case when the tomcat6 is already running and a rctomcat6 start is done, it display a msg that " process already running", but it continues in the start function further down & executes the TOMCAT_SCRIPT(dtomcat6) script with the start argument. And after that pid in the tomcat6.pid file gets changed but the process keeps running with the old pid, and hence when we do a rctomcat6 status, it results into dead state(bcoz it doesn't find any process running with that pid). I think it shouldn't execute the TOMCAT_SCRIPT in this case, so in case when checkpid is success(in start function), i put an exit after the echo msg " process already running", this solves the problem, but is this the correct solution ? If you think its not the right solution, plz suggest me something appropriate. function start() { echo -n "Starting Tomcat ($CATALINA_BASE)" if [ -f "/var/lock/subsys/${NAME}" ] ; then if [ -f "/var/run/${NAME}.pid" ]; then read kpid < /var/run/${NAME}.pid if checkpid $kpid 2>&1; then echo "$NAME process already running" rc_failed 0 #The below exit i have added exit else echo -n "lock file found but no process running for pid $kpid, continuing" rc_failed 7 fi fi fi . . regards rahul
Re: tomcat6 status results into dead state
On 16/02/2011 15:59, rahul vatsa wrote: > Hi, > > When i start tomcat6 two times without a stop in between, rctomcat6 status > results into dead state. Go and read the reply you already got on the users list. This is not a Tomcat issue. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1071321 - in /tomcat/trunk: java/org/apache/catalina/connector/ java/org/apache/catalina/core/ test/org/apache/catalina/core/ webapps/docs/
Author: markt Date: Wed Feb 16 17:35:24 2011 New Revision: 1071321 URL: http://svn.apache.org/viewvc?rev=1071321&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50793 Correctly fire request init/destroy events for astnc requests Modified: tomcat/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java tomcat/trunk/java/org/apache/catalina/core/StandardContext.java tomcat/trunk/java/org/apache/catalina/core/StandardContextValve.java tomcat/trunk/test/org/apache/catalina/core/TestAsyncContextImpl.java tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java?rev=1071321&r1=1071320&r2=1071321&view=diff == --- tomcat/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java (original) +++ tomcat/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java Wed Feb 16 17:35:24 2011 @@ -268,6 +268,17 @@ public class CoyoteAdapter implements Ad boolean success = true; AsyncContextImpl asyncConImpl = (AsyncContextImpl)request.getAsyncContext(); try { +if (!request.isAsync() && !comet) { +// Error or timeout - need to tell listeners the request is over +// Have to test this first since state may change while in this +// method and this is only required if entering this methos in +// this state +Context ctxt = (Context) request.getMappingData().context; +if (ctxt != null) { +ctxt.fireRequestDestroyEvent(request); +} +} + if (status==SocketStatus.TIMEOUT) { success = true; if (!asyncConImpl.timeout()) { Modified: tomcat/trunk/java/org/apache/catalina/core/StandardContext.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardContext.java?rev=1071321&r1=1071320&r2=1071321&view=diff == --- tomcat/trunk/java/org/apache/catalina/core/StandardContext.java (original) +++ tomcat/trunk/java/org/apache/catalina/core/StandardContext.java Wed Feb 16 17:35:24 2011 @@ -50,7 +50,6 @@ import javax.management.NotificationList import javax.management.ObjectName; import javax.naming.NamingException; import javax.naming.directory.DirContext; -import javax.servlet.DispatcherType; import javax.servlet.FilterConfig; import javax.servlet.RequestDispatcher; import javax.servlet.Servlet; @@ -5817,30 +5816,26 @@ public class StandardContext extends Con if ((instances != null) && (instances.length > 0)) { -// Don't fire the listener for async requests -if (!DispatcherType.ASYNC.equals(request.getDispatcherType())) { +ServletRequestEvent event = +new ServletRequestEvent(getServletContext(), request); + +for (int i = 0; i < instances.length; i++) { +if (instances[i] == null) +continue; +if (!(instances[i] instanceof ServletRequestListener)) +continue; +ServletRequestListener listener = +(ServletRequestListener) instances[i]; -ServletRequestEvent event = -new ServletRequestEvent(getServletContext(), request); - -for (int i = 0; i < instances.length; i++) { -if (instances[i] == null) -continue; -if (!(instances[i] instanceof ServletRequestListener)) -continue; -ServletRequestListener listener = -(ServletRequestListener) instances[i]; - -try { -listener.requestInitialized(event); -} catch (Throwable t) { -ExceptionUtils.handleThrowable(t); -getLogger().error(sm.getString( -"standardContext.requestListener.requestInit", -instances[i].getClass().getName()), t); - request.setAttribute(RequestDispatcher.ERROR_EXCEPTION, t); -return false; -} +try { +listener.requestInitialized(event); +} catch (Throwable t) { +ExceptionUtils.handleThrowable(t); +getLogger().error(sm.getString( +"standardContext.requestListener.requestInit", +instances[i].getClass().getName()), t); +request.setAttribute(RequestDispatcher.ERROR
DO NOT REPLY [Bug 50793] Invalid DispatchType in ServletRequestListener on async dispatch
https://issues.apache.org/bugzilla/show_bug.cgi?id=50793 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #3 from Mark Thomas 2011-02-16 12:37:49 EST --- That was fun. It is always the simple looking bugs that are tricky to fix. I agree that these events should be fired once per request. There was already some code trying to ensure that this was the case but it was ineffective. I have fixed the problem and expanded the async test cases to cover this issue. The fix is in trunk and will be in 7.0.9 onwards. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 50791] appropriate buffer size can accelerate the copyRange
https://issues.apache.org/bugzilla/show_bug.cgi?id=50791 Mark Thomas changed: What|Removed |Added Severity|normal |enhancement --- Comment #1 from Mark Thomas 2011-02-16 12:51:47 EST --- It isn't quite that simple. There are a number of other factors in play here such as the use of sendfile and the configuration of the static resource cache. Also, the size of both the input buffer and output buffer are already configurable. Without a use case that doesn't perform very well and can't easily be tuned with the current options, this is going to get resolved as WONTFIX. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1071329 - /tomcat/trunk/res/maven/mvn.properties.default
Author: markt Date: Wed Feb 16 17:56:03 2011 New Revision: 1071329 URL: http://svn.apache.org/viewvc?rev=1071329&view=rev Log: Prep for next release Modified: tomcat/trunk/res/maven/mvn.properties.default Modified: tomcat/trunk/res/maven/mvn.properties.default URL: http://svn.apache.org/viewvc/tomcat/trunk/res/maven/mvn.properties.default?rev=1071329&r1=1071328&r2=1071329&view=diff == --- tomcat/trunk/res/maven/mvn.properties.default (original) +++ tomcat/trunk/res/maven/mvn.properties.default Wed Feb 16 17:56:03 2011 @@ -33,12 +33,12 @@ maven.snapshot.repo.repositoryId=apache. #Maven release properties for Tomcat staging maven.release.repo.url=scp://people.apache.org/www/tomcat.apache.org/dev/dist/m2-repository maven.release.repo.repositoryId=tomcat-staging -maven.release.deploy.version=7.0.6 +maven.release.deploy.version=7.0.9 #Maven release properties for the main ASF repo maven.asf.release.repo.url=scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository maven.asf.release.repo.repositoryId=apache.releases -maven.asf.release.deploy.version=7.0.6 +maven.asf.release.deploy.version=7.0.9 #Where do we load the libraries from - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 50793] Invalid DispatchType in ServletRequestListener on async dispatch
https://issues.apache.org/bugzilla/show_bug.cgi?id=50793 Jeremy Boynes changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #4 from Jeremy Boynes 2011-02-16 22:37:16 EST --- Thanks -- 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