Re: Please help me for "jk_nt_service" problem

2004-01-11 Thread Bill Barker
It looks like you commented out the line: "Dreamy Wu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi : Please help me for "jk_nt_service" problem . wrapper.jvm.options= in your wrapper.properties file. Description : [I followed your guiding : http://jakarta.apache.org/tomcat/to

Re: Enabling SSL on specific URLs using IIS and Tomcat

2004-01-09 Thread Bill Barker
I'm going to take a stab-in-the-dark, and guess that you didn't change the value of the 'redirectPort' on the Connector to be '443'. "cprs-develop" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hello All: I am running Apache Tomcat 4.1.27, with IIS 5.0 on Windows 2000 Professional c

Re: Modifying tomcat startup options on Tomcat 5 with Windows .exe

2004-01-09 Thread Bill Barker
a) No. b) Well, if it is working perfectly, then 'tomcat //US//Tomcat5 -security' should work. A very quick look at the code suggests that it should, but I haven't actually tried it. "Allistair Crossley" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, I have the windows version o

Re: problem connecting Apache2 and Tomcat 5 via mod_jk2

2004-01-09 Thread Bill Barker
ApacheConfig is for mod_jk. It doesn't work with mod_jk2 (and never will :). The closest thing for mod_jk2 is WebXml2Jk. "Mike Batting" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I followed suggestion from an email on this list and got the latest > tomcat-jk2.jar so that > t

Re: How does a servlet request work. Not a newbie question ;)

2004-01-09 Thread Bill Barker
I'm answering the question that you asked, but my answer is less useful than Yoav's :). With a small number of exceptions (such as POSTs to j_security_check), Tomcat-standalone reads the headers, and leaves the body until your servlet tells it what to do with it. The case of Tomcat-Jk is a bit

Re: Using acceptCount in server.xml

2004-01-09 Thread Bill Barker
After a long discussion on the dev-list, it was decided that we wouldn't bother supporting the case maxProcessors="1". The reason is that it adds complexity to already complex code, just to handle a silly case. You'll need to try testing with at least maxProcessors="2". To possibly save you h

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

2004-01-09 Thread Bill Barker
At a guess, those Mozilla versions don't support TLS, which is Tomcat's default SSL protocol. Whatever it is, try turning up your commons-logging debug level for 'org.apache.tomcat.net' to 'debug'. You should get plenty of messages in your Tomcat logs to help you figure out why Tomcat doesn't lik

Re: How does Tomcat 5.0.16 process the "keystoreFile" tag?

2004-01-09 Thread Bill Barker
>From a quick look at the code, it seems that Tomcat looks for 'keys/.keystore' relative to the directory that Tomcat was started from. "Richard S. Huntrods" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Greetings! > > I was usingthe "keystoreFile" tag successfully with Tomcat 4.1.

Re: SECURITY BUG: No place to disable HTTP TRACE vulnerability

2004-01-09 Thread Bill Barker
I just tried this with the CVS HEAD of Tomcat 5 (after putting in a security-constraint in the ROOT web.xml) and Tomcat happily returned a 403 response. <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Yoav, This was detected both before and after applying the "fix" snippet to web.xml,

Re: What replaced ApacheConfig in Tomcat 5

