What decides that a thread is idle?

2002-02-20 Thread Thom Park
Hello, I'm currently having to use tomcat 3.2 in a production environment. Moving to 3.3 or 4.0 is not an option (for at least 6 months). I'm wrestling with the ThreadPool exhausted issue and am trying to understand how a thread becomes idle. I don't see the thread become available as soon as

Tomcat 4.0.2 b multibyte issue.

2002-01-11 Thread Thom Park
Craig et.al. Recently I posted a vague question w.r.t. Multi-byte support in tomcat 4.0.2. Somewhat similar to the oracle at delphi, by asking a general question, I got a general answer. I now have a specific case where there appears to be a problem with multi-byte support in the latest tomca

Multi-Byte Support.

2002-01-03 Thread Thom Park
Hi Folks, I'm working on a product that uses Tomcat 4.0.1. I've had reports of problems with Tomcat 4.0.1 with multi-byte character sets particularly Traditional Chinese. Can anyone give me a plain answer on what the policy is on such support? Is tomcat 4.x intended to support multi-byte charac

...also Can't build webapp-1.0-tc4.0 on NT

2001-10-04 Thread Thom Park
mod_Webapp doesn't want to build on NT. It's lacking a libapr.mak file and, when the libapr.dsp project is run, tries to compile unix stuff. Is there any way to get ahold of the build scripts that created the downloadable binaries for mod_webapp? -Thom -Original Message- From: Barry A

DTD DOCTYPE wrong in examples....?

2001-08-21 Thread Thom Park
Hello, Sun appear to have changed the DOCTYPE for the web application in servlet specification 2.3. Actually, in the draft spec it states that the doc type is: http://java.sun.com/j2ee/dtds/web-app_2_3.dtd";> however, the actual location appears to be: http://java.sun.com/dtd/web-app_2

RE: how to reload a getResourceAsStream() object

2001-08-08 Thread Thom Park
7;s a wee bit frustrating. I guess I need to find out what the heck is going on with this stream nonsense. -Thom -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 3:49 PM To: [EMAIL PROTECTED] Subject: Re: how to reload a getResourceA

how to reload a getResourceAsStream() object

2001-08-08 Thread Thom Park
hello, I have a requirement where i need to make multiple passes over a resource stream obtained via ServletContext.getResourceAsStream(). My problem is that as follows: InputStream is = sc.getResourceAsStream("/my_resource_name"); do 1st processing pass is.close(

RE: Is anyone working on iPlanet integration?

2001-08-08 Thread Thom Park
hi, >From my point of view, mod_webapp is much cleaner and easier to extend. I was able to implement an IIOP based provider for mod_webapp in a few weeks whilst I'm not even sure I could understand mod_jk in that time ;-). In defense of mod_jk though, it has a lot of really nice goodies like lo

RE: RESOLVED: mod_webapp hanging/core-dumping on Solaris

2001-07-31 Thread Thom Park
Hello! My tuppence worth on one comment here: >1. Always use gcc. Always use gcc. Always use gcc. Why? Because it's the lowest common denominator. Because the developers are building/testing with it. Because ./configure likes it. Always use gcc. Only do this if your absolutely guar

RE: Apache 1.3.20 hangs when warp-connecting to Tomcat4b6

2001-07-31 Thread Thom Park
Hi Pier, unfortunately my binary won't load unless you install Visibroker (that old black magic called iiop) sorry. You also would need to have build apache with SUN C instead of gcc to have a hope of using one of my binaries. I'll try to clean up my machine and see if I can build a vanilla mo

RE: mod_webapp vs. multi-thread component.

2001-07-30 Thread Thom Park
Hi Pier, >Whoha... Looking for troubles, huh? :) no - trouble usually comes looking for me :) >> B.T.W. My 'provider' is an interface between apache and an IIOP (CORBA) >> connector that allows apache to converse with tomcat (using an IIOP java >> connector). >One of these days you'll enlight

mod_webapp vs. multi-thread component.

2001-07-30 Thread Thom Park
Pier et. al. I hope that someone more enlightened can assist me with this one as I'm totally flummoxed by this - this applies to Solaris threads being used within mod_webapp (but not directly)... I have succesfully (yay!) built mod_webapp (and apr) using the native SUN C compiler on Solaris 2.8

mod_webapp build using native Sun compiler?

2001-07-30 Thread Thom Park
Hi Folks, has anyone managed to successfully build and run mod_webapp using the native c compiler on Sun (5.8)? I've had no end of grief with apr and mod_webapp. When I do get it to build I either get "apr_pstrdup not found" (on a good day) or a nasty "elf_xxx" (can't remember the exact routine

tar bundle of latest mod-Web source?

2001-07-20 Thread Thom Park
Hi all, is there a tarbundle somewhere of the latest (circa-Tomcat 4-b6) web-app connector stuff anywhere? I was a little bemused to see that the release announcment of TC4-b6 mentioned the all new webapp connector and then proceded to omit said source from the source bundle. Pulling the sourc

RE: cvs commit: jakarta-tomcat-connectors/webapp/lib pr_warp_config.c

