Re: triggering JSP page recompilation

2002-02-01 Thread Craig R. McClanahan
On Fri, 1 Feb 2002, Guillermo Payet wrote: Date: Fri, 1 Feb 2002 09:52:11 -0800 From: Guillermo Payet [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: triggering JSP page recompilation Hi, I recently installed Tomcat 4.0.1, (We used JServ

Re: jsp:useBean / Scope Bug in 4.01 !

2002-02-01 Thread Craig R. McClanahan
On Fri, 1 Feb 2002, L Rutker wrote: Date: Fri, 01 Feb 2002 12:59:34 -0500 From: L Rutker [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: jsp:useBean / Scope Bug in 4.01 ! Hi, The following is a bug I found using Tomcat 4.01 on NT4 The

Re: Are spaces allowed in Servlet Context names?

2002-02-01 Thread Craig R. McClanahan
AFAIK, they should be allowed, but that is a question to check in RFC 2396 (which defines the legal syntax for URLs, and which the servlet spec references). I did confirm that it fails with Tomcat 4. Craig On Fri, 1 Feb 2002, David M Johnson wrote: Date: Fri, 01 Feb 2002 14:33:33 -0500

Re: subdomain

2002-02-01 Thread Craig R. McClanahan
On Fri, 1 Feb 2002, Thompson, Douglas wrote: Date: Fri, 1 Feb 2002 14:02:08 -0600 From: Thompson, Douglas [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: subdomain Does anyone know how to set the session cookie's doimain

Re: Does the servlet security model work with the J2EE BlueprintMVC?

2001-08-15 Thread Craig R. McClanahan
On Wed, 15 Aug 2001, Jerome Jacobsen wrote: Hello, The Java Servlet Specification (Version 2.3, Draft 2) under SRV.12.2 states: The security model applies to the static content part of the web application and to servlets within the application that are requested by the client. The

RE: Does the servlet security model work with the J2EE BlueprintMVC?

2001-08-15 Thread Craig R. McClanahan
-Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 12:40 PM To: Tomcat User's Group; [EMAIL PROTECTED] Subject: Re: Does the servlet security model work with the J2EE Blueprint MVC? On Wed, 15 Aug 2001, Jerome Jacobsen wrote

RE: Does the servlet security model work with the J2EE Blueprint MVC?

2001-08-15 Thread Craig R. McClanahan
On Wed, 15 Aug 2001, Lin, Zhongwu wrote: I have a question about the last paragraph of you answer. [Lin, Zhongwu] can you explain in more detail on the last paragraph: put those JSP pages inside the /WEB-INF directory. This works because the container will

Re: interesting mistake in the tomcat implementation jsp standart.

2001-08-15 Thread Craig R. McClanahan
This is a user error. It is not valid to reference pageContext outside the actual execution of the tag. Once doEndTag() is called, none of the instance variables have any valid values. Craig McClanahan On Wed, 15 Aug 2001, YMikulski wrote: Hello! I found a mistake in implementation jsp

RE: auto-reload classes

2001-08-15 Thread Craig R. McClanahan
-Original Message- From: Martin van den Bemt [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 4:57 PM To: [EMAIL PROTECTED] Subject: RE: auto-reload classes set the reloadable=true in you server.xml or other main xml files (in the webapp config). Reloading is only

Re: I can't get TOMCAT 4b6 and IIS5 to work over SSL

2001-08-15 Thread Craig R. McClanahan
On Wed, 15 Aug 2001, Curtis Dougherty wrote: I have Tomcat 4b6 IIS 5 Win2K I have the redirect working...I think I have an SSL Certificate installed and working on my Win2K box When I request the INDEX.JSP page from my site https://mysite.someplace.com/fooey I GET the file AND I

Re: FW: catalina SSL

2001-08-15 Thread Craig R. McClanahan
On Thu, 16 Aug 2001, Pier P. Fumagalli wrote: OH SSL GURU! :) :) Do you have any clue (Reply to all so it'll go in tomcat-users too!) Pier -- Forwarded Message From: cib [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 15 Aug 2001 20:17:58 +0200 To: Tomcat User

Re: Tomcat port 8080, Apache port 80, jsp?

2001-08-16 Thread Craig R. McClanahan
On Thu, 16 Aug 2001, Shawn Evans wrote: I am running the latest 4.0(7) and I cannot find the DLL for it. Does anyone know where I can d-load one... I know I know NT, but my office is buying me a new Linux server. I assume you're talking about the mod_webapp connector, right?

Re: Tomcat User list - NNTP?

2001-08-16 Thread Craig R. McClanahan
On Thu, 16 Aug 2001, Chris Gross wrote: Is there a usenet group that mirrors this list? Or another way to browse this list using my newsgroup reader? With most mail readers, you can get *very* close to the same user experience. Here's what I do with Netscape Communicator: * Set up a

RE: Session of Tomcat.

2001-08-16 Thread Craig R. McClanahan
On Thu, 16 Aug 2001, Michael Wentzel wrote: Can I catch the event when a session is created from tomcat? Yes, take a look at javax.servlet.HttpSessionBindingListener in servlet API. This has been covered on this group before please look at the list archives. Actually, this doesn't

Re: Tomcat 4 restart command?

2001-08-16 Thread Craig R. McClanahan
On Thu, 16 Aug 2001, Jonathan Eric Miller wrote: I'm wondering if in Tomcat 4 there is a restart command that you can use to restart it rather than having to stop and start it using startup and shutdown scripts? The problem that I have is that it takes time for it to startup and

Re: Way to tell Tomcat 4 to reload tomcat-users.xml without havingto restart?

2001-08-16 Thread Craig R. McClanahan
On Thu, 16 Aug 2001, Jonathan Eric Miller wrote: Does anyone know if there is a way to tell Tomcat 4 to reload the tomcat-users.xml file? No, although it would be technically feasible to implement somethng. I want to give users the ability to change their passwords without having to

Re: Version

2001-08-16 Thread Craig R. McClanahan
On Thu, 16 Aug 2001, Barnabas Yohannes wrote: Rob, Obviously, you and I need to learn a little more before we can open our own little yahoo shop. I found out that in tomcat, it is named LICENSE. lol! I'm just kidding dude! That help was very useful and more than $10 worth even though

Re: Way to tell Tomcat 4 to reload tomcat-users.xml without havingto restart?

2001-08-16 Thread Craig R. McClanahan
versions of these Realms that did something different (or looked in a different place). Thanks, Jon Craig - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Tomcat User List [EMAIL PROTECTED] Sent: Thursday, August 16, 2001 3:19 PM Subject: Re: Way to tell Tomcat 4

Re: restriction on number of logon tries

2001-08-16 Thread Craig R. McClanahan
On Thu, 16 Aug 2001, Joseph Toussaint wrote: sorry I forgot to change the subject line I'm using J2EE security in a tomcat application. I want to disable an account after say 5 unsuccessful tries. Is this possible. thanks You would need to modify the relevant Realm

Re: Tomcat/4.0-b7: ERROR reading java.io.FileInputStream@2d263f

2001-08-16 Thread Craig R. McClanahan
On Thu, 16 Aug 2001, Cyril Bouteille wrote: Hello, I upgraded to Apache Tomcat/4.0-b7, but am still having the same error: ERROR reading java.io.FileInputStream@2d263f At Line 25 /web-app/servlet/ What is the entire stack trace? What does *your* web.xml file look like, particularly

RE: Are many people running Tomcat 4 in standalone mode?

2001-08-16 Thread Craig R. McClanahan
On Fri, 17 Aug 2001, Dmitri Colebatch wrote: On Thu, 16 Aug 2001, Rob S. wrote: files. For personal sites, I would run standalone. It's less of a hassle to configure and maintain. and run tomcat as root or run a squid accelerator? With Tomcat 4 you won't have to run as root to

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Craig R. McClanahan
On Fri, 17 Aug 2001, Roberto B. wrote: I use the webapp connector between Apache and Tomcat 4. Where are the config file that generate Tomcat? You don't need any generated config files for mod_webapp -- that's part of the real beauty of it :-). When you declare a particular web

RE: problem in loading jar files in WEB-INF\lib directory

2001-08-17 Thread Craig R. McClanahan
On Fri, 17 Aug 2001, Rob S. wrote: Sounds like you could learn a lot from reading the Application Developer's Guide that comes packaged with tomcat in the /doc directory. It's also available online at: http://jakarta.apache.org/tomcat/index.html The most up-to-date version of this

RE: problem in loading jar files in WEB-INF\lib directory

2001-08-17 Thread Craig R. McClanahan
On Fri, 17 Aug 2001, Paresh Deshpande wrote: Hi Rob, thanks for your reply, Rob. I was waiting for the reply for quite a while :)). It is not specifically mentioned in the docs how the class files in WEB-INF\classes are loaded. Neither is it mentioned whether the jar file in the

Re: JDBCRealm and SimpleRealm conflicts

2001-08-17 Thread Craig R. McClanahan
In 3.2, realms are global so it is an either/or choice. 3.3 or 4.0 let you have realm per virtual host or realm per webapp. Craig On Fri, 17 Aug 2001, Chris Gross wrote: I've got a RequestIntercepter and JDBCRealm setup in Tomcat. I've noticed that I need to comment out the SimpleRealm

Re: Context does not initialise

2001-08-17 Thread Craig R. McClanahan
What OS? What JDK? This works for most people, but somebody reported something similar on MacOSX this morning. Craig On Fri, 17 Aug 2001, Willy Faes wrote: Sorry that I rephrase my question but I still have the same problem. I installed Tomcat-4.0B7 without a problem. But when I start

Re: Tomcat/4.0-b7: ERROR reading java.io.FileInputStream@2d263f

2001-08-17 Thread Craig R. McClanahan
On Fri, 17 Aug 2001, Cyril Bouteille wrote: Craig, I upgraded to Apache Tomcat/4.0-b7, but am still having the same error: ERROR reading java.io.FileInputStream@2d263f At Line 25 /web-app/servlet/ What is the entire stack trace? Unfortunately, no stack trace is showing up,

Re: Tomcat 4 doesn't start examples or webdav context

2001-08-17 Thread Craig R. McClanahan
On Fri, 17 Aug 2001, Rob S. wrote: Did you modify the Examples application in any way? Because it's weird. I have 3 MacOS/X 10.0.4 boxes and never had one single problem... omg! I've figured out why Cali is running out of power! =) Except for the fact that Pier's in London, that

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Craig R. McClanahan
On Fri, 17 Aug 2001, David Smith wrote: That's an unsettling feeling. Never trust incoming form data, but if Tomcat is running as a less priveledged user, the potential damage from malformed form data is reduced. I personally would never run a web app as root just for the black hole

