Tomcat ApplicationDispatcher forward handling

2005-10-11 Thread Stevenson, Bob
We have a question about QueryString handling in tomcat. We have a simple question; we noticed that tomcat carries querystring forward on forward requests if the current forward querystring is NULL only. Is this the correct behavior and if so; were is this documented? We've been through the Serv

TC v5.5.12 Breaks v5.5.9 Configuration

2005-09-27 Thread Bob Bronson
uot;ROOT" directory (which was not necessary with v5.5.9): C:\Projects\Sites\ | +-Test 1\ | +-ROOT\ | +-index.html +-WEB-INF\ | +-web.xml +-classes\ +-root\ Doing this elimina

Bugzilla link broken

2004-12-18 Thread Bob Arthur
_file_loc_type=allwordssubstr&keywords=&keywords_type=anywords&field0-0-0=noop&type0-0-0=noop&value0-0-0=&cmdtype=doit&order=%27Importance%27 Removing the %27 codes from around the order parameter seems to do the trick. The generated error page advised me to mail [EMAIL

Adding a new ServletRequest attribute

2004-03-12 Thread bob man
Hi. I'd like to be able to access the Socket associated with an HttpServletRequest from within a servlet (I want to call getChannel() in order to do some mux I/O). The getAttribute() method of ServletRequest would seem to be a good means of providing access to the Socket. If I submitted code (th

Re: Minimal server.xml

2003-12-03 Thread Bob Herrmann
error page they just saw. Without any Logging tags, all messages go to catalina.out just like the start up message says. Cheers, -bob On Wed, 2003-12-03 at 07:43, Remy Maucherat wrote: > Dan Johnsson wrote: > > +1 > > > > I would even suggest distribute something like this as th

Re: Minimal server.xml

2003-12-02 Thread Bob Herrmann
Sounds like a good idea to me. I would recommend removing the "Logger" and just letting the output go into catalina.out -bob On Tue, 2003-12-02 at 12:18, Shapira, Yoav wrote: > Hi, > IMHO the server.xml that comes with tomcat by default > ($CATALINA_HOME/conf/server.xml)

Re: [VOTE] New committer: Mark Thomas

2003-11-20 Thread Bob Herrmann
Sure, +1 > Hi, > > I'd like to nominate Mark Thomas as a Tomcat committer. He has > contibuted a significant amount of fixes already, and does what nobody > else does: roam Bugzila to fix older issues and cleanup the database. He > has special interest in the WebDAV code, which currently has no

Re: Is exact flow explained anywhere ?

2003-11-19 Thread Bob Herrmann
as I know, these things are locked up in peoples heads. The best guide is the website's docs. And knowing that the server.xml is really Tomcat's back bone. It describes which implementations get hooked together at start up time. Cheers, -bob On Wed, 2003-11-19 at 06:07, Akhilesh

Re: New to dev list

2003-10-23 Thread Bob Herrmann
On Thu, 2003-10-23 at 11:37, [EMAIL PROTECTED] wrote: > Thanks, Bob. The presentation is good. Does Tomcat have design document? So I can > dig deeper to source code level. I don't believe that it does. This does seem to be a deficiency. The phrase "Use the Source Luke&q

Re: new to dev list

2003-10-23 Thread Bob Herrmann
00. Look for "Tomcat Servlet" in this page; http://servlet.java.sun.com/javaone/conf/bofs/1290/google-sf2001.jsp The pdf is free, but they seem to want to charge for the audio. Cheers, -bob - To unsubscribe, e-mai

Re: tomcat job opportunity

2003-07-11 Thread Bob Lee
ialty (and my favorite ;)). Is the client looking for extensions, performance tweaks, web services integration, etc.? My cel. number is 314-537-6570. Thanks, Bob On Friday, July 11, 2003, at 10:40 AM, Steven Pincus wrote: Greetings.I work for an executive search firm in NY and am current

Re: Client-cert authentication.

2002-11-06 Thread Bob Herrmann
On Wed, 2002-11-06 at 10:55, Moisés Serrano Martínez wrote: > Thanks a lot Bob and Jean-frederic for the response but I´m afraid I don´t > understand clearly the solution: As I understand it, Tomcat uses a keystore and a truststore. Tomcat uses the keystore to answer the client's &

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