2004-01-08 Thread Bill Barker
ApacheConfig is for mod_jk. It won't work with mod_jk2. The closest for mod_jk2 is WebXml2Jk (which invokes GeneratorApache2). After a long vacation, ApacheConfig is back in Tomcat 5 (as of 5.0.17), having moved to it's new home at org.apache.jk.config.ApacheConfig. "Matthew Scarrow" <[EMAIL PR

Re: Tomcat disableProxyCaching

2004-01-08 Thread Bill Barker
"Konrad" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi > > Can I somehow instract Tomcat *in config files* to set disableProxyCaching to > false ? > Of course, if you are not using Form authentication, then substitute the correct class (e.g. BasicAuthenticator, Dig

Re: tricking the browser with a path

2004-01-08 Thread Bill Barker
"Mike Curwen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > It definitely works with mapped servlets, and request.getPathInfo(), if > that's an option for you. > This is how you do it. What you need to do is in your web.xml add: script.jsp /script.jsp ... script.js

Re: tomcat 5.0.16 win svc & CATALINA_BASE

2004-01-08 Thread Bill Barker
"Maxime Colas des Francs" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > How to fix CATALINA_BASE when i use Tomcat 5.0.16 as windows service ? > In JavaOptions, include -Dcatalina.home=c:\path\to\tomcat\install > I attempt to configure service with procrun options (like w

Re: Unable to access secure port on RHEL 3.0

2004-01-07 Thread Bill Barker
Also same JVM? 4.1.24 doesn't fully work with IBM's JSSE implementation. "Shapira, Yoav" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Howdy, Same tomcat version, same server.xml? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Julie christiana [mailto

Re: Making index.jsp work as welcome page after upgrade

2004-01-07 Thread Bill Barker
"Talley, Angelina" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello! I just upgraded a web application from Tomcat 4.0.6/mod_jk 1.2.5 to > Tomcat 4.1.29/mod_jk2 2.0.2 (built myself), both on Apache 1.3.27 on Linux. > Our webapp runs as the ROOT context (files are in > $TOMCAT_HO

Re: newbie question

2004-01-07 Thread Bill Barker
"FRANCOIS Dufour" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > i read an eror in tomcat apache log > 2004-01-02 08:09:46 [org.apache.catalina.connector.warp.WarpConnector] Error > accepting requests > java.net.SocketException: socket closed > at java.net.PlainSocketImpl.socketAcce

Re: Problem configuring SSL in Tomcat 5.0.16

2004-01-06 Thread Bill Barker
I haven't got a clue what the bug is, but it looks like it is in your webapp. The error you are seeing is from a request that your 'mergeUrl' servlet is making to some external server. Since it is clearly making an http request (not an https request), I'd guess that that is your problem :). "Mik

Re: Re:syntax error when Apache is started

2004-01-05 Thread Bill Barker
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hi to everyone who replied the mail I originally sentthough most of you > didn't exactly reply to help me solve my problem :) I guess I need to give > you some explanations . . . except that I don't have any explanation!!! I > don

Re: Really dumb question -- how do I set up Tomcat 5 to run as a service on NT?

2004-01-03 Thread Bill Barker
"Jacob Kjome" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Bill, > > One quick follow-up to add to my previous comments... > > When I used to use the old JavaService tomcat.exe (in Tomcat-4.x.xx), each > time I started Tomcat, the stdout.log would be wiped clean upon > startup.

Re: Really dumb question -- how do I set up Tomcat 5 to run as a service on NT?

2004-01-03 Thread Bill Barker
"Jacob Kjome" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Bill, > > Couple suggestions and a question... > > First, the service.bat script should really be setting -Djava.io.tmpdir, > just as the catalina.bat script does. Additionally, unless you provide > %JAVA_HOME%\lib\too

Re: PDF display under Tomcat 4.1.29

2004-01-02 Thread Bill Barker
Bug? 4.1.29 will send back the header: Content-Type: application/pdf; charset=ISO-8859-1 which can be confusing to a lot of browsers :). This is fixed in the CVS code, and it is likely that 4.1.30 will come out in a couple of weeks. There is quite a lot of discussion of this in the archives, i

Re: Really dumb question -- how do I set up Tomcat 5 to run as a service on NT?

2004-01-02 Thread Bill Barker
The instructions to do it manually are at http://jakarta.apache.org/commons/daemon/procrun.html. There is also a new 'service.bat' file in the CVS http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/bin/service.bat, that simplifies the process of manually installing Tomcat as a

Re: Tomcat 5 port 80 non-root

2004-01-01 Thread Bill Barker
You need to use jsvc to do this. The source ships in the $CATALINA_HOME/bin/jsvc.tar.gz file. You need to unpack it and build it for your system. The documentation is at: http://jakarta.apache.org/commons/daemon/jsvc.html. "Nicolas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >

Re: Interceptors in Tomcat 3.x

2004-01-01 Thread Bill Barker
Interceptors do the same kind of work in TC 3.x as Valves do in TC 4.x, but they are structurally very different. Also, I haven't worked with TC 3.2.x in a very long time (since TC 3.3.x no longer has the RequestInterceptor interface). One suggestion is to extend BaseInterceptor instead of implem

Re: Two authentication mechanisms in a webapp.

2003-12-30 Thread Bill Barker
"Ilari Kontinen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I have a web-application that has a JSP-based UI and an AXIS-based web > service. I need to use FORM-based authentication for the UI users and > BASIC-authentication for web service users. > > Is it possible

Re: Remote Tomcat Server - Apache Connector over SSL

2003-12-30 Thread Bill Barker
"QM" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > : Here's the scenario. Apache server sits outside our firewall/LAN. It needs to take secure requests from users, forward them onto Tomcat (Which sits behind the firewall) via the JK connector. Is there some configuration option

Re: MOD JK NOT SUCESSFUL

2003-12-30 Thread Bill Barker
You could always try grabbing the mod_jk RPM from www.jpackage.org. I've never used it myself personally, but it might make your life a little easier. "Suneel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] hi i am not able to run Mod JK with apache1.3.29/2.0.48 with Tomcat 4.1.29

Re: org.xml.sax.SAXParseException

2003-12-30 Thread Bill Barker
TC 3.3.1a uses Crimson as its default xml parser (unless you change things, and with a minor cavat if using a 1.4.x JVM :). TC 4.1.x & 5.0.x use xerces as the default xml parser. You should check $CATALINA_HOME/common/endorsed to see which version of xerces is installed, and upgrade it if necessa

Re: [OT] custom tags in a page

2003-12-30 Thread Bill Barker
cases this may swamp the savings you get from fewer GCs. As always, your mileage may very :) > > rgds > Antony Paul > > - Original Message - > From: "Bill Barker" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, December 30, 2003 1

Re: 2 way SSL ( client authentication)

2003-12-29 Thread Bill Barker
The ssl-howto has instructions for generating a self-signed Server-cert. You can't use a self-signed client-cert (Ok, I'm lying, but it's for your own good: You can with PureTLS, but for your own good, I'm going to make you look it up yourself :). The client-cert needs to be signed by someone in

Re: Building 5.1 from Source

2003-12-29 Thread Bill Barker
Yoav is largely correct. If you are using the 5.0.16 source distro, then *nothing* that doesn't ship with requires CVS (which is s nice, for us poor people sitting behind firewalls :). You probably need to modify your 'build.properties' file to point to the correct place for servlet-api-5 et.

Re: [OT] custom tags in a page

2003-12-29 Thread Bill Barker
Easy question first: If you don't need BodyTag, don't use it, since it is a potential memory hog. If you need to process it in a loop, use IterationTag instead. (of course this assumes TC 4.x or higher) Hard question last: Without seeing your JSP page, I can't tell you exactly why Jasper choose

Re: URL-rewriting

2003-12-29 Thread Bill Barker
With TC 5.x, Servlet-mapping happens very early (long before any non-TC specific code has a chance :). With TC 4.1.x, it still happens before the Filters get called, but it is still possible to use a (Tomcat-specific) Valve to do the rewrite. (N.B. Valves get called after the Mapper in TC 5.x, so

Re: Connector attribute serverSocketTimeout in server.xml

2003-12-29 Thread Bill Barker
"Hume, John - NA US HQ Delray" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Can anyone point me in the direction of a resource to explain the Connector > attribute serverSocketTimeout? I haven't found any reference to it in the > jakarta site or this mailing list. Thanks. > It's

Re: (Probably) Basic Config Problem

2003-12-29 Thread Bill Barker
Well, you are running from the source-distro. After you have built Tomcat, you need to set CATALINA_HOME=/usr/local/jakarta-tomcat-4.1.29-src/build or CATALINA_HOME=/usr/local/jakarta-tomcat-4.1.29-src/dist (depending on whether you used the command 'ant' or 'ant dist' to build Tomcat. "John Ki

Re: manager

2003-12-29 Thread Bill Barker
$ cd $CATALINA_HOME/webapps $ rm admin.xml manager.xml $ rm -rf tomcat-docs You could also nuke $CATALINA_HOME/server/webapps for good measure (or to save disk space :), but Tomcat won't find the 'admin' or 'manager' webapps without the xml files. "Jonathan Locke" <[EMAIL PROTECTED]> wrote in mes

Re: mod_jk2-2.0.2 + Apache 2.0.48

2003-12-28 Thread Bill Barker
My first guess is that you have the Solaris 'make' ahead of the GNU 'make' in your path. You need to use GNU 'make' to compile Jk2. "Vitor Domingos" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello. > > I'm trying to compile jakarta-tomcat-connectors-jk2-2.0.2 with apache > 2.0

Re: How to: Tomcat 5.0.16 as Windows Service

2003-12-27 Thread Bill Barker
The README contains most of the info. Unfortunately, the definitive info is still in the code :(. Look at 'procrun.h' for the list and most of the descriptions. "Merrill Cornish" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Bill, > >Thanks for the information. I was worried

Re: src/jakarta-tomcat-connectors/util/build.xml bug with IBM jdk 1.4

2003-12-27 Thread Bill Barker
"Gianluca Toso" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > In data Sat, 27 Dec 2003 19:24:33 +0100 > Gianluca Toso scrisse: > > > Problem build tomcat 5.0.16 with IBMJava2-SDK 1.4.1 on intel. > > "ant" from src abort on src/jakarta-tomcat-connectors/util/build.xml, so I > > have

Re: Newbie needs help with build.properties file for Tomcat5

2003-12-27 Thread Bill Barker
copy 'build.properties.default' to 'build.properties', and change what you need to change. "Barry Kimelman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I need help with build.properties file. My system is Linux Redhat 9 running Tomcat 5. I have successfully been able to run the

Re: How to: Tomcat 5.0.16 as Windows Service

2003-12-25 Thread Bill Barker
It looks like user-error at the moment. The exception is for processing a '--JavaOptions' argument w/o anything following it. Yes, argument parsing could be more robust, but that isn't anyone immediate concern at the moment :). It is possible that it is a command-line-length thing, in which case

Re: Querying MBeans in Tomcat

2003-12-25 Thread Bill Barker
Assuming that you have the JK2 Connector enabled, in you jk2.properties file add: mx.enabled=true and then one or both of: mx.httpPort= mx.jrmpPort- "arunkumar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > How can I query the MBeans in the Tomcat server (5.x)

Re: Specifying X.509 DN's in tomcat-users.xml

2003-12-23 Thread Bill Barker
Read again: "At the moment, only MemoryRealm supports CLIENT-CERT auth". What part of this don't you understand? "Miguel A Paraz" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > From: > http://www.mail-archive.com/[EMAIL PROTECTED]/msg1

Re: How to get the Context lists when the server is started

2003-12-23 Thread Bill Barker
With TC 5, using JMX Listeners using a is probably the best bet. "arunkumar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > I want to get the details of the Context [Web Applications] initialized > when the Tomcat is started.I tried implementing the LifecycleListener > interfa

Re: How to: Tomcat 5.0.16 as Windows Service

2003-12-23 Thread Bill Barker
If you have a "Dr. Watson" log, I would be interested in seeing it. You can either send it to me privately, (better) post it to [EMAIL PROTECTED], or attach it to a Bugzilla report. You should delete all reports except those for 'tomcat.exe' before posting. I could personally care less what progr

Re: Session ID's

2003-12-23 Thread Bill Barker
Well, of course you will someday, it's still a finite-state machine ;-). The current TC 4/5 implementation has (if I've done the math right :) about 8E28 possible session values, so necessarily you will get a repeat after you generate that many sessions. The id is generated by SecureRandom, so the

Re: How to: Tomcat 5.0.16 as Windows Service

2003-12-22 Thread Bill Barker
One of the other developers added the attached .bat file to make it easier to install as a service (I renamed the attachment to '.txt', since a lot of mail servers strip '.bat' attachments :). rename it back to '.bat', and see if it help. Usage: service.bat install/remove [service_name] servic

Re: Tomcat threading questions

2003-12-21 Thread Bill Barker
"Neil Aggarwal" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello: > > I have a couple of questions about the way Tomcat uses threads: > > 1. If a thread does an infinite loop or other operation that > would cause it to wait forever, will Tomcat kill it? > If not, is there a way

Re: How to: Tomcat 5.0.16 as Windows Service

2003-12-21 Thread Bill Barker
Assuming that you haven't already, you could try setting '--StdOutputFile' and especially '--StdErrorFile' to help you debug your config. Alternatively, you could try: tomcatw //GT//Tomcat5 and see if any messages show up in the log when you right-click on the icon. "Merrill Cornish" <[EMAIL PRO

Re: How to: Tomcat 5.0.16 as Windows Service

2003-12-21 Thread Bill Barker
Try http://jakarta.apache.org/commons/daemon/procrun.html. "Merrill Cornish" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am current running Tomcat 5.0.16 standalone on Windows XP Pro. I > would like to install it as a Windows service. All the documentation I > can find dismi

Re: JNDI comp namespace - Tomcat Developers Please Read

2003-12-20 Thread Bill Barker
"Tony Colson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > Just to close up a few issues, and I am sorry if this email will offend > anybody, but I don't apologize for writing it: > > > I responded to one of your messages saying there might be a startup > > error with one

Re: Importing the Certificate?

2003-12-19 Thread Bill Barker
There should have been a link in the email you got from VS, but the page you want is http://www.verisign.com/support/install/apache/v00g.html. Scroll down to the "Get Intermediate CA Here" button and click on it. "Anibal Constante Brito" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]

Re: ssl startup problem

2003-12-18 Thread Bill Barker
Without looking at the commit logs, I believe that 4.1.26 is enough. However, you might as well go-all-the-way to 4.1.29 while you are at it :). "Jason Jesso" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Do mean upgrade Tomcat? If so, to what? > &

Re: Unable to initialize TldLocationsCache: XML parsing error on file /WEB-INF/web.xml

2003-12-18 Thread Bill Barker
I just spent half a day on something like this, only to discover that I was using an old (and known buggy) version of xerces. Make certain that your xerces version is up-to-date. <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am trying to setup Tomcat 5 to use a Struts 1.1 applic

Re: Ajp13Connector is not in Apache 2.0.48.

2003-12-18 Thread Bill Barker
The Ajp12Connector is deprecated in TC 5. You need to use the newer Coyote connector. There is an example in the default server.xml file. "charles doweary" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have Apache 2.0.48 and Tomcat 5 installed on my PC, and attempted to > confi

Re: mod_jk + Apache 1.3 & Tomcat 4.1.29 on OSX (Panther)

2003-12-18 Thread Bill Barker
First guess (and all I can do is guess at this point :): Apache needs (at least) "r-x" permissions on all of the path elements leading up to Tomcat. "Michael Griffith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Is there something special about how to get mod_jk + Apache 1.3/Tom

Re: Apache SSL again... those variables are getting me mad!

2003-12-18 Thread Bill Barker
Can you try with mod_jk 1.2.5? I really don't know mod_jk2 that well to know if/how it sends the SSL attributes. "Federico Fernandez Cruz" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Sure! This is getting personal... ;-) Apache and Tomcat will not be my > friends anymore! :-D >

Re: Fedora (RedHat) Linux and gcj

2003-12-18 Thread Bill Barker
I haven't done myself, but from what I've seen from other Tomcat developers that have tried gcj, you get a small improvement in start-up time, and after that, not much of an improvement over JIT. "Oscar Carrillo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I saw this in Fedora 2

Re: Illegal State Exception while redirecting

2003-12-18 Thread Bill Barker
The spec forbids an included page from changing the headers or the status code (Section 8.3 of the 2.3 Servlet Spec, which is what TC 4.1 follows). This means that it is illegal to call sendRedirect from an included page (and doubly so from one with flush="true" :). "Kumar, Sumit" <[EMAIL PROTECTE

Re: Quick questions about Connector connectionTimeout

2003-12-18 Thread Bill Barker
The reason to have the connectionTimeout is to free up the thread to process other requests, instead of blocking to see if the client is going to request anything else. The default value is reasonable to serve up the page + images etc. in one TCP connection. If you have a very high-traffic site, t

Re: getPathInfo behaviour changed in tomcat 5.x?

2003-12-17 Thread Bill Barker
tics >-Original Message- >From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker >Sent: Tuesday, December 16, 2003 11:31 PM >To: [EMAIL PROTECTED] >Subject: Re: getPathInfo behaviour changed in tomcat 5.x? > >Actually, we did completely rewrite this particular "

Re: Problems with HTTPS in Tomcat 5

2003-12-16 Thread Bill Barker
It depends on your needs. If your app is going to be connected to the internet, then you need Verisign/Thwate/. If it is an intranet app, then you just need to distribute your signing cert to people, and have them install it. "denis.berto" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECT

Re: getPathInfo behaviour changed in tomcat 5.x?

2003-12-16 Thread Bill Barker
Actually, we did completely rewrite this particular "elementary" thing in Tomcat 5 ;-). The reason is for performance, rather than "just for kicks" :). "Shapira, Yoav" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Howdy, Umm, yeah, we figured we'd completely rewrite something eleme

Re: ssl startup problem

2003-12-16 Thread Bill Barker
4.1.24 only supports Sun's JSSE. You'll need to upgrade to be able to use IBM's Providers. "Jason Jesso" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am using AIX5.2, Tomcat 4.1.24, Java 1.4. > > When I start Tomcat using SSL I get errors in the catalina.out. > > > > The securi

Re: Connection Reset

2003-12-16 Thread Bill Barker
"Blake Crosby" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Here is our architecture. > > 5 web servers (web1 - web5) and 4 java servers (java4-java7) > > Each Webserver is using the same version of mod_jk (version 1.2.5) and > apache (1.3.27). Each java server is running the same

Re: How to set the debug level and where does the output go?

2003-12-12 Thread Bill Barker
You can set the 'debug' attribute on the tag, but that will produce debug info for other sub-components of as well. Alternatively, you can configure the Authenticator explicitly (dangerous, since Tomcat assumes that you know what you are doing in this case :): . In any

Re: Vedr.: service installer for TC5

2003-12-12 Thread Bill Barker
I'm not sure if it is in the docs, or if the installer sets up a link to it (never used the installer :), but you can change most setting from the GUI by running: tomcatw //ES//Tomcat5 "Remy Maucherat" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jacob Lund wrote: > > OK thanks

Re: Apache SSL variables -> Imposible!

2003-12-12 Thread Bill Barker
TC 5 does a lazy evaluation of the SSL Request attributes (for performance reasons). This means that the attributes are made available when they are first asked for. The following should work: String cipher = (String)request.getAttribute("javax.servlet.request.cipher_suite"); Integer keysize

Re: Question - TOMCAT

2003-12-12 Thread Bill Barker
Probably the first thing you need to do is to read the ssl-howto in the Tomcat documentation. After that you will probably realize that you forgot to set the 'keystoreFile' and 'keystorePass' attributes on the Connector ;-) "Mirna Misere" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED

