Jasper tag class usage: bug?

2000-12-13 Thread Rickard Öberg
Hi! I'm trying to optimize my tag library, especially for the case where tags are used inside of iterating tags. Example: x:iterate x:dostuff foo="bar"/ /x:iterate -- In the above case I want only one instance of the dostuff tag to be created, since I am doing things with the foo attribute

BugRat Report #585 has been filed.

2000-12-13 Thread BugRat Mail System
Bug report #585 has just been filed. You can view the report at the following URL: http://znutar.cortexity.com/BugRatViewer/ShowReport/585 REPORT #585 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: swbug State: received Priority: medium Severity: serious

[PATCH]: Check for null in tag setter generation

2000-12-13 Thread Kief Morris
When the Jasper code gets the setter method for tag properties, it doesn't check to see whether the m variable is null until after attempting to use its getParameterTypes() method, which throws an uninformative NullPointerException. I simply moved the null check immediately after the variable m

Re: Jasper tag class usage: bug?

2000-12-13 Thread Glenn Nielsen
Rickard Öberg wrote: Hi! I'm trying to optimize my tag library, especially for the case where tags are used inside of iterating tags. Example: x:iterate x:dostuff foo="bar"/ /x:iterate -- In the above case I want only one instance of the dostuff tag to be created, since I am

Réf. : RE: X509 client certificate

2000-12-13 Thread jerome . camilleri
Hi Stefan I try to extract certicate to my request like you say in your mail but I have an exception because object return by request.getAttribute( javax.servlet.request.X509Certificate ) method wasn't type of java.security.cert.X509Certificate but [Ljava.security.cert.X509Certificate; log

source directory for tomcat 3.2 (final)

2000-12-13 Thread Krister Saleck
Hi, I'm writing a short how-to for tomcat. It was quite simple to describe the build process for tomcat 3.2b6 because you only have to setup your Java-SDK environment, unpack the sources and run the build scripts. Since 3.2b8 (or b7??) the source directories are named jakarta-tomcat-3.2-src/

Re: Réf. : RE: X509 client certificate

2000-12-13 Thread Craig R. McClanahan
You need to upgrade to at least jakarta-tomcat-4.0-m4 for this to work -- earlier versions returned the JSSE internal object for a certificate, rather than converting it to java.security.cert.X509Certificate as the spec requires. This has been fixed. Craig McClanahan [EMAIL PROTECTED] wrote:

Re: [C2] C2 and Tomcat 4.0 CVS (Class javax/servlet/http/HttpServletRequest violates loader constraints)

2000-12-13 Thread Craig R. McClanahan
"Schmitt, Christian" wrote: Hi all, I had Cocoon 2 and Tomcat 4 (CVS) working for a couple of days, but since yesterday I'm getting a strange error (see subject), and frankly I don't know what's causing it. Anyway, here's the offending XSP page: ?xml version="1.0" encoding="ISO-8859-1"?

Re: Jasper tag class usage: bug?

2000-12-13 Thread Rickard Öberg
Hi! Pierre Delisle wrote: The current implementation of Jasper (in all versions of tomcat) does not "reuse" tag handlers. Not a bug, just a not-so-efficient implementation. No-one has had/volunteered the time to look into it so far. We're just about done with the new JSP 1.2 features, and

About bug #558

2000-12-13 Thread Octavi Palau
Is any solution or work around for the bug number #558? Thanks in advance. Octavi Palau TarradasDept. Comerç Electrònic[EMAIL PROTECTED]

tomcat 3.2 or 3.2.1 problem

2000-12-13 Thread avm
Anyone experience this with 3.2 or 3.2.1? Tomcat seem to stop communicating. It is stil running but it's just stop communicating via port 8080 or through apache. When I first start tomcat, I can invoke my servlet. After about 2 or more invocations, I cannot communicate with tomcat anymore via

RE: tomcat 3.2 or 3.2.1 problem

2000-12-13 Thread Boon Hian Tek
Do you have the problem of having to call tomcat stop or shutdown multiple times before 3.2 or 3.2.1 shutdowns too? Boon Hian Tek Associate Consultant One World Trade Center (11th Floor) 121 SW Salmon St. Portland, OR 97204 Direct: 503-471-1478 Cell: 317-513-6545 -Original Message-

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup Embedded.java