2002-11-06 Thread Bob Herrmann
xx.*" is because it is harder for a developer to figure out where a class is coming from... So I see it as a code readability issue. Cheers, -bob > > ex: > import foo.*; /* has class A */ > import bar.*; /* has class B */ > > class Foo { > A a; > B b; &

Client-cert and POST

2002-11-05 Thread Bob Herrmann
k? Cheers, -bob Index: CoyoteRequest.java === RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat5/CoyoteRequest.java,v retrieving revision 1.6 diff -u -r1.6 CoyoteRequest.java --- CoyoteRequest.java 1

Re: Client-cert authentication.

2002-11-05 Thread Bob Herrmann
As someone else already pointed out, you need to configure the trust stores (Which tell tomcat what clients to trust.) You can do that by changing some config files, or like this on the command line (with redhat) export CATALINA_OPTS="-Djavax.net.ssl.trustStore=/home/bob/cacert

Re: [5.0] New build documentation, docs online

2002-10-28 Thread Bob Herrmann
> Comments ? Humm... I used JDK1.4.x and I have clean built several times, but I never had to download Xerces. Does JDK1.4 or ant include Xerces or something? I think the Xerces step maybe optional with JDK1.4. Cheers, -bob > > Remy > > > -- > To unsubscribe, e

RE: [5.0] New build documentation, docs online

2002-10-28 Thread Bob Herrmann
o this (reflexively), echo>/home/bobh/t5/jakarta-servletapi-5/jsr152/examples/WEB-INF/classes/SendMailServlet.java Then everything compiles fine. There really should be a check for this in the servletapi build.xml I should submit a patch... Cheers, -bob > I put javamail configuration to b

Re: [VOTE] New Committer John Turner

2002-10-18 Thread Bob Herrmann
Mladen's word is enough for me. +1 for John Turner Cheers, -bob On Fri, 2002-10-18 at 15:11, Mladen Turk wrote: > Hi, > > I'd like to propose John Turner [Jturner at AAS.com] > as a new Tomcat committer. > > He does a great job in helping people on tomcat-users

Re: security

2002-10-16 Thread Bob Herrmann
On Wed, 2002-10-16 at 17:12, Costin Manolache wrote: > Bob Herrmann wrote: > > > > > Looking into the Tomcat jars, I noticed the package "org.apache.jk" > > isn't blocked... so even with the Security Manager running, I think I am > > able to get c

security

2002-10-16 Thread Bob Herrmann
s = new String[]{ "someClass" }; org.apache.jk.apr.TomcatStarter.main(new String[0]); %> So, My question is, should we "block" access to package "org.apache.jk" from webapps? Cheers, -bob -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

[5] Security Audit: fluf found

2002-10-15 Thread Bob Herrmann
I found this extra bit of fluf, can someone (with jakarta-servletapi Karma) commit this? Cheers, -bob Index: jsr154/src/share/javax/servlet/http/HttpUtils.java === RCS file: /home/cvs/jakarta-servletapi-5/jsr154/src/share

Re: [5.0] 5.0.0 milestione released

2002-10-15 Thread Bob Herrmann
on number in the folder name (and I didn't have write > access to jakarta-tomcat-5 anyway; +1 for removing it). Humm. Should there be a "nightly-5" directory in this dir http://jakarta.apache.org/builds/jakarta-tomcat/ ? Cheers, -bob -- To unsubscribe, e-mail: <mailt

Re: SSL client auth in Tomcat 4.0

2002-10-15 Thread Bob Herrmann
I have gotten clientAuth=true working with Tomcat 5. It is important to get the trusted certificates properly defined. I did this, export CATALINA_OPTS="-Djavax.net.ssl.trustStore=/home/bob/issues/ssl/cacerts.jks -Djavax.net.ssl.trustStorePassword=changeit" And sometimes defin

Re: [VOTE] tomcat-commiters list

2002-10-15 Thread Bob Schulze
[X] I agree with the proposal [ ] I don't agree with the proposal Fine for another non-committer. PLS cont. to read the dev list too ;-) Bob Costin Manolache wrote: > I would like to propose a new mailing list. > > The list will be closed to commiters only. The main purp

[5] Nightly builds started

2002-10-12 Thread Bob Herrmann
I started nightly builds on nagoya.apache.org, the builds are available here, http://jakarta.apache.org/builds/jakarta-tomcat-5/nightly/ Cheers, -bob -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: [Proposal] Security Audit

2002-10-09 Thread Bob Herrmann
stuff?) - Serializable (exposes private stuff?) Does anyone publish a security checklist list like this? Blah Blah, -bob On Tue, 2002-10-08 at 16:36, Jean-Francois Arcand wrote: > Hi, > > I'm looking to do a Security Audit on the current Tomcat 5.0 codebase. I > would like to c

