[PATCH] site-docs Update mailing list archives, bugreport.xml

2003-02-01 Thread Tim Funk
One of the links to the tomcat user archives is bad for bugreport.html Attached is a diff with the correct version. Also added are links to marc.theaimsgroup.com and Eyebrowse hosted by nagoya.apache.org. The new links are for tomcat-user and tomcat-dev. The diff was made via cvs diff -u from

Re: [PATCH] site-docs Update mailing list archives, bugreport.xml

2003-02-01 Thread Tim Funk
Resend - my first message didn't seem to have the diff attached. -Tim Tim Funk wrote: One of the links to the tomcat user archives is bad for bugreport.html Attached is a diff with the correct version. Also added are links to marc.theaimsgroup.com and Eyebrowse hosted by nagoya.apache.org

Re: [PATCH] site-docs Update mailing list archives, bugreport.xml

2003-02-01 Thread Tim Funk
Arg! Either my moz version is broke or something else is broke. I renamed my diff to bugreport.txt and sent it to myself and all worked ok. Hopefully, this gets to you OK. If not - I'll turn off my computer and cry :( -Tim Tim Funk wrote: Resend - my first message didn't seem to have the diff

[PATCH] allow tomcat5 to compile/run with JDK1.3

2003-02-02 Thread Tim Funk
Tomcat5 does not compile with JDK1.3. It does with JDK1.4. There is only one line of code that prevents it from compiling with JDK1.3. org.apache.catalina.loader.WebappClassLoader depends on File.toURI() which does not exist on jdk1.3. I got around this by the performing the following: OLD

Re: [PATCH] allow tomcat5 to compile/run with JDK1.3

