Re: Jasper performance/3.3 tag pooling

2001-05-22 Thread Rickard Öberg
[EMAIL PROTECTED] wrote: > But in tomcat 3.3 we do a different trick - the thread pool is maintaining > a "local storage" for each thread, and it's passing it to the worker. > > The only synchronization in tomcat is in getting a thread from the thread > pool - besides that we shouldn't need anyth

Re: Jasper performance/3.3 tag pooling

2001-05-22 Thread Rickard Öberg
[EMAIL PROTECTED] wrote: > > > We know the pool is synchronized and that may create problems under heavy > > > load, and we know how to fix this ( by using a per/thread pool without > > > synchronization ). > > > > That is one solution, but what do you do with the pool after page > > request? > >

Re: RE: RE: Problem in Transferring session between http andhttps on Net scape

2001-05-22 Thread Peter Johnson
The standard ports are 80 and 443. I'd guess that on the production version of you app you will be running on 80 and 443. This will only be a problem while developing. Peter. - Original Message - From: Deepak Raina <[EMAIL PROTECTED]> Date: Tuesday, May 22, 2001 11:23 pm Subject: RE: R

RE: RE: Problem in Transferring session between http and https on Net scape

2001-05-22 Thread Deepak Raina
Well we are running http on 8085 and https on 8443? Isn't these there standard ports? we are trying liks this http://machineip:8085 & https://machineip:8443 Deepak Raina INTIQUA India B-65 Okhla Industrial Area - I New Delhi 110 0

Re: RE: Problem in Transferring session between http and httpson Net scape

2001-05-22 Thread Peter Johnson
Are you running HTTP and HTTPS of their standard ports? Netscape records the port number as part of the domain of the cookie. IE does not. This means that Netscape will not return a cookie unless the ports match or there is no port in the url. so I can pass a cookie between: http://www.foo.

RE: Problem in Transferring session between http and https on Netscape

2001-05-22 Thread Deepak Raina
Thanks for your reply but thing is we are not using URL rewriting.We are using cookies to maintain the session(default). And we are using cookies for other things like remeber password.That thinh is working fine in NETSCAPE. Only problem comes when we try to transfer from http to https or vice ver

cvs commit: jakarta-tomcat/src/tests/webpages/WEB-INF test-tomcat.xml

2001-05-22 Thread larryi
larryi 01/05/22 20:28:18 Modified:src/tests/webpages/WEB-INF test-tomcat.xml Log: Update expected results for couple of "security_chk" tests to correct for updated Tomcat behavior. Revision ChangesPath 1.31 +5 -7 jakarta-tomcat/src/tests/webpages/WEB-INF/tes

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

2001-05-22 Thread larryi
larryi 01/05/22 20:22:20 Modified:src/facade22/org/apache/tomcat/facade ServletOutputStreamFacade.java Log: Update flush() and close() to flush OutputBuffer's CharBuffer if necessary. Revision ChangesPath 1.3 +4 -0 jakarta-tomcat/src/

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

2001-05-22 Thread larryi
larryi 01/05/22 20:19:46 Modified:src/share/org/apache/tomcat/core OutputBuffer.java Log: Add flushCharsNeeded() method to allow detecting if the CharBuffer needs flushing. Also, set state to BYTE_STATE after flushing CharBuffer to avoid unnecessary additional flush. Revi

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

2001-05-22 Thread larryi
larryi 01/05/22 20:09:26 Modified:src/share/org/apache/tomcat/core Response.java Log: Update setBufferSize() to use OutputBuffer.isNew() to detect if buffer has been written. Fixes Watchdog servlet failure. Revision ChangesPath 1.51 +1 -8 jakarta-tomcat/src/

Re: ApplicationContextFacade ClassCaseException

2001-05-22 Thread Fabien Le Floc'h
since tomcat 4.0 beta 5, ServletConfig is not a Wrapper anymore. To have access to the wrapper, you need your servlet to implement the ContainerServlet (or extend, not sure about this detail). Look at ManagerServlet for more information. regards, Fabien Amy Roh <[EMAIL PROTECTED]> writes: >

Re: tomcat serves .jsp file contained in WEB-INF

2001-05-22 Thread Richard Wan
From: "Craig R. McClanahan" <[EMAIL PROTECTED]> > It's legal to access either of these URLs, however, in the following ways: > RequestDispatcher rd = > getServletContext().getRequestDispatcher("/WEB-INF/inside.jsp"); > rd.forward(request, response); Is the ability to request dispatch