Re: callbacks to the container or similar exist ?

2001-08-17 Thread Craig R. McClanahan
On Fri, 17 Aug 2001, Grobe, Gary wrote: I've posted this before and am still looking for a solution. After reading the Tomcat architecure docs, I have a question. Is there anyway to call the invoke method of a container from the webserver whenever needed. i.e. If I wanted to get the

Re: Installing 2 versions of Tomcat

2001-08-17 Thread Craig R. McClanahan
On Fri, 17 Aug 2001, Jim Handwerk wrote: All, I'm attempting to setup TC 3.2.3 and TC 4 standalone on the same machine, same port, different IP addresses - RH 7.1 machine has 2 NICs. When I try to start up the second instance, I get a BindException. In the respective server.xml

Re: Tomcat/4.0-b7: ERROR reading java.io.FileInputStream@2d263f

2001-08-17 Thread Craig R. McClanahan
On Fri, 17 Aug 2001, Cyril Bouteille wrote: Craig, I'm confused as to why I should not modify that file. Do you mean tomcat includes the $CATALINA_HOME/conf/web.xml by default and I don't need to redefine the standard servlets in my WEB-INF/web.xml? Yes.

RE: Posting data to a JSP kept residing in Tomcat

2001-08-18 Thread Craig R. McClanahan
On Sat, 18 Aug 2001, Hiten Hemchand Vira wrote: Is there no one who can give solution to the following problem JSP pages consume the input stream on a POST transaction as they look for request parameters. Therefore, by the time your scriptlet is executed, there is nothing left to

