Re: Can not get javax.servlet.request.X509Certificate Attribute in teh servlet request

2002-10-19 Thread Bill Barker
The SSL support in 4.1.12 is broken with JVM 1.4.x. You need to copy http://gump.covalent.net/jars/latest/jakarta-tomcat-connectors/tomcat-utils. jar to $CATALINA_HOME/server/lib to fix (or wait, hopefully not long, for 4.1.13). This only fixes the CoyoteConnector. The (deprecated)

Re: tomcat match *.jsp first everything else to my servlet?

2002-10-19 Thread Bill Barker
The rules in the Servlet spec (section 11.1) state that prefix mapping take precedence over extension mappings. This means that you have two choices: 1) servlet-mapping servlet-namemy/servlet-name url-pattern//url-pattern /servlet-mapping which calls my when no other pattern

Re: DOES BASIC AUTHENTICATION SUPPORT SSL?

2002-10-19 Thread Bill Barker
Luca Ventura [EMAIL PROTECTED] wrote in message news:GCEHKDLCEKBHKGEIBIGLEEFADKAA.ventluca;tiscali.it... Hello everybody! I have IIS as Web Server and Tomcat 4.x as Servlet Container (using the ISAPI filter). So all requests directed to servlets, jsp-pages, or java-technology based web

Re: Tomcat 4.1.12 mod_jk2 Apache 2.0.43 build and config issues o n So laris 8

2002-10-21 Thread Bill Barker
Harry Sokol [EMAIL PROTECTED] wrote in message news:CC30F775F3B32D40B553DC4B5646567C20E5;acmivedc1.corp.acmi.net.au... Thanks John, That is most instructive and helpful. We'll move forward with jk2 for now having come so far down the path, but from what you're saying converting to vanilla

Re: tomcat and OSX

2002-10-21 Thread Bill Barker
Martina Dillon [EMAIL PROTECTED] wrote in message news:3DB461EE.AABA1E67;nyc.rr.com... Is anyone on this list running tomcat on OSX? I am a new subscriber, but haven't seen any posts from Mac users. Thanks in advance, I'm not one of them, but believe me, there are quite a few here. I

Re: Jasper redistribution issues

2002-10-22 Thread Bill Barker
Tomcat (including Jasper) are distributed with the Apache License http://www.apache.org/LICENSE. In particular, you are free to bundle Jasper, subject to the rules in the license. Eugene Zhuravlev [EMAIL PROTECTED] wrote in message news:003601c279eb$f6f015c0$2301a8c0;Labs.IntelliJ.Net... Hello,

Re: coyote connector and SSL generates exception for every GET request - Tomcat 4.1.12

2002-10-25 Thread Bill Barker
It's a normally harmless bug in 4.1.12 (it just takes up logfile space). Due to security reasons, the 4.1.12 release came out while the SSL support still had debugging statements left in the code. If you want it to go away, grab the tomcat-util.jar from the (unofficial) 4.1.13 release at

Re: JkAutoMount

2002-10-25 Thread Bill Barker
If you have the Apache setting UseCanonicalName Off (the default setting), then the Tomcat-host will be the value of the client's Host header. If you have the setting UseCanonicalName On (e.g. you don't want to upgrade to 1.3.27), then the value will be the configured value for the Apache vhost.

Re: mod_jk build problems

2002-10-27 Thread Bill Barker
I'm a Apache 1.3.x user, but have always had problems with the mod_jk Makefiles for Solaris. At least with the older versions of mod_jk, I could hack the linux version and change some paths :-(. If you get it working, please post a patch to bugzilla for the benefit of the rest of us. The

Re: Tag object pooling and immutability in the servlet spec