Re: admin interface: jdbcrealm usage

2003-12-12 Thread Bill Barker
Patches are always welcome ;-). "Ostad, James" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I have implemented the jdbcrealm user authentication. Now when I go to the tomcat admin site, there is no sign of our users and roles. Am I supposed to assume that once I moved to jdbcrealm,

Re: Working with the Jakarta NT Service document

2003-12-11 Thread Bill Barker
It's with the TC 3.3 download. Go to http://jakarta.apache.org/site/binindex.cgi, click on the 'Tomcat 3' link, click on the 'bin' link, and you will find it. "Scott Schlatter" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > The document is great, except for section 1. "Get a hold

Re: jsp page loading problem during startup

2003-12-10 Thread Bill Barker
This is a traditional Tomcat bug that comes back from the dead from time to time ;-). AFAIK, the load-on-startup wasn't working in 4.0.1 for JSPs. You'll need to upgrade your Tomcat version to have this working correctly. "Romeo Dickason" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED

Re: Running tomcat on Solaris. Stops when exiting the console

2003-12-10 Thread Bill Barker
Tomcat is still in the same session as your console. You should be ok if you use 'csh' or if you 'nohup' the process. A service launcher like jsvc (which ships with TC 5) can also help. - Original Message - From: "Donie Kelly" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECT

