mod_webapp and cookies

2001-01-11 Thread GOMEZ Henri
I seems cookies are still no working : * HelloWorld Example works. * Request Information Example works : Method: GET Request URI: /examples/servlet/RequestInfoExample Protocol: HTTP/1.1 Path Info: null Remote Address: null * Request Header Example works : accept-language fr

Re: possible problems in org.apache.catalina.connector.http.SocketInputStream

2001-01-11 Thread Thomas Butter
Remy Maucherat wrote: I can't see why. Is my interpretation on what will happen at the next iteration wrong ? You are perfectly right. Sorry, I misunderstood the loop (didn't realize the pos=0 after the read()). A problem could only arrise if somewhere else a mark is set before your

BugRat Report #739 has been filed.

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

Re: [VOTES] Tomcat 4.0-Beta-1 and New CVS Repositories

2001-01-11 Thread Bob Jamison
Craig R. McClanahan wrote: (2) Tomcat 4.1 Repository As we approach a release quality build for Tomcat 4.0, it is also time to split the development of major new functionality (such as the distributed session management currently under discussion) into a development process that does

BugRat Report #741 has been filed.

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

BugRat Report #741 has been filed.

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

jaxp 1.0.1 and 1.1 RPMs

2001-01-11 Thread GOMEZ Henri
Hi to all Suners. I finished some time ago RPM for jaxp 1.0.1 and jaxp 1.1 EARLY ADOPTERs. Who could do something to have these RPMS available at Sun or Apache site ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

BugRat Report #743 has been filed.

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

Re: jaxp 1.0.1 and 1.1 RPMs

2001-01-11 Thread Peter Donald
At 04:42 11/1/01 +0100, GOMEZ Henri wrote: Hi to all Suners. I finished some time ago RPM for jaxp 1.0.1 and jaxp 1.1 EARLY ADOPTERs. Who could do something to have these RPMS available at Sun or Apache site ? Unfortunately it's not legal to have jaxp1.1 available via apache as there is 6 or

RE: jaxp 1.0.1 and 1.1 RPMs

2001-01-11 Thread GOMEZ Henri
So I'll stay with xerces-j much larger but redistribuable ?-) "Pour la plupart des hommes, se corriger consiste changer de dfauts." -- Voltaire -Original Message- From: Peter Donald [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 11, 2001 4:56 PM To: [EMAIL PROTECTED] Cc: [EMAIL

RE: acive session count?

2001-01-11 Thread Michael Kuz
Title: RE: acive session count? Morning, Comments below... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 10, 2001 11:20 AM To: '[EMAIL PROTECTED]' Subject: RE: acive session count? Hi, Solution: Dan Milstein is adding my

Re: An alternative to JSP

2001-01-11 Thread Shawn McMurdo
Hi Brad, Interesting articles. I agree with most of your discussion of the disadvantages of JSP/ASP/etc, but I believe your solution does not address a fundamental problem, which is the complete separation of presentation resources from presentation logic. Having the HTML embedded in a java

Re: An alternative to JSP

2001-01-11 Thread Kyle F. Downey
Right on. HTML-in-Java vs. Java-in-HTML is a silly argument AFAIK. Neither's a very good solution long-term. The Java-in-HTML makes it near-impossible for designers to collaborate with coders, while the HTML-in-Java has that problem, plus the code bloat problem (the bytecode format will choke on

Re: BugRat Report #690 has been filed.

2001-01-11 Thread Glenn Nielsen
I stand corrected. The below problem was a bug in Tomcat. Wrapping the RequestDispatcher forward() and include() methods with a doPrivileged() if a SecurityManager is being used fixed the problem. When Tomcat 3.2.2 is released you will no longer need to edit the jre/lib/security/java.security

BugRat Report #744 has been filed.

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

Re: possible problems in org.apache.catalina.connector.http.SocketInputStream

2001-01-11 Thread Remy Maucherat
I attached a little patch that reimplements the used methods of the BIS. It should be a little bit faster because it doesn't implement marks. Not sure if it is worth the extra code because read() isn't called very often anyway and if read(byte []) is used anywhere then it should be rewritten

BugRat Bug #18 - response.flushBuffer() fails to flush

2001-01-11 Thread BugRat Mail System
Bug #18 Details Project: Jasper Category: Bug Report SubCategory: New Bug Report Class: swbug State: closed Priority: high Severity: serious Confidence: public Environment: Release: 3.3 JVM Release: 1.2.2 Operating System: Linux OS Release: RedHat 6.2 Platform: i386 Synopsis:

Re: [VOTES] Tomcat 4.0-Beta-1 and New CVS Repositories