Re: ClassLoader Reloading issues

2001-08-19 Thread Craig R. McClanahan
On Mon, 20 Aug 2001, Andrés Aguiar wrote: I have a JAR file in my web-inf\lib directory that has an object pool. The pool is kept as a singleton, so, I have a static member with it. And because the class itself is loaded by the webapp class loader, the static is in fact global *only*

RE: ClassLoader Reloading issues: static values

2001-08-20 Thread Craig R. McClanahan
On Mon, 20 Aug 2001, Miles Daffin wrote: This is an interesting one. I had assumed that statics were a nono in webapps because they broke Context encapsulation. It appears, however, that you can have your cake and eat it. At least in TC 3.2.1. Actually, in all containers that

Re: Does AJPv1x need Content-Length ?

2001-08-20 Thread Craig R. McClanahan
On Mon, 20 Aug 2001 [EMAIL PROTECTED] wrote: hi, I'm trying to send data to a servlet through a TCP connection. I create my socket, then send a GET /myapp HTTP/1.1 ... But I need to define the content-length for apache to transfert the data to the servlet and afterwaerds I can't send

Re: New to servlets: Parameter initialisation in web.xml

2001-08-20 Thread Craig R. McClanahan
On Mon, 20 Aug 2001, chris hutchings wrote: Hi, i am new to servlets, and i am working through the examples in a servlets book, I have to set some init-param parameters in web.xml that are used in one of the examples init() method. Unfortunately the initialisation is not working

Re: New to servlets2: Parameter initialisation in web.xml

