DO NOT REPLY [Bug 47059] New: Rewrite to use Enum
https://issues.apache.org/bugzilla/show_bug.cgi?id=47059 Summary: Rewrite to use Enum Product: Tomcat 6 Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Connectors AssignedTo: dev@tomcat.apache.org ReportedBy: j.kapi...@schwarze-allianz.de Created an attachment (id=23515) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23515) rewrite to enum rewrite to enum type -- 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
My proposal on [GSOC: Convert current Tomcat valves to Servlet Filters] Get Accepted
Hi devs, I'm here just want to announce that my project proposal on Converting current Tomcat valves to Servlet Filters has been accepted as a GSOC project. Its a great pleasure to work with a community like you & thank you very much for the support you have given to me so far. Could you provide me some more materials to start with? -- Sincerely yours and Best Regards, Xie Xiaodong
DO NOT REPLY [Bug 47061] New: JDBCStore for saving sessions doesn't support datasource
https://issues.apache.org/bugzilla/show_bug.cgi?id=47061 Summary: JDBCStore for saving sessions doesn't support datasource Product: Tomcat 6 Version: 6.0.16 Platform: PC OS/Version: Linux Status: NEW Keywords: PatchAvailable Severity: normal Priority: P2 Component: Catalina AssignedTo: dev@tomcat.apache.org ReportedBy: bri...@bristol.gov.uk Created an attachment (id=23518) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23518) Patch JDBCStore to use datasource. We are using the JDBCStore to store sessions. The current implementation can only be configured with database connection parameters. Each web application will create and hold on to its own connection to the session store. Our tomcats contain a large number of webapps, and this causes and unduly large number of connections to be made to the database. In addition, all our other database connections are configured using datasources, and so for consistency we would much prefer to use a datasource. I have patched JDBCStore to allow the use of datasource to obtain the connection. I have added a parameter called "datasourceName". If this is defined it will use this to lookup the datasource in JNDI. If it is not configured, it will fall back to using direct connection. Patch is attached. -- 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 47062] New: JkWorkersFile: Can't find the workers file specified : absolute path
https://issues.apache.org/bugzilla/show_bug.cgi?id=47062 Summary: JkWorkersFile: Can't find the workers file specified : absolute path Product: Tomcat Connectors Version: 1.2.28 Platform: Other OS/Version: Linux Status: NEW Severity: major Priority: P2 Component: mod_jk AssignedTo: dev@tomcat.apache.org ReportedBy: razique.mahr...@tyredating.com When mod_jk is enabled, the entry "JkWorkersFile" for which we need to supply the worker.properties files does not work with absolut path, eg : /usr/share/tomcat/conf/worker.properties. Use instead the relative path to your httpd (or Apache) directory. So, to connect Apache through the worker file, here is the path : Let's suppose we have /etc/httpd/conf/httpd.conf <- contains the JkWorkersFile entry and the file worker.properties in /etc/httpd/modules/ so the entry will look like this : JkWorkersFile modules/workers.properties -- 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 47061] JDBCStore for saving sessions doesn't support datasource
https://issues.apache.org/bugzilla/show_bug.cgi?id=47061 Steve Pugh changed: What|Removed |Added Attachment #23518|0 |1 is obsolete|| --- Comment #1 from Steve Pugh 2009-04-21 07:48:00 PST --- Created an attachment (id=23521) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23521) Patch JDBCStore to use datasource v2. Supplied updated version of patch -- 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: My proposal on [GSOC: Convert current Tomcat valves to Servlet Filters] Get Accepted
hello all i want to tell you congratulation for accepting. Anas _ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx
DO NOT REPLY [Bug 47062] JkWorkersFile: Can't find the workers file specified : absolute path
https://issues.apache.org/bugzilla/show_bug.cgi?id=47062 Rainer Jung changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WORKSFORME --- Comment #1 from Rainer Jung 2009-04-21 08:04:08 PST --- Absolute path names in JkWorkersFile do work. I tested once more. Either you used the wrong path or the file or any of the directories above where not readable by the Apache user. -- 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: r767223 - in /tomcat/trunk/java/org/apache/catalina: core/NamingContextListener.java deploy/ContextResourceLink.java
Author: fhanik Date: Tue Apr 21 17:03:12 2009 New Revision: 767223 URL: http://svn.apache.org/viewvc?rev=767223&view=rev Log: Allow the factory attribute on the ResourceLink element. Make sure that ResourceBase properties are transferred to the ResourceLinkRef Modified: tomcat/trunk/java/org/apache/catalina/core/NamingContextListener.java tomcat/trunk/java/org/apache/catalina/deploy/ContextResourceLink.java Modified: tomcat/trunk/java/org/apache/catalina/core/NamingContextListener.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/NamingContextListener.java?rev=767223&r1=767222&r2=767223&view=diff == --- tomcat/trunk/java/org/apache/catalina/core/NamingContextListener.java (original) +++ tomcat/trunk/java/org/apache/catalina/core/NamingContextListener.java Tue Apr 21 17:03:12 2009 @@ -1063,7 +1063,16 @@ // Create a reference to the resource. Reference ref = new ResourceLinkRef -(resourceLink.getType(), resourceLink.getGlobal()); +(resourceLink.getType(), resourceLink.getGlobal(), resourceLink.getFactory(), null); +Iterator i = resourceLink.listProperties(); +while (i.hasNext()) { +String key = i.next().toString(); +Object val = resourceLink.getProperty(key); +if (val!=null) { +StringRefAddr refAddr = new StringRefAddr(key, val.toString()); +ref.add(refAddr); +} +} javax.naming.Context ctx = "UserTransaction".equals(resourceLink.getName()) ? compCtx : envCtx; Modified: tomcat/trunk/java/org/apache/catalina/deploy/ContextResourceLink.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/ContextResourceLink.java?rev=767223&r1=767222&r2=767223&view=diff == --- tomcat/trunk/java/org/apache/catalina/deploy/ContextResourceLink.java (original) +++ tomcat/trunk/java/org/apache/catalina/deploy/ContextResourceLink.java Tue Apr 21 17:03:12 2009 @@ -40,6 +40,10 @@ * The global name of this resource. */ private String global = null; +/** + * The factory to be used for creating the object + */ +private String factory = null; public String getGlobal() { return (this.global); @@ -49,7 +53,13 @@ this.global = global; } +public String getFactory() { +return factory; +} +public void setFactory(String factory) { +this.factory = factory; +} // - Public Methods - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org