Re: SocketException

2004-11-13 Thread Bill Barker
Hollerman Geralyn M [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Peter Crowther wrote: SEVERE: Remote Host /xxx.xxx.xxx.xxx SocketException: Invalid argument Hmm. An EINVAL from the socket layer. Are you running UNIX or Windows? Depending on which, I'd get hold of a system

Re: Tomcat 5.5.4 and Deferred IIS NTLM Authentication

2004-11-11 Thread Bill Barker
Tomcat 5.5.x doesn't use jk2.properties by default. To use it, you need: Connector protocol=AJP/1.3 propertiesFile=conf/jk2.properties ... / Alternatively you can configure it directly: Connector protocol=AJP/1.3 request.tomcatAuthentication=false ... / Allistair Crossley [EMAIL

Re: jk_nt_service.exe stop service gives BAD packet signature

2004-11-08 Thread Bill Barker
http://jakarta.apache.org/site/source.html#Patches Thuy-Linh Chu [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Follow-up on this subject: I was able to figure out part of the problem and devised a solution for it. 1) There is a bug in jk_nt_exe that sends an invalid header.

Re: Tomcat 5.0.28 fails to start

2004-11-07 Thread Bill Barker
in all Tomcat 5.x? I thought it was only for the jmxproxy servlet under the manager webapp? --- Bill Barker [EMAIL PROTECTED] wrote: The problem is that Tomcat isn't finding the classes in $CATALINA_HOME/bin/jmx.jar. Either this jar got corrupted somehow, or your JVM isn't honoring

Re: AJP in tomcat 5.x

2004-11-06 Thread Bill Barker
1) The development branch of httpd (slated to be released as httpd 2.2) contains an ajp13 module that works under mod_proxy. I've heard that it is possible to build the v2.2 mod_proxy against httpd 2.0, but it is unlikely to be included in an official v2.0 release. 2) It's not a typo. While

Re: Tomcat 5.0.28 fails to start

2004-11-06 Thread Bill Barker
The problem is that Tomcat isn't finding the classes in $CATALINA_HOME/bin/jmx.jar. Either this jar got corrupted somehow, or your JVM isn't honoring the classpath in the manifest. If the jar is there and looks ok, then try adding it to the classpath in the startup script. Steve Delahunty

Re: Embedded Tomcat3.3.2 Shutdown issue

2004-10-27 Thread Bill Barker
You probably want to call setDaemon(true) on the connector(s) that you are using. This should be the default for the CoyoteConnector, but I don't remember what it is for the legacy connectors. Slava Risenberg [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all! I'm developing

Re: Virtual Hosts and useCanonical

2004-10-27 Thread Bill Barker
request.getServerName() is the value of the Host header. You want request.getLocalName(). Mike Curwen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yup, I've asked about/commented about this before. I'm having trouble with Vhosts, server names, and how to get the value I want

Re: Random 500 errors