2000-12-13 Thread craigmcc
craigmcc00/12/13 09:10:41 Modified:catalina/src/share/org/apache/catalina/startup Embedded.java Log: Correct the log output generated by addConnector() if debugging is on. Submitted by: Christian Mallwitz [EMAIL PROTECTED] Revision ChangesPath 1.5 +5 -5

Re: WML Generation from JSP broken!!!!

2000-12-13 Thread Tom Reilly
It seems to me there are a couple solutions: 1) look for jsp:root 2) use DOCTYPE 3) based it on file extension I don't like 1 because it adds overhead to the translation process, and you have to deal with cases like: %-- jsp:root --% I don't like 2 because if your JSP page is generating XML

BugRat Report #561 was closed (apparently by: Craig R. McClanahan)

2000-12-13 Thread BugRat Mail System
Report #561 was closed by Person #0 Synopsis: SIGSEGV 11* segmentation violation (logged in as: Craig R. McClanahan)

Error when trying to start Tomcat on apache

2000-12-13 Thread Lee Farrell
I am trying to setup Tomcat3.2 on a Solaris Sparc running Apache. I'm using jdk1.3. I receive the following error when I run startup.sh: fatal: libCrun.so.1: open failed: No such file or directory I have both the TOMCAT_HOME and JAVA_HOME env variables set correctly and do not believe they

BugRat Report #565 was closed (apparently by: Craig R. McClanahan)

2000-12-13 Thread BugRat Mail System
Report #565 was closed by Person #0 Synopsis: Security prob: WEB-INF directory is viewable (logged in as: Craig R. McClanahan)

BugRat Report #563 was closed (apparently by: Craig R. McClanahan)

2000-12-13 Thread BugRat Mail System
Report #563 was closed by Person #0 Synopsis: Make JDBCRealm not a final class (logged in as: Craig R. McClanahan)

BugRat Report #588 was closed (apparently by: Craig R. McClanahan)

2000-12-13 Thread BugRat Mail System
Report #588 was closed by Person #0 Synopsis: request.getParameter(), request.getQueryString() does not work properly (logged in as: Craig R. McClanahan)

cvs commit: jakarta-tomcat/src/tests/webpages/jsp params.jsp

2000-12-13 Thread costin
costin 00/12/13 11:58:04 Modified:src/facade22/org/apache/tomcat/facade ServletHandler.java ServletInfo.java WebXmlReader.java src/facade22/org/apache/tomcat/modules/facade22 JspInterceptor.java

BugRat Report #590 has been filed.

2000-12-13 Thread BugRat Mail System
Bug report #590 has just been filed. You can view the report at the following URL: http://znutar.cortexity.com/BugRatViewer/ShowReport/590 REPORT #590 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: support State: received Priority: high Severity: critical

(very) minor dist. problem

2000-12-13 Thread Christopher Cain
The build.sh file in the source download of the servletapi is not marked as executable. No biggie, just thought I'd pass it along ...

Re: [ANNOUNCEMENT] Security Related Updates - Tomcat 3.1.1 and Tomcat 3.2.1

2000-12-13 Thread Horace Vallas
het Craig - sorry to be dense - but what are the "appropriate contents" that should be replaced by 3.2.1? Is this just the various jar's in /lib? -- Wishing you an "OOBA OOBA" Y2K Horace...once known as "Kicker" :-)

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector ResponseWriter.java ResponseBase.java ResponseStream.java

2000-12-13 Thread craigmcc
craigmcc00/12/13 15:45:39 Modified:catalina/src/share/org/apache/catalina/connector ResponseBase.java ResponseStream.java Added: catalina/src/share/org/apache/catalina/connector ResponseWriter.java Log: Fix a buffering issue

[TC 3.2.1] error in FAQ

2000-12-13 Thread Pilho Kim
Hi, This is a part of $TOMCAT_HOME/doc/faq Q: Where are the classes for JSPs and Servlets? A: webserver.jar -- class files for Servlet Engine. .. .. That should be changed to Q: Where are the classes for JSPs