RE: about warp protocol

2001-05-22 Thread GOMEZ Henri
Better to write a disector for Ethereal :) www.ethereal.com May be something to do also for ajp12/13/14 ?) - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B

Re: the ssi mediator

2001-05-22 Thread Bip Thelin
Martin van den Bemt wrote: > > Hi, > > I've been browsing through the util package > (catalaina/src/share/org/apache/catalina/util/* ) for my preperation of > writing tests. I came acros the SsiMediator. All the ssi commands created > there override SsiMediator and SsiMediator adds all the comma

Re: Precompiling JSP files

2001-05-22 Thread Oskar Zinger
You can use a -p option to tell it to use a package... jspc.sh -p com.somecompany.sompepackage SomeJSPFile.jsp And also they could be syntax errors and other errors... --- Oskar Zinger Wellington Pereira Alves wrote: > Hello, I´m trying to precompile my .jsp´s using jspc. It generated > l

ApplicationContextFacade ClassCaseException

2001-05-22 Thread Amy Roh
I'm getting this ServletException with the following message after new cvs checkout. The code was working fine before the cvs update. Anyone has an idea on what's been changed internally to cause this Exception? CGIServlet.java:355 contains these following lines. Wrapper wrapper = (Wrapper) ge

servlet.jar and jsp.jar

2001-05-22 Thread JULIEN,TIMOTHY (HP-NewJersey,ex2)
I see that Tomcat 4.0 is not yet using the new servlet.jar and jsp.jar that were released on April 24 by SUN. I think they are broken - servlet.jar is missing javax.servlet.LocalStrings.properties, javax.servlet.LocalStrings_es.properties, and javax.servlet.http.LocalStrings.properties files. Th

AJP14 - updated doc

2001-05-22 Thread GOMEZ Henri
Find attached the latest revision of AJP14. Thanks to comments since the work on ajp14 is still in progress and many code will be commited next week, all for handling AJP14 ... Regards - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY :

cvs commit: jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler JspParseEventListener.java XmlOutputter.java

2001-05-22 Thread horwat
horwat 01/05/22 14:43:37 Modified:jasper/src/share/org/apache/jasper/compiler JspParseEventListener.java XmlOutputter.java Log: Fix the syntax generated by XmlOutputter. Properly check and close an element with no body. Bugzilla #1819 Revision Ch

Re: the ssi mediator

2001-05-22 Thread Craig R. McClanahan
On Tue, 22 May 2001, Martin van den Bemt wrote: > Hi, > > I've been browsing through the util package > (catalaina/src/share/org/apache/catalina/util/* ) for my preperation of > writing tests. I came acros the SsiMediator. All the ssi commands created > there override SsiMediator and SsiMediat

Re: Tomcat4 Default Error Handling

2001-05-22 Thread Craig R. McClanahan
On Tue, 22 May 2001, Glenn Nielsen wrote: > Is there a way change the default way Tomcat 4 handles reporting of > errors to a remote user that can be configured globally? I would > like to set the default behaviour to something less intimidating than > a stack trace inc ase a customer hasn't c

Nullpointer exeption when try to read "welcome page" (tomcat 4 b6)

2001-05-22 Thread Martin van den Bemt
Hi, After a post in tomcat-user and not getting a reply, I dug into the Exception below myself and based on that I think it is appropiate to put it here. java.lang.NullPointerException at javax.servlet.http.HttpUtils.getRequestURL(HttpUtils.java:338) at org.apache.catalina.connec

New Tomcat web site

2001-05-22 Thread Marc Saegesser
The jakarta-tomcat-site repository has been created and populated. The Jakarta web site has been updated to point to the new stuff. The README.txt file in the root directory has basic instructions. I claim no great ability at site design or word-smithing so consider this a merely a jumping off

cvs commit: jakarta-tomcat-4.0/catalina/docs JDBCRealm-howto.html

2001-05-22 Thread bip
bip 01/05/22 13:47:10 Modified:catalina/docs JDBCRealm-howto.html Log: Changed the paragraph on how to digest passwords. Revision ChangesPath 1.4 +7 -2 jakarta-tomcat-4.0/catalina/docs/JDBCRealm-howto.html Index: JDBCRealm-howto.html ===