2001-08-20 Thread Craig R. McClanahan
On Mon, 20 Aug 2001, Rob S. wrote: public void init() throws ServletException { Don't you have to do a super.init() here? I remember this being a common problem... You do not have to if you implement the zero-arguments version of init(). The old problem was when you

RE: https, redirect

2001-08-20 Thread Craig R. McClanahan
On Mon, 20 Aug 2001, Martin van den Bemt wrote: I think you have to install the https protocol handler from the jsse pacakage. Documentation is provided with jsse to get it working (I had troubles with the non programming solution, the java.policy file, so if you bump in to that, register

Re: docs

2001-08-20 Thread Craig R. McClanahan
On Mon, 20 Aug 2001 [EMAIL PROTECTED] wrote: Thanks. Where is TOMCAT_OPTS documented? In the source code of tomcat.bat and tomcat.sh :-). Seriously, it does need to be documented. But, in terms of answering the question that started this thread, it's the right thing to use. For

RE: SSL-How-2 for Tomcat 4

2001-08-20 Thread Craig R. McClanahan
On Mon, 20 Aug 2001, Curtis Dougherty wrote: I did... Still won't work... :( It's pretty difficult to debug an it doesn't work type statement :-). Can you provide any details like *exactly* what you did, and *exactly* how the system responded (versus what you expected the response to

Re: tomcat 4 datasource casting

2001-08-20 Thread Craig R. McClanahan
Where do you have the jdbc2_0-stdext.jar file? I'm betting that it needs to be in $CATALINA_HOME/common/lib only for this to work -- because JAR files here are on the class loading path for both Catalina internal classes and web application classes. Craig On Mon, 20 Aug 2001 [EMAIL PROTECTED]

Re: TCb7 can't find my application specific classes

2001-08-20 Thread Craig R. McClanahan
On Mon, 20 Aug 2001, S Ramakrishnan wrote: Env: Tomcat b7 standalone, Windows 2000 Problem: I find that Tomcat ends up looking for my application classes under the prefix org.apache.jsp. For instance, I have a class under webapps\brcat\WEB-INF\classes\Banner.class. The JSP that

RE: tomcat 4 datasource casting

2001-08-21 Thread Craig R. McClanahan
applicaiton only things), Catalina internal classes don't get involved, so you can put mail.jar and activation.jar into $CATALINA_HOME/lib. Zhongwu Craig -Original Message- From: Craig R. McClanahan [SMTP:[EMAIL PROTECTED]] Sent: Monday, August 20, 2001 5:16 PM

Re: tomcat 4 datasource casting

2001-08-21 Thread Craig R. McClanahan
On Tue, 21 Aug 2001, Pier P. Fumagalli wrote: Sometimes JDBC is a little bit overreactive :) :) :) Actually, the difference is caused by the fact that Catalina needs to do the same casts as the web app does, so it needs to use exactly the same javax.sql.DataSource class definition. It's

Re: JMX related

2001-08-21 Thread Craig R. McClanahan
On Tue, 21 Aug 2001, Sriram Rajamanuri wrote: Hi I v installed tomcat 4.0 b7 on win nt 4.0. I wonder how the MBeans can be registered with the tomcat server. All over the net i have found documentation related to JBOSS-Tomcat, which i do not want. I need to install MBeans on a

Re: Multiple Url Patterns

2001-08-21 Thread Craig R. McClanahan
On Tue, 21 Aug 2001, Jonathan Holloway wrote: I have a number of servlets deployed in a web application under tomcat, one of these servlets is specifically accessed as follows: http://localhost/servlets/exampleServlet My problem is that I need to access exactly the same servlet but

Re: log4j in custom tags

2001-08-21 Thread Craig R. McClanahan
On Tue, 21 Aug 2001, Andreas Leitner wrote: I want to use log4j from within a custom tag. Now, since the custom tag will be instanciated from the jasper JVM, the logj4 properties file of the webapp will of course not be used to setup log4j. The tag might be instantiated by Jasper

RE: SSL-How-2 for Tomcat 4

2001-08-21 Thread Craig R. McClanahan
On Tue, 21 Aug 2001, Curtis Dougherty wrote: No errors in the log file...BUT I did discover something unusual. I downloaded and installed Tomcat4b7 (been using Tomcat4b6) and - even though I have JAVA_HOME set to c:\java\jdk1.3.1 it saw the older version c:\java\jdk1.3 - SO... Why

Re: behaviour of getRequestDispatcher for bogus URLs

2001-08-21 Thread Craig R. McClanahan
On Tue, 21 Aug 2001, Kevin HaleBoyes wrote: What should the behaviour be if I call forward() on a RequestDispatcher that (I know) doesn't exist? (Ya, ya, I get the same behaviour as if I didn't know it doesn't exist :-) For example: getServletContext().

