Re: Turning on debugging in Tomcat 5.5

2005-10-07 Thread Bill Barker
James Rome [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Most of the installed Tomcat classes have something like container.isDebugEnabled() {...} How do I enable these debug statements in Tomcat 5.5? I'll assume that you are using Juli. If you are using log4j, compare what

Re: Q:how to remove charset from HTTP responce to allow browser use a browser selected charset?

2005-10-07 Thread Bill Barker
Mark [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Mark, In my case servlet generates an output, so no JSP for now... Can I do it using filters? Or define and store user's prefs with encoding outside of tomcat and in the session and use if it's exists in the session? Other

Re: Tomcat 5.5.12 and user-agent header

2005-10-07 Thread Bill Barker
Richard Mixon [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I tested out my application on 5.5.12 yesterday and noticed one small anomally. I had a JSP in my sitemesh decorator default.jsp that ends up wrapping the login page for container managed authentication. This page had a

Re: tomcat start exception

2005-09-24 Thread Bill Barker
If you add the attribute channelSocket.soLinger=-1 to your AJP/1.3 Connector element in server.xml, it should make the error go away. It's beyond me why Sun has decided to throw an exception here. Jun Zhu [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a Tomcat5.5.9 server

Re: Tomcat working directory

2005-09-24 Thread Bill Barker
The easiest way to to open up the nice GUI (If it isn't in the System-Tray or the Start menu, then it's usually at $CATALINA_HOME\bin\tomcat5w.exe), open the Startup tab, fill-in the Working Path box, and click 'OK'. Then restart the service. It's also possible to do this from the command

Re: Suppress Connection reset by peer: socket write error.

2005-09-17 Thread Bill Barker
Dola Woolfe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I apologize for asking this question again for I remembering asking this question in the past, but I can't find the response. What setting (and where) will suppress the aforementioned exception in the tomcat log?

Re: password authentication causes 403 error

2005-09-17 Thread Bill Barker
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi there, I would like to set up my development tomcat-5.0.28 (on port 8080) so that all webapps that are not password protected, to have password authentification. Since it is my dev box I would like to use the memory realm. I

Re: Final questions: workers.properties

2005-09-11 Thread Bill Barker
David Thielen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi; First off thanks to all for help - I think I'm just about done. Question: workers.properties.minimal (which works fine) only has: worker.list=ajp13w worker.ajp13w.type=ajp13 worker.ajp13w.host=localhost

Re: Final questions: Default pages

2005-09-11 Thread Bill Barker
David Thielen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi; I have multiple domains on my website (IIS). I would like to do the following. When a user goes to http://www.windward.net/cart.jsp or http://www.windwardreports.com/cart.jsp that it then loads the jsp page in

Re: Suspected memory leak in Tomcat or JVM?

2005-09-10 Thread Bill Barker
There are some memory leaks in the AJP/1.3 Connector (e.g. http://issues.apache.org/bugzilla/show_bug.cgi?id=32141), but the CVS logs say that these were introduced after 4.1.27. Jochen Wiedmann [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, we have an elder application running

Re: connecting tomcat-5-5-9 to apache server 2-0-54

2005-09-10 Thread Bill Barker
If you have MSVC 6+ installed, just use the mod_jk2.dsp file in native2\server\apache2. Otherwise, you'll probably have to roll your own Makefile. Thomas Clery [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I would like to connect Apache Tomcat and Apache Server using mod_jk2

Re: Custom SSLServerSocket implementation

2005-08-26 Thread Bill Barker
Alain Brousseau [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I need to tell Tomcat 5.5 to use my custom SSLServerSocketFactory for backwards compatibility with our client-side software. It was relatively easy with Tomcat 4.1 (using a Factory element in the Connector

Re: Http Keep-Alive

2005-08-05 Thread Bill Barker
As I recall, TC 3.2.x only has a HTTP/1.0 Connector. In particular, it never respects HTTP keep-alives. Jamie Spurr [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Does anyone know the property in the server.xml file on Tomcat for switching off http keep-alives? I'm using version

Re: anonymising Tomcat

2005-08-04 Thread Bill Barker
Paul Singleton [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is it possible to configure Tomcat (5.5.9) so that a moderately able hacker couldn't figure out what is serving up our web apps? As documented at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html:

Re: Tomcat 5.5.x and Unix Sockets

2005-08-02 Thread Bill Barker
Haven't tried it, but it should still work. The main difference is that (since mod_jk2 is deprecated) Tomcat 5.5.x no longer reads jk.properties by default. You need something like: Connector protocol=AJP/1.3 propertiesFile=conf/jk2.properties / Alternatively, you can include the settings

Re: Servlet mapping - url pattern with *

2005-08-01 Thread Bill Barker
flower [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, Let's consider situation like this: We have got some servlets responsible for genereting galery page. We want group galery pages by use common part in uri (/galery/): http://x.com/galery/galery_id/firstpage.html

Re: What is APR ?

2005-07-24 Thread Bill Barker
http://apr.apache.org/ Anto Paul [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, Is APR for Tomcat is any native library or java ? Where to get it ? -- rgds Anto Paul - To unsubscribe, e-mail: [EMAIL

Re: getting Tomcat 5.5 daemon/service to startup automatically on bootup?

2005-07-22 Thread Bill Barker
Ferindo Middleton Jr [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm running *Tomcat/5.5.6 on* Fedora Core 4. What is the best way to get my Tomcat server to start automatically on bootup. My server does use SSL. I have read through the info on setting up tomcat as a daemon

Re: Problem running Tomcat on Windows 64-Bit Edition

2005-07-21 Thread Bill Barker
There is a srvbatch in commons-daemon (I'm too lazy to look if there is a binary released for it :) that will allow you run the batch files as a service. You can also grab the source from commons-daemon and compile a 64bit version yourself (only the MSDK is needed, but you need to create your

Re: How to Replace Tomcat authentication?

2005-07-14 Thread Bill Barker
ohaya [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I've been looking into possibly replacing Tomcat's authentication with our own functionality. It looks like there use to be a class called SimpleRealm in the older Tomcat versions that would have done the trick if we

Re: Is there another version of Tomcat coming any time soon

2005-07-14 Thread Bill Barker
I would guess that 5.5.10 will likely come out within the next month+0.5, but this is only a guess. No timetable for a release has been mentioned recently on the dev list. Edmon Begoli [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am trying to schedule a production release,

Re: What is allowed to do with a HttpServletRequest ?

2005-07-14 Thread Bill Barker
cristi [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello all I have a web application where I need to use in a second request the HttpServletRequest object sent to the same servelet in the first request. Here is what my servlet looks like : public void doGet(

Re: Tomcat JSVC Errors

2005-07-08 Thread Bill Barker
At a first guess, compare the version of libgcc for jsvc and libjvm.so. I remember that java -version tells you the second one on Lynux. Otherwise, you can use 'ldd'. You can also use 'ldd' to get the first. Wasik, Paul [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello,

Re: how do i prevent tomcat5 from adding trailing slash?

2005-07-01 Thread Bill Barker
Edmund Urbani [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hi! i ran into some trouble with tomcat5 and its slash adding behaviour. there's this MS WebFolder client (M$ for WebDAV), that does not seem to be able to cope with status 302 redirects in some situations. in order

Re: Certificate Authentication for individual apps

2005-07-01 Thread Bill Barker
Mahesh S Kudva [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi All Thanks for the note. May be I was not clear in my earlier mail. I have client authentication using certificates. I want to skip client auth for certain hosted applications on the server but preserve client

Re: Tomcat5.5.7 and Log4j

2005-06-28 Thread Bill Barker
Robert Taylor [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Greetings, I'm trying to use Log4j in my web app and I'm having some difficulty. I'm running Tomcat5.5.7 and JDK 1.5.0 I've followed the instructions here: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html

Re: Test - please[don't] ignore!

2005-06-27 Thread Bill Barker
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, This is really wierd - I can't post this msg to the list! The Test went through fine, but every time I try and post the msg below, it just disappears. Anyone guess why? Anyone know the answer?!! cheers, David

Re: Building tomcat-connectors with ANT

2005-06-27 Thread Bill Barker
Mark Thomas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Ah. It wasn't clear from your original post which part of the connectors you were trying to build. I was referring to the Tomcat end of things (the Java AJP/HTTP connectors) rather than mod_jk. The following from the

Re: Rc3.d startup scripts

2005-06-17 Thread Bill Barker
For Apache 2.0.52, unless you need SSL, you can do worse than: ln -s /usr/local/apache2/bin/apachectl S35apache If you don't mind running as root, you can do the same thing for Tomcat: ln -s /path/to/tomcat/bin/catalina.sh S34tomcat If you are using jsvc, then the Tomcat5.sh script that

Re: configuration question : the number of connections could be supported by a connector in Tomcat 5.0

2005-06-17 Thread Bill Barker
If you are fronting with Apache, then the mapping between connections and threads is more a function of your MPM. As a result, I'm just going to answer for the stand-alone Connector. In Tomcat 5.0, there is a one-to-one mapping between socket connections and threads. Pipelined HTTP/1.1

Re: Tomcat 3.2.3 / JDK 1.4.2_04-b05

2005-06-17 Thread Bill Barker
Samit Paul [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Can somebody help me find out how my tomcat is dying. As far as I know it's not triggered by any url access or memory leak or stack overflow. It dies on it's own( I guess). Is there any kind of hook I can provide

Re: Tomcat Web Server ServerTokenNotSet Vulnerability

2005-06-11 Thread Bill Barker
My long-time favorite is server=Microsoft-IIS/5.0 ;-). Mark Thomas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] No idea. Try , , Tin foil hats R us or something similar. I am not even sure this is why your scanner is reporting a problem. Mark Gao, Frank wrote: What the

Re: 5.0.28 w/ MX4J 3.0.1, possible?

2005-06-10 Thread Bill Barker
Rick [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, I have been trying to migrate to the latest version of MX4J (3.0.1) from the old 1.1.1 version. And for the life of me, I don't seem to be able to get it to work. I use JMX to communicate to various servers in our

Re: After a successful build of tomcat from build.xml, how do I install it?

2005-06-08 Thread Bill Barker
Optionally copy your build.properties file to .../jakarta-tomcat-5. Then in your .../jakarta-tomcat-5/build.properties file add the property: tomcat.dist=/path/to/my/tomcat/install/dir Then from .../jakarta-tomcat-5 do 'ant dist'. This is the closest to 'ant install' that you can get. The

Re: 5.5.9's choice of certificate from keystore

2005-06-05 Thread Bill Barker
Paul Singleton [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I believe that a keystore can legitimately contain many certificates, whether root- or self-signed. How does (and should) Tomcat 5.5.9 choose which of many such certificates to offer when a client makes an HTTPS

Re: security constraints in tomcat 4.1.30

2005-06-03 Thread Bill Barker
Along with what Mark said, you should know that TC 4.1.30 stops checking after the *first* matching constraint (so in your case, the '/*' always wins). Try reversing the order of your constraints in web.xml. As Mark mentioned, this has changed in TC 5.x, and your web.xml should work as

Re: Tomcat and RMI client - setup

2005-05-27 Thread Bill Barker
Nikola Milutinovic [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all. This might be a simple question. I have a working RMI client and server. I have tested it no problem. Now I would like to make a JSP/Servlet that will act as a RMI client and connect to the RMI server

Re: Problem with precompiled JSP's (2nd Try)

2005-05-27 Thread Bill Barker
I just checked, and there is indeed NoSuchMethod in Tomcat 5. You need to re-precompile your JSPs using the jspc from Tomcat 5 for it to work. It's not enough to just move the class files over, since they reference the Jasper version that they were compiled with. Mike Baliel [EMAIL PROTECTED]

Re: Problem with precompiled JSP's (2nd Try)

2005-05-27 Thread Bill Barker
, ServletException { which is clearly different from your pre-compiled JSPs. Bill Barker wrote: I just checked, and there is indeed NoSuchMethod in Tomcat 5. You need to re-precompile your JSPs using the jspc from Tomcat 5 for it to work. It's not enough to just move the class files over, since

Re: ip-based virtual hosting

2005-05-21 Thread Bill Barker
Mirko [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I know name-based virtual hosting works great in Tomcat but I am interested in setting up ip-based virtual hosting in standalone Tomcat. Is that possible? It will be possible in TC 5.5.10. It's not possible in any of the

Re: ip-based virtual hosting

2005-05-21 Thread Bill Barker
Hassan Schroeder [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Bill Barker wrote: I ... am interested in setting up ip-based virtual hosting in standalone Tomcat. Is that possible? It will be possible in TC 5.5.10. It's not possible in any of the currently released versions

Re: SSL Connector + truststore refresh without bouncing tomcat

2005-05-15 Thread Bill Barker
Diego Ballve [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, I'm using ssl client authentication with Tomcat 5.0.28. I have configured it to use my truststoreFile and all works fine there. I have added a feature to my webapp (The freebXML Registry,

Re: problem starting jrmp service in tomcat 5.5.9 ?

2005-05-13 Thread Bill Barker
Ah, yes, there was another reason to deprecate JkMX :). mx4j no longer ships with the jrmp Adapter. You need to downgrade your mx4j to version 1.1. Pankaj Bhatnagar [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi I am trying to upgrade from Tomcat 5.0.x to Tomcat 5.5.9. I have

Re: how to change the port for jmx in tomcat 5.5.9 ?

2005-05-11 Thread Bill Barker
Well, firstly JkMX is deprecated in 5.5 in favor of javax.management.remote. To use JkMX anyway, you need to either specify the properties directly on the Connector (e.g. mx.jrmpPort=1099) or specify the location of the properties file (e.g. propertiesFile=conf/jk2.properties) Pankaj Bhatnagar

Re: Launching an embedded Tomcat from Maven 1.x

2005-04-21 Thread Bill Barker
Since you are using Embedded, your class needs to be loaded by the same ClassLoader that loads Tomcat. You might want to look at the examples for loading Tomcat from ant in commons-modeler, as an alternative way of doing what you want. Alonso Dominguez [EMAIL PROTECTED] wrote in message

Re: jsvc.exec error: syscall failed in set_caps

2005-04-17 Thread Bill Barker
Georges Roux [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Thanks much for sharing your solution with the group -- this will help people when they search the archives. -QM Well hm, bad news, the probleme is already here and I don't have the solution. Yeah, well, check out

Re: Developing custom Realm

2005-04-15 Thread Bill Barker
The archives are your friend. For example: http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/msg150366.html. alebu [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi! I was searching for any documentation about developing custom Realm for Tomcat but did'nt found anything.

Re: Re[6]: Tomcat/4.1.31 - SSL Troubles

2005-04-13 Thread Bill Barker
Andrey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, Wednesday, April 13, 2005, 10:17:42 PM, you wrote: I can connect to ssl port ... and i can see sertificate.. but when i accept this sertificate my browser says The page cannot be displayed. Just a basic guesswork...

Re: Tomcat user 'roles' question

2005-04-09 Thread Bill Barker
Wendy Smoak [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] From: Bill Barker [EMAIL PROTECTED] Custom Realms really aren't all that hard. You typically create a class that extends RealmBase (http://jakarta.apache.org/tomcat/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina

Re: Clean shutdown? Can sessions survive a jsvc stop/start ?

2005-04-08 Thread Bill Barker
August Detlefsen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] In TC 5.5.7, the tomcat start/stop script for Linux/Solaris (/etc/init.d/tomcat) stops tomcat by simply killing the process: stop) # # Stop Tomcat # PID=`cat /var/run/jsvc.pid` kill $PID ;;

Re: Tomcat user 'roles' question

2005-04-08 Thread Bill Barker
Yeah, but writing your own custom UserDatabase is usually harder than writing your own custom Realm (at least four classes vs. one.). It does have the advantage that (in theory) it should work with the admin webapp ;-). Custom Realms really aren't all that hard. You typically create a class

Re: Tomcat 3 and Tomcat 5 on JDK 1.3 and JDK 1.5 respectively

2005-04-04 Thread Bill Barker
I routinely run TC 3.3.2 on JDK 1.4.x (and even occationally on 1.5.x :) without any problems. I haven't used TC 3.2.3 in very many years, so I don't know. I'd guess that it would run ok, except possibly if you are using SSL. Fredrik Liden [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: Tomcat 4.1.27 context MBeans

2005-03-29 Thread Bill Barker
I don't believe that TC 4 registers the webapp's classloader with JMX (only the Catalina Loader). You'll need TC 5 for that. Sheykhet, Rostic [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, I would like to deploy my webapp along with custom mbeans. I have LifeCycleListeners

Re: apply SSL using tomcat 3.3.1a and JDK 1.3.1

2005-03-29 Thread Bill Barker
Marcus Nugroho [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi All, Is it possible to apply SSL on tomcat 3.3.1a using JDK 1.3.1 ? We have succeeded for Tomcat 3.3.1a using JDK 1.4.2. unfortunately, the application required JDK 1.3.1 Does anyone have similar experince about

Re: Help with SSL Cert config

2005-03-26 Thread Bill Barker
:/Program Files/Apache Group/Tomcat 4.1/conf/server.keystore and that didn't help either. Anything else I'm missing? - Original Message - From: Bill Barker [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Friday, March 25, 2005 10:13 PM Subject: Re: Help with SSL Cert config

Re: Help with SSL Cert config

2005-03-25 Thread Bill Barker
You need to put your CA cert into your Tomcat truststoreFile. Otherwise, you client's cert won't be trusted. joelsherriff [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm resending this message because a) for some reason I didn't see it on the list after I sent it and b) I never

Re: Help with SSL Cert config

2005-03-25 Thread Bill Barker
. No? No. That's putting it into your keystoreFile. The keystoreFile is to identify you. The truststoreFile is to identify other people. - Original Message - From: Bill Barker [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Friday, March 25, 2005 8:51 PM Subject: Re: Help with SSL

Re: CERT Vulnerability Note VU#204710 on Tomcat 3.x

2005-03-21 Thread Bill Barker
Jess Holle [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This vulnerability note has to be amongst the most vague and least informative I've ever seen. It says that Tomcat 3.x and AJP12 has an issue and that the issue is not present in Tomcat 5. What about Tomcat 4 and 4.1?

Re: Howto MBean

2005-03-20 Thread Bill Barker
Tomcat doesn't have an automatic MBean deployment option for a Context. You'll need a ServletContextListener (or otherwise) to register your application MBeans. Note that with commons-modeler 1.1 (which ships with Tomcat 5), it is no longer necessary to include your mbeans-descriptor.xml in

Re: Authentication for streaming file (OT)

2005-03-19 Thread Bill Barker
Have you tried other browsers than MSIE? If it works for FireFox, then you've probably hit http://issues.apache.org/bugzilla/show_bug.cgi?id=28750. Mark Leone [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Slightly off-topic -- Tomcat related I have a servlet that is invoked by

Re: Tomcat, Sun One Webserver 6.1

2005-03-13 Thread Bill Barker
Since SunOne isn't the most supported platform (at least at Apache; I believe that Sun has a better-supported plugin, but you'll have to ask them :), you'll need to build mod_jk from the source distro in jk/native/netscape (for the simple reason that nobody has contributed a binary distro for

Re: Configuration Problem in Tomcat for HTTPS

2005-03-13 Thread Bill Barker
Urm, not really enough info here to help you. Of course I'm assuming that you've already read http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html. Beyond that, you can try setting your logging category (log4j/java.util.logging config) for 'org.apache.tomcat.net.jsse' to DEBUG to

Re: Being lost in the mailing list

2005-03-08 Thread Bill Barker
Klaus-F. Kaal [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Peter, I can imagine that the gurus get tons of eMails with difficult and silly questions. And as there is limited time, they can't answer them all. I believe they keep answering the freshly incoming ones. Since I am

Re: problem on Tomcat 3.3.1a: hang

2005-03-08 Thread Bill Barker
Connection reset by peer isn't usually that interesting (it usually means that the browser dropped the connection). Making some wild guesses: Using the Http10Connector on Windows usually means that you need to add something like socketCloseDelay=50 to the element in server.xml. Even better

Re: java.net.SocketException when user disconnects from response stream

2005-03-05 Thread Bill Barker
Urm, the entire point of ClientAbortException (which is a Tomcat class) is to allow Tomcat to know that it shouldn't be logging it. If com.lowagie.text.pdf chooses to log it, well you'll have to take it up with them ;-). Allistair Crossley [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: Tomcat5 and Client Certificates

2005-03-05 Thread Bill Barker
Jason Bainbridge [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Fri, 4 Mar 2005 06:54:34 -0800, Sweeney, Bill [EMAIL PROTECTED] wrote: Hello TC5 Users - I used %java-home%/bin/keytool to build the certificate store and the server and client certificates (self-signed). Tomcat

Re: jsvc.exec error on FC3

2005-03-03 Thread Bill Barker
Chong Yu Meng [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill Barker wrote: | Chong Yu Meng [EMAIL PROTECTED] wrote in message | news:[EMAIL PROTECTED] | | The daemon starts up ok, but when shutting down, I get this error

Re: How to disable PUT, DELETE http methods etc if not using container managed security?

2005-03-03 Thread Bill Barker
/index.jsp HTTP/1.1 I get this as a response: HTTP/1.1 400 Bad Request What's a good way to verify that DELETE is blocked? Can someone give a definitive test? Thanks - Original Message - From: Bill Barker [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Saturday

Re: jsvc.exec error on FC3

2005-02-28 Thread Bill Barker
Chong Yu Meng [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm trying to configure jsvc to work on a Fedora Core 3 system running Blackdown Java 1.4.2. I managed to do a configure and compile jsvc all right. I used the

Re: Startup

2005-02-26 Thread Bill Barker
patrick et michelle [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi there, I'm a newcomer in Web technology and I need to understand how to configure Tomcat 3.3 In fact, I can see that the servlets examples offered with tomcat are located in

Re: Benefits of running Tomcat as a daemon with JSVC

2005-02-26 Thread Bill Barker
Behrang Saeedzadeh [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Mladen, But not everything that runs when the system starts up is a daemon. For example, to run Tomcat as a daemon one needs to use JSVC (or something like that.) But it's also possible to write an init script for

Re: How to disable PUT, DELETE http methods etc if not using container managed security?

2005-02-26 Thread Bill Barker
For TC 5.x.x, you need two security-constraints to do what you want. One of them looks like your first example, and the other like your second example (except that you probably want auth-constraint /, which is deny all, instead of role-name/ which is deny to all but the blank role). Since you

Re: Howto get Port in HttpServlet#init(ServletConfig)?

2005-02-26 Thread Bill Barker
Patrick Wunderlich [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hey Tomcat Fans, is there a programmatically way to get the Http-Port in the HttpServlet#init(ServletConfig) method? No, for the simple reason that the Http-Port isn't well-defined during init. For example, if

Re: Can servlet mappings be done somewhere other than web.xml?

2005-02-22 Thread Bill Barker
Yup. Tomcat 3.3 has the Invoker enabled by default (although 3.3 doesn't have a global web.xml file, so it's declared in server.xml :). Drew Jorgenson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Looks like the invoker servlet is being used, which is declared in the global

Re: Connecting http-2.0.48 with tomcat 3.3.1a using jk connector.

2005-02-16 Thread Bill Barker
Well, since 3.3.1a doesn't ship with the CoyoteConnector, you need to have the AJP13Connector in server.xml (it's enabled by default). I'm assuming that you aren't using the JNIConnector (although it's still supported in mod_jk 1.2.8 :). You need the Http10Connector if you want Tomcat to

Re: coyote standalone?

2005-02-11 Thread Bill Barker
Adam Fisk [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Can I use Coyote HTTP 1.1 server outside of the rest of tomcat? I'm interested in just plugging in the coyote jar for serving static content using Jetty, but it appears to have dependencies on the rest of tomcat. I

Re: Certificate Revocation List

2005-01-24 Thread Bill Barker
Martin Dubuc [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Does Tomcat support certificate revocation list? If it does, could someone send me a pointer to a page that explains how to configure Tomcat to enable this? Not currently. It's something that probably could be added to

Re: issues using Tomcat 3.2.4 with JavaVM jdk 1.4.1?

2005-01-07 Thread Bill Barker
Mieke Banderas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Are there any issues I should know about using Tomcat 3.2.4 with JavaVM jdk 1.4.1? I'm looking for general known info/bugs . I'm deploying on Mac OS X Server 10.2.6 and the bundled Tomcat 3.2.4 distribution. Other than

Re: Session restart replication when using jsvc

2004-12-30 Thread Bill Barker
Mark Thomas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Bill Barker wrote: This is the old, buggy, code that ships with Tomcat. You need to get the code from commons-daemon CVS HEAD if you want shutdowns (and restarts) to work properly. Bill, Just thinking ahead

Re: Session restart replication when using jsvc

2004-12-29 Thread Bill Barker
This is the old, buggy, code that ships with Tomcat. You need to get the code from commons-daemon CVS HEAD if you want shutdowns (and restarts) to work properly. Wade Chandler [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Trond G. Ziarkowski wrote: Hi Wolfgang! by using signal

Re: Cleint Side Certificates

2004-12-22 Thread Bill Barker
Julian W H Osborne [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dear All, I've been trying to get client/server certificates working with tomcat now for a while and I'm not having much success. I have generated certificates which have worked successfully with apache but not

Re: Tomcat redirecting when base URI doesn't have trailing slash

2004-12-14 Thread Bill Barker
Not strictly true. If you have a '/*' mapping, then Tomcat won't redirect. Shapira, Yoav [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, To question #2: no. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Tauzell, Dave [mailto:[EMAIL PROTECTED] Sent:

Re: JK 1.2.7 Problem?

2004-12-13 Thread Bill Barker
You could also set the logging level to DEBUG for the category 'org.apache.jk'. That should give you a hex dump of the problem message with the exception. The exception is when Tomcat is parsing the Content-Length header. However, since it is working on the retry (inferred because it isn't

Re: Registry problems followed by OutOfMemory errors

2004-12-10 Thread Bill Barker
Asim Alp [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Thanks for the quick reply! How can I turn off JMX request registration? I tried to find it in the Tomcat documentation, but all I could find was the MBean Descriptor How To which wasn't very helpful. I doubt that we need

Re: Tomcat synchronous shutdown?

2004-12-09 Thread Bill Barker
Kevin A. Burton [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Shapira, Yoav wrote: The semantic of restart only if you feel like it is useless IMHO. You either want a restart or you don't. If there's an error serious enough to prevent shutdown, you want to look into it anyways.

Re: trustStore details in server.xml

2004-12-09 Thread Bill Barker
You mean something like: Connector port=443 secure=true scheme=https keystoreFile=/path/to/key.store keystorePass=changeit keystoreType=jks truststoreFile=/path/to/trust.store truststorePass=changeit truststoreType=jks / Sunitha Kumar [EMAIL PROTECTED] wrote in message

Re: Tomcat 5.0.28 - How to stop Jasper JSP compiler from evaluting JSTL expressions

2004-12-05 Thread Bill Barker
With isELIgnored set to it's default value of false, the following should evaluate to the string you want: core:forEach var=menuItem varStatus=status items=${'${'topnav} -Jerry -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Saturday, December

Re: jk_uri_worker_map_t::map_uri_to_worker, done without a match

2004-12-05 Thread Bill Barker
Context path= docBase=ROOT Listener className=org.apache.ajp.tomcat4.config.ApacheConfig noRoot=false forwardAll=true / /Context Thomas Charles Robinson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Ok, so since nobody else knows this: If I take the

Re: more logging in tomcat 5.5

2004-12-04 Thread Bill Barker
Jeff Ousley [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hello! forgive the rambling nature of this message. my basic question is how do i get more detailed logging out of tomcat. i'm trying to set up a JNDIRealm to authenticate to an ldap server. in my realm config i've got

Re: Tomcat 5.0.28 - How to stop Jasper JSP compiler from evaluting JSTL expressions

2004-12-04 Thread Bill Barker
Try: [EMAIL PROTECTED] isELIgnored=true % Jerry Rodgers [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am having a problem where the parameter this is passed to my setItems() method of the jstl forEach tag is actually the .toString() version of my collection. This appears

Re: Ajp12Interceptor: HANDLER THREAD PROBLEM

2004-12-02 Thread Bill Barker
It looks like you DocumentRoot in Apache isn't matching up with the ROOT context in Tomcat. As a start, you could find the ApacheConfig element in server.xml, and add the attribute 'noRoot=false'. Then run $TOMCAT_HOME/bin/tomcat run -jkconf You should then compare

Re: Does Tomcat 5.5 support jikes?

2004-12-02 Thread Bill Barker
Kevin A. Burton [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Kevin A. Burton wrote: This isn't fun: -- !-- If you wish to use Jikes to compile JSP -- !-- Set the init parameter compiler to jikes. -- !-- the property

Re: Shutdown error Tomcat 5.5.4 and jdk1.5.0 on Fedora

2004-11-29 Thread Bill Barker
if that's any help. On Nov 29, 2004, at 12:16 AM, Bill Barker wrote: I'm running Tomcat 5.5.4 and jdk1.5.0 on Fedora Core 3 and when I stop Tomcat using the supplied Tomcat5.sh script I always get - jsvc.exec error: Service exit with a return value of 143 Can someone please explain this error

Re: Shutdown error Tomcat 5.5.4 and jdk1.5.0 on Fedora

2004-11-28 Thread Bill Barker
Phill Ashworth [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm running Tomcat 5.5.4 and jdk1.5.0 on Fedora Core 3 and when I stop Tomcat using the supplied Tomcat5.sh script I always get - jsvc.exec error: Service exit with a return value of 143 Can someone please explain

Re: servlet config on apache 1.3 tomcat 3.3

2004-11-26 Thread Bill Barker
Since your context is called '/servlet', the correct URL is http://www.example.com/servlet/servlet/HelloServlet (without a servlet-mapping) or http://www.example.com/servlet/servlet/helloservlet (with a servlet-mapping). You probably want to change your servlet-mapping to have:

Re: How to add a request filter for TC5.5.3? It was working for TC5.0.29!

2004-11-26 Thread Bill Barker
Valves (and other custom components, like Realms) written for TC 5.0.x will at the very least have to be re-compiled to work for TC 5.5.x. More likely, there will have to be code changes to make them work. That's just the price you pay for relying on TC internals ;-). David Lee [EMAIL

Re: 5.5.4 SEVERE: Error unregistering mbean in stdout every 5-10 mins.

2004-11-23 Thread Bill Barker
Thanks for the report. http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]msgNo=81697 Allistair Crossley [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yoav, Has this one been noted by your good self for invesigation or propogation to the appropriate place? It's still all over our

Re: Problem with ssl

2004-11-20 Thread Bill Barker
Carl Olivier [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Greetings. Where is this specified? In which element? The Connector (where all of the other SSL attributes are :). Thanks! Carl -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent

Re: Declarative security in context?

2004-11-20 Thread Bill Barker
Simon Tardell [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Wendy Smoak wrote: From: Simon Tardell [EMAIL PROTECTED] I want to deploy multiple instances of the same webapp, with different authorization rules. However, declarative security is done in the web.xml of which there

Re: Problem with ssl

2004-11-19 Thread Bill Barker
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm using ssl with tomcat 5.0.28 I use a keystore that contains several certificates How can I tell tomcat which one to use for SSL transaction ? Is there a parameter like alias ? The correct attribute is 'keyAlias' to specify which

  1   2   3   4   5   6   7   8   9   10   >