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 primitive

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

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,

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 DataSource attachment 'Report-418.html' 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

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.

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 these

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 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.