Re: Possible to return multiple responses/pages for a request?

2001-08-21 Thread Craig R. McClanahan
On Tue, 21 Aug 2001, Pierre Carette wrote: Where can I download a compatible version of the servlet API for tomcat 3.2 ? If you just need the classes themselves, the servlet.jar included with Tomcat is all you need. If you want the javadocs as well (and the servlet spec, hint hint :-), go

Re: behaviour of getRequestDispatcher for bogus URLs

2001-08-22 Thread Craig R. McClanahan
See embedded answers below. On Wed, 22 Aug 2001, Kevin HaleBoyes wrote: What should the behaviour be if I call forward() on a RequestDispatcher that (I know) doesn't exist? (Ya, ya, I get the same behaviour as if I didn't know it doesn't exist :-) For example:

Re: Sharing Authorization Between TC4 + Apache

2001-08-22 Thread Craig R. McClanahan
On Wed, 22 Aug 2001, David Molloy wrote: I am currently working on a project where users log into a Tomcat servlet-based system, which does numerous wonderful things :) However, one additional thing I would like to implement is to allow users authorized through the servlets (using

Re: Configuration

2001-08-22 Thread Craig R. McClanahan
On Wed, 22 Aug 2001, Stéphane De Jonghe wrote: Hi everybody, I would like to know how to configure TomCat 4B7 to see all the debug message on console and especially the request/response received and send by TomCat. It will be usefull for me to understand how HTTP protocol work. If you

Re: AW: http vs https

2001-08-22 Thread Craig R. McClanahan
On Wed, 22 Aug 2001, Frerichs, Rene wrote: Where can I find a SSL-How-2??? For which version of Tomcat? With 3.x it's included in the documentation that is reachable via http://localhost:8080 once you start Tomcat. For Tomcat 4, the most recent version (not yet integrated into the

Re: suppressing white space in jsps

2001-08-22 Thread Craig R. McClanahan
On Wed, 22 Aug 2001 [EMAIL PROTECTED] wrote: Is there any way to suppress the whitespace that is output by jsp's in Tomcat/Catalina? I have a simple jsp that generates a .csv, and sets the HTTP headers so that it opens in Excel (intranet app). Even with cramming all the jsp intro stuff on

Re: JSP - postService() or aequivalent ?

2001-08-22 Thread Craig R. McClanahan
On Wed, 22 Aug 2001, Manfred Schäfer wrote: Hi, Our Application architecture requires that we enclose method calls (in a JSP-File) with // create Environment tied to the current Thread Environment.createNewEnvironment(); try { ... do work ... } catch { // Removes Environment

Re: TC 4.0 - IllegalStateException: Cannot create a session afterthe response has been committed

2001-08-22 Thread Craig R. McClanahan
See below. On Wed, 22 Aug 2001, Blanchard Andrew H (CPOCEUR) wrote: I'm trying to get OpenSymphony Sitemesh 1.2 running under Tomcat 4.0. I've tried beta 7 and dev beta 8. Anyway, I'm receiving the following exception: java.lang.IllegalStateException: Cannot create a session after the

Re: Overriding jar files in /tomcat/lib

2001-08-22 Thread Craig R. McClanahan
On Wed, 22 Aug 2001, Stuart Clement wrote: Hi all, I'm running Tomcat 3.2.1 on Suse Linux 7.0 with JDK 1.3. I have an application that runs with xalan-j_2_0_1 and Xerces-J-1.4.0 which support namespaces, and the only way I can get tomcat to pick them up seems to be by removing jaxp.jar

Re: multiple context paths pointing to the same doc base?

2001-08-22 Thread Craig R. McClanahan
On Wed, 22 Aug 2001, Vladimir Grishchenko wrote: Hi there, May be somebody can give me a quick answer with regards to T3.2.2. I need to have multiple context paths to point to the same doc base, say my server.xml has the following entries: Context path=/somectx

Re: From tomcat 3.2 to tomcat 4

2001-08-22 Thread Craig R. McClanahan
On Wed, 22 Aug 2001, hatim wrote: Hi All i was using Tomcat 3.2 with apache , to configure tomcat i used in httpd.conf include /app/jakarta-tomcat/conf/mod_jk.conf-auto I tried to do the same thing with tomcat 4 , but :) it doesn t work , so how can i do that ? tomcat 4 is it very

Re: Singleton instantiation accross webapps

