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

2001-04-25 Thread Jon Stevens
on 4/24/01 7:58 PM, horwat [EMAIL PROTECTED] wrote: My bad. Flog me. Justy Yea! :-) -jon

FW: Sun J2EE RI, JSP, Include, ErrorPage -- cannot use an errorpage with dinamically included JSPs

2001-04-25 Thread Jarecsni Jnos
Hi! I have a very unnoying problem. In a J2EE application I use a "master JSP" as a template for generating predefined screens (the idea is borrowed from the demo application PetStore). This JSP includes several other JSPs (for the top, left side, right side, central, bottom positions). What

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

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

[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

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

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: 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

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,

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: 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 servlet

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

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/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

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

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

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 afetr a

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

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

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

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, thanks for

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.

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

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. Glenn The

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

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

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

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

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

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

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,

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 :-)

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

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

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/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