Re: about warp protocol

2001-05-22 Thread Pier P. Fumagalli
I'm writing a WARP debugger... Hold on :) :) :) Pier egcs12md at [EMAIL PROTECTED] wrote: > Hi, I find MOD_WEBAPP in Tomcat 4.0b5 can't accord with > src\connectors\docs\warp.html, and Tomcat-Apache frozen at http GET. this is > data transfer from start up: > **

the ssi mediator

2001-05-22 Thread Martin van den Bemt
Hi, I've been browsing through the util package (catalaina/src/share/org/apache/catalina/util/* ) for my preperation of writing tests. I came acros the SsiMediator. All the ssi commands created there override SsiMediator and SsiMediator adds all the commands to a hashtable of the commands. Isn't

cvs commit: jakarta-tomcat-4.0/catalina/src/bin digest.bat digest.sh

2001-05-22 Thread bip
bip 01/05/22 13:37:24 Added: catalina/src/bin digest.bat digest.sh Log: scripts to Digest password. Revision ChangesPath 1.1 jakarta-tomcat-4.0/catalina/src/bin/digest.bat Index: digest.bat ===

Tomcat4 Default Error Handling

2001-05-22 Thread Glenn Nielsen
Is there a way change the default way Tomcat 4 handles reporting of errors to a remote user that can be configured globally? I would like to set the default behaviour to something less intimidating than a stack trace inc ase a customer hasn't configured error handling in their JSP pages or web ap

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/naming ContextBindings.java

2001-05-22 Thread remm
remm01/05/22 13:10:42 Modified:catalina/src/share/org/apache/naming ContextBindings.java Log: - unbindThread(name) was inappropriately calling itself, instead of calling unbindThread(Object name, Object token). Patch submitted by Michael Amster (mamster at webeasy.com)

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

2001-05-22 Thread costin
costin 01/05/22 12:30:55 Modified:src/share/org/apache/tomcat/core OutputBuffer.java Log: Small fix in OutputBuffer - don't send bytes if the output was closed. ( this is an old bug that came back ) Revision ChangesPath 1.15 +1 -0 jakarta-tomcat/src/share/o

Re: Problem in Transferring session between http and https on Netscape

2001-05-22 Thread Casper Gjerris
- Original Message - From: "Deepak Raina" <[EMAIL PROTECTED]> > > I'm working on a website where some pages are to be kept in https >> and some on http.But when we transfer from https to http, >> session is not transferred in Netscape.It's working fine in IE. I believe that this is a qu

Precompiling JSP files

2001-05-22 Thread Wellington Pereira Alves
Hello,       I´m trying to precompile my .jsp´s using jspc. It generated lots of .java files. When I tried to compile (using javac) the generated .java files it gives hundreds of errors. I guess that the erros are caused because the generated java files doesn´t have the correct import senten

Re: Tomcat Interceptors - proof read, anyone?

2001-05-22 Thread cmanolache
One thing to note about interceptors is that the behavior is intended to be as close as possible with Apache modules, IIS filters and NES SAFs. If you read the docs for the 3 web servers you'll notice an amazing similarity between their extension mechanism ( which at least in Apache is also the

Re: Jasper performance/3.3 tag pooling

2001-05-22 Thread cmanolache
On Tue, 22 May 2001, Rickard Öberg wrote: > > Hash lookup is done once per jsp page - when the jsp page is first run. > > After that, it's basically a synchronized push / pop pair on all subsequent > > runs of the page. In the future we can even get rid of the synch by using > > thread local sto

cvs commit: jakarta-tomcat-site - Imported sources

2001-05-22 Thread marcsaeg
marcsaeg01/05/22 10:31:51 Log: Initial Tomcat Web Site Status: Vendor Tag: tomcat-site Release Tags: start N jakarta-tomcat-site/build.sh N jakarta-tomcat-site/build.xml N jakarta-tomcat-site/cpappend.bat N jakarta-tomcat-site/build.bat N jakarta-tomcat-site/REA

sessions across ServletContexts

2001-05-22 Thread Bartsch Axel
Hi, I am using TOMCAT 3.3 together with Apache (mode JK). I have defined 2 servlet contexts (two directories below webapps) with one TOMCAT instance. Now a user logs in at a servlet within context1 and a HttpSession object is created. Then this request is forwarded to a servlet within context2

Re: Jasper performance/3.3 tag pooling