Re: TC5 + SSL: Keystore password bound to default "changeit"?

2003-12-09 Thread Bill Barker
"Ankur Shah" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Remy Maucherat wrote: > > > Baer Peter Christoph Alexander wrote: > > > >> Hi! > >> > >> I have a question about something, I observe, but don't > >> want to believe... ;-) > >> > >> Tomcat 5 can use my keystore, but only i

Re: Tomcat and SSL

2003-12-09 Thread Bill Barker
Usually this means that you don't have your JkMount statements in your SSL VirtualHost (as well as the normal VirtualHost). "Jeremy Whitlock" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Tomcat List, > I currently have the following setup: > > Apache 2.0.48 + SSL (

Re: tomcat-5.0.16 with jsvc exists with error

2003-12-08 Thread Bill Barker
"Marten Lehmann" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I'm using tomcat-5.0.16 with jsvc to bind tomcat to port 80, but running > it with a different user than root. Startup and running is fine. > Shutdown (in general) also. But when tomcat (or jsvc?) exits, the

Re: maxActiveSessions

2003-12-08 Thread Bill Barker
This is somewhat TC 3.3 specific, but something like: HttpSession session = request.getSession(true); if(session == null) { returnBusyPage(request, response); return; } TC 3.3 will return null for the session if it is unable to create one (e.g. because maxActiveSessions is exc

Re: Installation Problem - Service wont start

2003-12-06 Thread Bill Barker
The only way is to delete the service and re-install: tomcat //DS//Tomcat5 cd %new-tomcat-path% tomcat(w) //IS//Tomcat5 For most other things, the easiest is to use the GUI with: tomcatw //ES//Tomcat5 which will allow you to change almost all of the options painlessly. The changes take

Re: SSL - FileNotFoundException (Access is denied)

2003-12-06 Thread Bill Barker
You need to put the full path to the file (including the file name :) for the keystore. Also, for future reference, the tag is deprecated in Tomcat 5. You should set the attributes on the tag instead. "Ron Andersen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Installed SSL by

Re: Session invalidate question

2003-12-05 Thread Bill Barker
In Tomcat 4, sessionDestroyed is called after the session has been invalidated. In Tomcat 5, it is called before the session has been invalidated. This is becuase the Servlet-Spec changed the requirement between 2.3 and 2.4. "Atreya Basu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTE

Re: mod_jk2 and tomcat version 3.1

2003-12-05 Thread Bill Barker
I don't know about 3.1, but if you mean 3.3.1, then the answer is yes. "Peter Choe" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > can mod_jk2 be used with tomcat version 3.1? > > Peter Choe - To unsubscribe, e-

Re: jsp:include :: no error when target page is missing

2003-12-05 Thread Bill Barker
Since the spec forbids a jsp:include from changing the status or the headers, I don't really see an option around this. "Guven Demir" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] hi all, i've noticed that jsp:include tag does not generate an error when the target page is not

Re: anyone running tomcat-4.1.29 with commons-daemons?

2003-12-05 Thread Bill Barker
Actually, this is backwards. Tomcat 4 has an implementation of DaemonContext, and Tomcat 5 uses the non-daemon interface. It's totally not important for people-that-just-want-to-get-their-app-to-run, but I just wanted to set the record straight for any stray pedants out there :). "Shapira, Yoav

Re: Tomcat's ThreadPool and InheritableThreadLocal variables

2003-12-05 Thread Bill Barker
any java.x.*Listener). Your class needs to extend o.a.t.core.BaseInterceptor, and then overrides the events it is interested in (in your case, I'm guessing preService and postService). The getInfo and setInfo methods are also cool for classes that have access to the Request (so that you can do

Re: Tomcat's ThreadPool and InheritableThreadLocal variables

2003-12-04 Thread Bill Barker
Yoav is pretty much right. And, this is pretty much true for Tomcat 4.1.x and Tomcat 5.0.x, since they all use the same threading code. Given the limitations of the 2.2 spec, the easiest is to use Request attributes to pass things along. This works for includes, forwards, and even JSP tags (who

Re: anyone running tomcat-4.1.29 with commons-daemons?

2003-12-04 Thread Bill Barker
I've been using commons-daemon happily with Tomcat 4.1.x for quite some time now. I'd suggest starting from http://cvs.apache.org/viewcvs/jakarta-commons/daemon/src/native/unix/native/Tomcat.sh?rev=1.1.1.1&content-type=text/vnd.viewcvs-markup and modifying as nessary. - Original Message -

Re: Newer mod_jk for Tomcat 3.3.1?

2003-12-04 Thread Bill Barker
It seems that gmane is on the fritz today :(. You can currently use any version of mod_jk with any version of Tomcat >= 3.3.0. I'm happily using mod_jk 1.2.5 with Tomcat 3.3.1 at the moment. - Original Message - From: "Volker" <[EMAIL PROTECTED]> Newsgroups: gmane.comp.jakarta.tomcat.us

Re: problem with doc root

2003-12-03 Thread Bill Barker
In your httpd.conf (usually under your vhost), you need something like: Alias /examples "/path/to/tomcat/webapps/examples" Also make sure that the Apache userid has "rx" rights to every segment of the path above. "Steven Dahlin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I have

Re: execution order of context listener and servlets

2003-12-03 Thread Bill Barker
In the Servlet-2.4 spec (aka Tomcat 5), it explicitly specifies Tomcat's order. @See section 9.12. It isn't explicitly specified in the Servlet-2.3 spec, so technically oracle isn't wrong. However, because of the spec change, they will have to match Tomcat's order in their Servlet-2.4 release.

Re: Catalina.out is empty after JDK upgrade!!!

2003-12-02 Thread Bill Barker
Tomcat uses commons-logging for a lot of it's components. If you don't do anything special, this writes to the consol (captured in catalina.out) by default for a 1.3.x JVM. With a 1.4.x JVM, it will use the 1.4.x logging by default. Check your settings for 1.4.x logging. "Nadia Kunkov" <[EMAIL

Re: 4.1.29 tar file & Cannot find message resources under key org.apache.struts.action.MESSAGE

2003-12-02 Thread Bill Barker
I was going to have really good fun at your expense, but it seems that the nice big bold message that tells you to not use Solaris or Mac/OS tar has gone away :-(. However, that's the answer: use the GNU gtar instead. "tommy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I am getti

Re: Socket write error 10022

2003-12-02 Thread Bill Barker
If this isn't in the FAQ already, it should be ;-). SocketWriteErrors are almost always the result of the user hitting the "stop" button in the browser before the page is fully loaded. The "fix" is to make your content more interesting, so users stop doing this, or to make it load faster so tha

Re: Difficulty with SSL authentication without client certificate

2003-11-29 Thread Bill Barker
ficate into a machine that is used by anyone unkown. But if the secure service recognizes you ( but with lesser power ) because you don't give a certificate and let you go forward; that is what i want. > > > -Mensaje original- > > De: Bill Barker [SMTP:[EMAIL PROTECTED] >

Re: Does acceptCount in the coyote conf have anything to do with this: server has been restarted or reset this connection

2003-11-27 Thread Bill Barker
For ChannelSocket, the 'acceptCount' should have no effect at all. "Travis Reeder" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Over the past few days, my server has been crashing hard and often, now > I see these every minute or so, would this have to do with the > acceptCount in

Re: changing user/group tomcat is running as

2003-11-27 Thread Bill Barker
You could check out the commons-daemon jsvc (ships with TC 5.x, but should work with 4.1.x as well). It doesn't handle the chroot problem (but, since Solaris 8, I've almost given up on getting chroot to work). However, it does handle the port-binding and then changing uid problem. "Marten Lehman

Re: Difficulty with SSL authentication without client certificate

2003-11-27 Thread Bill Barker
For what you want, I'd probably go with a Filter that stores the Principal under a "well-known-name" for use by the Servlet. For Container level security, it is clearly an error if the client won't provide a client-cert. Note: I consider that the fact that you are getting any response at all to

Re: httpd 500s without tomcat 500s

2003-11-23 Thread Bill Barker
"J D" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I see quite a few httpd 500s in the httpd access.logs without corresponding > entries in the tomcat access.log. I am using Apache 2.0.42, mod_jk2, and > Tomcat 4.1.24. > > Any suggestions on how I can debug these? > A lot of thes

Re: Starting Tomcat as nobody...

2003-11-22 Thread Bill Barker
That's pretty much what I do. The cons are that you can't run Tomcat Standalone on port 80 (not an issue for me, since I run behind Apache with mod_jk :). If it's working-for-you, I say go for it. "Timothy Stone" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Nov 21, 2003, at 9

Re: [off-topic] jakarta, java, indonesia

2003-11-21 Thread Bill Barker
This one should probably also be added to the FAQ. >From what I'm told by people that were there (I haven't been here that long :), Yoav is correct: The name 'Jakarta' is simply because that was the name of the Sun conference room. The popular myth that it is because the city of Jakarta happens

Re: mod_jk2 binary

2003-11-21 Thread Bill Barker
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have been running an Apache 1.3 server connected with Tomcat 3.2.3 using > mod_jk on RedHat 7.1. I am in the process of upgrading the server to use > Suse 9 and would like to upgrade to Apache 2. I have 2 questions. First, is > it pos

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