Re: Tomcat Performance Concerns

2003-02-06 Thread Bill Barker
Anecito, Anthony (HQP) [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi All, I am looking at Tomcat for production and seeing some things that make me question its use for production. I believe what Jakarta group is doing is a great thing for all of us

Re: bean initialization code

2003-02-06 Thread Bill Barker
ut doing this? thanks! -jeff --- Bill Barker [EMAIL PROTECTED] wrote: Jeff Ousley [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello! Is there a method I can override in a bean that'll get executed when a bean is first used and not

Re: Tomcat Performance Concerns

2003-02-06 Thread Bill Barker
Anecito, Anthony (HQP) [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Peter, I also look forward to the book and have the same questions that Sean has. Also, 1. Will it cover Apache (i.e. clustering)? Currently, clustering should be supported in TC 5.x. 2.

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

2003-02-06 Thread Bill Barker
rf [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... // This is common trick I use after a form submission to // help make navigation easier for the user, and to help // avoid dual-submission of the same form. // Not clear - how is the second

Re: session timeout not working anymore :(

2003-02-05 Thread Bill Barker
I admit not not looking at this in detail. But the lack or a 'return;' statement after the jsp:forward is a major red flag. Sundar Narasimhan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I'm running out of options -- but is there a problem with

Re: configuring MIME type

2003-02-05 Thread Bill Barker
From my limited Linux use, I believe that 1) only works if you are running behind Apache, and Apache is serving static content. 2) is probably safer (and certainly required if either of the conditions on 1 are false). Sean Dockery [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: mod_jk redirect simple question

2003-02-05 Thread Bill Barker
RewriteRule ^/$ /dir/myfile.jsp [PT] or RewriteRule ^/$ /dir/myfile.jsp [R] If myfile.jsp uses relative references to e.g. image files, then use the second. Otherwise, if you don't want myfile.jsp to show up in the Address bar, use the first. [EMAIL PROTECTED] wrote in message

Re: How to maintain session attributes in a frameset?

2003-02-05 Thread Bill Barker
Johann Uhrmann [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I'm using the following configuration: - Tomcat 4.1.12 - Struts 1.1b3 - JSTL 1.0 - a frameset containing two frames (all JSP) The JSP containing the frameset sets session attributes using

Re: WAR format question

2003-02-04 Thread Bill Barker
Read-only files can be placed anywhere you want. For files that you need to write to, use the 'javax.servlet.context.tmpdir' attribute of the ServletContext (since you can't write to a WAR file :). Assuming that your servlet extends GenericServlet (this includes the cases of HttpServlet, and

Re: classloader issues using ../common/lib vs. ../shared/lib

2003-02-04 Thread Bill Barker
Except for stuff like jdbc drivers, 90% of the time you will see no difference between common/lib and shared/lib. The difference is that the internal Tomcat classes can see what is in common/lib (which the above mentioned 90% of the time means that they could care less :). Mark [EMAIL PROTECTED]

Re: more about custam tag life cycle

2003-02-04 Thread Bill Barker
Craig R. McClanahan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Mon, 3 Feb 2003, Will Hartung wrote: Date: Mon, 3 Feb 2003 11:00:46 -0800 From: Will Hartung [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List

Re: problem using Tomcat 3.3.1

2003-02-04 Thread Bill Barker
Really not much to add to what Larry has already said. The most common reason for Broken pipe is simply that the user has hit the stop button in the browser before the page is fully loaded. Based on my experiences, using mod_proxy can be even worse (unless you disable page-caching). Larry

Re: auto gen config file for jk2

2003-02-01 Thread Bill Barker
There is nothing yet for Jk2 like ApacheConfig. The closest is the CLI translater (which has major issues :). Something like: java -cp $CATALINA_HOME/server/lib/tomcat-jk2.jar org.apache.jk.config.WebXml2Jk -docBase $CATALINA_HOME/webapps/myapp The files will end up in

Re: System.out.prinln in a bean

2003-02-01 Thread Bill Barker
Filip is correct. I'm only replying to say that using System.out is evil. Save yourself a lot of headaches down the road, and use a real logging system like log4j/JDK1.4-logging/commons-logging. Just my $0.02. Filip Hanik [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: form-based auth

2003-02-01 Thread Bill Barker
Craig R. McClanahan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Fri, 31 Jan 2003, Bill Barker wrote: Date: Fri, 31 Jan 2003 22:54:38 -0800 From: Bill Barker [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL P

Re: bean initialization code

2003-01-31 Thread Bill Barker
Jeff Ousley [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello! Is there a method I can override in a bean that'll get executed when a bean is first used and not on subsequent calls? Basically I'm page that uses a bean such as: jsp:useBean id=termwatch

Re: Nested tags with optional bodies - Tomcat 4.1.18

2003-01-31 Thread Bill Barker
Ben Carterette [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I just set up Tomcat 4.1.18 with my tag library I had been using with Tomcat 4.0.4. The tags don't work anymore. The set up is like this: tag1 name=name tag2 name=namevalue/tag2 tag2

Re: form-based auth

2003-01-31 Thread Bill Barker
Craig R. McClanahan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Fri, 31 Jan 2003, Madere, Colin wrote: Date: Fri, 31 Jan 2003 14:06:27 -0600 From: Madere, Colin [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: '[EMAIL

Re: JSP Whitespace

2003-01-31 Thread Bill Barker
This is probably the best solution. The JSP spec requires that the container (aka Tomcat) respect all whitespace in the JSP document. Unfortunately, this usually means trading off page readablility for smaller output size. There isn't much that the Tomcat team can do about this. The place to

Re: Context problem, urgent!

2003-01-30 Thread Bill Barker
ROTECTED]... Thanks Bill. It is exactly my problem. It is a bug of TC4.1.12. I noticed that there is fixing solution to the source code. Does it mean that I have to download the source code and modify it and recompile it? -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED]]

Re: From Tomcat 3.3 to Tomcat 4.0.5 -- Contexts Same?

2003-01-30 Thread Bill Barker
The structure of server.xml was completely re-done in Tomcat 4.x. Your best bet is to look at the server.xml that ships (or, even, stoop to RTFM: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/index.html ;). It defines a Context for the examples. You should be able to figure out how to

Re: Mod_jk2 config

2003-01-30 Thread Bill Barker
In theory, the latest release of mod_jk2 should have full support for REs (so, in particular, you can use '!'). But I haven't tried it myself. Reynir Hübner [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, Is it possible to set the configuration of urls to

Re: what is catalina?..

2003-01-30 Thread Bill Barker
Catalina is also the name of a small island off the coast of southern California. I, personally, have no idea why this was chosen as a package name (I haven't been hanging out here that long). Especially since the principal author doesn't live in So. CA. Antonio Vázquez [EMAIL PROTECTED] wrote

Re: what is catalina?..

2003-01-30 Thread Bill Barker
rf [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... --- Bill Barker [EMAIL PROTECTED] wrote: Catalina is also the name of a small island off the coast of southern California. I, personally, have no idea why this was chosen as a package name (I

Re: Possible CLOSE_WAIT problem

2003-01-29 Thread Bill Barker
Having just taken a look at the code, it does seem that this is a bug for Tomcat 4.1 with the CoyoteConnector. Could you please submit it at http://nagoya.apache.org/bugzilla? Dan Higgins [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, If I set my

Re: servlets

2003-01-29 Thread Bill Barker
Craig R. McClanahan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On 28 Jan 2003, Felipe Schnack wrote: Date: 28 Jan 2003 19:26:27 -0200 From: Felipe Schnack [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Re: Context problem, urgent!

2003-01-29 Thread Bill Barker
Look at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13040 to see if it looks like what you are seeing. Peng Annie / FINLAND [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, In Tomcat4, I can not get the right context of other webapp from my app. My

Re: sendRedirect() fails on first call only within a session

2003-01-29 Thread Bill Barker
It's not supposed to, but then I haven't used 3.2.x for a very long time. The first thing that I would try is to upgrade my isapi_redirect.dll from http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.2 /bin/win32/. It should be fully compatible with the 3.2.x Java code.

Re: HTTPS -- HTTP redirecting

2003-01-28 Thread Bill Barker
[EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, Is it possible to configure Tomcat (4.1.x) in such a way that a request can be redirected automatically from HTTPS to HTTP port? Let's assume that a Website has two separate (non-overlapping) sets of

Re: Where does request.getServerName get name from?

2003-01-27 Thread Bill Barker
Craig R. McClanahan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Mon, 27 Jan 2003, Januski, Ken wrote: Date: Mon, 27 Jan 2003 18:03:15 -0500 From: Januski, Ken [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List

Re: SSL negotiation between Apache2.0.43 Tomcat4.1.12 ( windows)

2003-01-24 Thread Bill Barker
It's a bug in the Coyote Jk2 Connector for 4.1.12. Upgrading to 4.1.18 should solve the problem. Mohamed Nasser [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]. .. Hello friends, I have configured Apache 2.0.43 to run with tomcat 4.1.12 without a hitch except for

Re: Filter doing a redirect

2003-01-23 Thread Bill Barker
Calling response.sendRedirect sets the HTTP status code to 302, and populates the 'location' response header. You almost always simply want to 'return;' from your Filter in this case (since the response is complete), rather than proceed with doFilterChain. Erik Price [EMAIL PROTECTED] wrote in

Re: Servlet chaining, set remoteUser?

2003-01-23 Thread Bill Barker
Since this only really has a chance of working with a 2.3+ container (like Tomcat 4.x), I'd probably use a Filter instead of chaining Servlets. However, the idea is the same. You create a HttpServletRequestWrapper that overrides getRemoteUser and getUserPrincipal (and, possibly, isUserInRole)

Re: Upgrading Custom Realms from 4.0.6 to 4.1.18

2003-01-23 Thread Bill Barker
The simplest is to just disable the JMX support Listeners. Assuming that you want to keep the 'admin' webapp, then all that you need to do is to create an mbeans-descriptor.xml file looking like: ?xml version=1.0? !DOCTYPE mbeans-descriptors PUBLIC -//Apache Software Foundation//DTD Model MBeans

Re: tomcat-server

2003-01-23 Thread Bill Barker
1) Much what Jason said: You can run Tomcat behind IIS to take advantage of ASP support, or you can get fancy and use Java -- COM bridges to do much the same thing. From your description, I'd guess that you want the first option. 2) Again, what Jason said. You can view the Apache license (which

Re: Altering the request URI in a filter through HttpServletRequestWrapper

2003-01-22 Thread Bill Barker
I haven't looked to see why you are getting this particular error message, but the basic idea shouldn't work. Before your Filters are invoked, Tomcat has already decided on which Servlet should handle the request at the end of the pipeline. Changing the requestURI and servletPath at this stage

Re: please help - strange messages in tomcat 4.1.18

2003-01-22 Thread Bill Barker
The messages are usually harmless (if you are not restarting Apache, then it is usually the client hitting the stop button in the browser before the page is fully loaded). To get rid of the messages (assuming that you don't want to patch the code): 1) If using log4J, configure it to only output

Re: Tomcat 5 - 302 issue resolved??? (please please please)

2003-01-22 Thread Bill Barker
s. Neal -Original Message- From: news [mailto:[EMAIL PROTECTED]]On Behalf Of Bill Barker Sent: Tuesday, January 21, 2003 10:46 PM To: [EMAIL PROTECTED] Subject: Re: Tomcat 5 - 302 issue resolved??? (please please please) The answer for Tomcat 5 is not yet. There seems to be a consensus on

Re: Tomcat 5 - 302 issue resolved??? (please please please)

2003-01-21 Thread Bill Barker
The answer for Tomcat 5 is not yet. There seems to be a consensus on the dev list that this will at least be an option, but it will need to be included in the new Mapper that is required to handle the new welcome-page behavior in the current draft of the 2.4 Servlet spec. Turner, John [EMAIL

Re: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-21 Thread Bill Barker
Personally, I don't use it, but I believe that it is working in at least 4.1.18. If you are using the CoyoteConnector, then the best place to set the option is in jk2.properties. It really doesn't matter if you are using Jk2 on the native side or not: The java code still works off of this file.

Re: URL Mappings on Tomcat 3.3 must go between servlet and security sections.

2003-01-20 Thread Bill Barker
Like Tomcat 4.x, Tomcat 3.3 validates web.xml by default. To disable, simply set the validate=false attribute on the WebXmlReader element in server.xml. Christopher Mark Balz [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Apparently, this is the case. Yet

Re: Ignore URL Prefix

2003-01-18 Thread Bill Barker
Which Apache version are you using? For Apache 1.3.x+mod_rewrite I could probably trick it into doing what you want (but I havn't actually tried it :). For Apache 2.x, I'm not so sure (without a lot of C code hacking :). Sordid hacks like what I'm suggesting are almost always not the way to go

Re: MissingResourceException on ResourceBundle.getBundle(.)

2003-01-18 Thread Bill Barker
You haven't specified enough information (and you should really know better :). The three argument getBundle should work fine (i.e. ResourceBundle.getBundle(..., Local.US, Thread.currentThread().getContextClassLoader())). If that doesn't work, I'd suggest patching the code until it does :).

Re: tomcat 3.3.1 - win2k iis

2003-01-15 Thread Bill Barker
If you set the debug=6 attribute on the JspInterceptor element of server.xml (and re-start Tomcat), then Tomcat will print the classpath that it is using to compile to the log file. It looks like it can't find %TOMCAT_HOME%\lib\common\servlet.jar. You might also want to check that you don't have

Re: Various bugs with mod_jk and mod_jk2? And does Apache2.0.43+mod_jk2=inevitable hanging?

2003-01-11 Thread Bill Barker
Raiden [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Just as a followup, even though all of the below still holds true, I did find out my problem with Apache 2.0.43 (it was a DNS misconfiguration that eventually held Apache up, even though I don't have it resolving host names).

Re: Java Bean Scope questions (a lengthy one)

2003-01-10 Thread Bill Barker
een much for formBean, so I'm going to fake it: jsp:useBean id=formBean class=com.complusdata.beans.FormBean scope=session / %-- set all properties from the Request --% jsp:setProperty name=formBean property=* / Thank you!!! Denise -Original Message- From: Bill Barker [mailto:[EMAIL P

Re: How do I set a default servlet?

2003-01-10 Thread Bill Barker
888-5813 |-+ | | Bill Barker| | | wbarker@wilshire| | | .com| | | Sent by: news| | | [EMAIL PROTECTED]| | |

Re: Cookies

2003-01-10 Thread Bill Barker
Paul Yunusov [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Friday 10 January 2003 04:23 pm, Luc Foisy wrote: Is the Cookie defined in the Servlet API permanent by default? It doesnt really say that in the docs. You might be able to assume that since you

Re: request for extra information

2003-01-10 Thread Bill Barker
Even I don't remember anything about tomcat1.1.1. However, there are still people on the dev list that consider it a swear word ;-). It's got more bugs than your basic rotten log. Any of the current released versions of Tomcat have much easier IIS integration. Upgrade to 3.3.1/4.0.4/4.1.18

Re: Can Tomcat 3.3 support multiple versions of the JVM simultaneousl y?

2003-01-09 Thread Bill Barker
Assuming that you are using jk_nt_service (which ships with 3.3), than it is as simple as setting the 'wrapper.java_home' in the wrapper.properties file to point to the Java version you want for this particular version of Tomcat. Stickland, Michael G [EMAIL PROTECTED] wrote in message [EMAIL

Re: tomcat welcome-file

2003-01-09 Thread Bill Barker
1) Use Tomcat 3.3.2-dev (aka nightly) which has an option to do this. 2) Wait until the 5.x release that will likely support this. 3) Run Tomcat behind Apache/IIS/iPlanet. 4) Search the archives for the patch to Tomcat 4.x that does this, and apply it. Catalin [EMAIL PROTECTED] wrote in message

Re: Content-Length header set automatically?

2003-01-09 Thread Bill Barker
Clarifying areas that Craig doesn't know. See intermixed. Craig R. McClanahan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Thu, 9 Jan 2003, Justin Ruthenbeck wrote: Date: Thu, 09 Jan 2003 15:09:44 -0800 From: Justin Ruthenbeck [EMAIL PROTECTED]

Re: One other freaky thing

2003-01-09 Thread Bill Barker
Before everyone panics, the issue was with mod_jk2 (which is currently a *beta*). AFAIK mod_jk works fine. For people that are interested in bugs-that-never-die, there was an almost identical bug in the pre-beta 3.3.x version of mod_jk back before it was available for Tomcat 4.x. Jeff Tulley

Re: How do I set a default servlet?

2003-01-09 Thread Bill Barker
Setting the default servlet is really easy. You just specify: servlet servlet-namemyservlet/servlet-name servlet-classmyservlet/servlet-class /servlet servlet-mapping servlet-namemyservlet/servlet-name url-pattern//url-pattern /servlet-mapping The problem is that this is almost certainly

Re: SSL cert on Apache not working properly with Tomcat?

2003-01-08 Thread Bill Barker
This is a known problem. See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15456 for more details. It has to do with the (non-existent) client cert, and has nothing to do with the Apache cert. Also (besides filling up log space), it's pretty harmless. Denise Mangano [EMAIL PROTECTED] wrote

Re: Java Bean Scope questions (a lengthy one)

2003-01-08 Thread Bill Barker
getEmail()%/ /jsp:useBean Thanks. Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 1:42 AM To: [EMAIL PROTECTED] Subject: Re: Java Bean Scope questions (a lengthy one) Denise

Re: Java Bean Scope questions (a lengthy one)

2003-01-07 Thread Bill Barker
Denise Mangano [EMAIL PROTECTED] wrote in message 5D83C44941AFD4118B6F0002B302984F438636@EXCHANGE_SERVER">news:5D83C44941AFD4118B6F0002B302984F438636@EXCHANGE_SERVER... Wow someone read all of that!! ;) For Question #1: I should have mentioned this before... I tried to use session scope at

Re: include files in server.xml?

2003-01-07 Thread Bill Barker
You can use XML Entities to do it. There isn't a specific tag to include a file. Matthew Boeckman [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'm wondering if tomcat-4.1.12 supports include files, similair to apache in the server.xml file? I have to

Re: Help with Tomcat on HP-UX 10.20

2003-01-03 Thread Bill Barker
This looks like a bug in the 3.3.1 release. There should be a 3.3.2 release out in the near future. In the meantime there are two options for you at this point: 1) Use the 3.3.2-dev nightly release (not as bad as it sounds, since the 3.3 branch is mostly bug-fixes these days). 2) Set the

Re: Can tomcat listen only to unix socket?

2003-01-02 Thread Bill Barker
Craig R. McClanahan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Thu, 2 Jan 2003, Gery Kahn wrote: Date: Thu, 02 Jan 2003 15:29:22 +0200 From: Gery Kahn [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Re: NTLM / Connection: Keep-Alive / HTTP 1.0

2003-01-02 Thread Bill Barker
There is a problem with HTTP/1.0 Keep-Alive in 4.1.12. See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12783 for more information. If this looks like your problem, then upgrading to 4.1.18 should fix it. Endre Stølsvik [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: Connector Problem, has anyone seen this behavior?

2003-01-02 Thread Bill Barker
The mod_jk (V1.0) for 3.2.x doesn't have the re-try connection logic that the later versions have. You should upgrade to at least V1.1 (ships with TC 3.3), or, better 1.2.x (current stable release). Brandon Cruz [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

Re: JasperException

2003-01-02 Thread Bill Barker
Well, it looks like it is b*tching about 'FormBean.getTransactionID()' returning a String []. Arrays aren't one of the types that JSP is required to support automatic translation for. Denise Mangano [EMAIL PROTECTED] wrote in message

Re: how to get meaningful exception in JSP error page

2003-01-02 Thread Bill Barker
As it happens, JasperException (at least in 4.1 Jasper2) subclasses ServletException. You should be able to get this by casting to a ServletException and calling getRootCause(). Brian W. Young [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Happy New Year, I'm

Re: Release of memory

2003-01-02 Thread Bill Barker
If you search http://nagoya.apache.org/bugzilla/buglist.cgi?product=fop you will find several reports of memory leaks using fop. Your best bet is to take it up on the fop-users list. Øyvind Hvamstad [EMAIL PROTECTED] wrote in message

Re: JK2/tomcat 4.1.18 - broken pipe problem

2003-01-02 Thread Bill Barker
The most common reason for this is that the user has hit the stop button in the browser before the page has been fully loaded. The AJP13 protocol (currently) doesn't support out-of-band messages to notify Tomcat of this fact, so mod_jk(2) simply drops the connection to Tomcat instead. Jesper

Re: Warning: messages in catalina.out

2002-12-30 Thread Bill Barker
The first one is usually just that the client hit the stop button in the browser. At the moment, the AJP13 protocol doesn't support out-of-band messages to tell Tomcat about this, so it just drops the connection instead. The second one is just a warning (which will at least be correct in 4.1.19

Re: Apache HTTPD Tomcat: Where does mod_jk step in?

2002-12-30 Thread Bill Barker
Now that we are done attacking clones :) The workflow is pretty simple. In the map-to-storage hook, mod_jk detects that the request should be handled by Tomcat, and registers itself as the handler. Later, when the handler hook is called (I forget the name for Apache2, and don't feel like

Re: Please reply--Important print writer problem.

2002-12-30 Thread Bill Barker
You should not ever attempt to use an OutputStream from a JSP page. The entire point of JSP pages is to output text! JSP pages will always grab the Writer (per the spec), before your code has a chance to execute. I'd suggest converting your JSP to a Servlet (not hard, based on the code below).

Re: Tomcat log entries

2002-12-29 Thread Bill Barker
This is simply some Windows server that is infected with the Nimbda Worm looking for a new place to crawl to. It only infects non-patched IIS servers, so for Tomcat stand-alone or Apache, you can safely ignore it. Laszlo Nadai [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: Please Help me

2002-12-29 Thread Bill Barker
JServ is deprecated, and AFAIK, not supported at all for Tomcat 4.x. Since you are running under Windows, mod_webapp isn't an option. You'll need to get the mod_jk connector from http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.2 /. Manoj Tyagi [EMAIL PROTECTED] wrote

Re: Problems starting up...

2002-12-29 Thread Bill Barker
mia isabelle [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I can't get the Tomcat server to start. I used the startup.bat, setclasspath.bat, catalina.bat with the following configuration: Using CATALINA_BASE: d:\tomcat41 Using CATALINA_HOME:

Re: Where can I find a complete mod_jk2 howto?

2002-12-29 Thread Bill Barker
Building from source really isn't that bad. Granted, I haven't managed to get the Ant build to work for Jk2, but if you're GNU tools are sufficiently up-to-date (e.g. Make, AutoConfig, LibTool), then using 'buildconf.sh' and 'configure' is reasonably painless to build the mod_jk2 native code.

Re: Is session id guaranteed to be unique?

2002-12-29 Thread Bill Barker
Jason Pyeron [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... should the source not be patched? IMHO, the source should be patched. As a result, Tim's patch will be in the 4.1.19 release. how inefficient would collision detection be? best case it would be a

Re: Is session id guaranteed to be unique?

2002-12-29 Thread Bill Barker
signated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. On Sun, 29 Dec 2002, Bill Barker wrote: Jaso

Re: disabling the directory listing in tomcat

2002-12-28 Thread Bill Barker
Rahul Torvi [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello I have a requirement that the tomcat server should not show the directory listing when anybody writes URL which ends in a folder name. Well, one answer would be RTFM :-). I'm going to assume

Re: How I got mod_jk running (Was: Re: Yes!!! It works!!!)

2002-12-28 Thread Bill Barker
I'm as mystified as John on why ApacheConfig doesn't work (unless it's a timing problem between Tomcat and Apache starting up). To answer one of the points in your link below: At the moment you can freely mix-and-match the native Jk(2) code and the Java Connectors. By default, Tomcat 4.1.x

Re: Tomcat stability problem

2002-12-28 Thread Bill Barker
As much as I respect Remy's opinions, this looks very much like a typical GC delay. You might want to experiment with the 'incremental-gc' option on your JVM (the actual syntax varies by vendor: try 'java -help' to see which option to use). Remy Maucherat [EMAIL PROTECTED] wrote in message

Re: How I got mod_jk running (Was: Re: Yes!!! It works!!!)

2002-12-28 Thread Bill Barker
Jerry [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Bill Barker wrote: I'm as mystified as John on why ApacheConfig doesn't work (unless it's a timing problem between Tomcat and Apache starting up). I suppose. But...it works, so no harm no fou

Re: Building jakarta-tomcat-connectors-jk-1.2.2-src

2002-12-28 Thread Bill Barker
Your actual error isn't due to anything about Apache/httpd. It is caused by having an older version of jakarta-ant. You need to upgrade to at least V1.5. Hans Deragon [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Greetings. I get the following error when

Re: Configuring mod_jk - Again! [getting desperate]

2002-12-22 Thread Bill Barker
Apache requires at least rx permissions on all directories upto and including $CATALINA_HOME/webapps/examples/servlets. You have to check the permissions all the way up the tree. Denise Mangano [EMAIL PROTECTED] wrote in message

Re: Unhandled Exceptions in 4.1.18

2002-12-22 Thread Bill Barker
Tomcat User [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have been taking a look at the source for 4.1.18 - and have noticed a few problems with three classes in the org.apache.catalina.mbeans package... Namely - unhandled exceptions in the following

Re: Checksum error when using 4.1.18 download...

2002-12-22 Thread Bill Barker
Kief Morris [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Rakesh Kant typed the following on 23:02 21/12/2002 -0800 I downloaded jakarta-tomcat-4.1.18.tar.gz yesterday to my windows 2000 machine and then binary ftped to my sun solaris machine. There I tried to

Re: progress, but still no mod_jk

2002-12-22 Thread Bill Barker
This would be because ApacheConfig goes in Tomcat's 'server.xml' file (except with a different syntax). The log message could be better (it's left over from Tomcat 3.3) :-(. The warning is simply because Tomcat has no way of knowing about your Apache install, so it is simply telling you that it

Re: Configuring mod_jk - Again! [getting desperate]

2002-12-22 Thread Bill Barker
is odd is that the jsp files that I uploaded I can see without using port 8080. And these jsp's have the same permissions as the examples folder and files within it. Also, apache runs as root - so wouldn't it have permissions? Thanks. Denise -Original Message- From: Bill Barker

Re: progress, but still no mod_jk

2002-12-22 Thread Bill Barker
drwxr-xr-x. Jerry Bill Barker wrote: This would be because ApacheConfig goes in Tomcat's 'server.xml' file (except with a different syntax). The log message could be better (it's left over from Tomcat 3.3) :-(. The warning is simply because Tomcat has no way of knowing about you

Re: [OT] Configuring mod_jk - Again! [getting desperate]

2002-12-22 Thread Bill Barker
rmission changes, and I can now access the html files - having a different problem and will post new thread. Thanks again. Denise -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 22, 2002 10:29 PM To: [EMAIL PROTECTED] Subject: Re: Configurin

Re: What does that error mean?

2002-12-20 Thread Bill Barker
Upgrade to 4.1.18 and this error will go away. Andrew Guts [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello all file catalina.out is full with such errors: Dec 20, 2002 5:10:32 PM org.apache.jk.server.JkCoyoteHandler action SEVERE: Error in action code

Re: Retrieving certificates with Apache - Tomcat connectors

2002-12-20 Thread Bill Barker
It's been working in mod_jk for a very long time, and AFAIK, works in Jk2 as well. There is one limitiation, in that it currently only passes the top-level cert to Tomcat (but not the signers). I don't know about mod_webapp. I don't use it. Christophe Sebille [EMAIL PROTECTED] wrote in message

Re: JSP not using latest version of included file

2002-12-20 Thread Bill Barker
If jsp:include ... doesn't work, than the reason is that somebody is caching it somewhere. The most common culprit is the browser, but it could also be a proxy server if there is one between the browser and Tomcat. Mark [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: Configuring mod_jk - Again!

2002-12-20 Thread Bill Barker
Denise Mangano [EMAIL PROTECTED] wrote in message 5D83C44941AFD4118B6F0002B302984F4385AF@EXCHANGE_SERVER">news:5D83C44941AFD4118B6F0002B302984F4385AF@EXCHANGE_SERVER... Well I tried it. And I added additional JkMount statements: LoadModule jk_module modules/mod_jk.so JkWorkersFile

Re: Configuring mod_jk - Again!

2002-12-20 Thread Bill Barker
The 'LoadModule' directive must occur only once, and at top-level (e.g. outside of any VirtualHost directive). The same goes for JkWorkersFile, and JkLogFile (and related). Denise Mangano [EMAIL PROTECTED] wrote in message

Re: Listener Element in Context: class not found Exception

2002-12-20 Thread Bill Barker
[EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello there, I have a problem with the Listener element inside a Context element in the server.xml configuration file. I always get a ClassNotFound Exception for the class I specify in the attribute className

Re: How do load a properties file from servlet?

2002-12-19 Thread Bill Barker
Assuming that you want it from a Servlet (and I'm assuming HttpServlet here), something like: ServletContext ctx = getServletContext(); InputStream in = ctx.getResourceAsStream(/WEB-INF/props/p.properties); Properties props = new Properties(); props.load(in); Hanasaki JiJi [EMAIL

Re: Tomcat 3.3 and Oracle9i

2002-12-19 Thread Bill Barker
Obviously, Tomcat 3.3 hasn't changed ;-). I can't see any reason why replacing the Oracle 8 jar with the Oracle 9 jar wouldn't work. If you can post more information on your config (e.g. where the Oracle jar is located), and any errors in the logs, it would help the list to help you :). Nancy

Re: why download location move?

2002-12-19 Thread Bill Barker
Jakarta has moved to making the download site more friendly to mirror-sites. Given the download traffic for Tomcat alone, IMHO this is long overdue. Binary Downloads: http://jakarta.apache.org/site/binindex.cgi Source downloads: http://jakarta.apache.org/site/sourceindex.cgi Turner, John [EMAIL

Re: Configuring realms in tomcat 3 vs tomcat 4

2002-12-19 Thread Bill Barker
As you have already figured out, Tomcat 4 doesn't support multiple Realms like Tomcat 3.x does. Of course, you could always write a custom Realm that chains to other Realms. Ben Jessel [EMAIL PROTECTED] wrote in message

Re: UTF-8 vs ISO-8859-1 and really screwed up webpages.

2002-12-19 Thread Bill Barker
Kristjan's response is the best that I've seen so far on this thread. Assuming that you are using Tomcat 4.x, you can also set %@page pageEncoding=UTF-8 % (of course, s/UTF-8/my-encoding/ as needed). This tells the JSP compiler what charset your page was stored as, so that it can correctly

Re: Distributed Sessions in Tomcat ?

2002-12-18 Thread Bill Barker
As I understand it, TC 3.3.1 doesn't support distributed sessions at all. TC 4.x has experimental support for distributed sessions (IMHO, should be considered Alpha). TC 5.x will likely have full support for distributed sessions. Hector Adolfo Alonso [EMAIL PROTECTED] wrote in message [EMAIL

Re: mod_jk leaves connections open?

2002-12-18 Thread Bill Barker
You can set soTimeout by either 'connectionTimout=ms' for the legacy Ajp Connector, or 'channelSocket.serverTimeout=ms' in jk2.properties for the Jk2 Coyote Connector. When I played with this, my performance went down (for a moderate web-site). However, your performance may very. Randy Paries

<    6   7   8   9   10   11   12   13   14   >