cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/core BaseInterceptor.java Request.java

2001-03-07 Thread costin
costin 01/03/07 23:23:05 Modified:src/share/org/apache/tomcat/core BaseInterceptor.java Request.java Log: My last change for M2 - replaced the attempted get/setNote with get/setInfo. The hook is intended for lazy evaluation of request informations lik

RE: tag handler pooling ideas

2001-03-07 Thread cmanolache
On Wed, 7 Mar 2001, Casey Lucas wrote: > > Well I can do a pool per thread, but my assumption is that there could possibly > be a lot of tag handlers sitting around. Should this be a concern? Also, > I don't know the exact thread pooling model that Tomcat uses, but if > it creates and destroys

RE: tag handler pooling ideas

2001-03-07 Thread Casey Lucas
Thanks for the comments. > > Just a quick note - my experience so far with server-side performance is > that it doesn't matter how many objects you create, as long as you do it > only once ( and not for each request ). > Right. I was planning on using a web-application-wide collection of po

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/core Container.java

2001-03-07 Thread costin
costin 01/03/07 19:51:27 Modified:src/share/org/apache/tomcat/core Container.java Log: Small fix - getContextManager() instead of contextM. Probably some of those lazy-initialziations should be removed - it's great for performance when it's in the critical path, but for init

RE: tag handler pooling ideas

2001-03-07 Thread Casey Lucas
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Hans > Bergsten > Sent: Wednesday, March 07, 2001 9:06 PM > To: [EMAIL PROTECTED] > Subject: Re: tag handler pooling ideas > > > Casey Lucas wrote: > > > > I am planning on implementing tag handler p

Re: tag handler pooling ideas

2001-03-07 Thread cmanolache
Just a quick note - my experience so far with server-side performance is that it doesn't matter how many objects you create, as long as you do it only once ( and not for each request ). I don't think doing any reuse inside a page ( i.e. same tag instance beeing reused during a request ) is wor

Re: tag handler pooling ideas

2001-03-07 Thread Hans Bergsten
Casey Lucas wrote: > > I am planning on implementing tag handler pooling and would like > to throw out a few ideas for feedback: > > assumptions: > - Tag handlers can only be reused if the same set of attributes > are used for the tag. > > - Tag.relese is called only once -- at some point befor

Tomcat 4 server.xml bug

2001-03-07 Thread Glenn Nielsen
We are trying to implement a to be configured in the Tomcat 4 server.xml within a or . When Tomcat starts up the Context and tries to add the Listener Class a ClassNotFoundException is thrown for the org.apache.catalina.LifecycleListener interface which it has to implement in order to be a Lis

RE: Design Review for ajp13's changes: WAS problem w/ ajp13 - if Tomc at is shutdown

2001-03-07 Thread Shinta Tjio
Title: RE: Design Review for ajp13's changes: WAS problem w/ ajp13 - if Tomc at is shutdown Attached are the unified diffs for the proposed changes. They are diffs against the 3.2.1 release code. I hope this is sufficient. I haven't got to use Solaris patch tool yet. These are tested on Solar

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/generators StaticInterceptor.java

2001-03-07 Thread costin
costin 01/03/07 17:09:53 Modified:src/share/org/apache/tomcat/modules/config ContextXmlReader.java ServerXmlReader.java src/share/org/apache/tomcat/modules/generators StaticInterceptor.java Log: Added code to support an

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/xml XmlMapper.java