2002-10-27 Thread Bill Barker
Craig R. McClanahan [EMAIL PROTECTED] wrote in message news:20021025095901.K36250-10;icarus.apache.org... On 24 Oct 2002, Mr. Tomcat wrote: Date: 24 Oct 2002 17:37:36 -1000 From: Mr. Tomcat [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: Bind Tomcat 3.3 to single Ip

2002-10-28 Thread Bill Barker
Works for me. Setting the address attribute on the connector for 3.3.1 causes the connector to only bind to that address. Please give more information on your configuration. Ingo Eisenkrämer [EMAIL PROTECTED] wrote in message news:A84E637BF08AA540AE9536956E9CE624204613;exchange.hsl.hsl.com...

Re: Tag object pooling and immutability in the servlet spec

2002-10-28 Thread Bill Barker
Craig R. McClanahan [EMAIL PROTECTED] wrote in message news:20021027171704.R78647-10;icarus.apache.org... On Sat, 26 Oct 2002, Bill Barker wrote: Date: Sat, 26 Oct 2002 23:57:55 -0700 From: Bill Barker [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL

Re: where to set CATALINA_OPTS?

2002-10-28 Thread Bill Barker
You can create a script file $CATALINA_HOME/bin/setenv.sh. If you set the CATALINA_OPTS variable in this script, it will be picked up by the main startup script. Peng Annie [EMAIL PROTECTED] wrote in message news:012172501CC5D411A9D100D0B72073AA02105FE6;kcobe4.nt.kone.com... Hi there, I have

Re: shared jars amongst web apps.

2002-10-29 Thread Bill Barker
Well, shared/lib is better than common/lib (since it doesn't affect the Tomcat classes). A declared servlet (via servlet in web.xml) will create a new instance of the class for each context that it is used (actually, for each servlet declaration that it is used). This actually holds true for the

Re: Force One page to not use SSL

2002-10-29 Thread Bill Barker
Craig R. McClanahan [EMAIL PROTECTED] wrote in message news:20021029215637.J8960-10;icarus.apache.org... On Tue, 29 Oct 2002, Rustad, Aaron wrote: Date: Tue, 29 Oct 2002 17:54:34 -0700 From: Rustad, Aaron [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat

Re: tc4.1.12 and Apache2.0.43 mod_jk Root Context not appearing in mod_jk.conf

2002-10-29 Thread Bill Barker
You also need to set the noRoot=false attribute in the Listener. It defaults to true, since otherwise (if the default forwardAll=true), all requests get sent to Tomcat. Tref Gare [EMAIL PROTECTED] wrote in message news:D9E0834F4E6DA84C8F8F421EDA28E84106A63F;proxy.areeba.com.au... Thanks Robert,

Re: Charsets and RequestDispatcher

2002-10-29 Thread Bill Barker
It is explicitly forbidden for an include to change the headers (including content-type). Your servlet needs to do a response.setContentType(text/html; charset=windows-1253) before doing the include. Alternatively, for the servlet below, consider doing a forward instead of an include. Holger

Re: SEVERE: Handshake failed

2002-10-29 Thread Bill Barker
This is a known problem (but it is only that it is taking time to fill the log files). Upgrade to 4.1.14 to fix. Chakradhar Tallam [EMAIL PROTECTED] wrote in message news:11A60EF518EFD311962E0010B5092C17AE1043;EXCHANGE... hi there, we got a web application running on production system. it

Re: How do I implement an add on module to tomcat 3.3.1?

2002-10-31 Thread Bill Barker
It is actually just as easy with 3.3.1. You create a class the extends org.apache.tomcat.core.BaseInterceptor, and override the contextInit and contextShutdown methods. Alternatively, you could get more fine-grained context state information by overriding the contextState method. In the second

Re: how to do configuration for client authentication in the tomcat server

2002-10-31 Thread Bill Barker
Because, like, you have to tell your browser about your client-cert? MSIE has many features, but mind-reading isn't one of them. asokan elango [EMAIL PROTECTED] wrote in message news:20021031124251.8450.qmail;web12206.mail.yahoo.com... Hi, i tried to configure tomcat server for SSL and when

Re: J2EE certificate?

2002-10-31 Thread Bill Barker
At a guess, no (for the simple reason that Tomcat isn't a J2EE container). However, Sun traditionally uses Tomcat's code for the servlet/jsp part of their reference implementation of J2EE. disclaimer I'm, personally, not related to Sun in any way. /disclaimer [EMAIL PROTECTED] wrote in message

Re: More Re: SSL with Tomcat standalone on WIN98

2002-11-01 Thread Bill Barker
It looks like JSSE isn't installed properly. Since I usually just have JSSE for testing, I just dump the jar files into $TOMCAT_HOME/lib/common, and it works fine for me. For production servers, I believe that it is more common to dump them into $JAVA_HOME/jre/lib/ext. George McKinney [EMAIL

Re: HttpServletRequest.isSecure() fails with Coyote AJP 1.3 Connector

2002-11-01 Thread Bill Barker
Milt Epstein [EMAIL PROTECTED] wrote in message news:Pine.GSO.4.31.0211010950030.27414-10;staff2.cso.uiuc.edu... On Fri, 1 Nov 2002, Steinar Bang wrote: Platform: Intel PIII, RedHat 7.2, apache 1.3.20, ajp1.3 tomcat 4.1.12, BlackDown Java SDK 1.3.1, Struts 1.1-b2 Is there a

Re: Invoker servlet mapping

2002-11-01 Thread Bill Barker
The hotfix simply disables access to Tomcat classes via the invoker. This disables the known exploit. Any other exploit of the invoker depends on how you have programmed your particular web-apps. If the invoker is enabled, than it is up to you to make certain that none of your classes can

Re: Will Upgrade from one cpu to Dual CPU benefit tomcat 3.2.4 ?

2002-11-01 Thread Bill Barker
Probably. It will probably help more to upgrade to at least Tomcat 3.3.1. Brandon Cruz [EMAIL PROTECTED] wrote in message news:LPEAICGFPJGGFPKBKDLNCEAHECAA.bcruz;norvax.com... I have an overloaded linux server running ApacheTomcat 3.2.4MySQL. It has 512MB Ram, which seems to be doing fine,

Re: How to Capture Error Msgs/Exceptions when Tomcat Die.

2002-11-01 Thread Bill Barker
By default, jk_nt_service sends errors to $TOMCAT_HOME/logs/jvm.stderr. You could try looking there first. CHAO,KENT (HP-Boise,ex1) [EMAIL PROTECTED] wrote in message news:14562BDD08E0FC4C93D7C92B249AC94D02954B4E;xboi21.boise.itc.hp.com... I am new to this group. I posted this question a few

Re: Servlet redirection problem

2002-11-01 Thread Bill Barker
Alternatively, read the README file, and realize that mod_webapp is not currently supported on Windows (or for Apache2 with MPM != prefork). Tam, Michael [EMAIL PROTECTED] wrote in message news:E3725E2B7548D51192090002A534A18A01730E07;s2-vic-r1.nrn.nrcan.gc.ca... Hi all, I am running Tomcat

Re: tomcat and IIS 5.0 exe files create problems

2002-11-03 Thread Bill Barker
Way back in the yet-to-be-released 3.3.2. ;-) Having just checked, 3.3.1 (unchanged in 3.3.2-dev), Tomcat will assign the content-type of application/octet-stream to an .exe file by default. I don't use the isapi_redirector.dll myself, but I'll need more details to be able to determine if this

Re: How to Capture Error Msgs/Exceptions when Tomcat Die.

2002-11-04 Thread Bill Barker
Tomcat knowledge came from my working knowlege. I have little exposure in jk stuff.) thx Kent -Original Message- From: Bill Barker [mailto:wbarker;wilshire.com] Sent: Saturday, November 02, 2002 12:19 AM To: [EMAIL PROTECTED] Subject: Re: How to Capture Error Msgs/Exceptions when

Re: Which connector to use?

2002-11-04 Thread Bill Barker
The code base for mod_jk2 is a complete re-write. mod_jk2 has greatly improved support for connecting to Tomcat via JNI (most useful for multi-threaded servers like IIS/Apache-2/iPlanet), and also supports using Unix-sockets. The request mapping (e.g. deciding if Tomcat or Apache handles the

Re: retrieving remote web content

2002-11-10 Thread Bill Barker
There is also the Jakarta HttpClient: http://jakarta.apache.org/commons/httpclient/. Reynir Hübner [EMAIL PROTECTED] wrote in message news:88500E0F870AA542B6340D8BC05A9E1B0AD087;rup.hugsmidjan.is... Hi, I haven't made a servlet to do this, but I made a jsp-tag that can do this. If you don't

Re: When is PageContext available?

2002-11-10 Thread Bill Barker
Craig R. McClanahan [EMAIL PROTECTED] wrote in message news:20021108095512.R18746-10;icarus.apache.org... On Fri, 8 Nov 2002, Claes Holmerson wrote: Date: Fri, 08 Nov 2002 16:49:44 +0100 From: Claes Holmerson [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To:

Re: OFF_TOPIC: How to convert JSP page into an EXCEL format

2002-11-12 Thread Bill Barker
If I was going to do this from scratch, I'd probabaly write the JSP in xml format and use a filter (or, even, cocoon http://xml.apache.org/cocoon/) to transform it into either HTML, or EXCEL output. (cocoon has a serializer based on POI http://jakarta.apache.org/poi/). The other suggestions are

Re: Link Error Building JK2 on Solaris 9

2002-11-13 Thread Bill Barker
Yup, at the moment Jk2 is still highly Linux-based. Hopefully, by the time it gets to a release state, it will build easier on other systems. The below would probably make a good interim include in the Jk2 docs, if any of the Jk2 people have time to include it. Robert Williams [EMAIL PROTECTED]

Re: tomcat 4.1.12 and symbolic links

2002-11-13 Thread Bill Barker
It should be working in the (non-release) version 4.1.15. Otherwise, try setting the caseSensitive=false option in the Resources tag (it's meant for Windows/OSX systems, and in 4.1.15 is disabled by default for *nix systems). Jan Agermose [EMAIL PROTECTED] wrote in message

Re: jk2 load balancing problem (only fail-over)

2002-11-14 Thread Bill Barker
Load balancing is still not implemented fully in Jk2 (it's still a Beta). It has very nice fail-over code however. I'm sure that the Jk2 team would welcome any patches. Nick Wesselman [EMAIL PROTECTED] wrote in message news:2303332D-F84E-11D6-8322-000393452A4C;digivis.com... I'm trying to set

Re: tomcat 4.1.12, apache SSL on rh 7.2 - most stable configuration?

2002-11-14 Thread Bill Barker
Tomcat doesn't redistribute JSSE because of Licensing restrictions. However, this is mostly irrelevant if you are using Apache2+mod_jk. When I download Apache2, it comes with a full mod_ssl. And certainly, the restrictions shouldn't be on the jakarta.apache.org site (please provide a URL, so

Re: Serving PDF files gets different results from Tomcat 3.3 to 4.1

2002-11-15 Thread Bill Barker
Well, they are pretty significant. 3.3.x (at least until the yet-to-be-released 3.3.2) stand-alone ignores HTTP/1.1 headers on the request. Even 3.3.2 will ignore the partial-request that Adobe is so fond of issuing for a pdf (which is it's right under the HTTP/1.1 spec, even if it is not the

Re: Tomcat and UTF-8

2002-11-15 Thread Bill Barker
Short answer: no Fenlason, Josh [EMAIL PROTECTED] wrote in message news:996B8A752C431B4B842D3F627C0B81762C1AD3;HQ-MAIL1.ptcnet.ptc.com... Hey all! I'm doing some research about Tomcat's character encoding. I was wondering if anyone knew of know issues or problems Tomcat has with UTF-8. Any

Re: ManagedBean is not found with Ajp13Connector

2002-11-15 Thread Bill Barker
In the default 4.1.x server.xml file there is an un-commented out entry: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false

Re: ManagedBean is not found with Ajp13Connector

2002-11-15 Thread Bill Barker
- Original Message - From: Milt Epstein [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Cc: Bill Barker [EMAIL PROTECTED] Sent: Friday, November 15, 2002 8:25 AM Subject: Re: ManagedBean is not found with Ajp13Connector On Fri, 15 Nov 2002, Bill Barker wrote

Re: Servlet Mapping to /

2002-11-15 Thread Bill Barker
Trevor MacPhail [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Craig R. McClanahan wrote: On Fri, 15 Nov 2002, Trevor MacPhail wrote: Date: Fri, 15 Nov 2002 19:17:18 -0800 From: Trevor MacPhail [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL

Re: PoolTcpConnector not found?

2002-11-15 Thread Bill Barker
When it is working, you're getting lucky (and it is probably a bug :). There is no org.apache.tomcat.service package in any version of Tomcat = 3.3. Lee Grey [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... There is a definite cost to free software. I'm losing my

Re: Coyote Source Code

2002-11-15 Thread Bill Barker
Urm, just try getting your favorite source distribution. And grap the jakarta-tomcat-connectors-4.1.x-src.[zip/tar.gz]. Much easier than any of the other suggestions. Scott Goldstein [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Is the Coyote source code available? If so, where

Re: Programmatic login

2002-11-15 Thread Bill Barker
I've had similar demands :). Since under this case, the validating servlet must be outside of any security-constraints, if the user is successfully validated it stores the Principal in as a well-known attribute in the Session. You then write a simple (Context-level) Valve that queries the

Re: openSSL - but at what point ???

2002-11-15 Thread Bill Barker
[EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi All. I know this has been discussed ad nauseum, but I do need some clarification conceptually. By the time the web-server applet calls a servlet in Tomcat, the http request has already gone pass the firewall.

Re: Unexpected results for minProcessors setting

2002-11-16 Thread Bill Barker
As I recall (without looking at the code), Coyote will create instances for the mininal number of threads. However they won't show up in 'ps' until they are actually needed, since the 'run' method won't be called until then. Chris Halstead [EMAIL PROTECTED] wrote in message [EMAIL

Re: Keep Alives

2002-11-16 Thread Bill Barker
Yeah, at first glance it does look like 4.1.x ignores it. I added the attribute for 3.3.x, and just assumed that 4.x would pick it up. Please file a bug report at http://nagoya.apache.org/bugzilla/ so that I don't forget about this. Miles Elam [EMAIL PROTECTED] wrote in message [EMAIL

Re: Programmatic login

2002-11-16 Thread Bill Barker
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, it sounds very interesting. Could you provide some implementation details (source code)? Zsolt On Saturday 16 November 2002 08:26, Bill Barker wrote: setUserPrincipal -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: SUCCESSFUL Tomcat Install!

2002-11-17 Thread Bill Barker
There are many Jakarta committers that have successfully made a go of it by having their own Server-Side consulting firms (but I'm not one of them :). As every one here should know, Tomcat is not a J2EE container. For an OS J2EE container that uses Tomcat for its Servlet/JSP, see

Re: disable directory listing in tomcat 4.1.12

2002-11-17 Thread Bill Barker
Yeah, well, there are a lot of thing that I miss from 3.3 that aren't in 4.1.x :) To answer your question, you need to edit the $CATALINA_HOME/conf/web.xml file, and change the param-namelistings/param-name param-value for the default servlet from true to false. Yandell Cacton [EMAIL PROTECTED]

Re: spec compliants vs implementation specific parts?

2002-11-17 Thread Bill Barker
Pierre-Laurent Ribault [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I'm in the process of developping a Web application using Tomcat as the development testbed. However, I'd like to be able later to deploy the application on another servlet engine with

Re: mod_jk Connector Source

2002-11-18 Thread Bill Barker
At a guess, you are using either Solaris or Mac/OSX. For these systems you can't use the default tar program. You must use the GNU gtar instead. Jaimes Blunt [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED] ... Hi Everyone, I am trying to get the source files to

Re: auto-redirect to default page - undesired

2002-11-18 Thread Bill Barker
neal [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Nope. Doesnt work ... I just tried it. Two problems: 1. When mapping the servlet to / EVERYTHING requested will return that default page .. even sub pages, graphics etc. Apparently / does not map to the

Re: Which Apache Connector works and which is recommend for Tomcat 4.1.12?

2002-11-19 Thread Bill Barker
- mod_jk: Stable and widely tested (and what I, myself, use). However, developement on it is now frozen so new versions will be bug-fixes-only. New features will go into: - mod_jk2: A Beta release at the moment. This is a totally re-factored version (but at the moment, backwards compatible).

Re: Tomcat 4.1.12 and packageless classes as Beans

2002-11-19 Thread Bill Barker
Tomcat 3.3 is pretty friendly with this. Tomcat 4.x is less forgiving. The problem is that the JSP container may compile the class into whatever package it wants (according to the JSP-Spec). In the case of Tomcat 4.x, this means that your JSP page is compiled into the org.apache.jsp package.

Re: Tomcat Newsgroup?

2002-11-20 Thread Bill Barker
Craig R. McClanahan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Wed, 20 Nov 2002, Jeff Wishnie wrote: Date: Wed, 20 Nov 2002 13:48:00 -0800 From: Jeff Wishnie [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List

Re: setting syetem property while starting up tomcat

2002-11-20 Thread Bill Barker
Better, create either a setenv.sh or setenv.bat (depending on your taste in O/S) file in your $CATALINA_HOME/bin directory, and set CATALINA_OPTS there. This one won't be over-written when you upgrade. Jeanfrancois Arcand [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: Apache cannot serve html files in webapp directory

2002-11-20 Thread Bill Barker
Usually this is a problem with file permissions. The Apache user (I think that this defaults to apache on RedHat, but I don't use RedHat that much) needs to have read+execute permissions on all directories upto and including the examples directory. In practice, this usually means that they all

Re: Status of Symbolic Links on Linux/TC 4.1.12???

2002-11-20 Thread Bill Barker
It should be pretty much working in 4.1.15 now (as long as you configure the Resources yourself). From 4.1.13, you can also get it to work by setting the caseSensitive=false attribute on the Resources tag. Bob McCormick [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: Status of Symbolic Links on Linux/TC 4.1.12???

2002-11-21 Thread Bill Barker
rce code) that if you specify docBase in the Resources, then the path must be absolute. I'd be +1 for moving the allowLinking option up to the Context level. I'd guess that if it doesn't make the cut on the 4.1.x development, then it will show up in some form in the 5.x development. Bill Bark

Re: mod_jk2 and userdirectories

2002-11-21 Thread Bill Barker
The CVS HEAD version of mod_jk2 (i.e. pre-release) has some support for using REs in the mappings. Haven't used it myself, but it may solve your problem. joe udder [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello. Can anyone please point out a guide or

Re: mod_webapp.so versus mod_jk

2002-11-21 Thread Bill Barker
Matthew Hannigan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Wed, Nov 20, 2002 at 01:51:33PM -0600, Kent Perrier wrote: On Wed, 2002-11-20 at 13:24, Steve Cromer wrote: Hi, I would like to integrate Tomcat and Apache. I noticed that there is

Re: Managed Bean Question

2002-11-21 Thread Bill Barker
Fortunately, there is a yet-undocumented-method :( that works much better. The ServerLifecycleListener in the server.xml file takes an (undocumented) attribute called 'descriptors'. The value is a ';' separated list of resources to load the mbean-descriptors from. This allows you to package

Re: Tomcat Mbeans

2002-11-21 Thread Bill Barker
Custom Valves, at least at the moment, have some issues (:. If your Valve extends org.apache.catalina.valve.ValveBase, then it should work fine. Otherwise, it will probably need to at least implement org.apache.catalina.Contained to work anytime in the near future. If you have a better idea on

Re: MIME Types Registration for Tomcat 3.3.1-4

2002-11-21 Thread Bill Barker
Unfortunately, this is something that got left out of the configuration for 3.3. As a result, there are only two ways to do this at the moment: 1) Add the mime-mappings to all of your web.xml files. 2) Edit o.a.t.u.http.MimeMap, and re-compile. It would be nice to add back this to the config

Re: Logging the IP address

2002-11-21 Thread Bill Barker
I don't remember how to do this in 3.2. In 3.3.x you use the AccessLogInterceptor http://jakarta.apache.org/tomcat/tomcat-3.3-doc/serverxml.html#AccessLogInte rceptor to do access logging. Cox, Charlie [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... You want to

Re: Tomcat 4.1.12 ArrayIndexOutOfBoundsException in InternalOutputBuffer.write()

2002-11-21 Thread Bill Barker
If you (or Yoav) could post the stack-trace (preferably to http://nagoya.apache.org/bugzilla/) it would be a big help in trying to track this down. Neil Milne [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi I'm seeing an occasional

Re: change localhost_access_log to use . instead of -

2002-11-21 Thread Bill Barker
This is a bit low on my current itch-list, but it is definitely an itch. I'd be more than happy to review your patch. As always, you should send it to either bugzilla or tomcat-dev (not to me directly). peter lin [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

Re: Enabling Symlinks Cause FileNotFound Exception

2002-11-21 Thread Bill Barker
Please tell us about the bugs :). The developers can't fix what they don't know about. Eugene Gluzberg [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I had the same problem, 4.1.12 does not work. Try 4.1.15 alpha, although the alpha has other bugs. I did not

Re: Tomcat 3.3 , JNDI, DataSource, Web.xml, Server.xml

2002-11-22 Thread Bill Barker
Craig R. McClanahan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Sat, 23 Nov 2002, Jeovanny Mejia wrote: Date: Sat, 23 Nov 2002 01:32:01 + From: Jeovanny Mejia [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL

Re: uri mapping question

2002-11-22 Thread Bill Barker
There is a plan to release a v2.0.2 sometime soon. This one *should* have support for using REs in the mappings, but I don't use IIS, and haven't tested the developement code. David Boyer [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'm using the

Re: dynamically built server.xml

2002-11-22 Thread Bill Barker
With 4.1.x, you can configure the Contexts with xml files located under the directory specified for the Host. Look in the webapps directory of the default Tomcat install for examples. PERRIN GOURON Olivier [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I read

Re: Error message meaning?

2002-11-22 Thread Bill Barker
Turner, John [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... As far as I know, that error shows up when the user has closed their browser or browsed to another page before the request was completed. Someone please correct me if I am wrong, as I get the same

Re: 4.1.15 Admin page exception?

2002-11-24 Thread Bill Barker
My first guess is that you ignored the big bold text on the download page, and used the evil Sun 'tar' to unpack the installation. :) Randall DuCharme [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Greetings, I'm painfully new to Tomcat and Java in general.

Re: Displaying servlets and its memory usage

2002-11-24 Thread Bill Barker
Borland's OptimizeIt is very good at this, but it costs. Sriraman.R [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Any clues/pointers to get this info! -Sriram -Original Message- From: Sriraman.R [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22,

Re: TagLibs in Tomcat3.3.1

2002-11-24 Thread Bill Barker
Craig R. McClanahan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Sat, 23 Nov 2002, Laxmikanth M.S. wrote: Date: Sat, 23 Nov 2002 14:41:11 +0530 From: Laxmikanth M.S. [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users

Re: how can i get tomcat to take my servlets?

2002-11-24 Thread Bill Barker
Yeah, well, servlet-mapping index pages don't work with 4.x. This is a valid reading of the 2.3 Servlet-spec, so unless anyone wants to start contributing patches, it is likely to never work in the Tomcat 4.x line (this is just the nature of O/S projects). It does work in Tomcat 3.3.2-dev (with

Re: servlet startup compile error

2002-11-25 Thread Bill Barker
The 'application' variable is only defined within the definition of the '_jspservice' method. And, this is how it should be. To get what you want you need: %! public void contextInitialized(ServletContextEvent sce) { // Relying on the fact that Jasper's base class extends GenericServlet

Re: tomcat sessions and webapp deployment

2002-11-25 Thread Bill Barker
Baker, Derek [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, Tomcat 4.1.12, running with JBoss 3.0.4 on RedHat 8.0, seems to be holding onto sessions between deployments of a webapp. With the old version (3.something) the sessions would get killed when

Re: problems with tomcat as rmi client

2002-11-25 Thread Bill Barker
I've never tried this, but probably you either want to set java.rmi.server.codebase in the CATALINA_OPTS, or make certain that your stub-classes all live within WEB-INF/lib. Vishal Zinjuvadia [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I am trying to use

Re: MBean server?

2002-11-25 Thread Bill Barker
I'm guessing that there is a more informative message in 'catalina.out', and that the problem is that 4.1.12 doesn't work with xerces-2.2.x (other than 'nightly'). Replace the xerces jars in $CATALINA_HOME/common/endorsed with the 2.1.0 version, and it should be fine. Shawn Wilson [EMAIL

Re: Mod_jk Problem

2002-11-25 Thread Bill Barker
Without looking at the code, I believe that this is only caused when the 'JkWorkersFile' no longer points to the correct place in your httpd.conf (or included file). It can also be caused if the file can't be read from the Apache user (On RedHat, defaults to 'apache', in the download defaults to

Re: Help needed with Tomcat support for Double Byte Chars

2002-11-25 Thread Bill Barker
The charset support in 3.3.1 is actually very amazing, given the limitations of the Servlet 2.2 Spec (the principal author is an iso-latin-2 person). Firstly, Tomcat 3.3.1 will attempt to remember the last charset (in the session) that was used for the last output page. Since almost all browsers

Re: newbiw. mysql connector problems

2002-11-26 Thread Bill Barker
I'm guessing that you're using some 1.4.x JVM. The Tomcat 4.1.x startup scripts override $JAVA_HOME/jre/lib/ext, and set it to $CATALINA_HOME/common/endorsed. Copying your MySQL jars here should solve your problems, Evelin [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: RMI and Tomcat

2002-11-26 Thread Bill Barker
This is starting to look like a classic case of bad design. But to get your app working, try adding servlet.jar to the CLASSPATH of rmiregistry. Sarah L. Moore [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Well, I just moved the application classes over to the

Re: Hi all .. licence issue ..

2002-11-26 Thread Bill Barker
Craig R. McClanahan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Wed, 27 Nov 2002, Eriam Schaffter wrote: Date: Wed, 27 Nov 2002 02:08:47 + From: Eriam Schaffter [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List

Re: Is there a secureCookie type of paramater for Tomcat 4.1.12?

2002-11-27 Thread Bill Barker
Raiden [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, Anyone have any ideas if there is a solution to this problem in 4.1.12, or are we better off reverting back to Tomcat 3.3.2 to restore the old behavior of not making the sessionId cookie a secure

Re: Broken pipe msg from Ajp13Processor

2002-11-27 Thread Bill Barker
At the moment, mod_jk(12) drops the connection to Tomcat if the client drops the connection (e.g. hits the stop button) before the page is fully sent. I won't bore people with the details of why it works this way, but you can usually ignore it. Schnitzer, Jeff [EMAIL PROTECTED] wrote in message

Re: Should I get the nightly build?

2002-11-27 Thread Bill Barker
micael [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Just back away from the Cat slowly. Depends on what you want, right? ;-) Actually, the 3.3.2-dev nightlies are currently very stable (since there isn't much going on with new-feature development at the

Re: Which connector for Apache 2 + Tomcat 4.1 on HP-UX 11?

2002-11-27 Thread Bill Barker
Actually, I've got one box where I have mod_jk.so (the 1.1.0 version that comes with 3.3.1) talking very nicely to the Jk2 CoyoteConnector running in 4.1.13. The nice thing about mod_jk at the moment is that you can mix-and-match native and Java versions freely. Wendy Smoak [EMAIL PROTECTED]

Re: REPOST: Coyote:: ArrayIndexOutOfBoundsException

2002-11-27 Thread Bill Barker
Actually, you should probably move to 4.1.16 :). There was a bug that looks a lot like this in earlier versions of the CoyoteConnector. However, in those cases, the bug should be much more harmless than what you're seeing. If you can try at least the 4.1.16 connector code and report what you

Re: JSP + custom tags (XML)

2002-11-28 Thread Bill Barker
Well, this is simple enough (assuming that you can overlook Kwok's flame-bating :). According to the JSP spec (same in 1.1/1.2/2.0), your taglib definition must be relative to web.xml (e.g. see section 7.3.2 of the 1.2 JSP spec). In particular, this means that it must be in the file

Re: Chinese Content in JSP

2002-11-28 Thread Bill Barker
Tomcat 3.3.1 does a very good job at attempting to guess the charset (given the limitations of the 2.2 Servlet Spec). However, this can never be perfect (as seen by the 2.3 Sevlet-Spec adding 'request.setCharacterEncoding'). As long as you don't mind coding to Tomcat-specific behavior, you can

Re: why is my style sheet and and validation.js ??

2002-11-28 Thread Bill Barker
Well, basically, because mod_webapp maps your entire context to Tomcat, and in Tomcat everything is eventually handled by a Servlet. Without checking the source code, I believe that this particular bug is even fixed in the latest 4.0.x release. It's a very old bug. [EMAIL PROTECTED] wrote in

Re: Evaluating the possibility of using tomcat have some questions.

2002-11-28 Thread Bill Barker
Like with the rest of mod_jk, all versions of the 'isapi_redirector.dll' can be used with any version of Tomcat (= 3.3), and any version of the Connector. D. Farris [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Greetings, We are evaluating the possibility of

Re: Using Zip file instead of TAR file

2002-11-28 Thread Bill Barker
It should be the same. There is a chance that some of the config files in the ZIP might have the Windows CRLF end-of-line terminator (instead of the Solaris LF), but I believe that xerces treats this as white-space. Of course, installing gtar isn't that bad, and saves you many MB on the

Re: HELP!! Tomcat crashes on me!

2002-12-01 Thread Bill Barker
Despite claims to the contrary, what you want to run on the command line is: catalina run This will dump the error messages to your current consol window, instead of opening another window (that will go away). Steve R Burrus [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: Invalid command 'LoadModule'

2002-12-01 Thread Bill Barker
At a first guess, you copy of Apache hasn't been compiled to include mod_so (very unusual for a Linux system, but it's the only way I know of to get this message). If this is the case, you can either re-compile Apache to include mod_so, or re-compile Apache to include mod_jk as a static module.

Re: Need for apache with Tomcat4.1.12

2002-12-01 Thread Bill Barker
I've currently got one machine where I can switch between 3.3.1 4.1.x simply by shutting down one and starting the other. It required no changes to the Apache side. If all of your Apache directives look like: JkMount /mycontext/* ajp13 then you can do much the same thing. If you are allowing

  1   2   3   4   5   6   7   8   9   10   >