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 :

tomcat kernel32.dll fault

2004-06-23 Thread Bill Sweeney
machine the offset is the same every time the error occurs. Googled the error a few ways and can't find any info. Has anyone encountered this? or have a suggestion to try and locate the cause? Thanks - Bill

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: apache, mod_jk, tomcat hungs

2004-05-12 Thread Bill Bruns
: Hangups seen Apache Tomcat mod-jk OS -- -- -- -- Daniel Gibby 2.0.40 4.1.30 2.0.2 ? Daniel Gibby 2.0.40 4.1.27 2.0.2 ? Beat De Mart 1.3.27 3.3.1 1.2.4 ? No Hangups (so far!) Bill Bruns 2.0.49 4.1.24 1.2.5 Solaris-sparc -Original Message- From

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

session-id prediction

2004-04-23 Thread Bill Gorr
Hello all, Is there something in Tomcat that stops an adversary from guessing someone else session-id and preform a session hijacking? thanks. Bill

Re: session-id prediction

2004-04-23 Thread Bill Gorr
I know that the space is theoretically 128 bit (2^128) but who can promise that it is not made of 12 bits of seed (which are very predictable ..). I was looking in the archive before my posting and found nothing about it, can you please point out one of the postings? thanks, Bill

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: Handling SOAP faults

2004-04-19 Thread Bill Harrelson
again, Bill Send reply to: Tomcat Users List [EMAIL PROTECTED] From: Yansheng Lin [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject:RE: Handling SOAP faults Date sent: Mon, 19 Apr 2004 08:16:29 -0600 I started looking

RE: Handling SOAP faults

2004-04-16 Thread Bill Harrelson
that this is a hackery way to do it, and my servlet should be able to write directly to the errorStream of the response, I just can't see how. Any assistance is appreciated. Thanks, Bill Send reply to: Tomcat Users List [EMAIL PROTECTED] From: Yansheng Lin [EMAIL PROTECTED

RE: Handling SOAP faults

2004-04-16 Thread Bill Harrelson
in the errorStream in that case is the default html error page. I'm still looking for a way to write to the errorStream directly. Bill PS. SOAP is a really good idea. I'm not sure why you say this, but ok. SOAP has been a reality in the world I work in for a couple of years now, but it's only

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

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: Connecting the HTTP Server and Tomcat

2004-04-07 Thread Bill Bruns
Tomcat is listening on ports that the HTTP requests do not come to by default. Have you looked at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/proxy-howto.html - Bill -Original Message- From: Wilson, Allen [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 8:54 AM To: Tomcat Users

RE: Connecting the HTTP Server and Tomcat

2004-04-07 Thread Bill Bruns
that you need to tell the web server where to send them, namely to your Tomcat port. I think this accounts for the behaviour you told about, namely that Tomcat responds fine when you specify the port number in your URL. -Bill -Original Message- From: Wilson, Allen [mailto:[EMAIL PROTECTED

RE: Connecting the HTTP Server and Tomcat

2004-04-07 Thread Bill Bruns
/* ajp13 http://myserver.com/portal/ or http://myserver.com/portal/whatever.jsp probably will, though. Give it a go, may work, Jon Wilson, Allen wrote: Bill..thanks for the reply... I will read through the link you provide but isn't that what the connector is supposed to do. My understanding

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: How to disable AutoDeploy in Tomcat 4.1.29 ?

2004-03-10 Thread Bill Stilwell
suviswan wrote: Hi I have tried changing autoDeploy=false in server.xml. But it's not working. It's still discovering the web applicatios under webapps directory. Any ideas ? autoDeploy only controls what happens at tomcat startup, do you have liveDeploy set to false as well?

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

Can admin webapp be set up to manage users in a database instead of tomcat-users.xml

2004-03-09 Thread Bill Haake
configuration. Is this possible? If so, can anyone point me to instructions? Thanks Bill - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[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

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