Re: [Proposal] Security Audit

2002-10-09 Thread Bob Herrmann
I can't think of anything more boring and tedious (bug fixing?) but I am willing to help. Maybe we should divide up the classes. Cheers, -bob On Tue, 2002-10-08 at 16:36, Jean-Francois Arcand wrote: > Hi, > > I'm looking to do a Security Audit on the current Tomcat 5.0 c

[PATCH] SSLSocket, CLIENT-AUTH, and JDK1.4

2002-10-07 Thread Bob Herrmann
Before I commit this diff, I would like some eyes. This fixes a problem with JSSE doing request for CERTS on an already established SSL Socket. I am concerned that this change may not pass the sniff test as I check a System.getProperty("java.vm").startsWith("1.4") to see if the extra jiggle is n

Re: cvs commit: jakarta-tomcat-5 gump.xml

2002-10-04 Thread Bob Herrmann
2002 18:36:54 - 1.10 > +++ gump.xml4 Oct 2002 22:11:20 - 1.11 > @@ -12,7 +12,7 @@ > > > > - > + > > > > > > > > -- > To unsubscribe, e-mail: <mailt

Re: please show me how to download the DBCP API jar file

2002-10-03 Thread Bob Herrmann
Look here, http://jakarta.apache.org/builds/jakarta-commons/release/commons-dbcp/v1.0/ On Thu, 2002-10-03 at 17:44, Shih, John wrote: > Dear Sir, > > I like to use DBCP to connect to Oracle JDBC driver. > > Would you please show me how to download the DBCP API jar file? So I can put > it in

SSL Client-Auth

2002-10-03 Thread Bob Herrmann
initiate a cert exchange unless a Read() or a Write() happens on the socket, but TC5 doesn't have anything it wants to write or read when the 'startHandshake()' is called I have been playing around with using a sendRedirect() back to the same page, but boy does that seem messy.

Re: [5.0] [VOTE] Removal of the LE distribution

2002-10-03 Thread Bob Herrmann
On Thu, 2002-10-03 at 13:24, Remy Maucherat wrote: > > +1 [X] Yes, remove the LE distribution > -1 [ ] No, keep both distributions > simpler is better. -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Need some clarifications

2002-10-02 Thread Bob Herrmann
a-tomcat-5", not "5.0" and it is used to pull together the other bits to make Tomcat5. If you want to build TC5, just use the attached build.xml and type "ant" Cheers, -bob > > Thanks, for any help > > > Christian Gross > Software Engineering Cons

Re: [VOTE] [5.0] Milestones

2002-09-29 Thread Bob Herrmann
> > [X] +1 Yes, start releasing milestones > [ ] -1 No, because: > > -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: [SECURITY] Apache Tomcat 4.x JSP source disclosurevulnerability

2002-09-25 Thread Bob Herrmann
With power comes responsibility. <% System.exit(1) %> -bob P.S. Yea, I know the SecurityManager can catch this, if enabled. On Wed, 2002-09-25 at 21:22, Bojan Smojver wrote: > Quoting Costin Manolache <[EMAIL PROTECTED]>: > > > And Velocity does have a mailing li

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

2002-09-19 Thread Bob Herrmann
Humm... When I set SSL connector with clientAuth="true", Tomcat 5 gives me this, Handshake failed javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: handshake alert: no_certificate On Thu, 2002-09-19 at 01:09, [EMAIL PROTECTED] wrote: > billbarker2002/09/18 22:

Re: cvs commit:jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11Http11Processor.java

2002-09-18 Thread Bob Herrmann
I thought it was). OTOH, you shouldn't add a field for socket > in the request (native webservers don't have the notion of a Java > socket). Instead, use one of the notes. Ok, - change Http11Processor to use a note - change Request.java to it's original form - change the