2001-05-22 Thread cmanolache
On Tue, 22 May 2001, Rickard Öberg wrote: > Hi! > > [EMAIL PROTECTED] wrote: > > Could you send a small page ( and the taglibs ) and the test conditions ? > > I have sent taglib+page and test conditions to Costin. Thanks, I'll try to add it to the tests dir. > > > We know the pool is synchro

Re: Packaged tag libraries

2001-05-22 Thread Remy Maucherat
> Maybe I'm running a version that is too old (daily build from 5/12/2001) but > I cant find the method you sugest. What object is "getResourcePaths" on? ServletContext. Remy

Re: Directory explaination?

2001-05-22 Thread Craig R. McClanahan
On Tue, 22 May 2001, Bob Tanner wrote: > Can someone enlighten me on the directory layout of the 'dist' directory in > Tomcat 4.0? > > For instance, why is xerces.jar put into ./jasper/xerces.jar and > ./server/lib/xerces.jar? > > What is the common directory used for? > > I understand tomcat

RE: Problem in Transferring session between http and https on Netscape

2001-05-22 Thread Craig R. McClanahan
On Tue, 22 May 2001, Marc Saegesser wrote: > The code in Tomcat 3.2.x that encodeURL() uses to add the ;JSESSIONID= > string to the URL makes several tests in order to prevent encoding a session > ID onto a URL that doesn't belong the the current web application. One of > these tests compares th

[TC4b5] defining webapps in server.xml

2001-05-22 Thread Neeme Praks
I have the following webapp defined in server.xml: As a result, Tomcat should look for the docBase directory relative to the partition root directory, right? However, I get the following error when starting up: java.lang.IllegalArgumentException: Document base ..\webapps\opt\portal do

servlet mapping to root of the site and different web-app contexts

2001-05-22 Thread Neeme Praks
I'm trying to achieve the following effect: I have a servlet (Turbine/Jetspeed) that I want to map to the root of my website. And I have a bunch of images that I want to be served as-is from the filesystem. To achieve this effect, I have defined a root webapp context and mapped the servlet to th

Directory explaination?

2001-05-22 Thread Bob Tanner
Can someone enlighten me on the directory layout of the 'dist' directory in Tomcat 4.0? For instance, why is xerces.jar put into ./jasper/xerces.jar and ./server/lib/xerces.jar? What is the common directory used for? I understand tomcat is modular and you can define which XML parser you use for

RE: Packaged tag libraries

2001-05-22 Thread Robert Petersen
Maybe I'm running a version that is too old (daily build from 5/12/2001) but I cant find the method you sugest. What object is "getResourcePaths" on? Thanks, Robert -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED]] Sent: Monday, May 21, 2001 7:15 PM To: [EMAIL PROTECTED

Re: [Beta5]HttpRequestBase POST buglet

2001-05-22 Thread Mark T. Miller
Remy, So do agree that this is a bug then? Should I try to fix it? I have not tried to access the CVS archives yet, and I don't know if I should be trusted to make any changes anyway :-) Mark >Reading the URL parameters is done just above : > // Parse any parameters specified in the query st

RE: Problem in Transferring session between http and https on Netscape

2001-05-22 Thread Marc Saegesser
The code in Tomcat 3.2.x that encodeURL() uses to add the ;JSESSIONID= string to the URL makes several tests in order to prevent encoding a session ID onto a URL that doesn't belong the the current web application. One of these tests compares the URL scheme (HTTP, HTTPS) for the current request a

RE: Tomcat Interceptors - proof read, anyone?

2001-05-22 Thread GOMEZ Henri
Excellent, Please switch from GPL to Apache... - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6

Problem in Transferring session between http and https on Netscape

2001-05-22 Thread Deepak Raina
I had asked this problem yesterday also.Can somebody please tell me the solution??? > I'm working on a website where some pages are to be kept in https and some > on http.But when we transfer > from https to http, session is not transferred in Netscape.It's working > fine in > IE.We are using tom

RE: Tomcat Interceptors - proof read, anyone?

2001-05-22 Thread Paulo Gaspar
> -Original Message- > From: Antony Bowesman [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 22, 2001 7:47 AM > > Hi Filip, > > Filip Hanik wrote: > > > > Hi, > > I'm currently part of a project that is writing an open source > > Tomcat book, http://sourceforge.net/projects/tomcatbook.