jsp version supported

2001-04-25 Thread Carlos Piqueres Ayela
Hi everybody, When we try to use in the jsp:include with flush set to false tomcat says that JSP1.0 only allows this value to true. Nevertheless Tomcat 3.2 is supposed to support JSP1.1 where this value can be set to false. Is it any bug or am I misunderstanding something? Thanks in advance. Ca

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

2001-04-25 Thread bip
bip 01/04/25 20:15:01 Modified:catalina/src/share/org/apache/catalina/session JDBCStore.java StoreBase.java Log: Changed subclassing of start()/stop(). Cosmetic changes, tabs to spaces. Revision ChangesPath 1.2 +383 -378 jakarta-tomc

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

2001-04-25 Thread craigmcc
craigmcc01/04/25 20:12:53 Modified:catalina/src/share/org/apache/catalina/core StandardWrapperValve.java Log: Oops, deal with a NullPointerException issue of the servlet exception does *not* wrap a root cause. Revision ChangesPath 1.25 +8 -

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

2001-04-25 Thread craigmcc
craigmcc01/04/25 20:09:09 Modified:catalina/src/share/org/apache/catalina/core StandardWrapperValve.java Log: [PFD2-9.9.2] - Implement the revised algorithm for looking up the error page associated with an exception thrown by the top-level servlet (first ma

Re: Tomcat 4 stderr & stdout

2001-04-25 Thread Glenn Nielsen
"Craig R. McClanahan" wrote: > > On Tue, 24 Apr 2001, Glenn Nielsen wrote: > > > >From their behaviour, it appears that Tomcat 3.x and Tomcat 4 handle > > use of stderr and stdout differently. > > > > Running under unix with either works great for me. > > > > But under windows others I work with

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

2001-04-25 Thread craigmcc
craigmcc01/04/25 19:45:11 Added: catalina/src/share/org/apache/catalina/util CustomObjectInputStream.java Log: Add for Bip ... CVS is giving him a screwy error message. Revision ChangesPath 1.1 jakarta-tomcat-4.0/catalina/src/s

Re: cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/sessionStoreBase.java

2001-04-25 Thread cmanolache
> While you are at it, the current convention in Tomcat is to use spaces > rather than embedded tabs for indentation. I know some of the old code Is it a convention or an absolute requirement ? Costin ( waiting for the space police to remove my tabs :-)

Re: Tomcat 4 stderr & stdout

2001-04-25 Thread Craig R. McClanahan
On Tue, 24 Apr 2001, Glenn Nielsen wrote: > >From their behaviour, it appears that Tomcat 3.x and Tomcat 4 handle > use of stderr and stdout differently. > > Running under unix with either works great for me. > > But under windows others I work with have had problems. > When running Tomcat 4

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

2001-04-25 Thread bip
bip 01/04/25 18:48:38 Removed: catalina/src/share/org/apache/catalina/util CustomObjectInputstream.java Log: Name mismatch, recommiting.

Re: cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/sessionStoreBase.java

2001-04-25 Thread Craig R. McClanahan
On 26 Apr 2001 [EMAIL PROTECTED] wrote: > > Each Store now have the ability to implement their own processExpires() > and storeStart()/storeStop(). > The typical design pattern for most subclassable components in Catalina is to have the subclass simply override the methods it needs to,

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session LocalStrings.properties

2001-04-25 Thread bip
bip 01/04/25 18:41:00 Modified:catalina/src/share/org/apache/catalina/session LocalStrings.properties Log: Added entries for JDBCStore. Revision ChangesPath 1.7 +10 -0 jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/sessio

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

2001-04-25 Thread bip
bip 01/04/25 18:40:17 Modified:catalina/src/share/org/apache/catalina/session FileStore.java Log: Refactored to take advantage of StoreBase. Updated to use CustomObjectInputstream() from util instead of having it as a inline class. Revision Chan

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

2001-04-25 Thread bip
bip 01/04/25 18:38:01 Added: catalina/src/share/org/apache/catalina/session JDBCStore.java Log: A concrete Store implementation that uses a JDBC compatible RDBMS to store Sessions. Revision ChangesPath 1.1 jakarta-tomcat-

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

2001-04-25 Thread bip
bip 01/04/25 18:36:06 Added: catalina/src/share/org/apache/catalina/session StoreBase.java Log: Moved common code from FileStore/JDBCStore into StoreBase. Extended by the concrete Store implementations like FileStore. Each Store now have the abil

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

2001-04-25 Thread bip
bip 01/04/25 18:30:27 Added: catalina/src/share/org/apache/catalina/util CustomObjectInputstream.java Log: Initial revision, broken out from FileStore. Revision ChangesPath 1.1 jakarta-tomcat-4.0/catalina/src/share/org/apac

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

2001-04-25 Thread horwat
horwat 01/04/25 18:15:11 Modified:jasper/src/share/org/apache/jasper/compiler TagBeginGenerator.java Log: Use QName instead of the LocalName to match element value. Revision ChangesPath 1.12 +1 -1 jakarta-tomcat-4.0/jasper/src/share/or

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

2001-04-25 Thread glenn
glenn 01/04/25 18:14:18 Modified:catalina/src/share/org/apache/catalina/startup Bootstrap.java Log: Wrap servlet logging with doPrivileged Revision ChangesPath 1.16 +13 -4 jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/start

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

2001-04-25 Thread glenn
glenn 01/04/25 18:14:04 Modified:catalina/src/share/org/apache/catalina/core ApplicationContext.java Log: Wrap servlet logging with doPrivileged Revision ChangesPath 1.22 +88 -7 jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina

Re: jsp's and getPathInfo()

2001-04-25 Thread Craig R. McClanahan
On Wed, 25 Apr 2001, Glenn Nielsen wrote: > Hi Gus, > > Which version of Tocmat are you using? Are you using Apache > as a front end to Tomcat? > > I searched bugzilla and didn't find any bugs reported for > any version of Tomcat related to passing pathinfo with > a jsp page request. > > Gle

Re: Tomcat 3.2.2 and Thread synchronization

2001-04-25 Thread cmanolache
One quick comment - this should be provided by the servlet container. ( i.e. make sure that destroy() is not called while a servlet is in progress ). Of course, JspServlet is overriding the container and manage it's own servlets. I'll look at the code and try to port it to 3.3 - and send more c

Re: jsp's and getPathInfo()

2001-04-25 Thread Gus Mueller
I'm using Tomcat 3.2.1 with it's own http server. It's pretty simple to demonstrate... basicly, try and get the follwing code to print out something other then "null" <%= request.getPathInfo() %> I can't seem to do it with a jsp, but have used it many times in servlets. I have tried this on b

Tomcat 3.2.2 and Thread synchronization

2001-04-25 Thread Marc Saegesser
I've made some pretty major changes to JspServlet.java to clean up lots of thread synchroniztion problems. The commit message summarizes most of the changes. Because this is a major change very late in the beta cycle I would appreciate it if other developers would give this a through review. Be

cvs commit: jakarta-tomcat-4.0 RELEASE-NOTES-4.0-B4.txt

2001-04-25 Thread glenn
glenn 01/04/25 16:34:56 Modified:.RELEASE-NOTES-4.0-B4.txt Log: Updated for SecurityManager changes Revision ChangesPath 1.4 +5 -2 jakarta-tomcat-4.0/RELEASE-NOTES-4.0-B4.txt Index: RELEASE-NOTES-4.0-B4.txt

Re: Tomcat 4 stderr & stdout

2001-04-25 Thread Glenn Nielsen
Ignore this, the difference was that the user was starting Tomcat in a DOS shell instead of as an NT Service. Glenn Nielsen wrote: > > >From their behaviour, it appears that Tomcat 3.x and Tomcat 4 handle > use of stderr and stdout differently. > > Running under unix with either works great for

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

2001-04-25 Thread marcsaeg
marcsaeg01/04/25 16:29:30 Modified:src/share/org/apache/jasper/resources Tag: tomcat_32 messages.properties messages_es.properties messages_fr.properties src/share/org/apache/jasper/servlet Tag: tomcat_32

Re: jsp's and getPathInfo()

2001-04-25 Thread Glenn Nielsen
Hi Gus, Which version of Tocmat are you using? Are you using Apache as a front end to Tomcat? I searched bugzilla and didn't find any bugs reported for any version of Tomcat related to passing pathinfo with a jsp page request. Glenn Gus Mueller wrote: > > Hi. > > I'm finding that when I try

Jakarta-nt-service.exe?

2001-04-25 Thread Curry, Timothy M.
Is anyone working on the jakarta-nt-service.exe or its companion wrapper.properties file for Tomcat4 as a Windows NT Service? -T.Mike [EMAIL PROTECTED] < I am new to the tomcat-dev list >

jsp's and getPathInfo()

2001-04-25 Thread Gus Mueller
Hi. I'm finding that when I try and append extra "path" info to my jsp's like I have in the past my servlets, I get back a page not found. Ok, I can sort of understand that- it's not a real page.. but... If I have a url that's like this: http://localhost/foo/bar.jsp and I make a request like th

Re: cvs commit:jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/resourcesmessages.properties

2001-04-25 Thread Jon Stevens
on 4/25/01 12:34 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Log: > It was too late in the development process to make these changes for JSP 1.2 > PFD2. Reverting and flagging for later integration. > Huh? Where is this timeline defined? -jon

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

2001-04-25 Thread marcsaeg
marcsaeg01/04/25 14:58:41 Modified:src/share/org/apache/jasper/servlet Tag: tomcat_32 JspServlet.java Log: Cosmetic changes only. This commit simply updates the indentation style in preparation for committing a major revision. Revision ChangesP

Re: Future of Filter?

2001-04-25 Thread Bob Jamison
Oops! Got the tags wrong; the filter names should match. One more error this week, but who's counting? > > > XSLT Filter for Skin1 > XSLTFilter > > xsltFileName > skin1.xsl > > > > > Skin1Command > command > XSLT Filter for Skin1 XSLTFilter xsltFileName skin1.xsl XSLT

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

2001-04-25 Thread craigmcc
craigmcc01/04/25 14:39:21 Modified:catalina/src/share/org/apache/catalina/connector HttpRequestBase.java RequestBase.java catalina/src/share/org/apache/catalina/core ApplicationHttpRequest.java Log: Correct the implement

Re: Future of Filter?

2001-04-25 Thread Bob Jamison
Craig R. McClanahan wrote: > > Yep, you've got the pattern down. It's also legal to use > HttpServletResponseWrapper if you're wrapping HTTP responses. And, of > course, you can wrap the request if you want to do input filtering, in > pretty much the same manner. > > Craig > > > Ok, than

Re: form based authentication in Tomcat 4

2001-04-25 Thread Craig R. McClanahan
On Wed, 25 Apr 2001, Mark.Abbott wrote: > Hi, didn't get a response to this question on tomcat-user > so I'll give it a try here. > > In the Tomcat 4b2 implementation of form based authentication, > the redirection from a request for a protected resource to the > login page and then from the l

RE: Future of Filter?

2001-04-25 Thread Craig R. McClanahan
On Wed, 25 Apr 2001 [EMAIL PROTECTED] wrote: > this is kind of unrelated, but sort of related... > > will a filter only be used once per request? for example, if i have a filter > mapped to /*, then from a servlet, i forward to another servlet or to a jsp, > will the filter be run twice, or j

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

2001-04-25 Thread horwat
horwat 01/04/25 13:54:22 Modified:jasper/src/share/org/apache/jasper/compiler XmlOutputter.java Log: Now consistent with DTD. Specification was inconsistent. When in doubt, default to the DTD. Revision ChangesPath 1.12 +4 -4 jakarta-t

cvs commit: jakarta-tomcat-4.0/tester/src/tester/org/apache/tester Resources06.java

2001-04-25 Thread craigmcc
craigmcc01/04/25 13:30:45 Modified:catalina/src/share/org/apache/catalina/util ResourceSet.java tester/src/tester/org/apache/tester Resources06.java Log: Add a test to ensure that the Set returned by ServletContext.getResourcePaths() is immutable -- which it wasn't,

cvs commit: jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/resources messages.properties

2001-04-25 Thread horwat
horwat 01/04/25 12:34:03 Modified:jasper/src/share/org/apache/jasper/compiler XmlOutputter.java JspParseEventListener.java ParserXJspSaxHandler.java jasper/src/share/org/apache/jasper/resources messa

Re: Problem with JNI...

2001-04-25 Thread jean-frederic clere
Daniel Diaz wrote: > > Hello > > I have now another strange problem. I have reinstalled my machine with a > RedHat 7.0, here is the unmae -a output: > > Linux lima.univ-paris1.fr 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686 > unknown > > but my previous JNI application no longer works (even

cvs commit: jakarta-tomcat-4.0/tester/web/golden SSIConfig03.txt

2001-04-25 Thread amyroh
amyroh 01/04/25 10:19:46 Modified:tester/web SSIConfig03.shtml tester/web/golden SSIConfig03.txt Log: Fix returning different filesizes on different platforms due to line endings. Revision ChangesPath 1.2 +2 -2 jakarta-tomcat-4.0/tester/web/SSI

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

2001-04-25 Thread craigmcc
craigmcc01/04/25 10:17:52 Modified:catalina/src/share/org/apache/catalina/core ApplicationContext.java Log: Correct the paths returned by ServletContext.getResourcePaths("/"), which formerly had an extra "/" prepended. Also, eliminate string concatenations

form based authentication in Tomcat 4

2001-04-25 Thread Mark.Abbott
Hi, didn't get a response to this question on tomcat-user so I'll give it a try here. In the Tomcat 4b2 implementation of form based authentication, the redirection from a request for a protected resource to the login page and then from the login page submission back to the protected resource are

cvs commit: jakarta-tomcat-4.0/connectors/lib wa_main.c Makefile.in wa_request.c wa_general.c

2001-04-25 Thread pier
pier01/04/25 10:05:54 Modified:connectors/lib Makefile.in wa_request.c Added: connectors/lib wa_main.c Removed: connectors/lib wa_general.c Log: Moved wa_general.c to wa_main.c Updated function prototypes Revision ChangesPath 1.4 +2 -2 jaka

cvs commit: jakarta-tomcat-4.0/connectors/include wa_main.h wa.h wa_request.h wa_general.h

2001-04-25 Thread pier
pier01/04/25 10:04:21 Modified:connectors/include wa.h wa_request.h Added: connectors/include wa_main.h Removed: connectors/include wa_general.h Log: Renamed wa_general to wa_main. Updated function prototypes. Revision ChangesPath 1.3 +2 -2

cvs commit: jakarta-tomcat-4.0/catalina/src/conf catalina.policy

2001-04-25 Thread glenn
glenn 01/04/25 10:02:12 Modified:catalina/src/conf catalina.policy Log: Update policy examples to use jndi naming conventions Revision ChangesPath 1.11 +15 -4 jakarta-tomcat-4.0/catalina/src/conf/catalina.policy Index: catalina.policy ==

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

2001-04-25 Thread costin
costin 01/04/25 09:50:15 Modified:src/share/org/apache/tomcat/core Tag: tomcat_32 ContextManager.java Log: Small fix from Peer Heijnen, aproved by Marc. On internal requests we create we also need to set the host, so error pages work in virtual hosts.

Re: Future of Filter?

2001-04-25 Thread Craig R. McClanahan
On Wed, 25 Apr 2001, Bob Jamison wrote: > Amy Roh wrote: > > > Servlet spec 2.3 has changed to support init(FilterConfig config) and > > destroy() methods instead of getFilterConfig() and > > setFilterConfig(FilterConfig config) after discussion to change filter cycle > > to be similar to the

RE: Future of Filter?

2001-04-25 Thread seguin
this is kind of unrelated, but sort of related... will a filter only be used once per request? for example, if i have a filter mapped to /*, then from a servlet, i forward to another servlet or to a jsp, will the filter be run twice, or just once? thanks. > -Original Message- > From:

Re: tomcat+EJB container

2001-04-25 Thread Shawn McMurdo
Hi, You may also want to take a look at Enhydra Enterprise at http://enterprise.enhydra.org/ which incorporates Tomcat and the Jonas EJB server. You also may want to ask your question on the jonas mailing lists available at http://www.objectweb.org/ . Shawn Allan Kamau wrote: > Dear Gusev, > Per

Re: Future of Filter?

2001-04-25 Thread Bob Jamison
Amy Roh wrote: > Servlet spec 2.3 has changed to support init(FilterConfig config) and > destroy() methods instead of getFilterConfig() and > setFilterConfig(FilterConfig config) after discussion to change filter cycle > to be similar to the servlet life cycle in the expert group. The recent > c

Re: tomcat+EJB container

2001-04-25 Thread Allan Kamau
Dear Gusev, Perhaps you should try JBoss an open source EJB container, you will find documentation on JBoss-tomcat at http://www.jboss.org/business/jboss-tomcat.html and the binaries and source code (if required) from the www.jboss.org Allan. __

Re: Solaris Sparc Performance Problem

2001-04-25 Thread avm
> second delays add up. I like Linux a lot myself but the bosses here feel > more comfortable with more traditional business models, > and besides shouldn't Java run best on a Sparc with Solaris? >I am perplexed as to what the problem is and > would greatly appreciate any help or ideas I can

[BUG Report Tomat 3.2.1 release] servlet's twice calling

2001-04-25 Thread 박성수
os : unix & windows 2000servlet container : tomcat 3.2.1 releaseFor the two implementations presented below, requests submitted from the file fileupload.html call up fileUpload2.jsp twice.The file fileUpload2.jsp is called only once when fileupload.html submits a request on other serl

tomcat+EJB container

2001-04-25 Thread Gusev Anatolij
Hi, do you have any hints on setting up tomcat, to enable e.g. servlets to access EJB's in an EJB container, running in a separate JVM ? I have made some initial tries to access the J2EE RI container. First problem, calling getInitialContext() in the servlet throwed a javax.naming.NoInitialConte

How do I deploying servlets without a tomcat restart.

2001-04-25 Thread Allan Kamau
I would like to know how I could deploy servlets in incremental bases on a production server to an existing context without having to restart tomcat after modifying the context's web.xml Allan. __ FREE voicemail, email, and fax...all in one place