Building isapi redirector

2002-09-17 Thread Kranson, Bob
I am trying to build the isap_redirector2.dll with the posted source. The compiler can't find "apr.h". I've looked through 3 archive versions for the header file. Can someone help? Bob Kranson The contents of this e-mail are intended for the named addressee only. It

RE: cvs commit:jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startupCatalina.java

2002-09-10 Thread Bob Herrmann
Yea, I changed references of "log.log" to "log.info" -bob On Tue, 2002-09-10 at 19:19, Dave wrote: > This commit has stopped Tomcat compiling. There is no log method in > org.apache.commons.logging.Log. > > > > Dave > -- Cheers, -bob -- To unsubs

Re: Form auth status not persisted between tomcat reloads

2002-09-10 Thread Bob Herrmann
ss session serializations! */ private transient Principal principal = null; I don't know of any effort to change this behavior in Tomcat. Cheers -bob On Tue, 2002-09-10 at 17:54, Kristoffer Michael wrote: > > If a user is logged in (by using FORM auth), and tomcat is restart

Re: cvs commit: jakarta-tomcat-catalina build.xml gump.xml

2002-09-10 Thread Bob Herrmann
Picky picky. On Tue, 2002-09-10 at 12:07, Stefan Bodewig wrote: > On 10 Sep 2002, <[EMAIL PROTECTED]> wrote: > > > + > > I don't think this is going to work on my machine (no user bob here 8-). > > You probably want to do something like > >

Re: Volunteering

2002-09-04 Thread Bob Herrmann
hing that really annoys you about it see if you can figure out a way to fix (improve it.) Cheers -bob -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

[5] logout() and Basic Authentication

2002-09-04 Thread Bob Herrmann
out() must only invalidate the user's session (or if using SingleSignOn, all the users sessions.) " Cheers, -bob -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: [5] [GUMP-PATCH] Make Tomcat 5 descriptor work (hopefully)

2002-09-03 Thread Bob Herrmann
On Tue, 2002-09-03 at 02:53, Stefan Bodewig wrote: > On 02 Sep 2002, Bob Herrmann <[EMAIL PROTECTED]> wrote: > > > I started playing with Gump with the hopes of getting TC5 to build, > > but I am totally clueless. > > Let's see whether I can help. > >

[5] Re: [GUMP-PATCH] Make Tomcat 5 descriptor work (hopefully)

2002-09-02 Thread Bob Herrmann
will resume toying with it tomorrow (Monday.) In the meantime, I checked in your changes. I am still learning Gump stuff, so I expect Gump TC5 builds will be broken for a few more days. Cheers, -bob On Mon, 2002-09-02 at 11:58, Stefan Bodewig wrote: > You may have noticed that Gump ha

Re: jakarta-servleapi-5

2002-08-30 Thread Bob Herrmann
all alone Cheers, -bob On Fri, 2002-08-30 at 18:07, Ignacio J. Ortega wrote: > Is needed any process to get to committer access j-s-5? votes or > whatever ? > > If the tomcat people is going to maintain the examples inside there, i > think is obvious we need commit access there.

[5] Session.logout()

2002-08-29 Thread Bob Herrmann
The JSP spec 2.4 gives us Session.logout(), what do we do when using Basic authentication? Once challenged, the web browser keeps passing the user/pass (right?) so any ideas about how to get the browser to re-challenge the end user? (change the domain?) Cheers, -bob -- To unsubscribe, e

[5] Examples

2002-08-27 Thread Bob Herrmann
It's nice to see the examples are back in TC5. I am glad they are in the jakarta-servletapi-5 repository - except that repository has very restricted access ... so fixing or adding examples is going to require Patchs, nagging, etc... comments? -bob -- To unsubscribe, e-mail: &l

session timeout

2002-08-27 Thread Bob Herrmann
Setting the "maxInactiveInterval" in server.xml is pointless because it is overwritten by the webapp's "web.xml" or "conf/web.xml", should I remove it from the manager.xml documentation, like the patch below?

[5.0] Welcome Files

2002-08-21 Thread Bob Herrmann
ance. I think it is pretty messy, but then again Welcome Files are messy (per earlier posts.) What do you think? (The patch is for discussion purposes and contains a lot of logging) Cheers, -bob Index: core/StandardContextMapper.java