2001-08-22 Thread Craig R. McClanahan
On Wed, 22 Aug 2001, Gabriel J Zimmerman wrote: A follow up to my previous question: If a Singleton class is located in the WEB-INF/lib of one webapp and an identical class is also located in the WEB-INF/lib of another webapp, when the class is instantiated by one of the webapps, is the

Re: multiple context paths pointing to the same doc base?

2001-08-22 Thread Craig R. McClanahan
Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 22, 2001 9:41 AM Subject: Re: multiple context paths pointing to the same doc base? On Wed, 22 Aug 2001, Vladimir Grishchenko wrote: Hi there, May be somebody can give me a quick

Re: multiple context paths pointing to the same doc base?

2001-08-22 Thread Craig R. McClanahan
On Wed, 22 Aug 2001, Vladimir Grishchenko wrote: Date: Wed, 22 Aug 2001 11:19:47 -0700 From: Vladimir Grishchenko [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: multiple context paths pointing to the same doc base? Thanks for the clarification, it

RE: Singleton instantiation accross webapps

2001-08-22 Thread Craig R. McClanahan
On Wed, 22 Aug 2001, Brandon Cruz wrote: So, having different copies of the same class, one in tomcat_home/lib and one in web-inf/lib will result in confusion, Yes, for us humans, at least :-) See below for more. or will the one in web-inf/lib always be loaded That depends on

Re: multiple context paths pointing to the same doc base?

