Re: Do not understand tomcat-apache autoconfiguration

2003-03-20 Thread Bill Barker
If it wasn't deprecated, I'd probably go back and add a 3.3-style all-in directive to the 4.x auto-config. In the mean-time go back and read http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html#Using%20Apach eConfig. Vincent Panel [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: User Interface To Tomcat User List

2003-03-19 Thread Bill Barker
As you might have noticed from this reply, it is currently possible to access this list from the unsupported by, and in no way connected to or endorsed by Jakarta/Apache news group news://news.gmame.org/gmane.comp.jakarta.tomcat.user. NormW [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: Can't connect to X11 window server using '0:0' as the value ofthe display

2003-03-19 Thread Bill Barker
Zsolt Koppany [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, does it need modifications in the application or it will work with every AWT dependent application? Depends what you want to do basically. Running headless causes the JVM to replace most of the basic functions that

Re: Tomcat 3.3.1a - NoClassDefFoundError using service

2003-03-19 Thread Bill Barker
I'm not really a Windows user, but I believe that you want to use 'wrapper.jvm.options' in place of 'wrapper/jvm/options' in your wrapper.properties file. MaurĂ­cio [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I have a problem running Tomcat 3.3.1a with JavaSDK1.3. When I

Re: TC 3.3.1 new tomcat.sh

2003-03-17 Thread Bill Barker
Urm, this is probably better suited to the tomcat-dev list. Replies intermixed. Hans Schmid [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I just tried the newest version of tomcat.sh in the 3.3.1 version of TC Works like a charme (I need the JDPA support which I hardcoded

Re: Tuning Tomcat 3

2003-03-17 Thread Bill Barker
Well, for a high-load system, the first thing that I would do is to use the 3.3.2-dev (aka nightly) CoyoteConnector. It is much more efficient at handling requests than the Http10Connector that ships with 3.3.1 (which in turn, is much better than the connector that ships with 3.2.x). It is

Re: Get object from session before it expires.

2003-03-17 Thread Bill Barker
public class MyObject implements HttpSessionBindingListener { private boolean interesting = false; ... public boolean isInteresting() { return interesting; } public void setInteresting(boolean yesno) { interesting = yesno; } public void

Re: GZIP support in Coyote HTTP/1.1?

2003-03-17 Thread Bill Barker
Ronald Klop [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, The RELEASE-NOTES state: [4.1.19] CoyoteConnector: Add HTTP/1.1 GZIP compression support. Is this in org.apache.coyote.tomcat4.CoyoteConnector or in another connector? I can't find an option to enable

Re: Building Tomcat

2003-03-17 Thread Bill Barker
Well, the building.txt file in the top-level of the source distribution can't hurt :-). For TC 4.1.x it is pretty much: 1) download and un-tar the source distribution to .../jakarta-tomcat-4.1.x-src 2) download and un-tar the jtc source distribution to .../jakarta-tomcat-connectors-4.1.x-src 3)

Re: Problem with default servlet

2003-03-14 Thread Bill Barker
rf [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello I am using a caching Filter that *conditionally* uses the default servlet (through RequestDispatcher) to serve a page, or generate it again. In the case when the default servlet is used to serve the page, this servlet seems

Re: custom .properties file

2003-03-14 Thread Bill Barker
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I try tu put it in all this folders but I receive a FileNotFoundException!!! - Original Message - From: Bill Barker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 14, 2003 8:08 AM Subject: Re: custom .properties

Re: Doubt regarding FormAuthenticator

2003-03-14 Thread Bill Barker
that the control should be directed to my Valve during FormAuthentication and not to the FormAuthenticator. Bill Barker wrote: You can add a custom Authenticator (Form or otherwise) by adding under the Context ... Valve className=com.myfirm.mypackage.MyAuthenticator ... / /Context

Re: Extending HttpServletRequest / HttpServletResponse ???

2003-03-14 Thread Bill Barker
It depends on the version. The answer is no for Servlet-2.2 containers (e.g. Tomcat 3.x). The answer is yes for Servlet-2.3 containers (e.g. Tomcat 4.x). In fact, for Servlet-2.3 containers it is one of the most common things that a Filter does. If you are using Tomcat 4.x, then look into

Re: mod_jk for 3.2.4

2003-03-14 Thread Bill Barker
You can get Tomcat 3.2.4 from http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.4/bin/. I, personally, haven't seen a post of somebody that has made the binaries available for Tru64 Unix. As a result, the best pointer I can give you is to download the source from

Re: Doubt regarding FormAuthenticator

2003-03-13 Thread Bill Barker
You can add a custom Authenticator (Form or otherwise) by adding under the Context ... Valve className=com.myfirm.mypackage.MyAuthenticator ... / /Context Of course, if you do this, Tomcat assumes that you know what you are doing. If you add a Form Authenticator to a Context that is configured

Re: Tomcat not sending session cookies to IE

2003-03-13 Thread Bill Barker
I've never had problems myself with TC 3.3.x-5.0.x (I stopped using 3.2.x long ago :). IE 6.x has a cookie-lockout feature that may be causing the problem. With the factory settings, Tomcat should be fine. Go to Tools-Internet Options-Privacy to see if your settings are too high (e.g. anything

Re: KEEP-ALIVE

2003-03-13 Thread Bill Barker
If you are using the CoyoteConnector (the default for 4.1.x), then set the maxKeepAliveRequests=1 attribute on the Connector. This will effectively disable Keep-Alives. Carlos Manuel Belo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] We are using TomCat without Apache and using

Re: Convenience on using apache+tomcat vs tomcat alone

2003-03-13 Thread Bill Barker
It still depends. If the graphics are large, or numerous then you may still win with Apache+jk. The only way to know for sure is to try it both ways. If you don't have the time/budget/patience for this, then my first guess would be that Tomcat-Standalone would be a good option. Simone Chiaretta

Re: custom .properties file

2003-03-13 Thread Bill Barker
Well, it depends where you are loading your driver from. If it is in WEB-INF/lib, then put your file in WEB-INF/classes. Otherwise, if it is in $CATALINA_HOME/shared/lab, put it in $CATALINA_HOME/shared/classes. If you are using common, then s/shared/common/. Alessandro Scaramuzza [EMAIL

Re: problem with hyphen in hostname

2003-03-13 Thread Bill Barker
is what's happening.) I don't understand why the redirection and the two request methods are dropping the hyphen. Am I doing something wrong? Thanks Cindy At 11:26 PM 3/11/03 -0800, Bill Barker wrote: I just tested this, and it works for me. My first guess would be that the Host tag is setup

Re: Bad Cookie Handling in Tomcat mod_Jk

2003-03-12 Thread Bill Barker
Dennis Cartier [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Guys, I have run across a situation a couple of times now that results in the operation of my cluster being severely impacted. When a bad cookie comes into 1 of the nodes, it crashes the coyote connector like so:

Re: How to redirect the response to same requesting page

2003-03-12 Thread Bill Barker
response.sendRedirect(request.getRequestURL()); zafar Ahsan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello Could u pls let me know what is the best way to redirect the response to same request page using servlet if some contd. doesn't full fill. I would be thankful to yr kind

Re: how to access files in WEB-INF/classes

2003-03-12 Thread Bill Barker
From a GenericServlet (including HttpServlet and Tomcat's default JSP-page Servlet): InputStream in = getServlet.getServletContext().getResourceAsStream(/WEB-INF/classes/my-inif ile.ini)' [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, I have put some INI files in

Re: digests

2003-03-12 Thread Bill Barker
Send an email to: [EMAIL PROTECTED] Anthony Vassallo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am being swamped with mail is there a digest. Tony Vassallo ([EMAIL PROTECTED]) LAWSON/SEA System Support Specialist DART C/S App Dev Maintenance Team 214-749-3408 work/

Re: 3.3.X USE (JAXP) v1.1 OR 1.0

2003-03-11 Thread Bill Barker
Tomcat 3.3.x ships with JAXP 1.1. Unlike later versions of Tomcat, you can use any XML parser you like in your web-app by placing it in WEB-INF/lib, or globally by placing it in $TOMCAT_HOME/lib/apps. Shawn [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Does anyone know if Tomcat

Re: TryCatchFianlly requires servlet 2.3?

2003-03-11 Thread Bill Barker
If you want to use a Tag like: public class MyTag implements Tag, TryCatchFinally { ... } then you need to use Servlet-2.3/JSP-1.2 (since the TryCatchFinally class was introduced in JSP-1.2). If you want to do something like: % try { % ... % } catch(Exception ex) { ...

Re: problem with hyphen in hostname

2003-03-11 Thread Bill Barker
I just tested this, and it works for me. My first guess would be that the Host tag is setup wrong. This is a bit strange, but it should be easy enough to debug. Try doing: $ telnet my-host.mycompany.com 80 ... GET /myapp/my-page-that-does-a-redirect HTTP/1.0 Host: my-host.mycompany.com Of

Re: Classpath in Tomcat 5.04

2003-03-07 Thread Bill Barker
Yet another psychic user ;-). After another three release cycles, when we get up to TC 5.0.4, you'll probably have a better answer ;-). In the mean time, TC 5 works like TC4 for this: you need to setup your own $CATALINA_HOME/bin/setenv.(sh/bat) to set these properties. Reis, Tom [EMAIL

Re: Can Tomcat do client certificate authentication ?

2003-03-07 Thread Bill Barker
The choice of going to SSL-CERT auth puts a huge burden on your IT staff. You've got to collect all of your client's certs, and manage them (including renewals, revocations, et. al.). Except for small closed-groups, it is almost always not worth the trouble. Which headaches you want really

Re: Set up JDK1.4-Logging under Tomcat 4.1.8

2003-03-07 Thread Bill Barker
Shapira, Yoav [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Howdy, I would like to set up Tomcat to use the JDK 1.4 Logging API for logging - all Log-Messages from Tomcat - all Log-Messages originating from within my Webapplikation. Those are two different goals. Do you really

Re: posting

2003-03-07 Thread Bill Barker
Urm, I think that you just did ;-). Gustavo Cebrian [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How do I post a question in the email list? Thanks. Gustavo. -Original Message- From: Jake Robb [mailto:[EMAIL PROTECTED] Sent: 07 March 2003 15:45 To: Tomcat Users List

Re: tomcat 4.1.18 won't work with IBM Java SDK 1.1.8

2003-03-07 Thread Bill Barker
useless-bandwith-wasting Of course, TC 3.3.x works fine with JDK 1.1.x. /useless-bandwith-wasting Steinar Bang [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Larry Meadors [EMAIL PROTECTED]: [EMAIL PROTECTED] 03/07/03 05:45 AM Is tomcat 4.1.18 supposed to work with IBM Java

Re: How does one get/build mod_webapp?

2003-03-06 Thread Bill Barker
Once you've done the CVS check-out, it would help if you actually read the README that comes with it. That will tell you how to generate the 'configure' script. Wes Barris [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Where does one download binary versions of mod_webapp? This

Re: where in tomcat 3.2.3 do i turn off keep alives and the use of http 1.0 for SSL

2003-03-06 Thread Bill Barker
It's been a very long time since I used 3.2.x (so the answers may be wrong), but from memory: 1) You can't. 2) I believe that this is the only setting. 3) See 2). You should seriously consider upgrading to at least TC 3.3.1 (which has better SSL support). The 3.2.x line is currently unsupported.

Re: Apache-Sym Link NOT Allowed ???????

2003-03-06 Thread Bill Barker
First guess: /home/heri isn't globally readable (and, in particular, isn't readable by the user that Apache is running under). This is the default setup for a large number of *nix systems. Manu Kits [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Here is the snippet of my

Re: What is my SSL-aware virtual host

2003-03-06 Thread Bill Barker
stev sutherland [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Tomcat Experts; I read some directions that says The interaction between SSL and HTTP/1.1 features are problematic with some MSIE versions, too. You've to work-around these problems by forcing

Re: Mod_jk on WinXP (revisited)

2003-03-06 Thread Bill Barker
If you want to take up Apache/httpd naming conventions, I'd suggest asking on the httpd-user list. :-) By convention, Apache/httpd modules register themselves by their principal (and, in most cases only) source file. Denise Mangano [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] OK...

Re: Is there any users limitation in tomcat 4.0.1 and tomcat 4.0.6 ?

2003-03-06 Thread Bill Barker
Yes. It is determined by the 'maxProcessors' attribute on the connector. kondal rao [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Is there any users limitation in tomcat 4.0.1 and tomcat 4.0.6. i mean when concurrent users access tomcat what are the limitations

Re: Socket Exception

2003-03-06 Thread Bill Barker
You need to make the content on your site more interesting, so that users aren't so inclined to hit the 'stop' button before the page is fully loaded ;-). Nate [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] We recently upgraded an application to Tomcat 4.1.18 from 4.0.6. In the

Re: Pre-authorize a link?

2003-03-06 Thread Bill Barker
Not without parsing 'web.xml' yourself. Doug Redd [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Okay, that could work if I can get a list of which roles a resource requires. Is there a way to do a call like getResourceRoles(resource)? -Original Message- From: Will Hartung

Re: Apache restart

2003-03-04 Thread Bill Barker
rf [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have configured tomcat behind apache web server using mod_jk. Why is it that every time I restart tomcat I have to restart Apache too? You shouldn't (I never do :). AFAIK, every mod_jk after 1.0-M2 handles this fine. If you want

Re: Problems configuring Apache style logging on 3.3.1

2003-03-03 Thread Bill Barker
By default, AcessLogInterceptor doesn't flush on each request, so it will take a while before the information shows up in the log file. To change this, set the flush=true attribute. Krall, Jeremy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This is a real quick and easy question (I

Re: sendRedirect problem

2003-03-03 Thread Bill Barker
Is sounds like Tomcat has already started sending the output the the browser by the time you are trying to do a sendRedirect. At this point is is too late to change your mind about what page you want to send. You have to move the logic that desides to redirect up before the first 8K of your page

Re: forward request to static html page loses path for included images?

2003-03-03 Thread Bill Barker
Ray Tayek [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 01:04 PM 3/3/03 -0500, you wrote: Ray Tayek wrote: hi, i am forwarding a request to a static html page that has some pictures included using IMG SRC=images/help1.jpeg ... and using

Re: Parasite string length added in the message body

2003-03-01 Thread Bill Barker
For the observant, you will notice the header 'Transfer-Encoding: chunked'. In this case, the HTTP/1.1 protocol requires that the server sends the length of the chunk prior to sending the body of the chunk itself. If you don't want to see this, simply set the content-length header (e.g.

Re: [O.T.] Installing struts under tomcat 4 and apache 2

2003-02-23 Thread Bill Barker
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html#Using%20Apach eConfig Dani [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello. I'm trying to install struts 1.0.2 under red hat 7.2, with tomcat 4.1.18 and apache 2.0.44. I've read the documentation here

Re: Tomcat question

2003-02-23 Thread Bill Barker
This is really exactly the sort of usage that Filters were designed to deal with. You are much better off using a Filter. Just for chuckles, the following should work for a Servlet-based solution (for TC 4 at least): public void service(HttpServletRequest request, HttpServletResponse response)

Re: More info on custom tag problem

2003-02-23 Thread Bill Barker
Percival Bragg [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] The following are the current files and the error from tomcat that I received in trying my first custom tag. The following is the java class for the custom tag. package com.braggonline.portal; import java.io.*;

Re: Is it necessary to use a jdk with tomcat?

2003-02-23 Thread Bill Barker
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, Is it better to run tomcat with a jdk over a jre? Or it doesn't really matter... If you are using JSP files, then you need the JDK (to compile them). If not (or, if you pre-compile your JSPs) then it doesn't matter.

Re: javax jar

2003-02-21 Thread Bill Barker
Right and wrong. It is true that javax.* is spread out in multiple jars. For Tomcat (I'm assuming that you are using 4.x here), the javax.xml.parsers.* are in $CATALINA_HOME/common/endorsed. Goehring, Chuck Mr., RCI - San Diego [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] m...

Re: tomcat5.0 build problem

2003-02-21 Thread Bill Barker
Since you are behind a firewall, make sure that you have set 'proxy.host', 'proxy.port', and 'proxy.use' in your build.properties file. They are commented out in the build.properties.default file. At a guess, the wall you are hitting first is due to using a version of Jakarta-Ant 1.5. You need

Re: 403 Forbidden - you don't have permission ... any ideas?

2003-02-21 Thread Bill Barker
? I'm thinking that could be a possibility since I can see the directory http://localhost:8080/examples but I get the 403 err with http://localhost/examples... Keep in mind http://localhost/examples/jsp gives no error, shows my jsp samples... - Original Message - From: Bill Barker

Re: Microsoft JVM

2003-02-21 Thread Bill Barker
From memory, I think that Microsoft's JVM is 1.1.6. This will mean that you only have a hope of running Tomcat 3.3. All other Tomcat versions require at least 1.2. rf [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Has anybody tried to run tomcat using the Microsoft JVM - jview? If

Re: Web browser authenticates to Tomcat Server using Client SSL authentication

2003-02-21 Thread Bill Barker
Kwan Hon Luen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi , Have configured Tomcat to use SSL with client authentication set to true. Have imported client (which is the web browser IE) certificate to tomcat server keystore. But when I use IE to connect to Tomcat, it pops up

Re: interesting problem bug with client certificates?

2003-02-20 Thread Bill Barker
, Tony Bill Barker wrote: Tony Dahbura [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Team: I have noticed something very inconsistent within Tomcat 4.1.18. My application is using client certificates over ssl (these all occur

Re: Tomcat Upgradation

2003-02-19 Thread Bill Barker
The short answer is: there is no upgrade patch. The 3.3.x server.xml is incompatible with the 3.2.x version (so, in answer to your second question, everything has changed :). If you have custom Intercepters (e.g. Realms), then at the very least you will need to re-compile them. If you don't,

Re: mod_jk integration

2003-02-19 Thread Bill Barker
For Apache 1.3.x, you need to move 'mod_rewrite' below 'mod_jk' in the AddModule list. Alternatively, the [PT] option may work (but I haven't tried it). Alexander Czernay [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi Lajos, thanks for your help. I read

Re: Jasper2

2003-02-18 Thread Bill Barker
In the 4.1.x distribution source distribution, it is under the 'jasper' directory at the top level where you unpacked it. From CVS, it is the module 'jakarta-tomcat-jasper'. For 4.1.x, you need to request the 'tomcat_4_branch' tag (HEAD is for TC 5.x). Eric J. Kropf [EMAIL PROTECTED] wrote in

Re: Location of property files

2003-02-18 Thread Bill Barker
%@ page import=java.util.* % . % Properties myProps = new Properties(); InputStream pin = getServletContext().getResourceAsStream(/WEB-INF/my.properties); myProps.load(pin); pin.close(); % Jim Kennedy [EMAIL PROTECTED] wrote in message

Re: LoadOnStartupInterceptor: cannot load servlet name ...java.lang.NoClassDefFoundError

2003-02-14 Thread Bill Barker
The simplest is to just include the Oracle jars in lib/common. Otherwise, it's not a 'server.xml' setting. Assuming that Tomcat is running under the user 'tomcat', then you would need to create a file called '~tomcat/.tomcatrc' looking like:

Re: changing the IPaddress !

2003-02-14 Thread Bill Barker
AFAIK, most webmasters setup Tomcat to use DNS names (so, yes, it is supported). Swapneel Dange [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hi there ! I was trying to remove the IPADDRESS from BROWSER while accessing the servlets. Many GURUS here have

Re: Configuring Apache for Servlets

2003-02-14 Thread Bill Barker
Saravanakumar Soundarrajan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I have been trying to run some servlets in the apache server. If I put my class files under \Tomcat4.1\webapps\ROOT\WEB-INF\classes folder, they dont work. But all examples run and

Re: Activating clientAuth for just one servlet

2003-02-13 Thread Bill Barker
Assuming that no other servlet in the webapp requires authentication, then you can remove the 'clientAuth' from the Connector. Then set up a: security-constraint web-resource-collection web-resource-nameSomeName/web-resource-name url-pattern/servlet/MyServlet/*/urlpattern

Re: Unanswered questions

2003-02-13 Thread Bill Barker
Tim Funk [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Felicia Neff wrote: I have posted a few questions that have gone unanswered: 1. Is there a way to hup the tomcat server or otherwise reload files from the commandline? No. Sort of. Webapps can be

Re: interesting problem bug with client certificates?

2003-02-13 Thread Bill Barker
Tony Dahbura [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Team: I have noticed something very inconsistent within Tomcat 4.1.18. My application is using client certificates over ssl (these all occur after I unlock and present my certificate (which btw is

Re: Tomcat Performance Measuring

2003-02-13 Thread Bill Barker
TC 5.x has this (accesable via JMX). I don't know if it will get back-ported to the 4.1 branch. However, as Peter said, it is a pretty simple Filter: public class MyTimingFilter implements Filter { public MyTimingFilter() { } public void init(FilterConfig conf){ } public void

Re: get User object from tomcat

2003-02-13 Thread Bill Barker
Barney Hamish [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... You can't. You need to go and retrieve whatever other info from your database yourself probably using the username as the primary key. Hamish Or implement your own custom Realm, which implements

Re: SimpleRealm and digested passwords in Tomcat 3.3

2003-02-13 Thread Bill Barker
Whitley, Michael T. [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... From the Tomcat 3.3 readme under 6.2 Container Managed Security it says: DIGEST authentication ... [is] not supported in this release. http://jakarta.apache.org/tomcat/tomcat-3.3-doc/readme

Re: How to enable secured JSP to be cached by browser?

2003-02-13 Thread Bill Barker
It's been in there for quite some time, but I haven't had time to update the docs :(. You need to configure the Authenticator explictly with something like: Context .. Valve className=org.apache.catalina.authenticator.FormAuthenticator disableProxyCaching=false / /Context

Re: stderr.log jk2.log (tomcat/apache/jk2 errors) question

2003-02-12 Thread Bill Barker
Thanks for the reply, I am not aware that I have set 'soTimeout'. Where would I set it? I don't see any reference to it in my any conf file on the app server or web server/jk2. Best, Stephen -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003

Re: AJP 1.3 Connector jk/jk2

2003-02-12 Thread Bill Barker
I actually have one site that is using the mod_jk 1.1 Apache code (that ships with Tomcat 3.3) talking happily to Tomcat 4.1.x using the Jk2 CoyoteConnector. (I'm doing this because I need to switch between TC 3.3 4.1 for testing). If the CoyoteConnector can speak perfect v1.1 Ajp13 protocol,

Re: How to hide a context path?[urgent!]

2003-02-12 Thread Bill Barker
Sean Dockery [EMAIL PROTECTED] wrote in message 01f701c2d2e1$128f7020$640a@loki">news:01f701c2d2e1$128f7020$640a@loki... You cannot mask your context path. Not really true, but it usually costs more in effort than it is worth :). I use Sean's method below to hide the names of my JSP

Re: where put the business components properties file

2003-02-12 Thread Bill Barker
Pedro Cardoso [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... but i read the properties file by inicialize(View object) after an useBean tag; and when i run the project in tomcat 4.1 show this: org.apache.jasper.JasperException: java.lang.RuntimeException: JSP

Re: Moving to Tomcat 4.1.18

2003-02-12 Thread Bill Barker
Ben's timeline is a good one. The problems that will bite you first is if you have any custom Interceptors (e.g. Realms) in your 3.2.x app. These won't port without a total re-write. If your not accessing Tomcat internals, then the port should be painless (famous last words :). Ben Ricker

Re: 3.3.1 Standalone and Client-Auth

2003-02-12 Thread Bill Barker
Alex Tang [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Tue, Feb 11, 2003 at 10:42:33PM -0800, Bill Barker wrote: Alex Tang [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi folks. I was w

Re: mod_jk2 and apache13

2003-02-12 Thread Bill Barker
liug [EMAIL PROTECTED] wrote in message b2bbic$4bj$[EMAIL PROTECTED]">news:b2bbic$4bj$[EMAIL PROTECTED]... Bill Barker [EMAIL PROTECTED] wrote: liug [EMAIL PROTECTED] wrote in message b24kvg$7ku$[EMAIL PROTECTED]">news:b24kvg$7ku$[EMAIL PROTECTED]... mod_jk2 (tomc

Re: CLIENT-CERT authentication method

2003-02-11 Thread Bill Barker
Manuel Gil Perez [EMAIL PROTECTED] wrote in message 5.2.0.9.0.20030210123926.00ba8310@localhost">news:5.2.0.9.0.20030210123926.00ba8310@localhost... Hi all. Currently (in Tomcat 4.1.18), is CLIENT-CERT authentication method defined within Realm?? Yes. Regards. -- login-config

Re: mod_jk.so / apache 1.3.27 / tomcat 4.1.18

2003-02-11 Thread Bill Barker
[de internetman] Rene Kooyman [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Citeren Turner, John [EMAIL PROTECTED]: Compile/Recompile: In CONNECTOR_SRC/jk/native (where CONNECTOR_SRC = wherever you unpacked the connector src): ./buildconf.sh

Re: 3.3.1 Standalone and Client-Auth

2003-02-11 Thread Bill Barker
Alex Tang [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi folks. I was wondering if it's possible to get client certificate information from tomcat (3.3.1) when running STANDALONE (e.g. NOT using mod_jk or an external webserver). I can setup tomcat so

Re: Setting up logging - Log4j

2003-02-11 Thread Bill Barker
Joe Tomcat [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Tue, 2003-02-11 at 14:27, tomcat guy wrote: Would anyone be so kind to point me in the right direction for setting up some logging for servlets running on Tomcat? I'm looking at Log4j but I be a

Re: Diff between 4.1 and 3.3.1a

2003-02-11 Thread Bill Barker
The differences between 3.3.1 and 4.0.x are pretty much everything ;-). The differences between 3.3.1 and 4.1.x are only slightly smaller. If you have custom components (e.g. Realms, Interceptors), then you should consider the move to 4.1.x to be an entirely new software platform (since none of

Re: Setting up logging - Log4j

2003-02-11 Thread Bill Barker
As much as I respect Ceki, I do think that there is a place for commons-logging. It does provide a nice transition platform when you are switching out of JDK1.4-logging, because you were brain-dead at the time you chose it ;-). It is also very useful for people writing commercial re-distributed

Re: MY ATTITUDE

2003-02-10 Thread Bill Barker
Probably, because Craig has much more sense than to respond to rants like this (unlike some people, say me ;-). Also Craig is not one of the moderators of this list (and, I'm not one either). Steve Burrus [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Thank you

Re: DEPLOY Command

2003-02-10 Thread Bill Barker
should be fine. Alberto Magalhaes [EMAIL PROTECTED] wrote in message 00d701c2d14d$f8f92640$6c3316d5@aacm">news:00d701c2d14d$f8f92640$6c3316d5@aacm... I am using TOMCAT 4.0.18. - Original Message - From: Bill Barker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 10

Re: how can I make my Java code write to a file using relative paths

2003-02-10 Thread Bill Barker
To follow up on Tim's suggestion: use: out = new FileOutputStream(application.getRealPath(WEB-INF\\classes\\response.txt, true); (Here, 'application' has it's JSP meaning as the ServletContext, for a GenericServlet, replace it by getServletContext()). Of course, you are SOL if you doing this

Re: mod_jk.so / apache 1.3.27 / tomcat 4.1.18

2003-02-10 Thread Bill Barker
[de internetman] Rene Kooyman [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Oke, that's done, just use the: /usr/lib/apache folder .. p, now were getting somewhere, although i can't compile normaly because apxs is located in the other folder ... so be it

Re: stderr.log jk2.log (tomcat/apache/jk2 errors) question

2003-02-10 Thread Bill Barker
The 'stderr.log' messages are normal (assuming that you've set an soTimeout, which I wouldn't recommend). I'd need to see more context for the jk2.log messages (unless they are caused by a really short timeout from above). [EMAIL PROTECTED] wrote in message

Re: mod_jk2 and apache13

2003-02-09 Thread Bill Barker
liug [EMAIL PROTECTED] wrote in message b24kvg$7ku$[EMAIL PROTECTED]">news:b24kvg$7ku$[EMAIL PROTECTED]... mod_jk2 (tomcat 4.1.18) seems to compile fine with apache13, but only mod_jk2.so is generated. There is no libjkjni.so. Is that a problem? Is libjkjni.so really needed? The mod_jk2 works

Re: deploying simple servlet

2003-02-09 Thread Bill Barker
colin diggensworth [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I am running Tomcat version 4.1 with JDK1.3.1 onWin98. I can run all the Tomcat examples servlets no problem. I am trying to run a simple servlet. I do the following: (1)Write a simple

Re: DEPLOY Command

2003-02-09 Thread Bill Barker
I seem to remember that there were some recent changes that may fix this, but it is hard to know without knowing which Tomcat version you are running. Alberto Magalhaes [EMAIL PROTECTED] wrote in message 001701c2cfc4$2a35e530$353216d5@aacm">news:001701c2cfc4$2a35e530$353216d5@aacm... Hi, why when

Re: setting CATALINA_HOME

2003-02-08 Thread Bill Barker
Actually, the recommended way to go is to create $CATALINA_HOME/bin/setenv.sh (or %CATALINA_HOME%\bin\setenv.bat on Windows). In that file, you should set things like CATALINA_HOME, and JAVA_HOME if they are not already set at the O/S level. Turner, John [EMAIL PROTECTED] wrote in message

Re: include .inc file extension problem

2003-02-07 Thread Bill Barker
I agree in general. In the mean time, you can work around it by declaring: mime-mapping extensioninc/extension mime-typetext/plain/mime-type /mime-mapping in your web.xml file (or, even, in Tomcat's default web.xml file). Austin King [EMAIL PROTECTED] wrote in message [EMAIL

Re: Session Cookie Created on HTTPS as secure is not secure??

2003-02-07 Thread Bill Barker
No browser that I know of actually sends this information back to the server (IMHO, A Good Thing :). Therefore Tomcat has no way of knowing what the browser thinks of the cookie settings, and is only telling you what it knows. Zabel, Ian [EMAIL PROTECTED] wrote in message [EMAIL

Re: Need some help with connector

2003-02-07 Thread Bill Barker
If the directory has a welcome-file (in this case, 'index.jsp'), then Tomcat 4.x will return a 302 response to the welcome-file. Tomcat 3.3.2-dev and Tomcat 5.x allow this behavior to be over-ridden. Mark Strecker [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

Re: Valve Access to Principal

2003-02-07 Thread Bill Barker
And here I was going to do a boring response like: defer the check to a Filter. :-) I'm actually using a slight variation on Craig's suggestion on one of my internal sites (simply meaning that I can't give you a working URL), and it works very well. Craig R. McClanahan [EMAIL PROTECTED] wrote in

Re: Tomcat's examples and tomcat-docs Directories

2003-02-06 Thread Bill Barker
Bio Jazz [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am setting up Tomcat on my Linux machine, and am curious about ../webapps/examples and ../webapps/tomcat-docs directories. I have removed the context for the examples directory from the server.xml file,

Re: [OT]JSP defense - can you point me in the right direction

2003-02-06 Thread Bill Barker
Will Hartung [EMAIL PROTECTED] wrote in message 06cf01c2cd84$6f350cc0$0101@Will">news:06cf01c2cd84$6f350cc0$0101@Will... From: Denise Mangano [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 5:16 PM Subject: [OT]JSP defense - can you point me in the right direction Seeing as

Re: tomcat-apache.conf not created during Tomcat startup

2003-02-06 Thread Bill Barker
Turner, John [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I think the mentioned tomcat-apache.conf file is actually called mod_jk.conf now, and applies only to using JK. Going forward, you'll want to avoid counting on WARP...its deprecated and no longer

Re: Can a single host with multiple hostnames (same IP) have multiple SSL certs?

2003-02-06 Thread Bill Barker
The short answer is: No. It's basically the same problem as having multiple sites sharing an IP address. In the SSL protocol, the server (aka Tomcat) has to send the cert very early on in the handshake. In particular, *before* the browser has sent the request headers (there is no point in the

Re: response.sendRedirect() - is this allowed?

2003-02-06 Thread Bill Barker
It isn't against the HTTP specification to sendRedirect (which in Tomcat will result in a 302 response). It's just that very few (if any) browsers actually implement the spec in this area. Most of them will respond by doing a GET to the new URL, instead of a POST (which is what the RFC says to

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