Re: request.getUserPrincipal();

2004-04-08 Thread Bill Barker
You are confusing two concepts. Setting clientAuth=true on the Connector causes Tomcat to require that the user identify themselves with a cert before they can continue. Your servlet can then look at the cert (via request.getAttribute(javax.servlet.request.X508Certificate);) and decide what it

Re: Session behaviour across http/https boundary

2004-04-08 Thread Bill Barker
Martin Alley [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I have a small web app that appears to illustrate the following behaviour. Session started in http is carried over to https, but session started in https is *not* carried over to http! Why? This is for security

Re: Tomcat License

2004-04-06 Thread Bill Barker
The short answer is: Yes, it is legal to do what you want, provided that you adhere to the conditions of the license. In fact this is similar to what Sun does with its J2EE product. However, I'm not a lawyer (and you probably won't find too many lurking on this list :). Trusting my opinion

Re: TomcatStarter: main() is looking for this class

2004-04-05 Thread Bill Barker
Actually, org.apache.tomcat.startup.Main is for TC 3.3.x. The TomcatStarter class is just looking to see which Tomcat it is installed with. Shapira, Yoav [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, In 5.0.19, only Bootstrap is there of the classes you mentioned (in

Re: mod_jk leaks file handles on apache graceful restart?

2004-04-05 Thread Bill Barker
I had thought that this was fixed in mod_jk 1.2.5. Carcassone France [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Running: Apache 1.3.28 and Tomcat 4.1.24 on Solaris 5.8 mod_jk related lines in httpd.conf: LoadModule jk_module libexec/mod_jk.so AddModule mod_jk.c

Re: Problem with starting up Tomcat 5.0.1.9 using launcher - a classpath issue?

2004-04-03 Thread Bill Barker
The 'startup-using-launcher.bat' is pretty much unmaintained at the moment (and has nothing to do with the Start Menu shortcut :). To reproduce what the shortcut should be doing, cd to the Tomcat bin directory and run: tomcatw //GT//Tomcat5 To review your startup settings run: tomcatw

Re: Apache security certificate vs. Tomcat security certificate

2004-04-03 Thread Bill Barker
Hollerman Geralyn M [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I currently have Tomcat 5.0.16 running using the SSL connector and a self-signed certificate - I followed the directions in the Tomcat SSL HOW-TO in how to create the certificate and set up Tomcat for SSL. This is

Re: How to set up JAVA_OPTS while running tomcat as a service

2004-04-03 Thread Bill Barker
Well, Tomcat 5 has the nice GUI to do most of this (right-click the Tomcat sys-tray icon), as well as the 'service.bat' file that you can customize for your settings. There should never be a reason to edit the registry settings directly. However, for those people that don't want to heed the

Re: Source code mod JK 1.1.0

2004-03-30 Thread Bill Barker
It's included in the source distro for TC 3.3.1a located at http://archive.apache.org/dist/jakarta/tomcat-3/src/. Akash Jauhar [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Where can I get the source code for mod JK 1.1.0 The URL http://jakarta.apache.org/site/sourceindex.cgi seems

Re: Tomcat5 vs Tomcat3

2004-03-30 Thread Bill Barker
Well, the biggest difference between Tomcat 3 vs. Tomcat 5 is that the first implements the Servlet 2.2/JSP 1.1 spec, and the second implements the Servlet 2.4/JSP 2.0 spec :). If you are using JSPs, especially ones with lots of Tags, then the code generation in Tomcat 5 is much better than it is

Re: What is the use of this connector

2004-03-30 Thread Bill Barker
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, May I know the exact use of this connector. What happens if I remove this? You'll no longer be able to talk to Apache/IIS/SunOne using mod_jk :). !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector

Re: Unable to read Certificate with TOMCAT and APACHE

2004-03-30 Thread Bill Barker
This is one of those times that specifying your Tomcat version helps :). There was a problem in earlier versions of TC 5 where the AJP Connector wasn't able to read the cert correctly. [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, I'm experiencing problems when we try to

Re: How to enable cipher suites in Tomcat

2004-03-29 Thread Bill Barker
In Tomcat 5, you can specify the attribute ciphers=comma separated list of ciphers on the Connector element. Rodrigo Ruiz [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, is there any way to enable a specific cipher suite for SSL connections in Tomcat? The current project I

Re: problem Explorer: does not 'switch' to https

2004-03-29 Thread Bill Barker
This is a well known problem with MS Explorer where it doesn't send the correct Host header when it gets two redirects in a row. The easiest work around is to use the default port (i.e. 443) for SSL. dirk ooms [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, I have an

Re: URL redirect problem, even with 'RequestDispatcher' servlet !

2004-03-24 Thread Bill Barker
This is specific to Tomcat, but something like: URL resource = getServletContext().getResource(request.getPathInfo()); if(resource != null) { // static resource RequestDispatcher rd = getServletContext().getNamedDispatcher(default); rd.forward(request, response);

Re: HELP!

2004-03-23 Thread Bill Barker
Well, this is really more of a mod_joke question than a Tomcat 3 question (seeing that Ms Clark seems to have Apache and Tomcat talking already :). With as little as I know about the configuration, it looks like you want to add something like: JkMount /*.bar ajp13 The usual reason to get

Re: Tomcat 5 Multiple SSL certificates (virtual hosts)

2004-03-23 Thread Bill Barker
IMHO, using separate keystore files is the easiest option. However, it should also be possible to specify which cert to use via the 'keyAlias' attribute on the Connector. D'Alessandro, Arthur [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] We'd like to implement a single Tomcat 5

Re: Tomcat windows service

2004-03-22 Thread Bill Barker
The service wrapper uses the value of the ImagePath as the classpath. The easiest way is to set it via the GUI, but you can also modify service.bat. John MccLain [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How do I set the classpath for Tomcat when it runs as a service? I can do

Re: method=post but doGet() called

2004-03-21 Thread Bill Barker
When Tomcat sees a request for 'http://localhost:8080/mycontext' it sends back a response to redirect to 'http://localhost:8080/mycontext/'. This is so that relative links to things like images and stylesheets work correctly. If the browser conformed to the HTTP/1.1 RFC, it would re-request the

Re: Client authentication and customized error pages

2004-03-18 Thread Bill Barker
Carlos Guardiola [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] (Hi everyone! Here i'm again, asking for some help about https authentication and custom error pages.) Dear Mr. Bill Barker, We've used clientAuth=want as you suggested; and now we've managed to know that a client

Re: SSL using Microsoft CA

2004-03-16 Thread Bill Barker
Like with OpenSSL certs, the easiest is probably to export the cert in PKCS12 format (a .pfx file in MS land), including the signing chain. You should then be able to use that as the keystoreFile (with keystoreType=pcks12). Donald Lee [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

Re: Import SSL keys into Tomcat 5.0.18 -- SSL handshake error

2004-03-12 Thread Bill Barker
You need to import the CA for your client-certs into your truststore file. Then you add the 'truststoreFile=/path/to/truststore' to your Connector element in server.xml. After that, your browser should prompt you for any cert that you have that is signed by that CA. Jeffery Cann [EMAIL

Re: Tomcat 5 -server option and log files

2004-03-12 Thread Bill Barker
It looks like you should be able to add '-server' to the JavaOptions, but I haven't tried it. You could also do: tomcat //US//Tomcat5 --Java java --Arguments java -server As for the log redirection not working except for --Java=java, that's a known issue. I still haven't found something I'm

Re: tomcat services do not start after jdk1.4.2 install - even new tomcat

2004-03-10 Thread Bill Barker
The NetBeans co-bundle doesn't set the Windows registry entries correctly for the service to work. The easiest way around this is to uninstall the NetBeans co-bundle, install the 1.4.2 SDK (it's the one below NetBeans on Sun's site), and then if you want NetBeans as well, go ahead and install

[ANN] Release of Tomcat 3.3.2

2004-03-09 Thread Bill Barker
The Tomcat Team announces the immediate availability of Apache Tomcat 3.3.2. This is the latest stable release in the Tomcat 3 line, and users of Tomcat 3.x are encouraged to upgrade to 3.3.2. This release includes bugfixes from 3.3.1, as well as some new feature enhancements such as support for

Re: Tomcat as a Windows Service and the security manager

2004-03-08 Thread Bill Barker
Try adding '-Djava.security.manager' and '-Djava.security.manager==c:\path\to\catalina\conf\catalina.policy' to your JavaOptions. A.J. Ostman [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello All, Platform: Windows XP / Tomcat 4.1 and 5.0 If I invoke Tomcat from the command

Re: server status from console

2004-03-08 Thread Bill Barker
The status page is just a particular JMX dump. You could do the same thing with your favorite JMX console app. Simone - Dev [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] The idea was using a console so that I don't access the web page. Simone - Simone

Re: Log browser

2004-03-06 Thread Bill Barker
In AccessLogValve, include '%{Referer}i' as part of your pattern string. This is also included in the special 'combined' pattern. Roland Carlsson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi! I'm trying to find out what kind of browser the users of my site are using or atleast

Re: Which Tomcat with which JDK version

2004-03-06 Thread Bill Barker
Small correction here: Tomcat 3 requires JDK 1.1.6 or higher. In particular, it's the only Tomcat version that you can run under J2ME. Shapira, Yoav [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, This is the sort of thing that's much faster to try yourself than ask the list,

Re: Client authentication and customized error pages

2004-03-04 Thread Bill Barker
Using clientAuth=true, the error happens too early to be able to invoke an error-page. You might try using clientAuth=want instead. In this case, the user still gets prompted for a cert, but the request continues if she hits cancel. It is then the responsibility of your webapp to handle the

Re: CLIENT-CERT login (5.0.19)

2004-03-02 Thread Bill Barker
Remy Maucherat [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Almaz Sharipov wrote: Hi! I am newbie here. I spent a lot of time discovering that: 1. CLIENT-CERT login works only with MemoryRealm, all other predefined realms must be commented in server.xml I don't see

Re: occasional ArrayIndexOutOfBoundsException in MsgAjp on linux

2004-02-28 Thread Bill Barker
Could I see the rest of the request dump (the part after the 'snip')? Jim Hopp [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Greetings- We're running Apache 2.0.48, JK 1.2.5, and Tomcat 4.1.29, java java version 1.4.2 Java(TM) 2 Runtime Environment, Standard Edition (build

Re: Can't load SVG pages

2004-02-26 Thread Bill Barker
You might also want to look at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27122. Jim Hopp [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] A bug introduced in 4.1.29 causes problems with SVGs (and a similar problem for PDF's). See

Re: can't get tomcat 5 to work

2004-02-26 Thread Bill Barker
You can get rid of the messages by setting: request.registerRequests=false in your jk2.properties file. However the error itself is harmless. Joseph Shraibman [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I set up tomcat 5 but when I try to view a jsp or servlet all I get is a

Re: source code exposure

2004-02-26 Thread Bill Barker
unplug [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] As you can see, the jsp only contains a line of code %= new java.util.Date() %. I haven't set the content type in the jsp and it can be run at http://company.com/examples/test.jsp. However source code exposure at

Re: bug in redirect to https

2004-02-26 Thread Bill Barker
See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27122. Bernhard Wraase [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I found a bug in tomcat 5. I can reproduce it with tomcat 5.016, 5.018 and 5.019. Other versions of tomcat 5 I didn't test. Here is my testcase:

Re: ServerSocketFactories for Connectors

2004-02-23 Thread Bill Barker
Anton Ushakov [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, For a webservices project we need to override the ServerSocketFactory used with a http connector, - we are implementing our own httpg using overriden Input/Output streams that do GSS-API authentication. It works

Re: security constraint bug?

2004-02-23 Thread Bill Barker
Brandon Goodin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have the following security constraint specified in my web.xml: security-constraint web-resource-collection web-resource-nameCustomer Area/web-resource-name url-pattern/customer/*/url-pattern

[ANN] Apache Tomcat 3.3.2 Release Candidate 1

2004-02-23 Thread Bill Barker
The Tomcat Team announces the immediate availability of Apache Tomcat 3.3.2 Release Candidate 1. Downloads: http://www.apache.org/~larryi/tomcat-3.3.2-rc1 The Apache Tomcat Team This message is intended only for the use of the person(s) listed above as the intended recipient(s), and may

Re: Where is the source code that processes the server.xml file?

2004-02-22 Thread Bill Barker
Urm, this is actually at http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/, which will reference some classes from o.a.c.deploy. Tim Funk [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

Re: Proposal: New parameter for JK2 connector

2004-02-22 Thread Bill Barker
Antonio Fiol BonnĂ­n [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, Seen that mod_jk has a socket_keepalive option for the Apache side, my proposal consists in adding a similar setting in the Tomcat side. Advantages: If you pull the power cord of your Apache server (or

Re: 5.0.18 + keytool

2004-02-22 Thread Bill Barker
You might try adding '-trustcacerts' to your import command (I'm not interested enough to try it myself :). However, the easiest way to do what you want (IMHO) is to use a PKCS12 keystore. There is an example in the Tomcat5 ssl-howto. Stewart Walker [EMAIL PROTECTED] wrote in message

Re: Tomcat5, apache2, mod_webapp configuration issue

2004-02-21 Thread Bill Barker
mod_webapp isn't supported for Tomcat5 (and trying to copy it from Tomcat4 is unlikely to work :). You'll just have to bite the bullet and use mod_jk. Michael L. Delaney [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have set up apache2, tomcat5, and mod_webapp as the connector.

Re: Tomcat 3.3.1 vs Tomcat 4.1.29

2004-02-18 Thread Bill Barker
It is generally a bad idea to run Tomcat with Sun's J2EE. The reason is that Sun uses code based on Tomcat for the Servlet and JSP parts of J2EE, and these classes are likely to conflict with the Tomcat classes. CLEMENT Eric [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Of course

Re: Can I chain authenticators?

2004-02-17 Thread Bill Barker
Ryan Rhodes [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a portal project. I need to allow users to navigate seamlessly from the portal to a commercial product that's based on Tomcat 4.1 and uses Basic Authentication. To get around this, I hacked BasicAuthenticator and

Re: Upgrading Tomcat 3 to 4 with Apache 1.3.24 and OpenSSL 0.9.6c

2004-02-17 Thread Bill Barker
JServ isn't supported in any version higher than 3.3. You will have to use mod_jk. fhbib webmaster [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Apache 1.3.24 can be used with Tomcat 3.3 on Win32 by using the Apache JServ communication module (port 8007). Is it possible to

Re: Please help with CLASSPATH problem

2004-02-16 Thread Bill Barker
Andi Reinbrech [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I FINALLY figured this one out. Tomcat 5.0.18 as a service ignores -Djava.class.path. Rather, it takes the path from the -Imagepath parameter as the classpath (I did a debug logger.info(Classpath: +

Re: Tomcat 5 Autoconfig

2004-02-12 Thread Bill Barker
be in server/lib/jkconfig.jar. Catalina.start: java.lang.ClassNotFoundException: org.apache.jk.config.ApacheConfig java.lang.ClassNotFoundException: org.apache.jk.config.ApacheConfig Bill Barker wrote: In 5.0.18 it was added back as org.apache.jk.config.ApacheConfig. John B

Re: Tomcat 5 Autoconfig

2004-02-11 Thread Bill Barker
In 5.0.18 it was added back as org.apache.jk.config.ApacheConfig. John B. Moore [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Greetings.. Can't seem to find the documenation for Autoconfig for Tomcat 5 to Apache.. In Tomcat4 I used.. Listener

Re: [Repost] TC 5.0.18: behaviour of security-constraint changed??

2004-02-06 Thread Bill Barker
Yup, that's a bug. It's fixed now in the CVS, and will appear in 5.0.19 (due out in a week or so). Yann Cebron [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I have a strange problem with my Struts-Webapp (nightly build) on 5.0.18 - every TC version before worked like expected

Re: tomcat.conf missing

2004-02-05 Thread Bill Barker
You can use the commons-daemon jsvc (that ships with TC 5.x). hostmaster [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I just installed Tomcat 4.1.29 The problem I got is: Tomcat is running under root. I'd like to change this to tomcat4 But there is no longer a tomcat.conf file

Re: Administering and monitoring under TC 5

2004-02-05 Thread Bill Barker
Aadi Deshpande [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello all, There's much talk about how TC5 is JMX-enabled, so I'm wondering what tools are available for monitoring and administering a TC5 server. I've checked out the manager application and it provides some basic

Re: What's the most stable version now?

2004-02-05 Thread Bill Barker
Dmitriy . [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, does anyone know what the most stable version is now? We've got 4.1.29 and it doesn't seem to be very stable and I think there was a report that it has memory leaks. Do you know what version is the most stable? 3.3.2-dev

Re: jsvc and -config? What about other JVM options?

2004-02-04 Thread Bill Barker
Adding the '-server' option is probably a good idea. The security manager params issue is fixed in the CVS. David Wall [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How about passing the -server option to the JVM so that it uses the server versus client VM? How do you pass in

Re: jsvc and -config?

2004-02-03 Thread Bill Barker
Pretty much. The '-config' would go in the [args] section. Bernhard Wraase [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] With the old startup script (startup.sh), there's a -config parameter to As far as I can see there is no parameter in the startup.sh in tomcat 4.1.27. pass

Re: [INFO] ChannelSocket - -connection timeout reached

2004-02-03 Thread Bill Barker
My experience has been that I need to have a connectionTimeout on RH. However, you can get rid of the message either by setting 'connectionTimeout=-1' in the server.xml file or setting 'channelSocket.soTimeout=-1' in jk2.properties. Asif Chowdhary [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: Loading MBeans

2004-01-29 Thread Bill Barker
Kausch Thomas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi With JkMX it is possible to register an HttpAdaptor and JRMPAdaptor from MX4J. We want to register our own JMXConnector MBean when tomcat is started. Is there a smart way how to do this? We are looking for a general hook

Re: Filter to detect a user not logged in

2004-01-27 Thread Bill Barker
Merrill Cornish [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm trying to learn filters by writing one to detect when someone who has not logged in tries to access a JSP page that requires login. From what I've read, this seems to be one common use of filters. I think I

Re: jk_nt_service.exe

2004-01-27 Thread Bill Barker
Jeff Godin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am having a terrible time finding this file. I am currently using Tomcat version 4.1.29 and would like to set it up as an NT service. Any help locating this file would be greatly appreciated. It in the /bin/win32/i386/

Re: Antwort: RE: SSL, keystore with ca hierarchy

2004-01-25 Thread Bill Barker
broken-record There is a utility at http://www.comu.de/docs/tomcat_ssl.htm to import your OpenSSL certs into a JKS keystore. Alternatively, the ssl_howto for TC 5.x contains an example of how to configure a PKCS12 keystore from an OpenSSL keystore. /broken-record Mark Thomas [EMAIL PROTECTED]

Re: Multiple instances, multiple IPs

2004-01-25 Thread Bill Barker
Chris [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I need to run multiple instances of Tomcat on one box. The reason is that we have multiple websites, and I want them to have independent JVMs. There is some pretty good documentation out there on how to configure multiple

Re: Conflict openssl versus keytool

2004-01-23 Thread Bill Barker
I sound like a broken record here :) There is a utility at http://www.comu.de/docs/tomcat_ssl.htm to import your OpenSSL certs into a JKS keystore. Alternatively, the ssl_howtow for TC 5.x contains an example of how to configure a PKCS12 keystore from an OpenSSL keystore. Ignacio Barrancos

Re: Problems TOMCAT / SSL activation

2004-01-23 Thread Bill Barker
MessageWith TC 4.1.24, IBM's JSSE mostly works. It should work completely on later versions. Shockley, Gerard C [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm attempting to enable SSL with Tomcat 4 - I'm getting an exception pointing to an issue with JSSE- Caused by:

Re: Finding out connections

2004-01-23 Thread Bill Barker
Actually, works on Windows as well ;). Shapira, Yoav [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Howdy, On unix, netstat ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Ravandra K. Bhat [mailto:[EMAIL PROTECTED] Sent: Thursday, January 22, 2004 4:59

Re: Redistribution of Tomcat, license?

2004-01-22 Thread Bill Barker
IANAL, but my reading of the Apache license permits you redistribute a modified version of Tomcat 5 as long as you adhere to the restrictions. Of course, the safest bet is to hand off a copy of the license to your legal department, and follow their recommendations :). Tobias Eriksson [EMAIL

Re: LogSetter in Context

2004-01-22 Thread Bill Barker
Ok, I don't have access to NetWare, but trying your example on Windows works fine. The logs are flushed as soon as the error occurs. The only change I made was to log as well in ClassNotFoundException (so I don't actually have to set up a database :). This suggests that the problem is really

Re: maxPostSize - Tomcat 4 ???

2004-01-22 Thread Bill Barker
Hume, John - NA US HQ Delray [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Does anyone know how maximum post size is impacted by use of AJP or the webserver when using AJP? In experimenting with this, I could submit a request body of a couple hundred KB to Tomcat directly via

Re: maxProcessors vs maxThreads

2004-01-21 Thread Bill Barker
Cox, Charlie [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is there a similar setting for jk2 under 4.1.29? The connector code is the same, so the same setting should work. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Tuesday

Re: maxProcessors vs maxThreads

2004-01-21 Thread Bill Barker
I'd go with 'or'. In the TC 3.x line, the HTTP Connector really s*cked (except that with the TC 3.3.2-dev nightly, you have the option of using the same CoyoteConnector as TC 4.1.x-5.0.x :). Unless you *need* the features of e.g. mod_rewrite, mod_php, I'd agree with Yoav, and you should use

Re: Cannot configure to use port other than 8009

2004-01-21 Thread Bill Barker
There was a bug (that I think was fixed, but I can't be bothered to look, since I don't use Jk2 :). Jk2 was using a signed short for the port number, which means that it can't see half of the port numbers (since it considers 'port 0 ' to be invalid). The short-term fix is to use a port 32K.

Re: disableUploadTimeout

2004-01-21 Thread Bill Barker
Actually, I believe that there is a documentation error: I believe that the default value is 'true'. With all other values at there default setting, disableUploadTimeout=true means that Tomcat will use a longer timeout value (default: 5Min, like Apache/httpd) when reading the request message

Re: Tomcat 5.0 mod_jk Configuration

2004-01-21 Thread Bill Barker
Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Wednesday, 21 January 2004 4:42 PM To: [EMAIL PROTECTED] Subject: Re: Tomcat 5.0 mod_jk Configuration As of 5.0.18, ApacheConfig and friends have moved to their new home in the org.apache.jk.config package

Re: connectionTimeout

2004-01-21 Thread Bill Barker
Krause Karin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi everybody, I have a question regarding the configuration/behaviour of the org.apache.coyote.tomcat4.CoyoteConnector (Tomcat 4.1.27). I use Tomcat together with Apache (over mod_jk). When I set the connectionTimeout to

Re: connectionTimeout

2004-01-21 Thread Bill Barker
. Tomcat can only accept new requests if the socket is removed (and it is removed when the connectionTimeout is reached). Cheers Karin -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 21. Januar 2004 10:34 To: [EMAIL PROTECTED] Subject: Re

Re: Tomcat 5.0 mod_jk Configuration

2004-01-21 Thread Bill Barker
: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Wednesday, 21 January 2004 4:42 PM To: [EMAIL PROTECTED] Subject: Re: Tomcat 5.0 mod_jk Configuration As of 5.0.18, ApacheConfig and friends have moved to their new home in the org.apache.jk.config package. With 5.0.18

Re: Tomcat 5.0 mod_jk Configuration

2004-01-21 Thread Bill Barker
the archives for one of the many posted examples of a working file. Brennon Obst [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Attn: Bill Barker Dear usergroup, In my httpd.conf I have added my jk module sucessfully but my syntax complains when I declair my workers file as follows

Re: class not found problem

2004-01-21 Thread Bill Barker
I'm guessing that you are trying to run TC 5.0.x. The o.a.ajp Connector is no longer available for TC 5.x. Only the Coyote Connector is supported. William Sundberg [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I receive the following error when I try to startup Tomcat after

Re: how to turn off Chunking for Tomcat 4.1.29?

2004-01-21 Thread Bill Barker
Rasmus Munk [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Is it possible to turn off chunking for tomcat? Set the Content-Length header ;-). Is chunking only used when using HTTP 1.1 or is it also used when using the j2k-connector? This is left to Apache/IIS/SunONE.

Re: Problem getting JavaBean value

2004-01-21 Thread Bill Barker
Jonathan Eric Miller [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm using jakarta-taglibs-standard-1.1.0-B1 with JSP 2.0 and Tomcat 5.0.16. I have a bean that has the following accessor method. public String getCNetId() { return cNetId; } I'm attempting to get the value in

Re: maxProcessors vs maxThreads

2004-01-20 Thread Bill Barker
Oh, come on, get real :). The Jk-Coyote docs are probably second to the mod_jk2 docs for being the most incomplete. While (as Remy has stated), you can perfectly happily set this on the Connector, the jk2.properties syntax is: container.maxThreads=value Shapira, Yoav [EMAIL PROTECTED] wrote

Re: Tomcat 5.0 mod_jk Configuration

2004-01-20 Thread Bill Barker
As of 5.0.18, ApacheConfig and friends have moved to their new home in the org.apache.jk.config package. With 5.0.18, there is no change in the functionality. It may be extended on future releases. Brennon Obst [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Tomcat 5.0 mod_jk

Re: Tomcat Service Terminates

2004-01-20 Thread Bill Barker
You can use the 'procrun' Service daemon with 4.1.x as well as for TC 5.x. The first thing that I would try is to download TC 5.0.18, and modify bin\service.bat to point to your 4.1.x install. Then uninstall your previous service, and re-install using the modified 'service.bat'. [EMAIL

Re: tomcat webapp welcome file

2004-01-19 Thread Bill Barker
It's possible with TC 3.3.x (with non-default config options), and with TC 5.0.x (with the default config options), but not with TC 4.1.x. Denis [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi: I created a webapp as ROOT under tomcat 4.1.27, and set the welcome file as index.jsp

Re: mod_jk compile issue

2004-01-17 Thread Bill Barker
, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Martha Jefferson Hospital Bill Barker [EMAIL PROTECTED] Sent by: news [EMAIL

Re: SSL Client authentication

2004-01-17 Thread Bill Barker
It sounds like your client is trying to send a self-signed cert (which won't work). The client needs to send a cert that is signed by somebody in the TrustStore. tkassem [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi All, Using jboss-3.2.3-tomact 4.1.29, i've got both server and

Re: Using CA-issued certificates in Tomcat 5

2004-01-16 Thread Bill Barker
Needless to say, you have to use the same key that you used to generate the CSR that you sent to Verisign/Thwate. It looks like you nuked the key when you did the delete. [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I thought I had all my Tomcat issues resolved and was ready to go

Re: mod_jk compile issue

2004-01-16 Thread Bill Barker
You should really use a more recent version than the one that ships with 4.0.6, but that's another story :). I don't use HP, so I'm not completely sure what libtool does there, but the '.sl' file is almost certainly (a link to) what you want. [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: setContentType() vs. meta http-equiv='Content-Type' ...

2004-01-16 Thread Bill Barker
Actually, you don't get an exception if you don't call setContentType: You just get you page encoded and sent to the browser in iso-latin-1 (as per the spec). Yoav is correct that Tomcat (and probably most servlet containers) simply consider meta tags as just some text to push to the browser.

Re: Redirection of JSP to iPlanet Web Server

2004-01-16 Thread Bill Barker
I'm pretty sure that there isn't a Jakarta binary for Windows (and if there is, it would be *very* old :). You could try checking the Tomcat 3.x download sites to see if there is an old version floating around. This is one of the least maintained mod_jk versions, for the simple reason that

Re: followed install instructions - are they complete?

2004-01-16 Thread Bill Barker
Suha [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] i followed the install instructions on the website but i cannot run the test jsps or servlets. the error message i get for JSPs is: Class org.apache.jsp.index_jsp is not a Servlet Last version of tomcat i installed was 3.2 Back

Re: LogSetter in Context

2004-01-15 Thread Bill Barker
If you could strip-down your web-app to a minimal version that reproduces this problem, and post it to BugZilla (or even here, if you don't mind p**sing off everyone on the list with a big download :), I'd really like to take a look at it. With a quick eyeballing, I can't see anything in the code

Re: LogSetter in Context

2004-01-14 Thread Bill Barker
Using the CVS HEAD (aka 3.3.2-dev), I have no problems with the default setup (which defines a LogSetter in the 'examples' Context). Howard Watson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Does any know of good document or a tutorial for using LogSetter within a Tomcat3.3

Re: NoClassDefFoundError

2004-01-14 Thread Bill Barker
Actually, since he is using TC 3.3, the correct link is: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html#configuring_classes. However, it is similar to the TC 4 structure, just with different directory names :). Mike Curwen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

Re: SSL failure with some browsers - Access denied by access control list

2004-01-13 Thread Bill Barker
No appenders could be found for logger (org.apache.catalina.session.ManagerBase). log4j:WARN Please initialize the log4j system properly. b. -Original Message- From: ext Bill Barker [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 2:00 PM To: [EMAIL PROTECTED] Subject: Re: SSL failure

Re: Jsvc Problem from tomcat5

2004-01-13 Thread Bill Barker
Pablo Garaitonandia [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Guys, I have not been able to run jsvc on Solaris8 with the latest patches. I followed the installation instructions from http://jakarta.apache.org/commons/daemon/jsvc.html and from the INSTALL.txt from source

Re: how to REDIRECT after HTTPS connection failure ?

2004-01-13 Thread Bill Barker
Alain Baucant [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, my goal: to use httpS with CLIENT and server authentication to connect to tomcat and be able to REDIRECT users who can't identify themselves (can't establish the https connection) with their certificate. If,

Re: SSL failure with some browsers - Access denied by access control list

2004-01-12 Thread Bill Barker
the log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase) message. Bruno -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of ext Bill Barker Sent: Friday, January 09, 2004 9:33 PM To: [EMAIL PROTECTED] Subject: Re: SSL failure with some

Re: running tomcat5 as a user other than root

2004-01-12 Thread Bill Barker
QM [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] : I have tried doing many things in my init scripts like a su -c : tomcat $TOMCAT_HOME/bin/startup.sh but I have been unsuccessful. Without error messages, log excerpts, or descriptions of what happens, I'm flying blind here...

Re: specify path to server.xml, specify listen port

2004-01-12 Thread Bill Barker
Christopher Blunck [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all- Knowing how to perform one of the following two tasks would greatly simplify my management scripts. I'm not sure if they are even possible. If so, I'd be grateful for anyone sharing the information. #1:

Re: WebAppConnection missing

2004-01-12 Thread Bill Barker
Well, mod_webapp has be deprecated for a very long time, and is no longer supported in TC 5. Frantzcy Paisible [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I can't seem to get the WebAppConnection directive to work in my httpd.conf WebAppConnection conn1 warp

<    1   2   3   4   5   6   7   8   9   10   >