[PATCH] EmbededTomcat addSecureEndpoint(...)

2000-11-02 Thread Stefán F. Stefánsson
I think this should go into the Tomcat 3.2 final build if humanly possible... The problem was simply that the keystore and keypass attributes were never being set so Tomcat couldn't find it when starting the webserver. Also, it didn't take the possibility of having client authentication into cons

RE: Tomcat 4.0 Milestone 4

2000-11-02 Thread GOMEZ Henri
How could we find more information (and even code) about mod_warp ? I'll very happy to test it on Apache 1.3.14 . BTW will it be used in TC 3.3 ? "La maîtrise des autres n'est que la force. La maîtrise de vous-même est le véritable pouvoir" -- Lao Tzu >-Original Message- >From: Crai

RE: [ANNOUNCE] Tomcat 4.0 Milestone 4

2000-11-02 Thread GOMEZ Henri
Just finished my RPM but still got the examples problem as in m3 release ;-( But if you unzip examples.war in webapps/examples no more problem http://rpmized.free.fr PS: Did you have a patch I could apply in my RPM. => Using CLASSPATH: /var/tomcat4/bin/bootstrap.jar:/var/tomcat4/bin/servlet.j

RE: cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util M essageBytes.java MimeHeaders.java MimeMap.java SessionIdGenerator.java

2000-11-02 Thread Costin Manolache
--- Larry Isaacs <[EMAIL PROTECTED]> wrote: > Hi Costin, > > Good to see you back. > > FYI: My helper\SessionUtil.java is still looking for > SessionIdGenerator.generateId(). Did you mean to > commit SessionUtil.java > too? Yes, but there are few other changes and I need to "serialize" the c

Fw: Tomcat as a service on NT

2000-11-02 Thread José Luis Gómez Bocanegra
    Hi Tomcat team,   I'm trying to use Tomcat as a service on NT, but I can see an error in stderr.log file, this error is:   java.lang.NoClassDefFoundError: javax/xml/parsers/SAXParserFactory   Where can I find this class?   My CLASSPATH contains:    jaxp.jar, jasper.jar, webserver.ja

BugRat Report #329 has been filed.

2000-11-02 Thread BugRat Mail System
Bug report #329 has just been filed. You can view the report at the following URL: REPORT #329 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: docbug State: received Priority: high Severity: seri

BugRat Report #330 has been filed.

2000-11-02 Thread BugRat Mail System
Bug report #330 has just been filed. You can view the report at the following URL: REPORT #330 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: docbug State: received Priority: high Severity: seri

RE: Hello? Anybody?

2000-11-02 Thread Larry Isaacs
Hi Ethan, I was hoping that someone more experienced would respond. I am looking at an issue related to servlets throwing UnavailableExceptions which is impacted by the tendency of Handler.java and ServletWrapper.java to eat exceptions. As a result, I've been trying to reach an understanding of

Re: Tomcat 4.0 Milestone 4 performance measurement

2000-11-02 Thread Roy Wilson
Hi, (1) System throughput and response time data collection I plan to do measurements myself using Henri Gomez' rpmized version of TC-4.0-m4, but since machines and environments differ, it might be interesting to know what kind of total time, throughput, avg and max connection and processing

RE: Hello? Anybody?

2000-11-02 Thread Ethan Wallwork
Thank you for responding! The PageContext.handleException() is for handling unhandled page level exceptions. It is declared as throwing ServletException and IOException. The Tomcat implementation calls the errorPage if there is one, otherwise it wraps the exception in a ServletException and thr

Re: [ANNOUNCE] Tomcat 4.0 Milestone 4

2000-11-02 Thread Craig R. McClanahan
GOMEZ Henri wrote: > Just finished my RPM but still got the examples problem as in m3 release ;-( > But if you unzip examples.war in webapps/examples no more problem > > http://rpmized.free.fr > > PS: Did you have a patch I could apply in my RPM. > The bug still exists, so the workaround (leave

Re: Tomcat 4.0 Milestone 4

2000-11-02 Thread Craig R. McClanahan
GOMEZ Henri wrote: > How could we find more information (and even code) about mod_warp ? > Talk to Pier Fumagalli ([EMAIL PROTECTED]), who is writing it. Pier has indicated that as soon as he's got a version that doesn't coredump on 2 out of 3 requests, it will be posted into CVS so everyone ca

Re: Tomcat 4.0 Milestone 4 performance measurement

2000-11-02 Thread Craig R. McClanahan
I agree that it's definitely time to start doing this. However, to have useful results, it is important that we execute the same test procedures -- otherwise, you cannot even reproduce the same results reliably on the same platform. Roy, would it be possible for you to write us a simple "cookboo

Re: Hello? Anybody?

2000-11-02 Thread Craig R. McClanahan
Ethan Wallwork wrote: > Since the spec implies that exceptions should be thrown from a > RequestDispatcher call rather than handled, and there seems to be nothing in > the spec that forbids this behavior, I would like to see it implemented this > way. Does anyone know of any reasons it shouldn't

RE: Hello? Anybody?

2000-11-02 Thread Larry Isaacs
Thanks Craig, To support this behavior, should the spec require that for a JSP that is "included" or "forwarded", handlePageException() is required to propagate the exception back to the caller? Currently, it just says that if there is no error page, it should "perform some implementation depend

RE: Hello? Anybody?

2000-11-02 Thread Larry Isaacs
Clarification to text below: To support this behavior, should the spec require that for a JSP that is "included" or "forwarded", handlePageException() is required to propagate the exception back to the caller if there is no error page specified ? -Original Message- From: Larry Isaacs [m

Re: Hello? Anybody?

2000-11-02 Thread Craig R. McClanahan
Larry Isaacs wrote: > Thanks Craig, > > To support this behavior, should the spec require that for a JSP that is > "included" or "forwarded", handlePageException() is required to propagate > the exception back to the caller? Currently, it just says that if there is > no error page, it should "pe

TC3.3: A number of changes

2000-11-02 Thread cmanolache
Hi, It's nice to have a vacation, and long flights are great too :-) As you may remember, some time ago I proposed few big goals for tomcat 3.3: 1. Support non-ASCII charsets. That includes detecting the input encoding, and correct decoding of URI and headers ( based on the HTTP standard and wit

Re: Hello? Anybody?

2000-11-02 Thread Craig R. McClanahan
Larry Isaacs wrote: > Clarification to text below: > > To support this behavior, should the spec require that for a JSP that is > "included" or "forwarded", handlePageException() is required to propagate > the exception back to the caller if there is no error page specified > ? > How about the

BugRat Report #332 has been filed.

2000-11-02 Thread BugRat Mail System
Bug report #332 has just been filed. You can view the report at the following URL: REPORT #332 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: swbug State: received Priority: medium Severity: ser

Re: BugRat Report #83 - When running the examples, compilation from jsp to java enters an endless loop, filling the filesystem

2000-11-02 Thread Carlos Anjos
BugRat Mail System wrote: > > - Sender's Comment - > Hi, Carlos, have you solved this in any manner, from a thread in Tomcat-user o dev i >dont remenber i took that this bug it a JDK problem, if have solved this in any >manner let me know please to add a workaround to the bug, thanks. >

Performance measurement scripting

2000-11-02 Thread Roy Wilson
Craig, I have a bash shell script that (currently) drives Apache, sar, and sa on a RedHat6.1 system. I will doctor it a bit and post it tonight to see if there are suggestions about what to include, modify, leave out, so that it will span most Unix/Linux systems. Roy -- Roy Wilson E-mail: [E

TC3: New config mechansims

2000-11-02 Thread cmanolache
Hi, I would like to propose a number of changes to the way tomcat is set up and configured. 1. Support for virtual hosts. AutoSetup uses TOMCAT_HOME/webapps, but that doesn't allow virtual hosts. The new mechanism should use something like TOMCAT_HOME/hosts, with DEFAULT used for the default ho

BugRat Report #83 was closed (apparently by: Ignacio Ortega)

2000-11-02 Thread BugRat Mail System
Report #83 was closed by Person #0 Synopsis: When running the examples, compilation from jsp to java enters an endless loop, filling the filesystem (logged in as: Ignacio Ortega) - To unsubscribe, e-mail: [EMAIL PROTECTED]

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

2000-11-02 Thread costin
costin 00/11/02 13:12:02 Added: src/share/org/apache/tomcat/util IntrospectionUtils.java Log: Various utilities using introspection to do tricks. hasHook is used to determine if a class "overrides" a method in a parent class. Other common ( high level ) introspection

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/context DefaultCMSetter.java

2000-11-02 Thread costin
costin 00/11/02 13:14:39 Modified:src/share/org/apache/tomcat/context DefaultCMSetter.java Log: Moved "DEFAULT_WORK_DIR" from ContextManager to an interceptor. The setting can be changed ( if tomcat is integrated in other products for example ), and "core" shouldn't depend on w

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/context ErrorHandler.java

2000-11-02 Thread costin
costin 00/11/02 13:17:41 Modified:src/share/org/apache/tomcat/context ErrorHandler.java Log: Removed ContextManger.getDefaultContext(). The method doesn't work with virtual hosts, and it wasn't used in any other place then ErrorHandler. Any Context that needs the "/" we

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/context LogEvents.java

2000-11-02 Thread costin
costin 00/11/02 13:18:56 Modified:src/share/org/apache/tomcat/context LogEvents.java Log: Just indentation ( 80 columns ). Revision ChangesPath 1.6 +27 -10 jakarta-tomcat/src/share/org/apache/tomcat/context/LogEvents.java Index: LogEvents.java =

BugRat Report #333 has been filed.

2000-11-02 Thread BugRat Mail System
Bug report #333 has just been filed. You can view the report at the following URL: REPORT #333 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: swbug State: received Priority: high Severity: criti

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

2000-11-02 Thread costin
costin 00/11/02 13:24:44 Modified:src/share/org/apache/tomcat/core BaseInterceptor.java Log: Moved "hasHook" to an interceptor, it's used by Container when it adds a hook. Added more comments, moved auxiliary code at end of the file. Removed unused code ( the old methods[]

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

2000-11-02 Thread costin
costin 00/11/02 13:27:09 Modified:src/share/org/apache/tomcat/core Context.java Log: More work on defining Context "state". Call directly the container to get the interceptors. Revision ChangesPath 1.126 +31 -12jakarta-tomcat/src/share/org/apache/tomcat/cor

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

2000-11-02 Thread costin
costin 00/11/02 13:35:34 Modified:src/share/org/apache/tomcat/core ContextManager.java Container.java Log: Big changes: - Fixed the code to match the comments :-) ( i.e. respect the server state, make sure the callbacks are called in the right order -

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

2000-11-02 Thread costin
costin 00/11/02 13:39:13 Modified:src/share/org/apache/tomcat/core Request.java Log: - Added request "state" - Replaced String with MessageBytes for request components ( uri, method, protocol, etc). ( needed for no-ascii charset support, performance ) - replace getWrapp

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/task ApacheConfig.java StartTomcat.java StopTomcat.java

2000-11-02 Thread costin
costin 00/11/02 13:45:12 Modified:src/share/org/apache/tomcat/context LoadOnStartupInterceptor.java src/share/org/apache/tomcat/core Handler.java OutputBuffer.java Response.java src/share/org/apache/tomcat/he

cvs commit: jakarta-tomcat/src/facade23/org/apache/tomcat/facade23 HttpServletRequestFacade.java HttpServletResponseFacade.java RequestDispatcherImpl.java ServletWrapper.java

2000-11-02 Thread costin
costin 00/11/02 13:51:47 Modified:src/facade22/org/apache/tomcat/facade HttpServletRequestFacade.java HttpServletResponseFacade.java RequestDispatcherImpl.java Servlet22Interceptor.java Serv

cvs commit: jakarta-tomcat/src/examples/WEB-INF/classes Hello.java HelloW.java

2000-11-02 Thread costin
costin 00/11/02 13:57:02 Modified:.build.xml src/examples/WEB-INF/classes Hello.java HelloW.java Log: Few changes to Hello and HelloW ( 100 bytes output ) Removed old tags from build.xml Revision ChangesPath 1.89 +2 -53 jakarta-tomca

Struts and Mod_jk Tomcat 3.2 Problems

2000-11-02 Thread Ron Bolin
Is the Mod_jk connector suppose to work with Struts under Tomcat 3.2? I got Struts to work (end-2-end) with Tomcat 3.2's mod_jserv, but not mod_jk. I cannot get Struts to work with mod_jk when using the connector through Apache 1.3.12. All I get is the raw JSP text on the browser screen. I used

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/util InstanceSupport.java

2000-11-02 Thread craigmcc
craigmcc00/11/02 15:04:50 Modified:catalina/src/share/org/apache/catalina InstanceEvent.java catalina/src/share/org/apache/catalina/core ApplicationFilterChain.java StandardWrapperValve.java catalina/src/share

RE: Hello? Anybody?

2000-11-02 Thread Ethan Wallwork
The way Tomcat implements handlePageException() isn't really the source of the problem here. Yes, if there is an error page defined, then it will stop the exception from propagating. If there isn't, then Tomcat just rethrows the exception. This is good. The problem happens when this exception

Re: Tomcat 3.2 release (again) ?

2000-11-02 Thread Jim Driscoll
"[EMAIL PROTECTED]" wrote: > > On Mon, 30 Oct 2000, Petr Jiricka wrote: > > > Hi, > > > > I'd like to ask where the Tomcat 3.2 final release discussions are right > > now. It seemed that the last outstanding issue was the compilation under JDK > > 1.1, but that should be fixed now. So is there s

Help, Tomcat 3.1 refusing connections

2000-11-02 Thread John Gentilin
I have developed a servlet that receives request by overiding httpServlet#service() and sends a response. The traffic back an forth is a small XML formatted block ( < 1K ). To test my servlet, I have a simple java application that formats requests and sends them to the Servlet through URL Connec

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

2000-11-02 Thread craigmcc
craigmcc00/11/02 16:21:17 Modified:catalina/src/share/org/apache/catalina/core ApplicationContext.java ContainerBase.java StandardContext.java catalina/src/share/org/apache/catalina/session StandardSe

TC4.0 Linux/Unix measurement scripts

2000-11-02 Thread Roy Wilson
Hi, Per Craig's request, here are the script files I used to develop the Apache-based presentation mentioned in an earlier post. Assuming I understand the ab source code, the scripts represent a setting involving single-request clients (who make a request and wait for a reply before making a

Arabic Encoding problem with tomcat!

2000-11-02 Thread Falcon cheetah
I am using Tomcat 3.2.6 with Apache 1.3.14 on RH6.1. I am writing a WebMail application using JSP, JavaMail, etc. To write Arabic emails I wrote an applet that takes care of that and it works fine. My problem is when I send. my Editor_ar.jsp submits its form to handleMailaction.jsp where it shoul

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

2000-11-02 Thread remm
remm00/11/02 22:46:55 Modified:catalina/src/share/org/apache/catalina/core StandardContext.java Log: - Fix for a dumb initialization problem of the naming context, where naming entries which were including paths could be bound to an incorrect path.

BugRat Report #334 has been filed.

2000-11-02 Thread BugRat Mail System
Bug report #334 has just been filed. You can view the report at the following URL: REPORT #334 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: swbug State: received Priority: low Severity: non-cr

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

2000-11-02 Thread remm
remm00/11/02 23:30:59 Modified:catalina/src/share/org/apache/naming EjbRefAddr.java ResourceEnvRefAddr.java ResourceRefAddr.java Log: - RefAddr.toString() actually does getContent().toString(), so overriding getContent() and returning "this" is not a

Tomcat as a Service on NT

2000-11-02 Thread Miller, Anthony
Hi, I have installed Tomcat as a service on NT but now it can't see the classes111. zip file for the oracle driver. I've tried adding set CLASSPATH=%CLASSPATH% to the tomcat.bat file (instead of set CLASSPATH=. etc) but it can't see the classes111.zip file. However when I run the service in de