Help! Who know's the whole architecture?

2000-12-13 Thread Qi Xiaobin
I want to distribute to this project. But without a document that tells me the whole architecture, I find it is difficult for me to read so many source code clearly. Can anyone help me? _ Get more from the Web.

precompile jsp with Tomcat 3.2

2000-12-13 Thread Joan Xiao
Hi all, I've been trying to use jspc to precompile the jsp pages into java classes. Below is the steps I've taken: 1. run jspc and generate the java code and web.xml 2. insert the web.xml generated in step1 into my web.xml. 3. compile the java files into class files. Now I have problem with

Nightly Build Link broken ?

2000-12-13 Thread Shahed Ali
Hi, I am trying to download Tomcat 3.2.1 B. Is it the same as the release version of Tomcat 3.2.1 ? In any case, the Nightly Build Link for downloading the source code of Tomcat seems to be broken. Thanks Shahed.

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/warp WarpHost.java WarpEngine.java WarpConnectionHandler.java

2000-12-13 Thread pier
pier00/12/13 17:25:58 Modified:catalina/src/share/org/apache/catalina/connector/warp WarpHost.java WarpEngine.java WarpConnectionHandler.java Log: Start WarpHost container if WarpEngine has already been started. Revision

BugRat Report #227 was closed (apparently by: Pierre Delisle)

2000-12-13 Thread BugRat Mail System
Report #227 was closed by Person #0 Synopsis: Overflow where JSP tag embedded in HTML tag (logged in as: Pierre Delisle)

Re: cvs commit: jakarta-tomcat-4.0/connectors/apache-1.3mod_webapp.c

2000-12-13 Thread Jon Stevens
on 12/13/2000 7:47 PM, "[EMAIL PROTECTED]" [EMAIL PROTECTED] wrote: +char *t=""; if (r==NULL) return(FALSE); +if (t!=NULL) t=ap_pstrdup(r-pool,type); My C is a bit rusty, but why is there a check to see if t!=NULL given that it has been initialized to "" right above it? +

BugRat Report #442 was closed (apparently by: Pierre Delisle)

2000-12-13 Thread BugRat Mail System
Report #442 was closed by Person #0 Synopsis: failure with jsp:setProperty name="ivb" property="*"/ (logged in as: Pierre Delisle)

Tomcat / Apache jserv automatic startup

2000-12-13 Thread avm
Hi y'all Tomcat development team, I've been a long time advocate of starting Tomcat from Apache automatically. In fact I've been doing this since pre-3.0 days. It's worked flawlessly for me until 3.2. I assume this is because this is a low priority for everyone. Anyway I think slowly the

BugRat Report #443 was closed (apparently by: Pierre Delisle)

2000-12-13 Thread BugRat Mail System
Report #443 was closed by Person #0 Synopsis: failure with jsp:setProperty name="ivb" property="*"/ (logged in as: Pierre Delisle)

BugRat Report #444 was closed (apparently by: Pierre Delisle)

2000-12-13 Thread BugRat Mail System
Report #444 was closed by Person #0 Synopsis: failure with jsp:setProperty name="ivb" property="*"/ (logged in as: Pierre Delisle)

Re: [tomcat-4.0] building is hard

2000-12-13 Thread Jon Stevens
on 12/13/2000 9:11 PM, "Craig R. McClanahan" [EMAIL PROTECTED] wrote: One issue to keep in mind when you look at the build scripts is that there are two goals that sometimes compete: * Build Tomcat itself (i.e. make the right JARs available to the right javac tasks) * Build a binary

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/warp WarpEngine.java

2000-12-13 Thread pier
pier00/12/13 19:37:12 Modified:catalina/src/share/org/apache/catalina/connector/warp WarpEngine.java Log: Set the port in the host when this one is constructed. Revision ChangesPath 1.8 +3 -2

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/warp WarpContext.java

2000-12-13 Thread pier
pier00/12/13 19:37:50 Modified:catalina/src/share/org/apache/catalina/connector/warp WarpContext.java Log: Set the appropriate context when invoking for a request. Revision ChangesPath 1.3 +3 -2

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/warp WarpConnectionHandler.java

