Re: Thread-safety

2001-01-27 Thread Sam Ruby
Brian Goetz wrote: > > This statement is true, but very easy to misinterpret; be careful. > You can't use this to make an end-run around the problem in the > general case. If jspx_init() creates any objects, you've gotta > synchronize, plain and simple. If jspx_init() calculates > multiple primi

RE: Thread-safety

2001-01-27 Thread Paulo Gaspar
Bruce Eckel on his book "Thinking in Java" states that a simple method call (no parameters) takes 5.9 units of time while a synchronized method call takes 570. OTOH, object creation takes 980 which makes it an even worse alternative. (The used time unit is the time spent to perform a local assign

Re: Thread-safety

2001-01-27 Thread Sam Ruby
I got this as a private reply, but I believe that it is of general interest. - Sam Ruby Brian Goetz <[EMAIL PROTECTED]> on 01/27/2001 07:40:54 AM To: Sam Ruby/Raleigh/IBM@IBMUS cc: Subject: Re: Thread-safety > Hmm. Obviously this subject is much more subtle that I expected. Thanks > fo

Re: SSL Session problem with URL Rewriting

2001-01-27 Thread Mathias Bachner
On Fri, 26 Jan 2001, Craig R. McClanahan wrote: > Matthias, I just checked in a change to do exactly this, which will show up in > tonight's nightly build of Tomcat 4.0. Could you please try it and ensure that > it fixes your problem? Tried it. All works fine now. The SessionID gets proberly ad

RE: Thread-safety

2001-01-27 Thread Sam Ruby
Paulo Gaspar wrote: > > Bruce Eckel on his book "Thinking in Java" states that a simple > method call (no parameters) takes 5.9 units of time while a > synchronized method call takes 570. OTOH, object creation takes > 980 which makes it an even worse alternative. Normally I would say that numbers

[PATCH] ajp13 Apache autoconfig fix

2001-01-27 Thread Keith Wannamaker
This is a patch against cvs head to autogenerate ajpv13 support for Apache, if the ajpv13 module has been loaded. Also, update server.xml to show ajpv13 support. http://www.apache.org/~keith/jk/config.txt Keith - To unsubscrib

cvs commit: jakarta-tomcat/src/admin/test test.jsp

2001-01-27 Thread larryi
larryi 01/01/27 10:39:33 Modified:src/admin/WEB-INF/classes/tadm GTestTEI.java GTestTag.java src/admin/test test.jsp Log: Update GTestTag to add a gtestTestRevision attribute that retrieves the "revision" property from the test file, if present. If not present, it

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

2001-01-27 Thread larryi
larryi 01/01/27 10:41:05 Modified:src/tests/webpages/WEB-INF test-tomcat.xml Log: Add revision property. Revision ChangesPath 1.9 +2 -1 jakarta-tomcat/src/tests/webpages/WEB-INF/test-tomcat.xml Index: test-tomcat.xml ===

cvs commit: jakarta-tomcat STATUS.html

2001-01-27 Thread larryi
larryi 01/01/27 10:42:26 Modified:.STATUS.html Log: Add usability enhancements action item offered by Costin. Revision ChangesPath 1.11 +10 -1 jakarta-tomcat/STATUS.html Index: STATUS.html =

FW: BugRat Report #418 - Problem with include directive

2001-01-27 Thread Lan Jiang
Title: FW: BugRat Report #418 - Problem with include directive <> Hi, there, I download the Tomcat 3.2.1 on Window2000. I want to use its JSPC compiler to compiler some JSP files. I have c:\test\boo\foo1.jsp and c:\test\boo\foo2.jsp. foo1.jsp use JSP include directive <%@include file="fo

Successful configuring of tomcat 3.2.1 with apache 1.3.9

2001-01-27 Thread Manish Saxena
Daer Sir, This is in reference to the documentation regarding configuring apache 1.3.9 and tomcat3.0. The above matter is highly appreciable and i have tested the above configuration succesfully. This is to inform you the other configuration which i have tested independently i.e. tomcat3.2.1

Problem with Tomcat Version 3.2.1

2001-01-27 Thread mvibhas
Hi, There seems to be a problem with the zip file for Tomcat 3.2.1 available at the jakarta.apache.org. It doesn't contain the file xml.jar because of which an exception is thrown and the server doesn't start. I tried putting the 3.1 xml.jar file in the lib directory but still some exception was

getPathInfo problem in servlet

2001-01-27 Thread Stephen Wong
I am new to tomcat. I use tomcat3.2.1 binary version to install tomcat and found the request.getPathInfo() always return null, no matter it is in JSP or servlet. I simply add a line in the HelloWorldExample.java and it print null. I read from the past mail-archives that it is normal in

Apache JServ Status

2001-01-27 Thread Arne Bromann
I get internal server error if i modify and apply the status of an ApJServHost to take it away from the balancing. The jserv and tomcat configuration works. But i can not shutdown any host. Can i use mod_jserv for this or must i use mod_jk? I use TC 3.2.1 and JServ 1.1.2. Arne Germany

RE: Thread-safety

2001-01-27 Thread cmanolache
> > Bruce Eckel on his book "Thinking in Java" states that a simple > > method call (no parameters) takes 5.9 units of time while a > > synchronized method call takes 570. OTOH, object creation takes > > 980 which makes it an even worse alternative. > > Normally I would say that numbers such as t

Tomcat 4 CVS running a web app from a war file

2001-01-27 Thread Glenn Nielsen
I updated Tomcat 4 which has the new code that allows running directly from a WAR file. A few comments about this. I will refer to the 'examples' context in my comments. The directory 'work/localhost/examples/classes is created for the contents of 'webapps/examples/WEB-INF/classes. First, what

Re: Tomcat 4 CVS running a web app from a war file

2001-01-27 Thread Remy Maucherat
> I updated Tomcat 4 which has the new code that allows running directly > from a WAR file. A few comments about this. > > I will refer to the 'examples' context in my comments. > > The directory 'work/localhost/examples/classes is created for > the contents of 'webapps/examples/WEB-INF/classes.

Re: Tomcat 4 CVS running a web app from a war file

2001-01-27 Thread Glenn Nielsen
Remy Maucherat wrote: > > > I updated Tomcat 4 which has the new code that allows running directly > > from a WAR file. A few comments about this. > > > > I will refer to the 'examples' context in my comments. > > > > The directory 'work/localhost/examples/classes is created for > > the contents

Re: Tomcat 4 CVS running a web app from a war file

2001-01-27 Thread Remy Maucherat
> Remy Maucherat wrote: > > Then those jar files and class files need to be in a directory that won't possibly > conflict with jasper if a user has a directory named "classes" in the root of > their context which contains JSP's. Please use WEB-INF/lib and WEB-INF/classes > in the work dir context

cvs commit: jakarta-tomcat/src/share/org/apache/jasper/compiler JasperMangler.java

2001-01-27 Thread costin
costin 01/01/27 21:54:35 Added: src/share/org/apache/jasper JasperEngineContext.java JasperOptionsImpl.java src/share/org/apache/jasper/compiler JasperMangler.java Log: JspInterceptor: adding support for all options supported by Jasper.