2004-10-26 Thread Bill Barker
James McGovern [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am currently running Apache 2.0.48 with JK2 and Tomcat 5.0.28 on Redhat Enterprise 2.1 and experience random 500 errors. I am getting them for GIFs files and other non Java related access. I am not finding anything

Re: Filter question in 4.1.18, can my filter get unchunked and unzipped requests?

2004-10-21 Thread Bill Barker
Donie Kelly [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all I've been reading up on filters to see if I can find a solution to an annoying problem. I can't find it so I'm looking here. I have this http filter that messes with the http request and response before it

Re: tomcat 4.1.30 vs. 5.0.2x

2004-10-19 Thread Bill Barker
In TC 4.1.x, the Context isn't set until you are inside the Context in the pipeline. It will only work on TC 4.1.x if your Valve is defined in the Context. Monika Koerdt [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi - I have the following piece of code running in Tomcat

Re: problem with security-constraint with Tomcat 5

2004-10-18 Thread Bill Barker
You didn't look hard enough :) spec-quote version=2.4 section=11.1 An extension is defined as the part of the last segment after the last '.' character. /spec-quote - Original Message - From: Mercado . Maria [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, October

Re: Repost: Hiding welcome page

2004-10-12 Thread Bill Barker
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Assuming my site is http://www.mysite.com/ http://www.mysite.com/ , whenever I go to the site, I see http://www.mysite.com/index.jsp http://www.mysite.com/index.jsp . How do I enable tomcat 4.1 (preferably) or 5 to hide the

Re: Tomcat connection closes after 100 responses

2004-09-21 Thread Bill Barker
Setting maxKeepAliveRequests=value on the CoyoteConnector element works on the 3.3.2 CoyoteConnector just like it does in Tomcat 5. Or, at least it does for me, having just tested it. Bas Alberts [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi! Just tried that one

Re: Tomcat-Apache and SSL- Re-Post

2004-09-14 Thread Bill Barker
(using the AJP/13 connector) to pass through the port number from the requestor? Do you think that this is an Apache, or Tomcat configuration issue? Again, any help is greatly appreciated. Cheers, Q. Wade Billings -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill

Re: Tomcat-Apache and SSL- Re-Post

2004-09-12 Thread Bill Barker
If 8000 is the Apache port, then use request.getLocalPort(). If 8000 is the AJP port, it can't be done. Wade Billings [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Here is a fun one for ya all... We recently decided to migrate from a Jrun/Apahe platform to an Apache2.0/Tomcat5.0

Re: How to control the order Valves are invoked?

2004-09-03 Thread Bill Barker
By default, the Authenticator is added after any custom Valves. However, if you add the Authenticator yourself, you can control the order: Context path=... docBase=... Valve className=org.apache.catalina.authenticator.FormAuthenticator / Valve

Re: tomcat urgent help

2004-09-02 Thread Bill Barker
The error is just what is says it is: There is no ROOT context installed, so Tomcat has no place to send a request for http://localhost:8080. The default location for this is at $TOMCAT_HOME/webapps/ROOT. If you are on Windows, make certain that the directory name is all upper-case. Mandar

Re: How to configure logs in Tomcat 5.5?

2004-09-01 Thread Bill Barker
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/logger.html At least until it goes away ;-). Jonathan Eric Miller [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I noticed in the change log that some changes have been made to the way things are logged in Tomcat 5.5. I was

Re: mod_jk cutting off request params?

2004-09-01 Thread Bill Barker
I don't know of any problems with the Ajp12Connector (other than the fact that it is old :). It looks like it should get the query string from Apache fine. I also can't see why the request isn't showing up in the Tomcat access-log.Of course, AccessLogInterceptor doesn't flush it's output by

Re: How to specify min/max memory on Tomcat 3.3?

2004-08-30 Thread Bill Barker
Using the standard scripts, you would pass the options via the TOMCAT_OPTS environment variable. The actual options depends on the JVM vendor, but for the Sun JVM you would do something like: TOMCAT_OPTS=-Xms128M -Xmx512M Tomcat just uses the default values for the JVM. nyhgan [EMAIL

Re: performance metrics of servlets in Tomcat 4.1.30.

2004-08-24 Thread Bill Barker
Shapira, Yoav [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Does Tomcat 4.1.30 provide any MBeans for monitoring the above metrics? No. Pure FUD. You need to specify the jsr77Names=true attribute to the ServerLifecyleListener to have TC 4 JMX register the servlets, but

Re: New Loggers imply tomcat recompile????

2004-08-20 Thread Bill Barker
You simply have to include the 'mbeans-descriptors.xml' file in the same package in the jar file that contains your Logger class. Of course, if you are trying to add your class to the package 'org.apache.catalina.logger', you probably shouldn't ;-). John Villar [EMAIL PROTECTED] wrote in message

Re: T5 ignoring mime mapping

2004-08-17 Thread Bill Barker
JSPs don't use the mime-mappings from web.xml (per the JSP spec). You have to use the jsp:directive.page contentType=... / syntax. Andrew Shirk [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This is pretty much a stock T5 install. No filters are configured for this app. So if it is

Re: security-constraint in web.xml

2004-08-16 Thread Bill Barker
You simply need to have two security-constraints: One looks like below, and the other has url-pattern/*/url-pattern, and doesn't have an auth-constraint. [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I need help to configure a secure application. I'm trying to request a client

Re: servlet question

2004-08-15 Thread Bill Barker
Well, you could try adding in your exception handling: } catch(Exception e) { log(Problem,e); // For pre-production debugging only throw new ServletException(Problem,e); } The way you servlet is at the moment, if you do get an exception, then all you will see is a

Re: How to deploy a custom DynamicMBean

2004-08-10 Thread Bill Barker
The docs you've described are mostly for if you want custom Tomcat components (such as Valves or Realms). You'd want something basic like: MBeanServer mserver = (MBeanServer)MBeanServerFactory.findMBeanServer(null).get(0); ObjectName loader = new

Re: Tomcat 5.X SSL config

2004-07-31 Thread Bill Barker
You haven't specified a Trust Store, so you only get to choose a few cert issuers (e.g. Verisign, Thawte) for your client cert. POLO ARAUJO, JAVIER [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi! I have a problem when triying to configure Tomcat 5.X (under windows XP) to handle

Re: Client Certificate Information not available

2004-07-29 Thread Bill Barker
Try the javax.servlet.request.X509Certificate attribute. nicolas alin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi !!! I'm using Tomcat 5 (stand-alone) I'm trying to get the client certificat (i'm doing a strong SSL identification it's works well) but when i try to get te

Re: SSL Problem need Help!

2004-07-29 Thread Bill Barker
Edit the file by hand, and get rid of the 'keypass' attribute. There is a bunch of other stuff you could clean up, but it's mostly aliases of the same attribute over and over. Stephan Kühn [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hallo, i new with Tomcat and i use Tomcat 5.16

Re: can't register jmx for protocol

2004-07-28 Thread Bill Barker
This message is totally harmless. It happens when you've removed the ServerLifecycleListener from your server.xml file. The only thing that it means is that the admin webapp won't work. Tomcat should otherwise function normally. Christina Androne [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: Upgrade TC5

2004-07-28 Thread Bill Barker
broken-record Tomcat 5.0.19 has a known memory leak when using the JkCoyote Connector. Upgrading will remove the leak, as will setting: request.registerRequests=false in your jk2.properties file. /broken-record David Liles [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] We are

Re: SSLServerSocketFactory not found in 4.1.27

2004-07-27 Thread Bill Barker
You should use the Coyote Connector instead of the deprecated HttpConnector. David Smithson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi. On Fedora C2, Tomcat 4.1.27, tomcat fails to start due to a missing class file it seems. Here's the error from tomcat.out. [ERROR]

Re: Migrating from TC3.3.1 to TC4.1.30 What's changed?

2004-07-27 Thread Bill Barker
Lemke, Michael IZ/HZA-IOR [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have to migrate out TC3.3.1 to TC4.1.30 to support a third party application. Apparently, the conf/server.xml has changed considerably. I can't find any change logs or FAQs to do that sort of migration.

Re: Tomcat as service

2004-07-23 Thread Bill Barker
The service exe that ships with newer versions of TC 5 won't run on W9x (and, I'm not certain about NT4 :). However, you can still run it from the command line. Glen Stampoultzis [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I was just installing tomcat this morning and I noticed

Re: WebSphere suuports servlets in /welcome-list does Tomcat?

2004-07-23 Thread Bill Barker
to the appropriate action. It should not be necessary to add index.do as a servlet. Bill Barker [EMAIL PROTECTED] wrote: Tomcat 5 supports servlets as welcome-files, just not extension-mapped ones (e.g. *.do, *.jsp). The reason is that extension-mapped servlets would alway be choosen, even though

Re: Custom Connector

2004-07-22 Thread Bill Barker
There isn't much in the way of docs, but it isn't too hard to do. The main thing that you need to implement a ProtocolHandler (http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/apach e/coyote/ProtocolHandler.html) to connect your protocol code to the rest of the Coyote

Re: WebSphere suuports servlets in /welcome-list does Tomcat?

2004-07-22 Thread Bill Barker
Tomcat 5 supports servlets as welcome-files, just not extension-mapped ones (e.g. *.do, *.jsp). The reason is that extension-mapped servlets would alway be choosen, even though in most cases the servlet couldn't handle it. Simply adding a mapping like: servlet-mapping

Re: Tomcat 3 will not load on Windows 98

2004-07-15 Thread Bill Barker
Well, That gets rid of TC 4 5 as well ;-). The CoyoteConnector jars are indexed, and jar indexing is broken on the 1.3.0 JDK. You can either remove the META-INF/INDEX.LIST from the jars, or upgrade your JVM version to at least 1.3.1. - Original Message - From: Donald Brewer [EMAIL

Re: Tomcat 3 will not load on Windows 98

2004-07-15 Thread Bill Barker
above version 1.3.0 I removed the META-INF/INDEX.LIST from tomcat33-coyote.jar and tomcat-coyote.jar, using the M option to repackage without index info. The error message is unchanged. - Original Message - From: Bill Barker [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED

Re: Overlapping security-constraint definitions?

2004-07-15 Thread Bill Barker
It's true that how Overlapping security-constraints are handled has changed between TC 4 TC 5 (since they changed in the servlet-spec), but that's not what is causing your problem. The url-pattern/edit*/url-pattern isn't valid, so it looks like you were relying on an 'undocumented feature' of TC

Re: Single SignOn Configuration

2004-07-15 Thread Bill Barker
In theory, you should be able to mix Tomcat Realms with SSO in TC 5 (but I've never tried it myself). Of course, if you are using a custom Realm, you are on your own :). It looks like this is another case of the docs not keeping up with the code :). Robb, Rebecca [EMAIL PROTECTED] wrote in

Re: How to configure a TrustManager for tomcat?

2004-07-13 Thread Bill Barker
Firstly, the only SSLServerSocketFactory that actually does anything is the one for the deprecated HttpConnector in TC 4. With the CoyoteConnector, it is possible to plug in your own SSLImplementation (which, among other things, would allow you to install your own TrustManager), but most people

Re: Authentication method 'DIGEST'

2004-07-13 Thread Bill Barker
UserDatabase doesn't support DIGEST. In fact, it could be that only MemoryRealm (which supports everything) does. However, I can't be bothered to look :). [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Does anyone know if the DIGEST authentication is supported by Tomcat 5? I have

Re: How to configure a TrustManager for tomcat?

2004-07-13 Thread Bill Barker
=com.myfirm.mypackage.MySSLImplementation. For TC 4, you set it on the Factory and for TC 5 you set it on the Connector. Thanks for your help. Monika. --- Bill Barker [EMAIL PROTECTED] wrote: Firstly, the only SSLServerSocketFactory that actually does anything is the one for the deprecated

Re: tomcat output gets mixed up for different requests

2004-07-09 Thread Bill Barker
Are you using Tomcat standalone or mod_jk(2)? Which Connector are you using? There was a bug a long while back where mod_jk (and possibly mod_jk2) would cause something like this if you were accessing the site through a proxy server. André Weidemann [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: jakarta-commons/daemon necessary for build?

2004-07-09 Thread Bill Barker
Joel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Don't you just like it when people talk to themselves. On Fri, 09 Jul 2004 15:05:04 +0900, I wrote Just built TC 5. I had to clear out \usr\share\java from an earlier attempt when I had java 1.5 beta installed, but then it

Re: Container managed security

2004-07-09 Thread Bill Barker
Steve Luzynski [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Jul 9, 2004, at 12:40 PM, Robert F. Hall wrote: Have you tried adding http-method/ elements to web-resource-collection ? web-resource-collection http-methodHEAD/http-method

Re: logging

2004-07-02 Thread Bill Barker
This is planned for a future release of TC 5 (it's available in the 'nightly' now). And, no, I have absolutely no idea at all, not even a guess, as to when this version will have an official release. Charles Baker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm using tomcat 4.1.30

Re: howto disable webdav extensions / methods?

2004-07-01 Thread Bill Barker
Well, firstly, unless your servlet understands the methods, nothing interesting will happen for a webdav request :). If you want webdav extensions to do anything, you have to enable them. Having said that, you could also disable them via adding security-constraints with the proper http-methods

Re: DOCTYPE wrong yet still works, why?

2004-06-30 Thread Bill Barker
Tomcat has it's own copy of the DTD, and will ignore the URL like and use its own. Woodchuck [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] i just discovered that my DOCTYPE points to an old link: http://java.sun.com/j2ee/dtds/web-app_2_3.dtd if you go there you will see a message

Re: signatures on the downloads and build fails

2004-06-29 Thread Bill Barker
Joel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Okay, I checked the signatures on the downloads. No ultimate authority. Well, I don't particularly trust the ultimate authority concept anyway, so that's just fine. When ant builds tomcat, does the build.xml cause that the

Re: target release conflicts with default source?

2004-06-29 Thread Bill Barker
Joel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I tried google against jakarta.apache.org and marc.theaimsgroup.com and got no clues. Maybe I'm blind, maybe trying to build on MSWxp is lame? Here's the part I assume is most relevant.

Re: Overriding the default servlet

2004-06-28 Thread Bill Barker
Now that is one sick puppy :(. You don't have to touch $CATALINA_HOME/conf/web.xml to override the default servlet. If you have any servlet in your apps web.xml file with a mapping to url-pattern//url-pattern, the Tomcat will replace it's default servlet with yours. You should also strongly

Re: jsvc and the -server option

2004-06-27 Thread Bill Barker
relatively simple? The cvs version is stable enough that it's the version I use (but I'm biased :). It's just a few bug fixes over the 1.0 version. -P -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: Friday, June 25, 2004 9:33 PM To: [EMAIL PROTECTED] Subject: Re

Re: installing HTTPS SSL on tomcat 5.0.25

2004-06-25 Thread Bill Barker
Terry [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I'm installing SSL on Tomcat 5.0.25. My system settings are Linux Mandrake 10 java version 1.4.2_04 Tomcat 5.0.25 In a nutshell I believe I am looking for where I need to copy my .keystore file or make some configuration

Re: jsvc and the -server option

2004-06-25 Thread Bill Barker
The correct option is: -jvm server You can run 'jsvc -help' to see which JVM options it is able to find. Note that for at least some 1.4 JVMs, you need to upgrade the source from commons-daemon, since the version that ships with Tomcat doesn't handle detection correctly. Patrick Glennon

Re: Getting url which submitted form

2004-06-24 Thread Bill Barker
Mark Thias [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Using Tomcat 5.0.26. I'm trying to find out the name of the JSP page which submitted a form. For example, I have a form in MyFirstPage.JSP. form id=MyFirstPage method=post action=MyNextPage.jsp input

Re: Tomcat and mod_webapp?

2004-06-24 Thread Bill Barker
mod_webapp has been dead for a very long time now. Use mod_jk(2). Samuel V. Green III [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm still trying to understand integrating tomcat with apache2. I came across this site looking for answers :

Re: Tomcat licensing questions

2004-06-21 Thread Bill Barker
Adrian Cho [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is there anyone on the list that can answer some questions I have about the redistribution of certain files in Tomcat 4.1.30? Specifically: servlet.jar appears to be a Sun-originated module but is apparently redistributed

Re: Using JAVA_OPTS= -sever with jsvc on linux

2004-06-11 Thread Bill Barker
'1 ' $CATALINA_OPTS -cp $CLASSPATH org.apache.catalina.startup.Bootstrap -Mensaje original- De: news [mailto:[EMAIL PROTECTED] nombre de Bill Barker Enviado el: viernes, 11 de junio de 2004 7:04 Para: [EMAIL PROTECTED] Asunto: Re: Using JAVA_OPTS= -sever with jsvc on linux Try

Re: How to implement setCharacterEncoding in Tomcat 4.1.x

2004-06-11 Thread Bill Barker
You can use: response.setContentType(text/xml; charset=utf-8); This works for TC 3-5. Simone - Dev [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello all, I made a servlet that generates a XML response that must be in UTF-8 because it can include any type of chars (Jap, Arabs,

Re: Using JAVA_OPTS= -sever with jsvc on linux

2004-06-10 Thread Bill Barker
Try adding: -jvm server to your command line. Mariano [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, i like to specify JAVA_OPTS= -sever with jsvc on linux Fedora Core 1. I use J2SDK 1.4.2_04-b05 and Tomcat 5.0.25. Now i put a line into Tomcat.sh like JAVA_OPTS= -sever ,

Re: 2nd inquiry: how to - programmatically - authenticate oneself as Tomcat manager?

2004-06-09 Thread Bill Barker
1) Assuming boring system encodings, and something to do Base64 encoding: String creds = username+:+password; String b64creds = Base64Util.encode(creds.getBytes()); tmc.addRequestProperty(Authorization,Basic +b64creds); 2) Not with Basic. You might be able to rig something with Form.

Re: Would JK2 Work with Tomcat 3.2.4 ?

2004-06-07 Thread Bill Barker
There shouldn't be any problems using mod_jk2 with TC 3.2.x. Of course, you are limited to using the Socket channel on mod_jk2, and the Ajp13 Connector on TC 3.2.x. Narayana Reddy (nreddy) [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi All I have a requirement to integrate

Re: Tomcat 4.1.30 HTTP-HTTPS redirect problem (second attempt)

2004-06-05 Thread Bill Barker
This is a pretty well known bug in MSIE. The short version is that that TC 4.1.x sends two redirects to get you to the login page, and MSIE gets confused. The options to get around this are: 1) Don't use MSIE. 2) Use the default SSL port (e.g. 443). 3) Use TC 5.0.x instead of TC 4.1.x. Ryan

Re: jk2.properties

2004-06-05 Thread Bill Barker
I've never tried it, but you should be able to set jkHome=/path/to/new/home on the Connector element to have Tomcat look for /path/to/new/home/conf/jk2.properties. Of course, Tomcat will also use this as the base for any other relative file references (e.g. the unix-socket file). Martinelli

Re: server.xml mod_jk Configuration

2004-06-04 Thread Bill Barker
All three of these attributes are for the HTTP/1.1 Connector. The JK Connector will simply (and quietly) ignore them. Emre [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] The following is from my server.xml. This connector is communicating with mod_jk and then to an apache instance.

Re: ajp13 protocol specifications

2004-05-29 Thread Bill Barker
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/common/AJPv13.html Nitin Verma [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Where will I get ajp13 protocol specifications? I need to make my own mod_jk2's java variant.

Re: X509 certificates and https

2004-05-28 Thread Bill Barker
First you need to import you CA cert into a JKS keystore file (usually different from the one that you are using for Tomcat's keystore). Since you are using 4.1.x, you then need to add: -Djavax.net.ssl.trustStore=/path/to/truststore/file to the command line that starts Tomcat. (For TC 5, you

Re: Context path

2004-05-28 Thread Bill Barker
Those viral hosts can be even more nasty than the spam hosts ;-). But seriously, yes this is the right place to ask your question. However, if you'll have to provide more details on what you are trying to do to get a serious answer. stella luna [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: HTTP AUTH

2004-05-26 Thread Bill Barker
SH Solutions [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Can you explain yourself here? It is not obvious to me. How does the number of users make any difference here. Just set up BASIC Auth in web.xml. You don't have to define your users and roles in web.xml, if

Re: ljk2 logger

2004-05-26 Thread Bill Barker
These both use commons-logging to print the messages. This means that you would configure the logging levels in your log4j settings if you happen to have log4j in your classpath. Otherwise, you would configure it in your JDK 1.4 logging settings. [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: security-constraint question/problem

2004-05-26 Thread Bill Barker
Jonathan Eric Miller [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am trying to configure my application so that everything has to be encrypted. I was able to do that by using the security constraint at the bottom of this message. I've had this working for awhile without a

Re: Client-certificate issues

2004-05-26 Thread Bill Barker
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I want to use client-certificate authentication in our webapplication. There are two things that I really don't understand: First: Why is it necessary to set clientAuth = true in the Factory-tag when configuring a Connector

Re: where to put request.registerRequests=false when using mod_jk (not jk2)

2004-05-26 Thread Bill Barker
Emerson Cargnin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm running out of memory with the msg: ... WARNING: Error registering request May 25, 2004 5:36:44 PM org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run SEVERE: Caught exception

Re: apache -tomcat problem

2004-05-25 Thread Bill Barker
in the user is kicked out). I included the jvm logfile of the tomcat. could this be caused by the bug you mentioned in 3.3.1? or is this a coding bug? thanks Dirk -Oorspronkelijk bericht- Van: Bill Barker Verzonden: za 22/05/2004 23:50 Aan: [EMAIL PROTECTED] CC: Onderwerp: Re

Re: Another source for MD5 encryption

2004-05-22 Thread Bill Barker
Tomcat is simply wrapping calls to java.security.MessageDigest. It doesn't provide an implementation of the MD5 algorithm; it just uses the one provided by the installed security-provider. It should also ship with a 1.4 JDK. Other than you JVM vendor, you could also look at cryptex if you want

Re: apache -tomcat problem

2004-05-22 Thread Bill Barker
I think that this is the first time I've ever heard that the 3.3.1a stand-alone connector worked better than the AJP13 connector ;-). There is a session race-condition bug in 3.3.1a (BZ #15894) that is fixed in 3.3.2. It is possible that this is the real problem you are seeing, and it is only

Re: Bug? Repost: JkCoyoteHandler Error

2004-05-22 Thread Bill Barker
This is the same bug as the memory leak bug that has been going on and on and on and on this list ;-). The fix is the same: 1) Use the work-around of setting 'request.registerRequests=false' in jk2.properties. 2) Upgrade to 5.0.20+ Allistair Crossley [EMAIL PROTECTED] wrote in message

Re: Tomcat 4.1 + AJP is encoding HTTP headers as UTF-8

2004-05-20 Thread Bill Barker
Eric Jacobson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Bill, I have been trying to trace down a problem with an application I am building on top of Tomcat 4.1. The problem I was encountering was that my HTTP response headers were being returned to the client using UTF-8

Re: How to compile sources?

2004-05-19 Thread Bill Barker
Personally, I would ignore the ant script and just double-click on the 'mod_jk2.dsp' file and go from there. To use the ant build, you need to run ant from the directory where the 'build.xml' file is (i.e. native2). It is likely that you will also have to configure 'apache2.home' (defaults to

Re: trick question

2004-05-19 Thread Bill Barker
Sam Seaver [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Httpd by default, because of the logfile rotation that occurs every Sunday morning at 4am, restarts at the same time. If Tomcat is never re-started, what does this do to the jk2 connection between the two? I'm going to

Re: Tomcat 4.1 HttpServletRequest.getServerPort() returns incorrect port ?

2004-05-12 Thread Bill Barker
Ryan Lissack [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, In our setup we have a hardware load-balancer which forwards normal requests to our cluster of Tomcat servers. For SSL requests, the load balancer first forwards to an hardware SSL accelerator and then on to one of

Re: error starting tomcat5

2004-05-12 Thread Bill Barker
Steven Garrett [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Thanks to those of you who helped me with my previous server.xml include file issue, that worked out like a charmeventually :) Anyways, we're testing out tomcat5 on a RedHat 9 box and I keep getting this error

Re: maxThreads

2004-05-10 Thread Bill Barker
Hollerman Geralyn M [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Evidently, I'm misunderstanding something about the maxThreads attribute on the HTTP Connector; I saw from the docs that in Tomcat 5.0.19, this is the maximum number of request processing threads to be created by

Re: Tomcat 5 nt service

2004-05-10 Thread Bill Barker
Sasha Borodin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, I have a working installation of Tomcat 5 (on a Windows 2000 Server SP4 machine with jdk_1.4.1), which works great. I tried running the service.bat script under the bin directory to install the NT service, which

Re: Tomcat 4.1.30 doesn't with CoyoteConnector (missing bundle for locale en_US)

2004-05-08 Thread Bill Barker
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello all I've upgraded Tomcat 4.1.12 to 4.1.30 and now I can not start the Tomcat with CoyoteConnector. Within the previous version and the same configuration there was no such problem. Please see the dump of exception below. I

Re: mod_jk load balanced worker lists in apache 1.3

2004-05-08 Thread Bill Barker
Graham Bleach [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi list, From my reading of the mod_jk source I have come to the conclusion that mod_jk maintains a runtime list of load balanced workers in each apache child process. Is this correct? (Sorry, I'm not very C literate).

Re: Can Tomcat 5 use PKCS10 certificates? (Was SSL CA (PKCS10) Problem)

2004-05-07 Thread Bill Barker
Nathan Maves [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is anyone aware of problems using a PKCS10 cert with Tomcat 5.0.19? Nope. At a guess, you haven't imported the CA cert into your keystore. From your description, you may also be missing the private key. Your best bet is

Re: Possible wrong link on binaries page to daemon

2004-05-05 Thread Bill Barker
Fixed. Thanks :). Parsons Technical Services [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yoav or site guru, On the binaries page the link for the commons daemon is pointing to the = Alpha package. If I ftp into a server there is an Alpha version and a = regular version 1.0. Which

Re: Read of HTTP Request POST parameters failed

2004-05-04 Thread Bill Barker
Except that she is using the old, deprecated Connector, which (of course) hasn't had work done to it. She should try with the Coyote Connector, which is better at handling browsers that lie about the content-length :). Shapira, Yoav [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi,

Re: startupw.exe classpath

2004-05-03 Thread Bill Barker
Run the command: tomcatw //ES//Tomcat5 (or right-click on the sys-tray icon), and add your directory to the Image Path. Justin McReynolds [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm having classpath trouble when I start Tomcat 5.0.19 with the Start Tomcat shortcut that points

Re: Tomcat with SSL

2004-04-22 Thread Bill Barker
I believe that you can't use IBM's JSSE with the HttpConnector. You have to use the CoyoteConnector. Hiemer, Bernhard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Tomcat-Users, I found out, that my problem depends on the configuration of the security providers in the

Re: tomcat 5.0.19 Win2000 service

2004-04-21 Thread Bill Barker
Some installers for Sun's 1.4.2 don't set the registry entries that tomcat.exe is expecting for the version shipping with 5.0.19. You could try the tomcat.exe from 5.0.21 or 5.0.22 (although I believe that you have to reinstall the service for the 5.0.22 version). Yoo, Joon [EMAIL PROTECTED]

Re: org.apache.jk.common.ChannelSocket processConnection INFO: connection timeout reached

2004-04-21 Thread Bill Barker
The 'RESET' message is most likely somebody hitting the 'stop' button in the browser. The 'connection timeout' is Tomcat hanging up the line when it didn't get another request from Apache within 20sec of the last one (which is what you told it to do :). Kommineni, Sateesh (GE Consumer

Re: blocked at every turn - SSL or mod_jk2

2004-04-14 Thread Bill Barker
Check the Tomcat 5 SSL-howto. There are notes on changes that are necessary to get Tomcat to work with IBM's JSSE implementation. Daniel Gibby [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] tomcat 5.0.19 Standalone SSL seems to be running correctly with no error messages logged, and

Re: help needed - keytool import of CA certs

2004-04-12 Thread Bill Barker
Robert Hall [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I've been floundering for too many hours/days having ventured into the java/keytool/keystore/CAcert realm for the first time to produce a CA signed certificate for JBoss/Tomcat. We have a Verisign/RSA cert, hostname.crt

Re: tomcat as deamon

2004-04-12 Thread Bill Barker
Look at the 'Tomcat.sh' script in jsvc-src/native. That one is for Tomcat 4. Of course, you'll likely have to edit the file to fix things like paths and the user. It's pretty straight forward to change it. And, yes, I've run Tomcat 4 happily with jsvc ;-). Wilson, Allen [EMAIL PROTECTED]

Re: Tomcat performance issue?

2004-04-10 Thread Bill Barker
David Rees [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Denise Mangano wrote, On 4/9/2004 10:05 PM: I've tried searching the archives but have come up empty-handed. A few days ago I received a few complaints that my users hit a certain point in the application and could go

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