Fwd: tomcat and ISPs

2001-04-27 Thread James Duncan Davidson
Begin forwarded message: > From: John Nicholas <[EMAIL PROTECTED]> > Date: Fri Apr 27, 2001 06:26:04 AM US/Pacific > To: <[EMAIL PROTECTED]> > Subject: tomcat and ISPs > > Hi Duncan, > I'm writing you just because you were the first name on the "who we are" > page on jakarta.apache.org site :)

Problem with "HTTP Status 503 - This application is not currently available"

2001-04-27 Thread Robert Petersen
Today I decided to switch from a daily build (build 3/26/2001) to the 4.0b3 version of tomcat. I suddenly started getting this error. In addition to the default "localhost" (which works fine by the way) I have this virtual host defined. The log file has

RE: Jasper34: sandboxing/Priviledged

2001-04-27 Thread Steve Downey
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 27, 2001 8:37 PM > To: [EMAIL PROTECTED] > Subject: Jasper34: sandboxing/Priviledged > > > > The other concern is that in one use case for jasper34 it may create > problems. We would lik

RE: Jasper34: diffs between 1.1 and 1.2

2001-04-27 Thread Steve Downey
The only downside I see is that the security manager triggers the use of URLClassloader on a per JSP page basis. As I understand it, this class is broken w.r.t. Java 1.1. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, April 27, 2001 7:12 PM To: [EMA

Jasper34: sandboxing/Priviledged

2001-04-27 Thread cmanolache
Glenn, I hope you're around... Can you explain ( again ) the rationale for the doPriviledged() in PageContextImpl ? >From what I see, the release() doesn't do anything special, and init() does only the System.getProperty - but there are other ways to do that without a full Priviledged. 3.3 s

cvs commit: jakarta-tomcat/proposals/jasper34/runtime12 - New directory

2001-04-27 Thread costin
costin 01/04/27 16:55:09 jakarta-tomcat/proposals/jasper34/runtime12 - New directory

cvs commit: jakarta-tomcat/proposals/jasper34/runtime11 - New directory

2001-04-27 Thread costin
costin 01/04/27 16:55:04 jakarta-tomcat/proposals/jasper34/runtime11 - New directory

Jasper34: diffs between 1.1 and 1.2

2001-04-27 Thread cmanolache
Hi, There are few diffs between the runtime for 1.1 and 1.2. Some of them are obviously due to API changes ( additions mostly, only one change that I could identify - JspInclude ). Most are due to changes/fixes that went only in one branch ( various optimizations for 3.3, security manager for 4

Re: ERROR using multipart/form-data POST request

2001-04-27 Thread Andrey Kartashov
On Fri, Apr 27, 2001 at 11:17:32AM -0700, Lucian Cionca wrote: > The reason for this is a bug in the doRead() method of Ajp13ConnectorRequest, which > causes the > doRead(byte[] b, int off, int len) in that same class to prematurely end processing > . > The bug is in the conversion of the value re

Jasper34: Constants

2001-04-27 Thread cmanolache
One change - the Constants is used for "constnats" and for logging and localization. Constants.message() and getString() will be removed ( both 1.1 and 1.2 runtimes ), moved to JspFactoryImpl.ContainerLiaiason. I would also like to move some of the constants that are specific to a particular cl

Jasper34: runtime

2001-04-27 Thread cmanolache
Hi Mel, I noticed you used jakarta-tomcat/src/jasper34 for your protoype classes. If you don't mind, I would like to move them in proposals/jasper34/, and keep the work in jasper34 in the experimental area until it's ready. I'll do a small commit - I did a refactoring for the runtime ( 1.1

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

2001-04-27 Thread bip
bip 01/04/27 15:11:04 Added: catalina/docs JDBCStore-howto.html Log: Howto file explaining the use of Session persistence with JDBCStore Revision ChangesPath 1.1 jakarta-tomcat-4.0/catalina/docs/JDBCStore-howto.html Index: JDBCStore-howto.html

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

2001-04-27 Thread bip
bip 01/04/27 15:09:58 Modified:catalina/docs index.html Log: Added JDBCStore-howto entry Revision ChangesPath 1.6 +1 -0 jakarta-tomcat-4.0/catalina/docs/index.html Index: index.html ===

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

2001-04-27 Thread nacho
nacho 01/04/27 14:45:41 Modified:src/facade22/org/apache/tomcat/facade JspInterceptor.java Log: JspInterceptor compilation class path was wrong Submitted by William Barker wbarker at wilshire.com Revision ChangesPath 1.21 +6 -5 jakarta-tomcat/src/facade

cvs commit: jakarta-tomcat/src/share/org/apache/jasper/servlet JspServlet.java

2001-04-27 Thread marcsaeg
marcsaeg01/04/27 13:51:48 Modified:src/share/org/apache/jasper/servlet Tag: tomcat_32 JspServlet.java Log: The last commit accidentally remove a previous thread synchronization fix. The creation of the compiler in doLoadJSP() must be synchronized. Revi

RE: [PATCH] JspInterceptor compilation class path wrong TC3.3M2

2001-04-27 Thread Arun Katkere
This will probably fix bug 1059 (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1059). I will verify it after your commit. -arun > -Original Message- > From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 27, 2001 1:09 PM > To: '[EMAIL PROTECTED]' > Subject: RE: [P

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

2001-04-27 Thread larryi
larryi 01/04/27 13:30:10 Modified:src/share/org/apache/jasper/compiler StoredCharDataGenerator.java Log: Update code generation for "largeFile" option to explicitly specify java.io package. Won't compile otherwise. Revision ChangesPath 1.3

RE: [PATCH] JspInterceptor compilation class path wrong TC3.3M2

2001-04-27 Thread Ignacio J. Ortega
good catch, Many Thanks i will commit it ASAP.. Saludos , Ignacio J. Ortega > -Mensaje original- > De: William Barker [mailto:[EMAIL PROTECTED]] > Enviado el: jueves 26 de abril de 2001 22:49 > Para: [EMAIL PROTECTED] > Asunto: [PATCH] JspInterceptor compilation class path wrong TC3.

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core StandardContext.java

2001-04-27 Thread remm
remm01/04/27 12:57:39 Modified:catalina/src/share/org/apache/catalina/core StandardContext.java Log: - Should address bug 1469. There was name conflicts in the access controller of the naming context. Revision ChangesPath 1.55 +21 -8

Apache + ssl + mod_jk

2001-04-27 Thread Júlio Adrian Miño Van Helden
    Hi folks, how can i do apache+ssl+mod_jk on win32 systems.     Hugs.

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

2001-04-27 Thread remm
remm01/04/27 12:21:05 Modified:catalina/src/share/org/apache/naming/resources DirContextURLConnection.java Log: - Some NPE could happen when calling getLastModified() or getHeaderField(). Revision ChangesPath 1.8 +15 -4 jakarta-tomc

Re: Redirecting the Response of a JSP to a String

2001-04-27 Thread Jon Stevens
on 4/27/01 11:11 AM, "Sasha Haghani" <[EMAIL PROTECTED]> wrote: > Hey Jon, > > I took some time last night to scan through some of the source in the > Turbine CVS tree but I wasn't able to find the code where a JSP is being > called from within Turbine or where the response data is buffered in >

Re: starting/stopping contexts in Tomcat 4

2001-04-27 Thread Mark.Abbott
Thanks, Craig. This will greatly increase the usefulness of the Manager servlet because it can then be used to cause a reload of web.xml and the app classes by stopping and starting an app, which is far easier than having to redeploy the app or restart all of Tomcat. Something that needs to be

RE: Redirecting the Response of a JSP to a String

2001-04-27 Thread Sasha Haghani
Glenn, Thanks for the suggestion. One issue that still remains is how do I trigger the sendmail.jsp which uses the mailer taglib. I have some code executing on the server-side which needs to trigger this JSP, how would I go about doing that (short of opening a URLConnection to the JSP to simula

Re: ERROR using multipart/form-data POST request

2001-04-27 Thread Lucian Cionca
The reason for this is a bug in the doRead() method of Ajp13ConnectorRequest, which causes the doRead(byte[] b, int off, int len) in that same class to prematurely end processing . The bug is in the conversion of the value read from the bodyBuff byte-array, to an integer result. Bytes can have val

RE: Redirecting the Response of a JSP to a String

2001-04-27 Thread Sasha Haghani
Hey Jon, I took some time last night to scan through some of the source in the Turbine CVS tree but I wasn't able to find the code where a JSP is being called from within Turbine or where the response data is buffered in Turbine. Could you point me to classes and methods I should be looking at.

cvs commit: jakarta-tomcat-4.0/tester/web Xerces00.jsp

2001-04-27 Thread craigmcc
craigmcc01/04/27 11:09:41 Modified:jasper/src/share/org/apache/jasper/compiler JspParseEventListener.java ParserXJspSaxHandler.java XmlOutputter.java jasper/src/share/org/apache/jasper/resources messa

Re: ERROR using multipart/form-data POST request

2001-04-27 Thread Andrey Kartashov
On Fri, Apr 27, 2001 at 03:57:43AM +0200, Incze Lajos wrote: > > This error hapens when I try to upload file using form with > > enctype="multipart/form-data" and method="post". > > > > The environment: Linux(2.4.3), Apache(1.3.19), > > mod_jk and Tomcat (3.2.1), using ajp13 protocol. > > > > >

Re: NullPointers thrown during tester

2001-04-27 Thread Craig R. McClanahan
On Fri, 27 Apr 2001, Kief Morris wrote: > Recently, when I run tester my tomcat console shows scads of NullPointerExceptions: > The tests all pass though ... > A bunch of the exceptions that are logged are deliberate (testing the error page propogation mechanism and so on), but this one sound

RE: [PATCH] mod_jk apache20 shells

2001-04-27 Thread GOMEZ Henri
>I have tried mod_jk with apache20 and I have noted the shells >scripts to build >and install it need improvements. >Find enclosed the patch I have used. >apxs looks buggy... apxs -c -o mod_jk.so *.c does not work, >but it should ;=) I've built a RPM for Apache 2.0 and have provided some time

[PATCH] mod_jk apache20 shells

2001-04-27 Thread jean-frederic clere
Hi all, I have tried mod_jk with apache20 and I have noted the shells scripts to build and install it need improvements. Find enclosed the patch I have used. apxs looks buggy... apxs -c -o mod_jk.so *.c does not work, but it should ;=) Cheers Jean-frederic Index: build-unix.sh

Mem uses will grow Up on heavy Load

2001-04-27 Thread Wolle
Hello, My Servlet Enviroment is : Tomcat3.2.2b2 , Apache 1.3.17-10,mod_ssl 2.7.1-0, SUSE 7.1, ajp13 with mod_jk. When i ran my Servlets, the Memusage will grow up, thats normal ;-)) But when you make massiv Client request, the memusage rise extremly. The shell brings Messages from "Broken pipe",

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/server Ajp12.java