2000-12-13 Thread pier
pier00/12/13 19:38:40 Modified:catalina/src/share/org/apache/catalina/connector/warp WarpConnectionHandler.java Log: Construct the host with appropriate host and port information. Revision ChangesPath 1.10 +5 -3

cvs commit: jakarta-tomcat-4.0/connectors/webapplib wa_provider_warp.c

2000-12-13 Thread pier
pier00/12/13 19:51:49 Modified:connectors/webapplib wa_provider_warp.c Log: Fixed bug wich prevented long responses to get back to the client. Revision ChangesPath 1.8 +7 -4 jakarta-tomcat-4.0/connectors/webapplib/wa_provider_warp.c Index:

Re: cvs commit: jakarta-tomcat-4.0/connectors/apache-1.3mod_webapp.c

2000-12-13 Thread Pier P. Fumagalli
Jon Stevens [EMAIL PROTECTED] wrote: on 12/13/2000 7:47 PM, "[EMAIL PROTECTED]" [EMAIL PROTECTED] wrote: +char *t=""; if (r==NULL) return(FALSE); +if (t!=NULL) t=ap_pstrdup(r-pool,type); My C is a bit rusty, but why is there a check to see if t!=NULL given that it has been

cvs commit: jakarta-tomcat-4.0/connectors/apache-1.3 mod_webapp.c

2000-12-13 Thread pier
pier00/12/13 21:31:09 Modified:connectors/apache-1.3 mod_webapp.c Log: Thanks Jon for pointing those two out... Revision ChangesPath 1.7 +4 -4 jakarta-tomcat-4.0/connectors/apache-1.3/mod_webapp.c Index: mod_webapp.c

Ajp13 Patches for Tomcat 3.2

2000-12-13 Thread Dan Milstein
All, I took some of the Ajp13 work I've been doing on the 3.3 branch and applied it to the 3.2 sources. The two attached files contain a fix for the file upload bug. As with the 3.3 version, there are some changes to the mod_jk.so source files, so to get the full effect, you'll need to

Re: cvs commit: jakarta-tomcat-4.0 RELEASE-NOTES-4.0-M5.txt

2000-12-13 Thread Pier P. Fumagalli
Jon Stevens [EMAIL PROTECTED] wrote: on 12/13/2000 9:48 PM, "[EMAIL PROTECTED]" [EMAIL PROTECTED] wrote: == KNOWN PROBLEMS IN THIS RELEASE: == * It is a bitch to build it from CVS unless you have an open door to Craig's mind. :-)

Re: cvs commit: jakarta-tomcat-4.0 RELEASE-NOTES-4.0-M5.txt

2000-12-13 Thread Jon Stevens
on 12/13/2000 10:38 PM, "Craig R. McClanahan" [EMAIL PROTECTED] wrote: Ah, but once you get it built, 'tis a thing of beauty ... :-) Agreed. I can't wait to put it into Scarab's cvs tree as a sandbox env so that development will continue on top of Tomcat 4.0. p.s. I hope that slow classloader

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

2000-12-13 Thread costin
costin 00/12/13 23:10:58 Modified:src/facade22/org/apache/tomcat/facade Servlet22Interceptor.java ServletHandler.java ServletInfo.java WebXmlReader.java src/facade22/org/apache/tomcat/modules/facade22

SimpleMapper ClassNotFoundException

2000-12-13 Thread Sivakumar Subramanian
Hello, Yesterday(13th Dec 2000) I downloaded jakarta-tomcat-3.2.1.tar.gz file (GZIP compressed file - release version) from your site and installed it in Solaris server. When I was trying to start that, it was giving me an error saying SimpleMapper : ClassNotFoundException

Loading beans

2000-12-13 Thread Venkat
Hi All Can anyone help me to resolve this When i created more contexts in server.xml and added them to uriworkers.properties, but when i use beans, i'm not able to access to be clear: i have created a contex by name tests path d:/tests subfolders d:/tests/web-inf/classes i place my