2001-07-19 Thread Thom Park
how about load balancing ;-) -Original Message- From: Pier P. Fumagalli [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 8:20 AM To: [EMAIL PROTECTED] Subject: Re: cvs commit: jakarta-tomcat-connectors/webapp/lib pr_warp_config.c Thom Park at [EMAIL PROTECTED] wrote: > Pie

RE: cvs commit: jakarta-tomcat-connectors/webapp/lib pr_warp_config.c

2001-07-19 Thread Thom Park
Pier, I'm curious and appear to be too thick to understand exactly what the WebAppDeploy step does with the webAppConnector, could you find some time in your extremely busy schedule to jot down a few notes w.r.t. the what the WebAppDeploy/configure step does exactly. I'm curious to know what inf

InstanceListener event handling?

2001-07-10 Thread Thom Park
Hi Folks, more on the whole InstanceListener thing. First the good news - Inserting a DefaultContext at the Engine or Host level allows each Context that doesn't define the override attribute to successfully pick up the InstanceListener defined in the DefaultContext. I'm assuming that the only

RE: InstanceListener syntax?

2001-07-10 Thread Thom Park
I've had a better look at DefaultContext, it appears to do what I want - i.e. give me the ability to define InstanceListener once that will be applied for all contexts within a given host. Now I need to find out how to define a DefaultContext ;-) -Thom -Original Message- From: [EMAIL P

RE: InstanceListener syntax?

2001-07-10 Thread Thom Park
Hi Guys, I'm a wee bit confused - I was looking for the XML Syntax for the InstanceListener, not how it's being used within the default context. I've tried the following in server.xml (within a Context definition): my.instance.listener And this works fine, however it doesn't match th

RE: Connectors in Nightly builds?

2001-06-26 Thread Thom Park
s that warp (and mod_jk) don't cater for). If you need any help with the native-code side of things that then please let me know! -Thom -Original Message- From: Pier P. Fumagalli [mailto:[EMAIL PROTECTED]] Sent: Monday, June 25, 2001 7:19 PM To: [EMAIL PROTECTED] Subject: Re: Connector

RE: Connectors in Nightly builds?

2001-06-25 Thread Thom Park
_jk that worked with tomcat 4 ;-) -Thom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, June 25, 2001 3:17 PM To: [EMAIL PROTECTED] Subject: Re: Connectors in Nightly builds? On Mon, 25 Jun 2001, Thom Park wrote: > Hi > > Does anyone ha

Connectors in Nightly builds?

2001-06-25 Thread Thom Park
Hi Does anyone have an E.T.A. on when the connectors will return to the nightly builds and/or when they will return to being included in the nighty source drops? -Thom

header handling in WARP

2001-06-19 Thread Thom Park
Hello everyone, I have a question on how the Warp handler handles headers coming back from a request. In pr_warp.c, warp_handler,the following is written: /* Check if we got an HDR packet (header) */ if (i->type==TYP_REQUEST_HDR) { char *nam=p_rstring(i);

APR on Windows 2000????

2001-06-09 Thread Thom Park
Hi, This question pertains to the required APR library for mod_webapp. I understand that this might not be the best mail list to post this question, but if there are any hardy souls out there working with mod_webapp and NT, then they (hopefully) must have solved this problem already ;-) Has anyo

mod_webapp & APR

2001-04-18 Thread Thom Park
Hi, I'm not too familiar with APR, so forgive me if this is a stupid question ;-) If APR is an Apache 2.0 feature, does this mean that mod_webapp will only work with Apache 2.0? If so - what then for Apache 1.3 connectivity to tomcat 4? -Thom -- http://www.borland.com/newsgroups http://www.b

Re: Multi-byte character support.

2001-03-27 Thread Thom Park
Kazuhiro, thank you for your reply, I will investigate the possibility of using tomcat 3.2.b2 - however it is likely I will need to await 3.2.2 milestone before considering it as a release candidate. -Thom >Thom, > >From: "T. Park" <[EMAIL PROTECTED]> >Subject: Multi-byte character support. >Da

Re: Catalina vs.preServletInit et. al.

2001-03-23 Thread Thom Park
Hmm.. interesting - In my modification(s) I was setting some thread-local objects which were then used by some objects referred to in my servlet. i.e. I was setting a naming-context such that it referred to the naming context that was appropriate for my execution thread. If I register an event-

Re: The significance of root context

2001-01-01 Thread Thom Park
This is a known bug in tomcat and is documented in the release notes - I got bit by this one as well ;-) -T. David Soroko wrote: I am trying to understand the significance of the "root" context in TC 3.2. It seems that when no root context is defined i.e. when nothing is mapped to "" path and an

[Proposal] Fix for getUserPrincipal problem.

2000-12-31 Thread Thom Park
Hello! I have, what I believe is a fix for a problem reported by me earlier with getUserPrincipal, where two separate browser sessions return the same principal, even when the authorized users are different. The proposal is this: In several places in the code there are comments that state that t

*Propesed fix to security-role problem Addendum*

2000-12-14 Thread Thom Park
Apologies, I neglected to name the source file for the isUserInRole() method, it's org.apache.tomcat.core.RequestImpl.java regards, Thom

*proposed Fix to security-role problem*

2000-12-14 Thread Thom Park
Dear All, I'm not sure where to post this but I'd like someone to take a look at the following code and consider it for inclusion as a fix to a problem with security-roles in tomcat 3.2. The problem: According to the 2.2 spec. A servlet defintion may define aliases for security-roles (called sec

Re: Mapping Requests to Servlets

2000-11-14 Thread Thom Park
I think you'll find what you're looking for in org.apache.tomcat/request/SimpleMapper1.java though I must confess to being no expert ;-) -T Aron Kramlik wrote: > Hi, > > Could someone point me to the class in Tomcat where > the servlet mappings are implemented. i.e. Chapter 10 > of the