2001-03-07 Thread costin
costin 01/03/07 17:08:07 Modified:src/share/org/apache/tomcat/util/xml XmlMapper.java Log: Added code to replace the attributes using ${property}, ant-style, as proposed. This works for all attributes set using SetProperties ( i.e. automatic introspection ) ( also setVaria

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util IntrospectionUtils.java

2001-03-07 Thread costin
costin 01/03/07 17:06:01 Modified:src/share/org/apache/tomcat/util IntrospectionUtils.java Log: Added replaceProperties - cut&paste from ant, with dependencies removed. It can be used with a Hasthable storing properties or with a simple adapter ( the PropertySource - it's used

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/config ProfileLoader.java

2001-03-07 Thread costin
costin 01/03/07 16:59:42 Modified:src/share/org/apache/tomcat/modules/config ProfileLoader.java Log: Another step in ProfileLoader implementation. Now it has support for separate class loaders for each profile, allowing groups of application that share a

[Bug 189] New - Session BugRat Report#275

2001-03-07 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=189 *** shadow/189 Wed Mar 7 16:50:04 2001 --- shadow/189.tmp.12567Wed Mar 7 16:50:05 2001 *** *** 0 --- 1,19 + ++ + | Session BugRat Repo

tag handler pooling ideas

2001-03-07 Thread Casey Lucas
I am planning on implementing tag handler pooling and would like to throw out a few ideas for feedback: assumptions: - Tag handlers can only be reused if the same set of attributes are used for the tag. - Tag.relese is called only once -- at some point before the handler is garbage collected.

cvs commit: jakarta-tomcat/src/doc/appdev source.html

2001-03-07 Thread marcsaeg
marcsaeg01/03/07 16:56:42 Modified:src/doc/appdev Tag: tomcat_32 source.html Log: The source for the example bulid.bat was incorrect. There is a missing %CP% on the second set. The example build.bat file was fixed ages ago but the documentation hadn't gotten updated. PR:

Re: Design Review for ajp13's changes: WAS problem w/ ajp13 - ifTomc at is shutdown

2001-03-07 Thread cmanolache
Hi Shinta, It's sounds like a solution to a real problem, please send a patch, I'm sure someone will read it. Dan and Henri are the best people to ask about this, I can also help a bit ( I've been using RPMs lately, it's too easy to get them and not worry about compile :-) My only sugestion/conc

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/mappers ReloadInterceptor.java

2001-03-07 Thread costin
costin 01/03/07 15:52:49 Modified:src/share/org/apache/tomcat/modules/mappers ReloadInterceptor.java Log: Set the DependManager on contextAdd, it'll be available in contextInit ( no need to check/create, all options are set in the ReloadInterceptor, wher

RE: Tomcat startup time

2001-03-07 Thread Marc Saegesser
This has been fixed in 3.2.2 (currently in beta) and 4.0. I think its fixed in 3.3, too, but I'm not positive. > -Original Message- > From: Richard Wan [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 07, 2001 5:25 PM > To: [EMAIL PROTECTED] > Subject: Re: Tomcat startup time > > > Pe

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/config LoaderInterceptor11.java

2001-03-07 Thread costin
costin 01/03/07 15:51:08 Modified:src/share/org/apache/tomcat/modules/config LoaderInterceptor11.java Log: Simplified reloading - the DependManager is set by ReloadInterceptor, if the user wants to enable reloading. LoaderInterceptor will use it if av

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/config AutoDeploy.java

2001-03-07 Thread costin
costin 01/03/07 15:48:59 Modified:src/share/org/apache/tomcat/modules/config AutoDeploy.java Log: Added 1/2 of the code to support "reloadable", tested it ( i.e. the change in .war is detected ). Reloading still needs more testing, the first request after a reload seems to

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/depend DependManager.java Dependency.java

2001-03-07 Thread costin
costin 01/03/07 15:39:21 Modified:src/share/org/apache/tomcat/util/depend DependManager.java Dependency.java Log: Add "reset" - this remove the need to replace the DependManager on reloading, and most of the extra setup. Revision ChangesPath 1.

Re: Tomcat startup time

2001-03-07 Thread Richard Wan
Petr Jiricka <[EMAIL PROTECTED]> wrote: > I noticed that the time to serve the first servlet or a JSP has increased > dramatically. I traced this down to the initialization of > java.security.SecureRandom, which is used for generating the session IDs. On is there a way to configure the server.xm

dashes ('-') in custom tag names

2001-03-07 Thread Waldhoff, Rodney
Either I'm reading the spec wrong, or Jasper isn't treating these right. In the JSP 1.1 spec (ftp://ftp.java.sun.com/pub/jsp/11final-87721/jsp1_1-spec.pdf), Section 5.3.5 notes that the name element under the tag element has the following model: #PCDATA ::= NMTOKEN (The JSP 1.2 describes cus

Design Review for ajp13's changes: WAS problem w/ ajp13 - if Tomcat is shutdown

2001-03-07 Thread Shinta Tjio
Title: Design Review for ajp13's changes: WAS problem w/ ajp13 - if Tomcat is shutdown Hi, all, I would like to propose some changes to eliminate the requirement to restart Apache, when you restart Tomcat. I'm willing to give the code to anyone who needs it, when I'm done testing. But I nee

RE: FW: problem w/ ajp13 - if Tomcat is shutdown

2001-03-07 Thread Shinta Tjio
Title: RE: FW: problem w/ ajp13 - if Tomcat is shutdown > BTW we should redirect this to the tomcat-users list as I don't think > its a development issue. Sorry about that. > I don't see anything wrong, and the only drastic difference from my > previous setup was that I had used the defa

gzip

2001-03-07 Thread Parayali, Jayesh 1065
Title: gzip Hi, Right now I can send gzipped output from servlet only. I would like to have this done in JSP too. Is it possible to create an appropriate type of  jspwriter depending on the encoding type of the request. I am willing to work on it. I may need some help in understanding th

socket write error

2001-03-07 Thread VijayKumar Sarraju
Hi I am working on Tomcat 3.2 and whenever I login to my application I am getting following error notification, though my application doesn't stop working. Could I some feedback on how to avoid such error notification on my server. Thanks for your time. Vijay Error Message on Tomcat: 2001-

cvs commit: jakarta-tomcat/src/facade22/org/apache/tomcat/facade HttpServletResponseFacade.java

2001-03-07 Thread larryi
larryi 01/03/07 13:29:45 Modified:src/facade22/org/apache/tomcat/facade HttpServletResponseFacade.java Log: Port changes from tomcat_32 by Marc Saegesser This fixes some additional problems uncovered by the fix for Bugzilla 160. The isEncodable()

cvs commit: jakarta-tomcat/src/admin/WEB-INF/scripts run-test.sh

2001-03-07 Thread costin
costin 01/03/07 12:36:17 Modified:src/admin/WEB-INF/scripts run-test.sh Log: Fix in the test script Revision ChangesPath 1.2 +4 -3 jakarta-tomcat/src/admin/WEB-INF/scripts/run-test.sh Index: run-test.sh =

RE: FW: problem w/ ajp13 - if Tomcat is shutdown

2001-03-07 Thread oliver2, andy
BTW we should redirect this to the tomcat-users list as I don't think its a development issue. I don't see anything wrong, and the only drastic difference from my previous setup was that I had used the default 8007 and 8009. Now This is purely a guess, but I seem to remember reading that ports

Advice on Realm implementation wanted.

2001-03-07 Thread DUDGEON
I'm putting together a LDAPRealm implementation for catalina and have the basic setup working. I would welcome some advice on implementation issues. I would prefer to avoid a round trip to the LDAP server (presumably the same could apply for a JDBCRealm or whatever) for each page requested. Hence

RE: cannot instantiate class exception in Realm

2001-03-07 Thread DUDGEON
I located this myself eventually. Another example of the sealing violation problem that's been discussed previously. Problem solved by using the current build. Tim Dr. Tim Dudgeon, Head R&D Informatics British Biotech Pharmaceuticals Watlington Road,

cvs commit: jakarta-tomcat/src/examples/WEB-INF/classes LocalStrings_fr.properties

2001-03-07 Thread larryi
larryi 01/03/07 07:06:59 Modified:src/examples/WEB-INF/classes LocalStrings_fr.properties Log: Add strings for updated SessionExample servlet. Submitted by: Henri Gomez Revision ChangesPath 1.3 +6 -1 jakarta-tomcat/src/examples/WEB-INF/classes/LocalStri

cvs commit: jakarta-tomcat/src/examples/WEB-INF/classes LocalStrings_fr.properties

2001-03-07 Thread larryi
larryi 01/03/07 07:06:07 Modified:src/examples/WEB-INF/classes Tag: tomcat_32 LocalStrings_fr.properties Log: Add strings for updated SessionExample servlet. Submitted by: Henri Gomez Revision ChangesPath No revision

Re[2]: ajp13 file upload bug

2001-03-07 Thread Tomasz.Sucharzewski
Hi, i had the same problem with apjv3 and file upload. I also use oreily package, here is the solution: - Dan Milstein suggested to use tomcat 3.2.2b that has some fixes in apjv3 protocol, well i installed that version and it works fine. - According to oreily package, there is a limitation of file

Re: Jasper JspRuntimeLibrary.java jspSetproperty with value="" does not set the property

2001-03-07 Thread Glenn Nielsen
Which version of Tomcat are you refering to? I recall the discussion, and that a solution was implemented in at least Tomcat 3.2. I am using jsp:setPorperty with value="" in some JSP pages running in Tomcat 3.2. Regards, Glenn Burkard Endres wrote: > > Hi > > I've seen a Messagethread a whi

Re: ajp13 file upload bug

2001-03-07 Thread Rick Knowles
I also had this problem, although I was using my own Multipart Handler class based on Javamail. The upload works correctly using ajp12, but puts jibberish in the logs when ajp13 is substituted in. R - Original Message - From: "Stefan Busse" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent

ajp13 file upload bug

2001-03-07 Thread Stefan Busse
here we go... btw our system is Solaris 2.8 on Intel / Apache 1.3.17, compiled with gcc-2.95.2. Tomcat is run by jdk1.3. Maybe the problem is related with assumptions about header-sizes implemented in ajp13 ? > Can you post this to the tomcat-dev mailing list? > > -jh- > >> Stefan Busse wrote: >>

Re: Jasper JspRuntimeLibrary.java jspSetproperty with value="" does not set the property

2001-03-07 Thread Burkard Endres
Hi I've seen a Messagethread a while ago (dated 12.20.2000), where is mentioned that it is impossible to set an empty String in an property. I've had the same Problem and here I want to commit my solution. It migth be integrated in the class org.apache.jasper.JspRuntimeLibrary: here is what I cha

Re:Patches in Bugzilla

2001-03-07 Thread Tomasz.Sucharzewski
I agree, i have the same problem when i try to get paches from that list. I use cc:mail that often makes emails understandable. Would it be possible to send a parts of code in attachments as a plain text? I think it is the solution. Regards, Tomasz Sucharzewski ING Bank Reply