2001-04-27 Thread hgomez
hgomez 01/04/27 02:26:42 Modified:src/share/org/apache/tomcat/modules/server Ajp12.java Log: A quick and dirty patch to set SSL scheme in ajp12. We check if the web server port was 443 and in that case set the scheme to https I recommand you to use ajp13 instead :) Revis

Re: NullPointers thrown during tester

2001-04-27 Thread Remy Maucherat
> Recently, when I run tester my tomcat console shows scads of NullPointerExceptions: > The tests all pass though ... I just looked at my code in the url connection, and if the resource does not exist, it will throw a NPE. Oops. Adding a null check should fix it. Other methods in the class are al

Re: Cross context class loader bug ?

2001-04-27 Thread Remy Maucherat
> Hi all, > > I am using cross context dispatching in one of my web applications. In > order to do this I have the following setup in my server.xml file : > > > > > This is of course in a tag. I know this is a little extreme to put > the cross context in the default context bu

Re: Tomcat Source Javadoc

2001-04-27 Thread Alex Fernández
It's generated, together with class diagrams. You can browse it in http://nagoya.apache.org/~costin/tomcat3 Un saludo, Alex. Sasha Haghani wrote: > > Is there any Javadoc for the Tomact source? Can I generate it myself?

NullPointers thrown during tester

2001-04-27 Thread Kief Morris
Recently, when I run tester my tomcat console shows scads of NullPointerExceptions: The tests all pass though ... java.lang.NullPointerException at org.apache.naming.resources.DirContextURLConnection.getLastModified(DirContextURLConnection.java:247) at org.apache.jasper.compiler.

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session PersistentManagerBase.java

2001-04-27 Thread kief
kief01/04/27 00:55:47 Modified:catalina/src/share/org/apache/catalina/session PersistentManagerBase.java Log: - Overrode the remove() method to ensure sessions are also removed from the Store, mainly used to expire active sessions. - Changed unload

[BUG Report Tomcat 3.2] Reset connection with client

2001-04-27 Thread Aleksey Studnev
os : windows NT servlet container : tomcat 3.2 release Client wants to re-use socket connection for multiple requests from server - it is actually a feature of HTTP 1.1. This saves time on creating socket object, making TCP connection. What Tomcat i