2001-08-22 Thread Craig R. McClanahan
On Thu, 23 Aug 2001, Dmitri Colebatch wrote: Date: Thu, 23 Aug 2001 06:42:13 +1000 From: Dmitri Colebatch [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: multiple context paths pointing to the same doc base? On Wed, 22 Aug 2001, Vladimir Grishchenko

Re: a simple ( irritating) classpath problem

2001-08-23 Thread Craig R. McClanahan
On Thu, 23 Aug 2001, yilmaz wrote: Date: Thu, 23 Aug 2001 14:12:54 +0800 From: yilmaz [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: a simple ( irritating) classpath problem thanks Dimitri but that is what i exactly did, and (of course) i imported

Re: a simple ( irritating) classpath problem

2001-08-23 Thread Craig R. McClanahan
On Thu, 23 Aug 2001, Jonathan Eric Miller wrote: Date: Thu, 23 Aug 2001 08:38:50 -0500 From: Jonathan Eric Miller [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: a simple ( irritating) classpath problem - Original Message - From: Dmitri

Re: Imaginative webapp setup. Is this possible to do?

2001-08-23 Thread Craig R. McClanahan
On Thu, 23 Aug 2001, Jeff Turner wrote: Date: Thu, 23 Aug 2001 19:13:21 +1000 From: Jeff Turner [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Imaginative webapp setup. Is this possible to do? On Thu, Aug 23, 2001 at 12:43:49AM -0500, Brandon Cruz

Re: Start up Sax exception init param

2001-08-23 Thread Craig R. McClanahan
On Thu, 23 Aug 2001, cib wrote: Date: Thu, 23 Aug 2001 08:54:24 +0200 From: cib [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED], cib [EMAIL PROTECTED] To: Tomcat User Mail List [EMAIL PROTECTED] Subject: Start up Sax exception init param Hi, I've upgraded to Cocoon2.0b1 from beta1. But

Re: change WEB-INF location

2001-08-23 Thread Craig R. McClanahan
The name /WEB-INF/ and its role in servlet containers is required by the servlet spec, and cannot be changed. Craig On Thu, 23 Aug 2001, - Rajo - wrote: Date: Thu, 23 Aug 2001 10:39:25 +0100 From: - Rajo - [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: change

Re: Mozilla and Tomcat

2001-08-23 Thread Craig R. McClanahan
On Thu, 23 Aug 2001, John Baker wrote: Date: Thu, 23 Aug 2001 14:28:55 +0100 From: John Baker [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Mozilla and Tomcat So readers, can I assume noone has anything useful to add to why Tomcat produces:

Re: class xxx is not a servlet ?

2001-08-23 Thread Craig R. McClanahan
99.9% cause of this is having servlet.jar in the wrong place (it belongs in $CATALINA_HOME/commons/lib *only*), having it in your Java extensions directory ($JAVA_HOME/jre/lib/ext), or hacking it in to the CLASSPATH when Tomcat is started. In particular, IIRC, Cocoon (at least for a while) was

Re: custom error page not working in TC40-b7

2001-08-23 Thread Craig R. McClanahan
See intermixed. On Thu, 23 Aug 2001, Peiqiang Han wrote: Date: Thu, 23 Aug 2001 19:52:11 +0500 From: Peiqiang Han [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: custom error page not working in TC40-b7 I have some problems to make custome error pages

Re: JNDIRealm questions

2001-08-23 Thread Craig R. McClanahan
example, because there's more than one usual way that people populate their LDAP servers. Craig [Tomcat 4] - JndiRealm Proposals From: Craig R. McClanahan Subject: [Tomcat 4] - JndiRealm Proposals Date: Tue, 10 Apr 2001 10:05:39 -0700 Over the last few weeks, there has been a high

Re: How to deploy a multi-layered web contexts?

2001-08-23 Thread Craig R. McClanahan
On Thu, 23 Aug 2001, Keith wrote: Date: Thu, 23 Aug 2001 16:28:22 -0400 From: Keith [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: How to deploy a multi-layered web contexts? Hello, The website we are devloping is being developed by several different

Re: JNDIRealm questions

2001-08-23 Thread Craig R. McClanahan
is supported? At present it does not :-(. There are some proposed patches that provide this facility on the developer mailing list, and I plan to integrate those soon. Jon Craig - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday

Re: Redirect page after catching exception

2001-08-23 Thread Craig R. McClanahan
On Thu, 23 Aug 2001, Yuval wrote: Date: Thu, 23 Aug 2001 23:39:05 +0200 From: Yuval [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED], [EMAIL PROTECTED] To: Tomcat-User (E-mail) [EMAIL PROTECTED] Subject: Redirect page after catching exception Hi, can someone help we with how to stop the

Re: FYI: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/index.html broken links

2001-08-23 Thread Craig R. McClanahan
On Thu, 23 Aug 2001, Noel L Yap wrote: Date: Thu, 23 Aug 2001 17:12:58 -0400 From: Noel L Yap [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: FYI: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/index .html broken links The following links

Re: static variables in multiple contexts PLEASE HELP

2001-08-23 Thread Craig R. McClanahan
This was answered (again, it's a popular question) yesterday. Whether a static is global or not depends on where the class is loaded from. If it's loaded from /WEB-INF/classes or /WEB-INF/lib, the static is local to your web app. If the class is loaded from Tomcat's lib directory, or from the

Re: Question working with security realms

2001-08-23 Thread Craig R. McClanahan
On Thu, 23 Aug 2001, Roland wrote: Date: Thu, 23 Aug 2001 20:01:30 -0300 From: Roland [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Question working with security realms Hello, I have programmed an application that has a login.jsp page. Now I will add

RE: static variables in multiple contexts PLEASE HELP

2001-08-23 Thread Craig R. McClanahan
-Original Message- From: craigmcc@localhost [mailto:craigmcc@localhost]On Behalf Of Craig R. McClanahan Sent: Thursday, August 23, 2001 6:13 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: static variables in multiple contexts PLEASE HELP This was answered (again, it's a popular

Re: How do I make Tomcat include needed jars for my servlet?

2001-08-24 Thread Craig R. McClanahan
On Fri, 24 Aug 2001, Ju Yan Jery Qin wrote: Date: Fri, 24 Aug 2001 16:58:14 +0800 From: Ju Yan Jery Qin [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: How do I make Tomcat include needed jars for my servlet?

Re: A query on Single Sign On

2001-08-24 Thread Craig R. McClanahan
On Fri, 24 Aug 2001, Shilpa Potnis wrote: Date: Fri, 24 Aug 2001 15:53:30 +0530 From: Shilpa Potnis [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: A query on Single Sign On Hi I would like to know about the Single Sign On Facility. If I have an

Re: Trying to start Tomcat without jaxp.jar and parser.jar

2001-08-24 Thread Craig R. McClanahan
Sounds like you're trying this on Tomcat 3.2. This version of Tomcat *requires* an XML parser in the lib directory (or on the classpath) for its own internal operations. Craig On Fri, 24 Aug 2001, Enric Staromiejski wrote: Date: Fri, 24 Aug 2001 12:28:02 +0200 From: Enric Staromiejski

Re: Please help: Problems building tomcat b7, environment variablesnot recognized

2001-08-24 Thread Craig R. McClanahan
On Fri, 24 Aug 2001, Levent Gündogdu wrote: Date: Fri, 24 Aug 2001 14:01:39 +0200 From: Levent Gündogdu [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Jakarta Tomcat User Maillinglist [EMAIL PROTECTED] Subject: Please help: Problems building tomcat b7, environment variables not

Re: Search for catalinautil.jar

2001-08-24 Thread Craig R. McClanahan
On Fri, 24 Aug 2001, Stéphane De Jonghe wrote: Date: Fri, 24 Aug 2001 16:40:14 +0200 From: Stéphane De Jonghe [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Search for catalinautil.jar Hi, where can i find this jar : catalinautil.jar ? I don't recognize

Re: Question working with security realms

2001-08-24 Thread Craig R. McClanahan
On Fri, 24 Aug 2001, Roland wrote: Date: Fri, 24 Aug 2001 15:27:22 -0300 From: Roland [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Question working with security realms Using container managed security means you should *not* do your own

Re: Question working with security realms

2001-08-24 Thread Craig R. McClanahan
On Fri, 24 Aug 2001, Roland wrote: Date: Fri, 24 Aug 2001 17:28:08 -0300 From: Roland [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Question working with security realms You don't have to do any forwarding. Consider the various login methods that

Re: OutOfMemory - Set Java Heap Size?

2001-08-24 Thread Craig R. McClanahan
The java command line option you want is actually -Xmx256m to set the maximum heap size. To set this, you can establish an environment variable named TOMCAT_OPTS (Tomcat 3.x) or CATALINA_OPTS (Tomcat 4.x) that contains the command line options to be sent to the JVM. For example: export

Re: Error 500 with java.jang.NoSuchMethodError

2001-08-24 Thread Craig R. McClanahan
Look for an old or incorrect version of servlet.jar (or possibly j2ee.jar) in your CLASSPATH, or in your $JAVA_HOME/jre/lib/ext directory and remove it. Craig On Fri, 24 Aug 2001, Stefano Monni wrote: Date: Fri, 24 Aug 2001 23:10:28 +0200 From: Stefano Monni [EMAIL PROTECTED] Reply-To:

Re: Question working with security realms/Bug discovered?

2001-08-24 Thread Craig R. McClanahan
Users should *never* try to request the login page correctly. Likewise, the user interface of your app should never reference it. Just set up your links to point at the real pages. The servlet container will pop up the form login page whenever the user accesses a protected page, and then honor

Re: default encoding of jsp pages

2001-08-25 Thread Craig R. McClanahan
On Sat, 25 Aug 2001, Taavi Tiirik wrote: Date: Sat, 25 Aug 2001 22:03:20 +0200 From: Taavi Tiirik [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: default encoding of jsp pages How can I set encoding of .jsp page to something other than 8859-1. Add a page

Re: how to check if user is authenticated

2001-08-26 Thread Craig R. McClanahan
On Sun, 26 Aug 2001, Taavi Tiirik wrote: Date: Sun, 26 Aug 2001 15:49:19 +0200 From: Taavi Tiirik [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: how to check if user is authenticated I am doing form based login using JDBCRealm and for logging out I call

Re: Help with Tomcat4

2001-08-26 Thread Craig R. McClanahan
On Sun, 26 Aug 2001, Anand B N wrote: Date: Sun, 26 Aug 2001 21:28:51 +0530 From: Anand B N [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Help with Tomcat4 Hi, I'm using experimenting with Tomcat4 and I did the following:- I wrote a servlet that

Re: web.XML - JSP mapping ?

2001-08-26 Thread Craig R. McClanahan
On Sun, 26 Aug 2001, Frot wrote: Date: Sun, 26 Aug 2001 15:21:38 +0200 From: Frot [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED], [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: web.XML - JSP mapping ? Hi, Also a bit off subject, but I need some mapping for JSP pages. I get the

Re: Problem with jakarta.apache.org on Aug 26 morning

2001-08-26 Thread Craig R. McClanahan
On Sun, 26 Aug 2001, Peter Shankey wrote: Date: Sun, 26 Aug 2001 10:08:34 -0400 From: Peter Shankey [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Problem with jakarta.apache.org on Aug 26 morning or do I have a problem from my location??

Re: Using Normal Html in methods, or class structures in JSP

2001-08-26 Thread Craig R. McClanahan
Your example below creates a syntactically invalid page -- if you use the %! ... % construct to declare a method, the *entire* method declaration needs to be inside the same construct. You should really really really be using servlets for stuff like this -- trying to mix code and HTML output on

Re: Start up Sax exception init param

2001-08-26 Thread Craig R. McClanahan
Nobody answered my question on the cocoon user mailing list, maybe it was badly fomulated. - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Tomcat User Mail List [EMAIL PROTECTED]; cib [EMAIL PROTECTED] Sent: Thursday, August 23, 2001 5:48 PM Subject: Re: Start

Re: OutOfMemory - Set Java Heap Size?

2001-08-27 Thread Craig R. McClanahan
On Mon, 27 Aug 2001, Max Hugen wrote: Unfortunately, I still cannot launch a 7th Tomcat process, and I don't understand why not. I feel I'm missing something, but I just can't figure it out. 6 works, but adding a seventh raises the OutOfMemoryError. Well, have you checked your OS's memory

<    5   6   7   8   9   10   11   12   13   14   >