2001-01-11 Thread Craig R. McClanahan
Bob Jamison wrote: Hi, all, Will 4.1 be read-visible in the "cvspublic" repository? Ooops ... forgot a couple steps. The two new repositories ("jakarta-tomcat-4.1" and "jakarta-servletapi-4") are now visible to anonymous CVS. Web site updates are forthcoming. Bob Jamison LinCom Corp

Re: jaxp 1.0.1 and 1.1 RPMs

2001-01-11 Thread Jon Stevens
on 1/11/01 8:16 AM, "GOMEZ Henri" [EMAIL PROTECTED] wrote: So I'll stay with xerces-j much larger but redistribuable ?-) Yep. -jon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL

NullPointerException from HttpSessionFacade.invalidate()

2001-01-11 Thread Gokul Singh
Hi,I am trying to build a login servlet and get a NullPointerException from HttpSessionFacade class in Tomcat 3.2.1.The code of the simple version of the servlet which reproduces theproblem is attached at the end of this mail along with the stack trace of the Exception thrown.This piece of

RE: An alternative to JSP

2001-01-11 Thread Jef Newsom
I have used Excelon Stylus for creating xsl. Although you do a lot of stuff by hand, I found it to be useful for wysiwyg development. I only used it for a short time, so caveat emptor. Too bad it isn't integrated with Dreamweaver. Also too bad that you have to download their portal server to get

Re: An alternative to JSP

2001-01-11 Thread Brad Cox
Thanks. No I'm not aware of Turbine, but I am aware of the approach described in the paper. That's what the company I was consulting for took that I (perhaps inaccurately) described as "similar to WebMacro". MLS? Preprocess code? WHAT? Could you explain what you mean by this? At 9:41 PM

cvs commit: jakarta-tomcat-4.1/catalina/src/share/org/apache/catalina/connector/http HttpConnector.java

2001-01-11 Thread remm
remm01/01/11 11:12:11 Modified:catalina/src/share/org/apache/catalina/connector/http HttpConnector.java Log: - Make sure that TC will only bind one IP when a hostname is specified. Patch submitted by Thomas Butter [EMAIL PROTECTED] Revision

cvs commit: jakarta-tomcat/src/shell tomcat.bat

2001-01-11 Thread larryi
larryi 01/01/11 11:12:48 Modified:src/shell Tag: tomcat_32 tomcat.bat Log: Undo prior "fix" per Craig's note below: The double equals sign (==) tells the default security policy reader that the specified policy file completely *replaces* the standard one (which is what we

cvs commit: jakarta-tomcat/src/shell tomcat.bat

2001-01-11 Thread larryi
larryi 01/01/11 11:13:21 Modified:src/shell tomcat.bat Log: Undo prior "fix" per Craig's note below: The double equals sign (==) tells the default security policy reader that the specified policy file completely *replaces* the standard one (which is what we want here,

Re: An alternative to JSP

2001-01-11 Thread Brad Cox
At 11:30 AM -0500 01/11/2001, Shawn McMurdo wrote: I agree with most of your discussion of the disadvantages of JSP/ASP/etc, but I believe your solution does not address a fundamental problem, which is the complete separation of presentation resources from presentation logic. That is correct. My

RE: Tomcat 3.2.2 Was (BugRat Report #690 has been filed.)

2001-01-11 Thread Larry Isaacs
Glenn (and others), Have we accumulated enough bug fixes where it's worth creating a 3.2.2 release, or are there more issues that should be dealt with first? Hi Craig, I'm +1 for 3.2.2. The UnavailableException handling in 3.2.1 is still not quite right in Tomcat 3.2. I have a patch

Re: An alternative to JSP

2001-01-11 Thread Brad Cox
At 11:12 AM -0800 01/11/2001, Craig R. McClanahan wrote: * I don't see any reasoning for why HTML-in-Java is better than any of the alternatives -- just a presumptive conclusion. The vast majority of the article is simply a description of your recommended approach. Good point. I'll

Re: BugRat Report #690 has been filed.

2001-01-11 Thread Glenn Nielsen
Craig, Bug fixes for use of the Java SecurityManager are done and working well. I do want to add another doc for setting up the SecurityManager when using MS Windows OS's. Glenn "Craig R. McClanahan" wrote: Glenn Nielsen wrote: I stand corrected. The below problem was a bug in

BugRat Report #745 has been filed.

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

Re: An alternative to JSP

2001-01-11 Thread Brad Cox
I think these two quotes from the website will address your concern. There is no official release yet, but there will be one shortly. Velocity's design concept is borrowed from WebMacro. At 11:42 AM -0800 01/11/2001, Jon Stevens wrote: on 1/11/01 11:21 AM, "Brad Cox" [EMAIL PROTECTED] wrote:

Re: An alternative to JSP

2001-01-11 Thread Jon Stevens
on 1/11/01 12:12 PM, "Brad Cox" [EMAIL PROTECTED] wrote: I think these two quotes from the website will address your concern. My concern? There is no official release yet, but there will be one shortly. However, you can get daily snapshots which are quite stable and ready to use.

Re: jaxp 1.0.1 and 1.1 RPMs

2001-01-11 Thread Rajiv Mordani
Hi Gomez, If you forward the RPMs to me or put them in a place where I can pick it up from, I'll try and get them hosted. No promises but will see what I can do. - Rajiv -- :wq On Thu, 11 Jan 2001, GOMEZ Henri wrote: Hi to all Suners. I finished some time ago RPM for jaxp 1.0.1

RE: jaxp 1.0.1 and 1.1 RPMs

2001-01-11 Thread GOMEZ Henri
Not a problem of room but a legal problem of distributions. Solution : Sun give jaxp 1.0 and 1.1 to Apache Foundation ;-) "Pour la plupart des hommes, se corriger consiste changer de dfauts." -- Voltaire -Original Message- From: Rajiv Mordani [mailto:[EMAIL PROTECTED]] Sent:

Tomcat 3.2.2 [Was: Re: BugRat Report #690 has been filed.]

2001-01-11 Thread Hans Bergsten
"Craig R. McClanahan" wrote: Glenn Nielsen wrote: I stand corrected. The below problem was a bug in Tomcat. Wrapping the RequestDispatcher forward() and include() methods with a doPrivileged() if a SecurityManager is being used fixed the problem. When Tomcat 3.2.2 is released you

cvs commit: jakarta-tomcat/src/native/netscape jk_nsapi_plugin.c

2001-01-11 Thread larryi
larryi 01/01/11 13:31:35 Modified:src/native/netscape Tag: tomcat_32 jk_nsapi_plugin.c Log: Fix a problem when submitting dating from a form with a POST request. NetWare 5.1 doesn't have some of the assumed functionality (netbuf_getbytes). Submitted by: Mike Anderson

cvs commit: jakarta-tomcat/src/native/jk jk_util.c

2001-01-11 Thread larryi
larryi 01/01/11 13:33:38 Modified:src/native/jk Tag: tomcat_32 jk_util.c Log: When the plugin is shutting down, the thread that the code is being run on will likely only have a 16k stack. Since jk_log creates an 8k buffer on the stack, there were some cases that we ran off the

RE: acive session count?

2001-01-11 Thread cmanolache
I agree that a jk_admin type application to control the load balancer and get session info would be great and very usefull, but that would have to access information from the web server (who's in the list, who's active) and each TC (how many sessions). So even if I built an Apache admin app,

Bug Report #531

2001-01-11 Thread Kirk Rasmussen
This is still incorrect behavior if you ask me. If I have page "foo.html" that as an href to "bar.jsp" then bar.jsp should be able to determine who "referred" to it. WebLogic does this..maybe this is only a convenience feature. Kirk

Re: An alternative to JSP

2001-01-11 Thread Craig R. McClanahan
Paul Speed wrote: I'll be curious to see where the JSP spec evolves next. To me it seems logical to start incorporating more tags along the lines of the current bean tags. Iteration and other control structures seems like the most common part of the wheel that tag libraries seem

mod_jk.so

2001-01-11 Thread Aflatoon Aflatooni
Hi, I didn't know where else to turn. I was wondering where and how I can get the source for mod_jk.so (the apache module) Thanks Aflatoon - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: An alternative to JSP

2001-01-11 Thread Paul Speed
Geoff Soutter wrote: "Paul Speed" [EMAIL PROTECTED] wrote: [snip] For what it's worth, I think that custom tags are the thing that really saves JSP. On my last project, we were able to encapsulate all logic into a servlet framework and custom tags. (Actually, our framework

Re: An alternative to JSP

2001-01-11 Thread Jon Stevens
on 1/11/01 4:53 PM, "Jon Stevens" [EMAIL PROTECTED] wrote: http://www.whichever.com/jsp.gif Now this is fun... 216.216.10.57 - - [11/Jan/2001:17:03:45 -0800] "GET /jsp.gif HTTP/1.1" 200 74620 216.216.10.57 - - [11/Jan/2001:17:06:54 -0800] "GET / HTTP/1.1" 200 5 216.216.10.57 - -

BugRat Report #747 has been filed.

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

Re: An alternative to JSP

2001-01-11 Thread Shawn McMurdo
Paul Speed wrote: [...] As it turned out, for many of the custom tags we were able to write web-developer versions that didn't require the full back-end application server. Our web developers were then able to run tomcat locally to help develop their pages and see what they looked

BugRat Report #747 was closed (apparently by: Marc Saegesser)

2001-01-11 Thread BugRat Mail System
Report #747 was closed by Person #0 Synopsis: Jakarta NT service unable to log in to SQLserver machine unless service starts as a user (logged in as: Marc Saegesser) - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Any solution for bug#696?

2001-01-11 Thread Jin-Ling Kwang
Dear TomCat Bugs Team, I also encountered the same problem as described in bug#696. (Actually it also happened to '.doc' and '.ppt' and '.ps' file types too.) Could you please advise if you have any soluation for that problem so far? Please advise. Thanks, Best Regards, Jin-Ling

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/service/http HttpRequestAdapter.java

2001-01-11 Thread larryi
larryi 01/01/11 20:27:04 Modified:src/share/org/apache/tomcat/service/http Tag: tomcat_32 HttpRequestAdapter.java Log: Clear the protocal for bad request with only one "word", otherwise we will attempt to read headers. Revision ChangesPath No

Re: An alternative to JSP

2001-01-11 Thread Geoff Soutter
"Jon Stevens" [EMAIL PROTECTED] wrote: on 1/11/01 6:32 PM, "Geoff Soutter" [EMAIL PROTECTED] wrote: Certainly I've never seen what I consider to be a clean way of letting HTML people do HTML and Java people do Java. Yes, I've seen some that are better than others (XMLC is probably the

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/core ContextManager.java Handler.java Response.java ResponseImpl.java ServletWrapper.java

2001-01-11 Thread larryi
larryi 01/01/11 20:39:06 Modified:src/share/org/apache/tomcat/core Tag: tomcat_32 ContextManager.java Handler.java Response.java ResponseImpl.java ServletWrapper.java Log: Update handling so that when an included servlet throws an

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/request JspInterceptor.java

2001-01-11 Thread larryi
larryi 01/01/11 20:47:00 Modified:src/share/org/apache/jasper Tag: tomcat_32 EmbededServletOptions.java JspC.java Options.java src/share/org/apache/jasper/compiler Tag: tomcat_32 Compiler.java JavaCompiler.java

RE: acive session count?

2001-01-11 Thread cmanolache
1. Extensible/Modular. Maybe you want to get other internal informations, or change other parameters at run time. 2. Minimal ( or no ) changes in the core or protocols. Changes are bad bacause they add bugs, require releases , etc, and if we do (1) right, then no other change is

BugRat Report #749 has been filed.

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

cvs commit: jakarta-tomcat-4.1/catalina/src/share/org/apache/catalina/resources Constants.java DirectoryBean.java FileResources.java JarResources.java LocalStrings.properties LocalStrings_es.properties ResourceBean.java ResourcesBase.java package.html

2001-01-11 Thread remm
remm01/01/11 22:43:17 Removed: catalina/src/share/org/apache/catalina/resources Constants.java DirectoryBean.java FileResources.java JarResources.java LocalStrings.properties LocalStrings_es.properties

cvs commit: jakarta-tomcat-4.1/catalina/src/share/org/apache/catalina/loader StandardLoader.java

2001-01-11 Thread remm
remm01/01/11 22:46:54 Modified:catalina/src/share/org/apache/catalina/loader StandardLoader.java Log: - Refactoring with loading repositories from DirContext. - Unfortunately, the Loader / ClassLoader was heavily biased towards loading its class

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

2001-01-11 Thread remm
remm01/01/11 22:50:06 Modified:catalina/src/share/org/apache/catalina/core ApplicationContext.java ContainerBase.java StandardContext.java Log: - Updated the ServletContext facade to use the DirContext. - Will produce URLs using

cvs commit: jakarta-tomcat-4.1/catalina/src/share/org/apache/catalina/servlets DefaultServlet.java WebdavServlet.java

2001-01-11 Thread remm
remm01/01/11 22:55:35 Modified:catalina/src/share/org/apache/catalina/servlets DefaultServlet.java WebdavServlet.java Log: - Partly rewritten the DefaultServlet and WebdavServlet to use DirContext. - Some parts of the code could be simplified to take

cvs commit: jakarta-tomcat-4.1/catalina/src/share/org/apache/naming/resources DirContextURLConnection.java DirContextURLStreamHandler.java BaseDirContext.java FileDirContext.java

2001-01-11 Thread remm
remm01/01/11 22:59:08 Modified:catalina/src/share/org/apache/naming/resources BaseDirContext.java FileDirContext.java Added: catalina/src/share/org/apache/naming/resources DirContextURLConnection.java

Re: Tomcat 3.2.2 [Was: Re: BugRat Report #690 has been filed.]

2001-01-11 Thread Hans Bergsten
Marc Saegesser wrote: Regarding BugReport #744. I've been trying to duplicate it on my Win2000 system and haven't had any luck. I always get back the executed page. Has anyone else been able to duplicate the problem behavior? I actually tested it today (on a Red Hat 7 system, but I doubt