2003-02-03 Thread Tim Funk
for situations like this? Or is having one and only one binary the a better goal? (So users don't need to choose a 1.3 and 1.4 binary) -Tim Remy Maucherat wrote: Tim Funk wrote: Tomcat5 does not compile with JDK1.3. It does with JDK1.4. There is only one line of code that prevents it from

Re: [PATCH] allow tomcat5 to compile/run with JDK1.3

2003-02-03 Thread Tim Funk
Costin Manolache wrote: Tim Funk wrote: To get functionality like jdkCompat (and looking at tomcat3), it looks like something similar to the following would need added to the existing jakarta-tomcat-catalina/catalina/build.xml: -- exclude name=org/apache

Re: cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/compatJdk14Compat.java JdkCompat.java

2003-02-04 Thread Tim Funk
JdkCompat.java has two static declarations of itself, compat and jdkCompat. Which could be OK but getJdkCompat() returns jdkCompat while init() assigns a JdkCompat instance to compat. The side effect is the usage of JdkCompat fails and no webapps may run because of NPE. Attached is a patch

Re: Attribute in Cache Taglib

2003-02-04 Thread Tim Funk
You may want to write to the taglib group instead. http://jakarta.apache.org/site/mail2.html To subscribe to that list: [EMAIL PROTECTED] or [EMAIL PROTECTED] -Tim Igor Kozlov wrote: Hello! I propose change rtexprvalue in attribute key in tags cache and invalidate to support runtime

Re: Shutdown.sh does not work when long lasting operations, suchas SQL Queries, are still active!

2003-02-10 Thread Tim Funk
=0 shutdownWait=30 Don't Die Server port=8005 shutdown=SHUTDOWN debug=0 shutdownWait=-1 or Server port=8005 shutdown=SHUTDOWN debug=0 shutdownWait=0 or Server port=8005 shutdown=SHUTDOWN debug=0 -Tim Craig R. McClanahan wrote: On Mon, 10 Feb 2003, Tim Funk wrote: Why is a kill done

Re: DO NOT REPLY [Bug 16319] - RequestDispatcher.include ina customTag causes IllegalStateException

2003-02-11 Thread Tim Funk
Can someone explain this better than me? Nutshell: A custom tag is doing a RequestDispatcher.include(). The include is apparently a servlet which is grabbing ServletOutputStream. I contend this can't be done since the Section 4.4 of the spec states: An included page only has access to the

[PATCH] Allow System.exit to be called on shutdown [was Re: Shutdown.shdoes not work when long lasting operations, such as SQL Queries, are stillactive!

2003-02-11 Thread Tim Funk
the patches for the admin app and mbeans-descriptors.xml. Also attached is the JSP I used to ensure the server stayed running. Ignore the quality of the jsp - its just a test. -Tim Craig R. McClanahan wrote: On Mon, 10 Feb 2003, Tim Funk wrote: Why is a kill done instead of a System.exit

Re: [PATCH] Allow System.exit to be called on shutdown [was Re: Shutdown.shdoes not work when long lasting operations, such as SQL Queries, are stillactive!

2003-02-11 Thread Tim Funk
If a System.exit() was called - then it was an abnormal shutdown. The normal(good) shutdown occurs when all non-daemon threads peacefully quit and the JVM stops running. In this case - I have no idea what the exit code is. I wanted to be able to signify that System.exit was called. Since the

Re: [PATCH] Allow System.exit to be called on shutdown [was Re: Shutdown.shdoes not work when long lasting operations, such as SQL Queries, are stillactive!

2003-02-11 Thread Tim Funk
Here is my jsp test case (again .. sigh) - I had to rename it to txt file so mozilla would attach it. -Tim HTMLHEAD/HEADBODY PRE % Thread foreverThread = new Thread() { public void run() { for(int i=0;i5000;i++){ System.out.println(Iteration: + i); try {

Re: Request to Fix Tomcat Standalone 302 redirect Issue

2003-02-16 Thread Tim Funk
5 will *probably* not be final until - The specs(Serlvet 2.4, jsp 2.) become final - The many internal changes are tested more - The committers vote to declare it so From seeing past messages - it looks like the specs being declared final is the buggest hurdle (to wait for). (But there have been

Re: Request to Fix Tomcat Standalone 302 redirect Issue

2003-02-16 Thread Tim Funk
behavior for my default page. :-\ Thanks Neal -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 16, 2003 11:39 AM To: Tomcat Developers List Subject: Re: Request to Fix Tomcat Standalone 302 redirect Issue 5 will *probably* not be final until

Re: Request to Fix Tomcat Standalone 302 redirect Issue

2003-02-17 Thread Tim Funk
A patch (which I didn't look at yet) could introduce the following: - Bypassing a security contraints, eg:index.jsp is protected but / isn't - Vulnerabilities - Through a wacky optimizations, other pages might get accidently exposed - It breaks the spec for a different case Odds are - none of

Re: Request to Fix Tomcat Standalone 302 redirect Issue

2003-02-17 Thread Tim Funk
I thought I had an answer but the more I delved into the code the more I realized I should shut up. (I rather give no reply than a wrong reply) Now going back to read more code. -Tim I'm starting to hate snow (after shoveling over 2 feet with more coming) Donald Ball wrote: Tim Funk

[OT] tomcat as topic level project?

2003-02-17 Thread Tim Funk
Since ant is a top level project, is there a reason that tomcat should or should not be a top level project. What issues does this raise? My guess is top level projects have the opportunity to have sub-projects which seems to be what tomcat already has. My guess the main project is tomcat (the

Re: Startup question

2003-02-19 Thread Tim Funk
I think o.a.catalina.core.StandardServer.start() fires the events you are looking for. -Tim org.apache.catalina.core Filip Hanik wrote: hi there, with the lifecycle events, can I get an event that Tomcat has started (ie, all the contexts have been started)? if so, what event is that Filip

Re: Startup question

2003-02-20 Thread Tim Funk
Would this work too? 1 - Create your own class which implements LifeCycleListener. 2 - Add it inside of Server like anything else. 3 - When LifeCycleListener.lifecycleEvent is called the LifecycleEvent has a method called getData() which returns an object refence which I hope is the reference

Re: CASE-SENSITIVE

2003-02-25 Thread Tim Funk
See my answer already posted in tomcat-user. (It was you can't) -Tim Alberto A C A S Magalhães wrote: Hi, how can i disabled case sensitive in Apacha/Tomcat. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [5.0] Monitor servlet

2003-03-05 Thread Tim Funk
+1 (Nonbinding, and I have not programmed anything using JMX yet) -Tim Remy Maucherat wrote: Hi, I proposed that to Costin a few days ago, but got not so enthusiastic comments. The idea would be to add a new monitor servlet to the manager webapp. It would generate data similar to

Re: tomcat4 start script

2003-03-06 Thread Tim Funk
I had a similar issue where my solution was on shutdown to call System.exit() if tomcat did not shutdown in a pre-configured amount of time (which can be turned off for embedded apps). This way it works for windows too. Here is the bug report with patch:

[PATCH 5] BUILDING.txt for xerces

2003-03-06 Thread Tim Funk
With Ant 1.5.1 and building tomcat5, the last step of precompiling fails. If I upgrade xml-apis.jar and xercesImpl.jar to xerces_2_3_0 in the $ANT_HOME/lib directory all is OK. With Ant 1.5.2, this error doesn't occur. Since they have the newer version. Attached is (sad) attempt to patch this

Re: build.xml still broken...

2003-03-17 Thread Tim Funk
I got it to build by undoing Costin's change when revision 1.111 was made: http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-5/build.xml.diff?r1=1.110r2=1.111diff_format=h Where property name=servlet-api.dist value=${servlet-api.home} / is commented out, I uncommented it and the build worked

Re: Tomcat-user

2003-03-20 Thread Tim Funk
I noticed there is a FAQ option for the user list if a message is sent to: [EMAIL PROTECTED] but there isn't a FAQ available. snip FAQ - Frequently asked questions of the [EMAIL PROTECTED] list. None available yet. /snip I am working on a (yet another) version of a FAQ (compared to jGuru)

Re: [5.0] [PROPOSAL] Extra web.xml to declare compiled JSPs

2003-03-21 Thread Tim Funk
Could an alternate hack be to modify JspServlet to allow an additional init parameter which would be the file which contains the mapping of the precompiled jsp's? The config file could just be the web.xml snippet generated by the precompilation process. This way web.xml isn't touched and if

Re: [5.0] Monitor servlet

2003-03-23 Thread Tim Funk
things are going. * By default - this just prints an XML file. If you wish you can transform * the xml output via an input parameter. * * @author Remy Maucherat * @author Tim Funk * @version $Revision: $ $Date: $ */ public class StatusManagerServlet2 extends HttpServlet implements

[PATCH] add JdkCompat.maxMemory() [was Re: [5.0] Monitor servlet]

2003-03-24 Thread Tim Funk
Here's a patch to JdkCompat, and JdkCompat1.4 The method is called getMaxMemory() and returns -1 for jdk1.3 or less. Why -1? I had to pick a number. Feel free to change. I do not have a patch yet for StatusManagerServlet. With luck, I'll have a patch for that(with additional functionality) in

Re: [5.0] Monitor servlet

2003-03-25 Thread Tim Funk
. I'll just keep trying. -Tim Costin Manolache wrote: Tim Funk wrote: I am in the process of reworking the style sheet to make it prettier. (I do my testing in mozilla) I will also try to: - create a DTD which will explain the xml output - add an option to allow the user to change the style sheet

Re: cvs commit: jakarta-tomcat-catalina/webapps/manager/WEB-INF web.xml

2003-03-26 Thread Tim Funk
The admin app's classes all live under org.apache.webapp.admin Would it be better to have the manager's classes reside beneath org.apache.webapp.manager, not org.apache.catalina.manager? That way, if any new webapp comes along it will also reside under org.apache.webapp? -Tim [EMAIL PROTECTED]

Re: [5.0] More dependencies

2003-06-06 Thread Tim Funk
When I was testing with the HttpAdapter and Sun's JMX 1.2ri, on shutdown of tomcat the JVM did not die. If I removed the jar - all was OK. (But of course I lost HttpAdapter functionality) Does anyone know if Sun's HttpAdapter creates non-daemon threads? Of course the problem might be in tomcat

Bugzilla dups for Handling of Wrapped Responses

2003-05-29 Thread Tim Funk
From the recent bug report about wrapped responses vs .forward() I did this query: Search on description wrapped request forward

[5] EL parsing eats extra character after '?'

2003-05-31 Thread Tim Funk
Attached below is a message from tomcat-user. I don't know it this is a valid issue or not. If its not, it has great FAQ potential. If it is a problem, could it be caused by the following the snippet below? It looks like any custom tag would be ignored if preceded by a $. This seems to be the

[5] Extended AccessLog Valve

2003-06-01 Thread Tim Funk
from ServletRequest.getAttribute(condition) * yields a non-null value. The logging will be skipped. * /p * * * @author Tim Funk * @version $Revision: $ $Date: $ */ public final class ExtendedAccessLogValve extends ValveBase implements Lifecycle

Re: [5] Extended AccessLog Valve

2003-06-02 Thread Tim Funk
Thanks. I made the commit, and I see it in CVS (web version). But I didn't get an email of the commit and I don't see it in a mailing list archive. ( I made the commit a few hours ago) Is that normal? -Tim Bill Barker wrote: As Remy pointed out earlier today, we tend to trust the people that

[5] reference to 2.3 dtd instead of 2.4?

2003-06-04 Thread Tim Funk
The dtd in jakarta-servletapi-5\jsr154\examples\WEB-INF\web.xml says: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; Is this right? -Tim - To

FAQ location

2003-06-07 Thread Tim Funk
Currently I have the FAQ at: http://tomcatfaq.sourceforge.net/ I have just finished tweaking it (and added some more content) into the look and feel used by the rest of the tomcat site. You can see it here: http://cvs.apache.org/~funkman/faq/ (I is horrible on grammar and spellng, so I hope to

Re: [5.0] Monitor servlet

2003-03-25 Thread Tim Funk
I am in the process of reworking the style sheet to make it prettier. (I do my testing in mozilla) I will also try to: - create a DTD which will explain the xml output - add an option to allow the user to change the style sheet - incorporate more information into the XML doc output - wish to

Re: FAQ location

2003-06-09 Thread Tim Funk
I checked out jakarta-site2 and jakarta-tomcat-site and made the changes locally. Because of the print preview functionality and my inability to get the correct lev sidebars - I didn't use Anakia (for the faq). I continued to use the already built xslt transformations. So all I did was create

Re: FAQ location

2003-06-11 Thread Tim Funk
I just committed the FAQ to jakarta-tomcat-site. Because of the volume of data, I got the ezmlm-reject: fatal: Sorry, I don't accept messages larger than 10 bytes (#5.2.3) message. -Tim - To unsubscribe, e-mail: [EMAIL

Re: using filters

2003-06-03 Thread Tim Funk
There is some performance overhead to any filter, but it isn't much. The real hit is your custom code before and after your filter executes. -Tim siddharth wrote: Hi all, If i have implemented a filter who checks specific value in the session object ( some string manipulation is involved).

Re: FAQ location

2003-06-16 Thread Tim Funk
I committed the faq to jakarta-tomcat-site last week. Can someone update daedalus using cvs update -d -P (per the jakarta-tomcat-site readme instructions)? -Tim Tim Funk wrote: I just committed the FAQ to jakarta-tomcat-site. Because of the volume of data, I got the ezmlm-reject: fatal: Sorry

Re: [5.0.3] Tag soon, 5.0 release plan

2003-06-17 Thread Tim Funk
+1. Sounds good. I'll try to keep track of common topics from tomcat-user land to indicate what documentation areas need most help. A feature I want to add (post tagging and haven't started yet) is integrating lucene into the tomcat-docs. -Tim Remy Maucherat wrote: Hi, I am nearly done with

Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/servletsDefaultServlet.java

2003-06-17 Thread Tim Funk
ok. I was originally using servletContext().getResourceAsStream(...) and switched to ResourceInfo to attempt to stay consistent with its usage. I'll switch it to Resource (hopefully) today/tommorrow. (unless someone beats me to it) -Tim Remy Maucherat wrote: [EMAIL PROTECTED] wrote: funkman

Re: Tomcat 5 examples webapp

2003-06-18 Thread Tim Funk
They are in jakarta-servletapi-5 -Tim Yoav Shapira wrote: Howdy, I just checked out jakarta-tomcat-5 from CVS, looking for the examples webapp. I can't find it -- am I being blind? (It's happened before ;)) I'd like to add ServletRequestListener, ServletRequestAttributeListener examples. I

Re: byterange/byte-serving with mod_jk

2003-06-19 Thread Tim Funk
Since the PDF is in a database and being served by a servlet, it is the responsibility of the servlet to read the byte range headers and return the correct content. The DefaultServlet will also serve parts of a file if the file is a physical file. (I think it works fine for war files too) If

Re: Taglib lifecycle issues

2003-06-20 Thread Tim Funk
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16001 -Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[5] Nested exception logging

2003-06-21 Thread Tim Funk
When exceptions are nested multiple times inside of ServletExcpetions - occasionally the true root cause is not logged (to disk). This complaint occasionally appears on the user list. I think the problem is due to StandardWrapperValve using commons-logging and commons-logging knows nothing

Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startupExpandWar.java HostConfig.java

2003-06-21 Thread Tim Funk
You made enough changes to have your name in twice? ;) -Tim [EMAIL PROTECTED] wrote: remm2003/06/21 12:59:46 diff -u -r1.1 -r1.2 --- ExpandWar.java15 Jan 2003 03:40:43 - 1.1 +++ ExpandWar.java21 Jun 2003 19:59:46 - 1.2 @@ -86,17 +86,20 @@ * @author

Re: Module Edit at modules.apache.org

2003-06-23 Thread Tim Funk
I changed email to tomcat-committers and the password. Email me if you need the pwd. Or you can reset it (and the confirm email hopefully won't be so public) -Tim Apache Module Site wrote: This email was generated through the modules.apache.org site. You can modify your module by going to

FAQ - please cvs update jakarta.apache.org

2003-06-24 Thread Tim Funk
Can someone 'cvs update' jakarta.apache.org to get my FAQ commits to j-t-site? I hope to limit this request to once every other week event. (at most) -Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: moding tomcat to be a proxy server

2003-06-24 Thread Tim Funk
If I had to do this ... (and performance is not an issue) - Look at HttpClient - Make sure sessions are not on - Create one webapp with one servlet mapped to EVERYTHING - Your servlet decodes the incoming request, and uses HttpClient to make the new request. Then your proxy is servlet container

Re: custom HTTP headers?

2003-06-30 Thread Tim Funk
HttpServletResponse which is part of the servlet API (and portable to other containers) -Tim Adam Fisk wrote: I'm wondering if anyone can point me towards the class/classes that I should look at to add custom HTTP response headers for a customized Tomcat application I'm working on. Thanks

Re: important

2003-07-01 Thread Tim Funk
http://jakarta.apache.org/tomcat/ http://jakarta.apache.org/tomcat/faq/ -Tim vijaya lakshmi wrote: hello, i am vijayalakshmi, likes to work using tomcat-apache, so please give me the url of to download tomcat apache server to download documentation to configure please answer for the above

Re: servletcontext weird nullpointerexception

2003-07-02 Thread Tim Funk
In your Servlet's init(...) make sure your call super.init(...) -Tim Mathias af Jochnick wrote: Hello all, I have a Servlet that I've setup in the /conf/web-xml file, i.e. not in a web-app. It works fine, except for that when I in the doGet() method call getServletContext(), tomcat throws a

Re: [PATCH] CATALINA_LOGDIR environment variable in catalina.sh

2003-07-03 Thread Tim Funk
All of the loggers may have an attibute called directory. This may be relative or absolute. No extra variables needed for other scripts - everything can stay confined to server.xml. -Tim Thorsten Huber wrote: On Thu, Jul 03, 2003 at 09:58:32AM -0400, Shapira, Yoav wrote: This patch is a way

Re: session expiry

2003-07-08 Thread Tim Funk
See the servlet specification from java.sun.com. In particular, session expiration can be set in web.xml. sessions can also be expired programmatically via its invalidate() method. Please followup with tomcat-user if you have more questions. This forum is for changing the internals of tomcat.

FAQ vs wiki

2003-07-08 Thread Tim Funk
I hope to remove the following (2) pages from the FAQ and move them to the Wiki: How do I http://jakarta.apache.org/tomcat/faq/howto.html and Other resources http://jakarta.apache.org/tomcat/faq/links.html It seems these 2 pages may change more often and may be better suited to community

Re: [4.1.25] Tag today

2003-07-09 Thread Tim Funk
For 4.1.25 - I added the AccessLogValve/ExtendedAccessLogValve ports (from 5), but never updated the RELEASE-NOTES-4.1.txt [4.1.25] #20380 AccessLogValve incorrectly calculates timezone [4.1.25] #16374 AccessLogValve Date in file name configurable [4.1.25] #16400

Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startupSetDocBaseRule.java

2003-07-09 Thread Tim Funk
Torstenwithout ?? copy paste oops? - *nor may Apache appear in their names without prior written + *nor may Apache appear in their names Torstenwithout prior written -Tim - To unsubscribe, e-mail: [EMAIL

FAQ - committed changes - please update site

2003-07-10 Thread Tim Funk
I just committed a mass update. But given the way diff works on the rendered HTML files - the email barfed and returned to me. Can someone update the tomcat site? Attached is the summary of the FAQ changes. funkman 2003/07/10 18:57:40 Modified:docs/faq bugs.html classnotfound.html

Re: JasperException

2003-07-13 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/misc.html#compile Reginald Oake wrote: Hi. I have been developing web apps using Tomcat for a couple of years now and just recently ran into a problem that has me somewhat stumped. Recently, whenever I edit a jsp file and then go to a browser to reload it I

Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/coreStandardContext.java

2003-07-14 Thread Tim Funk
Sort of unrelated to the patch but noticed from line: File file = new File(configBase, name.replace('/', '_') + .xml); Would the following 2 names cause a confict if used at the same time? 1) name=more_cowbell; 2) name=more/cowbell; -Tim (waiting for coffee to brew before trying to think)

Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/coreStandardContext.java

2003-07-14 Thread Tim Funk
OK, just wanted to know if this was an 'oops' or just the way things are. I'll interpret that as the latter. ;) -Tim Remy Maucherat wrote: Tim Funk wrote: Sort of unrelated to the patch but noticed from line: File file = new File(configBase, name.replace('/', '_') + .xml); Would

[5] hotfixes

2003-07-17 Thread Tim Funk
One feature of enterprise ready software is the ability to apply small patches to an existing system. For example: if a single class (or a few classes) have an error and that is the only fix - it might be nice to deploy a jar (or jars) that have a higher classloader preference. (But not parent

Re: [5.0] Tester

2003-07-18 Thread Tim Funk
Is there any chance we'd want to use Latka instead? (Which uses HttpClient) -Tim Remy Maucherat wrote: I have put the tester back in activity for TC 5 (and it caught the failure for error pages), but unfortunately there are a few limitations caused by the HTTP client used (for example, if the

Re: [5.0] Tester

2003-07-18 Thread Tim Funk
I don't have much experience using Latka either but it used HttpClient and appeared to use an xml config file for all the tests. It also has the ability to add your own condition classes too. But it does appear dormant in commons. :( +1 to using just HttpClient -Tim Remy Maucherat wrote: Tim

Re: AccessLogValve.java - Missing +

2003-07-18 Thread Tim Funk
Doh! Your right. ( If its supposed to mimic the apache's %t, which I think it should) -Tim Yuri Schimke wrote: Funkman, Thanks for fixing the timezone calculation bug. I know I'm just being picky now, but shouldn't positive timezone offsets have a (redundant) '+' at the start. From

Re: [5] hotfixes

2003-07-18 Thread Tim Funk
Yeah, I am scared of side effects too. This funtionality will be helpful in the following situations: - My previous post where the access log doesn't print '+' in front of the offset - ExtendedAccessLogValve printed the date instead of bytes (recent patch) - The recent Connector fixes we have

Re: [5] hotfixes

2003-07-18 Thread Tim Funk
Thats ok with me, I'm glad this was discussed in case this topic comes up in the future. -Tim Remy Maucherat wrote: After reading everyone's comments, I will vote -1 to the hotfix proposal, because: - To unsubscribe,

Re: cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/compatJdk14Compat.java JdkCompat.java

2003-07-18 Thread Tim Funk
I have no issue with substring use for jdk1.3 getPartialServletStackTrace() since it should not get called often so the performance shouldn't be an issue (or am I missing something more subtle). Possible alternative (for the 1.3 version). public String getPartialServletStackTrace(Throwable t) {

Re: That Cookie thing

2002-07-01 Thread Tim Funk
http://wp.netscape.com/newsref/std/cookie_spec.html OR http://www.ietf.org/rfc/rfc2109.txt OR http://www.ietf.org/rfc/rfc2965.txt PATH=path Optional. The Path attribute specifies the subset of URLs to which this cookie applies. John Baker wrote: On Monday 01 July 2002 13:16, peter lin

Re: [PROPOSAL] Single signon and loadbalancer

2002-07-08 Thread Tim Funk
Would this new solution be compatible with URL rewriting? (No cookies being used) [EMAIL PROTECTED] wrote: On Mon, 8 Jul 2002, Denis Benoit wrote: I think it would be difficult, since JSESSIONID is distinct for each webapp on a Tomcat, only JSESSIONIDSSO (if the SingleSignon valve is

Re: Include directive in Tomcat4

2002-07-10 Thread Tim Funk
This question is more suited for the User List. I believe test is setup as a webapp in your installation. Meaning: you should not include it in any kind of include directive. So %@ include file = /test/hello.html % should be %@ include file = /hello.html % or %@ include file =

Re: cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasperJspCompilationContext.java

2002-07-18 Thread Tim Funk
Yeah! $ is replaced by _ when JSP's are converted to java files. Question: When someone upgrades to this release, would it be advisable for the user to eliminate the work directory (or clean it) since an older compiled JSP now has the wrong name? Or warn them that every JSP will be

Re: cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasperJspCompilationContext.java

2002-07-18 Thread Tim Funk
the precompiled JSP's just mentioned). For users upgrading, we recommend deleting your work directory ($TOMCAT_HOME/work) after upgrading so old work files are cleaned up. -Tim Kin-Man Chung wrote: Date: Thu, 18 Jul 2002 14:15:16 -0400 From: Tim Funk [EMAIL PROTECTED] Subject: Re: cvs commit

[PROPOSAL] /server-status like functionality

2002-07-24 Thread Tim Funk
I would like to introduce a page similar to /server-status for tomcat. If I implement such a thing - would there be interest to add it to CVS? My plan is to report: - uptime (Since valve was instatiated - which should be very close to start up time) - Total requests - Total Bytes transfered -

Re: Not sure this is a BUG or a requirement by spec

2002-08-09 Thread Tim Funk
This is a bug on your part. The RFC for URI (rfc2396) states that = must be encoded as well as some other choice characters. See section 2.2: http://www.ietf.org/rfc/rfc2396.txt Creighton Kirkendall wrote: I found where the bug is and I know how to fix it but I am not sure if it is part of

Re: [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability

2002-09-24 Thread Tim Funk
Would the following be vulnerable? 1) Use Jk only 2) do NOT use -- JkMount /servlet/* loadbalancer 3) But the invoker mapping is enabled Would they be vulnerable? I personally don't see a security flaw in this config. But does Jk also look for the text jsessionid being passed in the URL and

Re: [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability

2002-09-25 Thread Tim Funk
That's what code reviews are for and in absence of that - firing your developers. Wouldn't I also get an out of memory with this in Velocity? #set($oom = ) #foreach( $i in [-2147483648..2147483648] ) #set($oom =

Re: Tomcat 4.1.12: access log corrupted

2002-09-27 Thread Tim Funk
Some of actually use both logs(apache and tomcat) for varios reasons. The tomcat logs allow us to look at how well load balancing is working across all our tomcat instances. If bug patch 12145 were examined - tomcat logging would be much richer allowing Request Session Attributes, Cookies,

Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/coreStandardWrapper.java

2002-11-06 Thread Tim Funk
In case you weren't joking ... It can easily break compatibility if someone introduces a new class with the same class name as another class in a different package. ex: import foo.*; /* has class A */ import bar.*; /* has class B */ class Foo { A a; B b; } Imagine time going by and

[PATCH] Disable access log rotation

2002-11-20 Thread Tim Funk
Is anyone opposed to looking at bug 14724? It replaces a similiar enhancment [bug 12145](with patch) logged a few months ago. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14724 The patch also enables writing out Cookies, incoming headers, Session attributes, and HttpServletRequest

Re: [VOTE] minimal JSR 154 only distribution

2002-12-09 Thread Tim Funk
I have interest in the admin tool - but I don't trust it yet and for my production work - and I am still stuck on the 4.0.X series. I think the admin tool is essential for a full distribution - but useless in a minimal distribution. The user base wanting the min distribution already have the

Re: Duplicate session IDs?

2002-12-24 Thread Tim Funk
I agree that there is a tiny chance this could happen. It seems the original uniquenes code had a bug in it because it did not attach the jvmRoute after re-generating the sessionId. Thats why it was probably commented out. I hope you were joking about the monotonic increase of sessionIds. If

Re: Duplicate session IDs?

2002-12-25 Thread Tim Funk
AM, Tim Funk [EMAIL PROTECTED] wrote: I hope you were joking about the monotonic increase of sessionIds. If that were done - it would be trivial to steal another's sessionId by guessing. How is that? laskdfowifjwo2i3jofij2oi3jofwjieogih934htwo4i1

Re: Duplicate session IDs?

2002-12-30 Thread Tim Funk
This looks true by the looks of: http://cvs.apache.org/viewcvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/ManagerBase.java?rev=1.15content-type=text/vnd.viewcvs-markup The while loop is looking for one session ID, and if JVM route is set, a different session ID is saved.

Re: cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk workershowto.xml

2003-01-03 Thread Tim Funk
wname is the worker name. This name is the name of the worker as defined in the JK property config file. Eg: worker.tomcat1.host=localhost ^^^ For example above: tomcat1 is the worker name. If someone were to attempt a buffer overflow, they would need write access to the Jk config

Re: [PATCH] forward instead of redirect for welcome files

2003-01-06 Thread Tim Funk
If a trailing / is not present, then performing a RequestDispatcher.forward will break all relative references (for the web browser) -Tim Costin Manolache wrote: Matt Parker wrote: On Mon, 2003-01-06 at 14:43, Hans Bergsten wrote: Okay, that's different. Maybe I misread your patch, but to

Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/sessionManagerBase.java StandardManager.java

2003-01-09 Thread Tim Funk
Am I correct that this patch removes the explicit imports from java.util and adds this: import java.util.* -Tim [EMAIL PROTECTED] wrote: costin 2003/01/09 11:09:33 Modified:catalina/src/share/org/apache/catalina/session ManagerBase.java StandardManager.java

Re: Duplicate session IDs are *common*

2003-01-10 Thread Tim Funk
I was unable to reproduce a collision too. I took ManagerBase and converted it to a standalone java program (by stripping out code) to see if I might get duplicates. But I keep running out of memory near 1 million sessions. java Collide 1 Generates 1 ids. (Change the number to change

Re: Strange Cookie behavior with ie 6 and subdomains

2003-01-13 Thread Tim Funk
[ This is more suited for tomcat-user Please post followups to: [EMAIL PROTECTED] ] This is not isolated to IE6 but all browsers. If you are using apache - add the appropriate redirects to your httpd config to force the user to the correct domain. -Tim Michael Wyraz wrote: Hi! I found

Re: Strange Cookie behavior with ie 6 and subdomains

2003-01-13 Thread Tim Funk
this bug... On Mon, 13 Jan 2003 08:54:54 -0500, Tim Funk wrote: [ This is more suited for tomcat-user Please post followups to: [EMAIL PROTECTED] ] This is not isolated to IE6 but all browsers. If you are using apache - add the appropriate redirects to your httpd config to force the user

Re: [PATCH] Add customizable date format for access log filename

2003-01-15 Thread Tim Funk
I see a problem with this with respect to log rotation. The way things work now, on every request tomcat checks to see if the log needs rotated. (It actually checks at most, once a second). The way it determines to rotate the log is via the date format. Since the date format is hardcoded to

Re: Tomcat id in AccessLogValve and Spread

2003-01-17 Thread Tim Funk
You can declare your own custom pattern in AccessLogValve in server.xml. Then you can always hardcode your id into the pattern. -Tim Aditya wrote: I'm trying to consolidate the access logs for a whole bunch of Tomcats using Spread (www.spread.org) like I do with Apache. The easiest way to do

Re: Why unpackWars=true default?

2003-01-20 Thread Tim Funk
Not to put words into other peoples mouth, but this was Craig's opinion awhile ago (from tomat-user): http://marc.theaimsgroup.com/?l=tomcat-userm=104000918909139w=2 Would it be better to remove unpackWARs from tomcat5 since there isn't that much of a concern for backwards compatibilty on

Re: Question about duplication of secure property in RequestBaseand HttpRequestBase

2003-01-25 Thread Tim Funk
org.apache.catalina.connector.RequestBase implements ServletRequest. http://jakarta.apache.org/tomcat/tomcat-4.0-doc/catalina/docs/api/org/apache/catalina/connector/RequestBase.html And isSecure is part of the interface of ServletRequest.

TC5 - Dependent on JDK1.4?

2003-01-26 Thread Tim Funk
org.apache.catalina.loader.WebappClassLoader.java [line 1957] uses java.io.File.toURI() which is in java 1.4 and not in java 1.3. http://java.sun.com/j2se/1.4/docs/api/java/io/File.html#toURI() All the discussions I have seen so far with respect to tomcat 5 and jdk 1.4 state that tomcat 5

Re: cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servletJspServlet.java

2003-07-22 Thread Tim Funk
Could an alternative be to introduce a Valve which does the equivalent of mod_headers? -Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

  1   2   3   >