Re: [OFF-Topic] CVS problems

2002-08-21 Thread Bob Herrmann
an existing tunnel. Seems like the buildup, tear down are pretty fast. Cheers, -bob On Wed, 2002-08-21 at 14:09, Jean-Francois.Arcand wrote: > Hi, > > I'm trying to update my workspace using /home/cvs but I'm always > receiving the following error: > > (1) ssh -

Re: getting patches commited

2002-08-21 Thread Bob Herrmann
t also. Committers tend to be busy and only look at stuff that they are familure with and understand... Getting stuff committed relies a bit on selling the issue to someone who can take the time to understand the problem, the solution and has the time to apply the fix. Cheers, -bob -- To unsub

Re: VOTE: Restoring Tomcat examples: Which workspace?

2002-08-20 Thread Bob Herrmann
he examples are portable and independent of Tomcat, so I want them to > go into jakarta-servletapi-5. I posted some time ago about that, and I > was planning to do it. > > Remy jakarta-servletapi-5 sounds much better than A, B, or C. Cheers, -bob -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: VOTE: Restoring Tomcat examples: Which workspace?

2002-08-20 Thread Bob Herrmann
Humm. Are the examples Tomcat specific or should they work in any JSP2.0 and Servlet 2.4 container? If they are "generic" then perhaps keeping them separate would encourage their reuse with other JSP/Servlet projects. Shouldn't every jsp server have a decent Snoop.jsp ? Cheer

Re: [5.0] [PROPOSAL] Refactored mapper

2002-08-16 Thread Bob Herrmann
ExServlet exactMatch index.html /boo/AlwaysGoesHere /boo/foo/NeverGetsHere exactMatch index.jsp Somewhat confused (typical), Bob -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: [5.0] [PROPOSAL] Refactored mapper

2002-08-16 Thread Bob Herrmann
nd check each "welcome file" URI to find one that gets to something useful (this is just a mental exercise, don't get excited I wouldn't think of implementing this.) Cheers, -bob -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: cvs commit: jakarta-tomcat-catalina/catalina build.xml

2002-08-15 Thread Bob Herrmann
On Thu, 2002-08-15 at 00:05, Steve Downey wrote: > (jta.present == true) and (full.dist=true or tyrex.present) Yea, your right. I will change that to, (full.dist==true) or ( jta.present == true and tyrex.present) Does that sound ok? Cheers, -bob > > If I'm reading this c

Re: [VOTE] New committer: Jean-Francois Arcand

2002-08-13 Thread Bob Herrmann
, USCA14-303 > Palo Alto, CA 94303-4900 > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- Cheers, -bob -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: [5] [PATCH] HttpSession.logout()

2002-08-12 Thread Bob Herrmann
This patch causes logout() and invalidate() to do the Servlet spec 2.4 "right thing." I implemented it using the Data field of SessionEvent to distinguish between logout/invalidate. Can someone apply this? THANKS. Cheers, -bob On Sat, 2002-08-10 at 23:02, Bob Herrmann wrote: >

Re: [5.0] Build notes

2002-08-11 Thread Bob Herrmann
On Sun, 2002-08-11 at 11:25, Jayson Falkner wrote: > I have been using the same thing. The only downside is the download > time, but, IMO it would be great to have this included and encouraged > for use with the Tomcat 5 build file. > > Way to go Bob! Thanks, although I just

[5] new method, HttpSession.logout()

2002-08-10 Thread Bob Herrmann
d. So, when a session logout() or invalidate() is called, what should happen? A "Session Destroy" with extra data indicating a logout or invalidate occured? Or should a new session event be created to indicate a "logout" is happening? comments/ideas? Cheers, -bob -- Chee

Re: [5.0] Build notes

2002-08-09 Thread Bob Herrmann
ld be cross platform (haven't tested it

[5][PATCH] tomcat5.coyote not getting compiled

2002-08-09 Thread Bob Herrmann
A change made last night to coyote/build.xml stopped the tomcat5 directory of coyote from building. This change fixes this. (Thanks to Ryan Lubke for pointing this out.) Cheers, -bob Index: build.xml === RCS file: /home

[5.0] [PATCH] I18N, CharsetMapper, DeploymentDescriptor

2002-08-08 Thread Bob Herrmann
r and sets the mapped encoding What do people think? (I used some long method names on Context and CharsetMapper to make it clear that the information is coming from the Deployment Descriptor.) Can someone review and patch this? Cheers, -bob Index: coyote/src/java/org/apache/coyote/Res

[5.0] Build notes

2002-08-04 Thread Bob Herrmann
Hi. Just thought I would share the steps I followed to "Build tomcat 5" on a RedHat 7.2 box. The box is net connected via DSL. I had already downloaded JDK1.4 and Ant1.5 $ mkdir tc5 $ cd tc5 $ export JAVA_HOME=/usr/java/j2sdk1.4.0 $ export PATH=$JAVA_HOME/bin:$PATH:/home/bob/tc5/j

[5] New Coyote Branch

2002-08-02 Thread Bob Herrmann
logout() to the Request class (and jakarta-serveletapi-5) as per the Serlvet 2.4 working groups latest recommendation. I will also move the "setCharacterEncoding()" and "getContentType()" to the tomcat5 (and out of tomcat4) if I understand this all correctly. Cheers, -b

[PATCH] [5.0] servletapi5, connectors, catalina

2002-08-01 Thread Bob Herrmann
, jakarta-tomcat-catalina I tested the "connectors" patch against 4.0 and my changes don't seem to break 4.0 (and so dont require messing with forking connectors.) Cheers, -bob P.S. The servletapi is still sprinkled with tabs. I tried to preserve the current tabbing (and not chang

[PATCH] [5.0] jakarta-servletapi-5

2002-07-31 Thread Bob Herrmann
The 2.4 Servlet spec adds a new constant. See section 15.1.5 in the June 24th public draft. Cheers, -bob Index: src/share/javax/servlet/http/HttpServletResponse.java === RCS file: /home/cvspublic/jakarta-servletapi-5/src

[PATCH] 5.0 jakarta-tomcat-5 building

2002-07-30 Thread Bob Herrmann
I had a near flawless build experience building tomcat 5.0. I only had to reverse the "digester" and "commons-logging" in build.xml This is because the "digester" now depends on "commons-logging" Can someone please patch this in? Thanks. Cheers, -bob

Re: updated architecture document

2002-07-30 Thread Bob Herrmann
://servlet.java.sun.com/javaone/conf/sessions/1287/0-sf2001.jsp Cheers, -bob On Tue, 2002-07-30 at 14:29, Zhenxin wang wrote: > Is there an updated architecture document (or a set of documents) that explains the >architecture of Tomcat 4? I only found some that seems to be out of dated. >

Re: [5.0] mbean-names [logging]

2002-07-30 Thread Bob Herrmann
On Mon, 2002-07-29 at 23:04, [EMAIL PROTECTED] wrote: > On 29 Jul 2002, Bob Herrmann wrote: > > > > > > Same should happen for Log, assuming we get the commons-logging > > > to support JMX and add a wrapper for JDK1.4 ( for log4j > > > we should just use

Re: [5.0] mbean-names

2002-07-29 Thread Bob Herrmann
if I want to log a particular context/webapp or Host or Engine, I will have to figure out what "domain" it logged to and get the underlying logging system (log4j, JDK1.4, logkit) to filter out the webapp/Host/Engine I am interested in? Cheers, -bob -- To unsubscribe, e-mail: <mailto

Re: [logging] Redirecting System.out to JDK1.4 Logging for tomcat

2002-07-25 Thread Bob Herrmann
On Thu, 2002-07-25 at 07:13, Remy Maucherat wrote: > Bob Herrmann wrote: > > I don't know if anyone else will find this interesting, but I wrote a > > class which redirects System.Out to JDK1.4 Logging. It is Tomcat > > aware and unrolls the stack in a way useful

[logging] Redirecting System.out to JDK1.4 Logging for tomcat

2002-07-25 Thread Bob Herrmann
then invokes Bootstrap. Any comments? Cheers, -bob ? patch.txt ? catalina/src/share/org/apache/catalina/startup/Tomcat2Jdk14Log.java Index: catalina/build.xml === RCS file: /home/cvspublic/jakarta-tomcat-4.0/catalina/build.

Re: [logging] Better support for stack walking

2002-07-23 Thread Bob Herrmann
commons-logging.wrapperMethods", "log,internalLog" ); Log log = LogFactory.getLog( "Logger'sName" ); log.info("Hello World"); Is this an acceptable change to commons-logging ? Cheers, -bob P.S. this patch is updated from the one posted

[logging] [PATCH] JDK 1.4 Logging

2002-07-23 Thread Bob Herrmann
On Tue, 2002-07-23 at 15:03, Bob Herrmann wrote: > On Mon, 2002-07-22 at 14:18, [EMAIL PROTECTED] wrote: > > > > I think there is a simpler solution for this class of problems, and > > that would also work with log4j and doesn't require _any_ API change. > &g

[PATCH] Re: JDK 1.4 Logging

2002-07-23 Thread Bob Herrmann
s itself. The attached "patch.txt is the Change to commons. The CommonsLogger.java is a new tomcat logger that sends output to the commons-logger. Does this look good? Cheers, -bob > > The classname of wrapper will be passed to the impl.. > > - for log4j - this just ge

Re: JDK 1.4 Logging

2002-07-22 Thread Bob Herrmann
eat idea - but it gives good stack traces without changing other parts of tomcat. If a webapp wants to use its own logger wrapper, and the factory has a single attribute - would there be a conflict here? -bob -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: JDK 1.4 Logging

2002-07-22 Thread Bob Herrmann
ons-logger API is going to result in impedance mismatch. Not sure what to do about this. I can take stab at this little change (although it means touching just about every class in commons-logging.) Is it worth it? Votes? Cheers, -bob -- To unsubscribe, e-mail: <mailto:[EMAIL PROT

Re: JDK 1.4 Logging

2002-07-22 Thread Bob Herrmann
own formatter. My formatter is tweaked for Tomcat - so it condenses some information and colorizes some information. This is a sample of its output, http://hue.jadn.com:81/~bob/xdmp.png My formatter is attached. It assumes an Xterm window sized to 175 or so. Cheers, -bob package com

Re: JDK 1.4 Logging

2002-07-22 Thread Bob Herrmann
build.xml --- catalina/build.xml 29 Jun 2002 01:00:04 - 1.124 +++ catalina/build.xml 22 Jul 2002 16:31:07 - @@ -801,6 +801,8 @@ unless="jdk.1.3.present"/> + Bob, > > This is a useful piece of code. However, your patch can't go i

RE: JDK 1.4 Logging

2002-07-22 Thread Bob Herrmann
strategy. I originally tried to use "commons-logging" as my back-end and it can be configured to use Log4j, but as I described - the result was unsatisfying. Read this earlier thread on this topic, http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg28257.html Cheer

JDK 1.4 Logging

2002-07-22 Thread Bob Herrmann
tack in a way that fits well with tomcat (ignoring stack frames calling with method log() or method internalLog() which are uninteresting.) And allowed me to map verbosity to JDK Levels. Cheers, -bob /* * $Header: $ * $Revision: $ * $Date: $ * * ==

Doc fix "manager.xml"

2002-07-08 Thread Bob Herrmann
This patch makes the documentation reflect 4.1.x's behavior. Namely, the only way to set the session timeout is via the webapp's web.xml or the system wide web.xml (also see bug 7613) Cheers, -bob Index: manager.xml ==

Re: [VOTE] Apache Tomcat 5.0 Proposal

2002-07-05 Thread Bob Herrmann
[ ] +0 I support the proposal > [ ] -0 I do not support the proposal > [ ] -1 I am against the proposal being implemented, because: Willing to help in any way I can. Cheers, -bob -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: SessionTimeout Problem

2002-06-27 Thread Bob Herrmann
Remove the default value of 30 from the config/web.xml and update the doc for Manager to mention it can be overridden by the web.xml Ideas? Cheers, -bob > Problem: setting the "maxInactiveInterval" on the Manager tag > doesn't work. > > Why, well the problem is that t

SessionTimeout Problem

2002-06-26 Thread Bob Herrmann
Not sure how to correctly proceed. The Manager isn't bound to a container when it's maxInactiveInterval is set by the digester, so it cant tell the Context to use its value. Any ideas? Cheers -bob -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: JDBCStore implementation

2002-06-25 Thread Bob Herrmann
> Hi Bob, > > Thanks for your answer! > > Well, I agree that the refered field in the database would fit perfectly > in the case of having more than one instance of Tomcat handling requests, > but why can't it be used for the "local" session handling

Re: JDBCStore implementation

2002-06-24 Thread bob
nd webserver loading both frames. Cheers, -bob > Can anyone tell me something about the plans for the implementation of > this feature? > > Cheers, > Daniel > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail:

[PATCH] StandardSession.java

2002-06-20 Thread bob
When cruising the session code I noticed that Sessions are never recycled because of a small boo boo. Without this patch the "recycled" ArrayList is always empty. Can someone verify and patch this in ? Cheers -bob Index: StandardSe

Re: [PATCH] When Session Max reached, throw out oldest session

2002-06-18 Thread bob
creating new sessions... but active users of the site would, because they are using the site, would be moved up to the top of the LRU, so the least used sessions would be ones being deleted... which would probably be the ones from the DOS program (unless it was smart enough and had enough memory to keep track of all the sessions it was making, and it refreshed its cookies/sessions at the right times..) So depending on the parameters and rate of DOS, this algorthim might actually reduce the effect of a DOS attack. Cheers, -bob -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

[PATCH] When Session Max reached, throw out oldest session

2002-06-18 Thread bob
> 1 by default. This PATCH does 1 and 2. It also fixes a problem with recycling sessions (manager was set to null before session could be recycled.) Can someone please review this? Cheers, -bob Index: ManagerBase.java

Re: [PROPOSAL] When Session Max reached, throw out oldest session

2002-06-13 Thread Bob Herrmann
I will also ensure that the admin documentation is updated to explain this behavior. Cheers, -bob -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

[PROPOSAL] When Session Max reached, throw out oldest session

2002-06-12 Thread bob
ession. 2. Instead of defaulting to an unlimited number of sessions (and getting visits from OutOfMemory), limit the number of sessions to 1 by default. [ ] Yes - make a patch [ ] No - Dont mess with sessions Cheers, -bob -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additi

Re: 4.1.3b1 zip lib crash

2002-06-07 Thread bob
entHandlers, do you? $ javap java.util.logging.Logger | grep setUseParentHandlers public synchronized void setUseParentHandlers(boolean); Cheers, -bob -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: 4.1.3b1 zip lib crash

2002-06-07 Thread bob
java.util.jar.JarFile.(JarFile.java:138) > at sun.net.www.protocol.jar.URLJarFile.(URLJarFile.java:62) > at sun.net.www.protocol.jar.URLJarFile.(URLJarFile.java:45) > at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:166) > at java.security.AccessController.doPri

Re: TC 4.1.3 jasper error

2002-06-07 Thread bob
e java side ? Maybe the > >> >etherreal AJP pluging can help :-) > >> > > >> >BTW, even if you solved the deadlock you may run into other > >problems, > >> >as requests longer than 3 secs will fail. > >> > >> Yep, select is not the solution. > >> > >> You could : > >> > >> Keep tomcat 4.0.3 and add debugging code > >> Use tomcat 4.0.4b2 > >> Or better switch to tomcat 4.1.3 > >> > >> -- > >> To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > Cheers, -bob -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: Releases + Jasper 1 removal from HEAD

2002-06-05 Thread Bob Herrmann
On Wed, 2002-06-05 at 21:30, Remy Maucherat wrote: > 1) I plan to release a new version of Coyote to pick up the fixes to Tomcat > 3.3 (it looks like I'll pick up some JMX features at the same time ;-)). 1.0 > RC 3. > 2) I also plan to (finally) tag 4.0.4 Stable later this evening or tomorrow. >

ServletContext.getResourcePaths

2002-06-05 Thread bob
Hi. ServletContext.getResourcePaths() on page 140 of the 2.3 spec doesnt define some things... 1. What if a path has several '/' like this "/WEB-INF///" does that get normalized? 2. If a path doesnt have a trailing slash, then what? ie. "/WEB-INF" or "/WEB" 3. What if a null is passed for

doc fix to globalresources.xml

2002-06-03 Thread bob
;globalresources.xml" to refer to the needed ResourceLink so developers don't get tripped up on the documentation. I am not sure I am happy with my exact text. Remmy, what do you think? Cheers, -bob Index: globalresources.xml ==

  1   2   >