Re: Tomcat dies after starting

2010-09-02 Thread Wesley Acheson
This looks like you've got many instances started at once (at least the end part of it does). Ensure that it is shut down fully before starting again. Are you the only user on this machine or is it shared? Other users may have the same ports used for a given reason. Its intresting that the JK

Re: tomcat mutual authentication doesn't work

2010-09-02 Thread aravidu
Hey.. if you are able to read this again, what I am trying to do now is, set the same thing up in a UNIX box. I created the client keys as i had done previously and exported the key to my local machine so that I can import it into my firefox. however, when i try to import the pkcs12 key.. it is

Re: Slow network with additional Connector (Port) in tomcat

2010-09-02 Thread Yoav Naveh
Hi, thanks for your reply. Some more information: Tomcat is using OpenJdk6, on Ubuntu 8.04 I have attached my server.xml file. The only thing that comes to mind is that I set a relatively low accept-count for the other port. I think we tested without that parameter and did not getter better

Re: Tomcat dies after starting

2010-09-02 Thread jan gestre
On Thu, Sep 2, 2010 at 2:09 PM, Wesley Acheson wesley.ache...@gmail.com wrote: This looks like you've got many instances started at once (at least the end part of it does). Ensure that it is shut down fully before starting again. Are you the only user on this machine or is it shared? Other

Re: META - Thread Hijacking

2010-09-02 Thread Pid
On 02/09/2010 01:47, Len Popp wrote: On Wed, Sep 1, 2010 at 19:08, Konstantin Kolinko knst.koli...@gmail.com wrote: Have you ever searched the list archives? Good idea... http://tomcat.markmail.org/search/?q=hijack#query:hijack%20list%3Aorg.apache.tomcat.users+page:1+state:facets More

Re: Tomcat 7.0 API reference mismatch

2010-09-02 Thread Mark Thomas
On 02/09/2010 03:37, Christopher Schultz wrote: Tomcat Folks, I was looking at the Tomcat 7.0 documentation this evening and I see that the links to the various Sun/Oracle API documentation are out of date: they reference the servlet 2.5 APIs and the JSP 2.1 APIs. Those should be fixed in

Re: What is default value of CATALINA_OPTS at apache-tomcat-6.0.29?

2010-09-02 Thread Rainer Jung
On 02.09.2010 07:12, takanobu watanabe wrote: Hello Rainer, Thanks detailed explain. and now I use jconsole to measuring. But when jconsole try to connect remote target host, JVM down. Probably it is not tomcat issue,I think. Yeah, looks like a JVM issue. If you file a bug there, provide the

Deploy and initialize webapps before listening sockets are created?

2010-09-02 Thread Ossi
Hi! Is it possible to configure Tomcat first to deploy all the webapps and create listening socket after that? The problem is following: after Tomcat prints this line: 2010-09-01 09:07:46,454 INFO [main] (org.apache.coyote.ajp.AjpAprProtocol) Initializing Coyote AJP/1.3 on

unusual mod_jk 1.2.30 log messages

2010-09-02 Thread Brett Delle Grazie
Hi, We're having some strange errors being reported in the 1.2.30 version of mod_jk. We think they might be related to the performance issues we're experiencing under load. OS: RHEL 5.5 (fully patched) Apache HTTPD: 2.2.3 (from OS vendor) mod_jk: 1.2.30 (downloaded from Tomcat site and compiled

RE: What is default value of CATALINA_OPTS at apache-tomcat-6.0.29?

2010-09-02 Thread Caldarale, Charles R
From: takanobu watanabe [mailto:rreedd...@gmail.com] Subject: Re: What is default value of CATALINA_OPTS at apache-tomcat-6.0.29? But when jconsole try to connect remote target host, JVM down. # Java VM: OpenJDK Core VM (1.6.0_0-b11 interpreted mode linux-arm) That is a very, very old

Tomcat Web App - Strange Issue - Need 2 restarts for SSO mode to work

2010-09-02 Thread Sunil A V
Hi, We have a web application deployed on Tomcat server and is working pretty fine, except in one mode. The web application is available through 2 modes of links - one is regular without load balacer and other is Single Sign On based through load balancer. The normal mode works fine with one

Re: [OT] FileUploadBase$IOFileUploadException

2010-09-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 9/1/2010 11:27 PM, Paul Szynol wrote: I checked the temp directory in catalina.sh and also by adding this line to the the ContextListener class: System.out.println(Temp dir: + (event.getServletContext()

Re: Tomcat dies after starting

2010-09-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan, On 9/2/2010 2:42 AM, jan gestre wrote: I'm the only user of this dedicated machine, it's not yet in production that's why I'm quite sure :). Even the init scripts logs tells that Tomcat is started only to find out that it's not actually

Re: Slow network with additional Connector (Port) in tomcat

2010-09-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yoav, On 9/2/2010 2:22 AM, Yoav Naveh wrote: Tomcat is using OpenJdk6, on Ubuntu 8.04 I have attached my server.xml file. The only thing that comes to mind is that I set a relatively low accept-count for the other port. I think we tested without

RE: Tomcat Web App - Strange Issue - Need 2 restarts for SSO mode to work

2010-09-02 Thread Caldarale, Charles R
From: Sunil A V [mailto:sunil...@infosys.com] Subject: Tomcat Web App - Strange Issue - Need 2 restarts for SSO mode to work Tomcat version? JVM level? Platform? Anything of interest in the Tomcat logs? The web application is available through 2 modes of links - one is regular without

Re: pick load

2010-09-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexandre, On 9/2/2010 12:08 AM, Alexandre Chapellon wrote: Forget about it this doesn't seems to be related to the jk connector. Right: the jk connector can be tweaked separately. You appear to have other problems. I have the same problems when

Re: clear text keystore password in server.xml

2010-09-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luca, On 8/30/2010 2:42 AM, Luca Gervasi wrote: I'm working to secure this, but...it's not too easy (and i'm surely not a skilled programmer...). But I hope this topic will be kept up! There is virtually nothing you can do about this. The only

Re: A little trouble with SSL

2010-09-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrea, On 8/29/2010 10:39 PM, Andrea Freire wrote: There are the configuration files. Your attachments were stripped by the list. Please paste them inline and try again. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32)

Re: clear text keystore password in server.xml

2010-09-02 Thread David kerber
On 9/2/2010 11:28 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luca, On 8/30/2010 2:42 AM, Luca Gervasi wrote: I'm working to secure this, but...it's not too easy (and i'm surely not a skilled programmer...). But I hope this topic will be kept up! There is

RE: Slow network with additional Connector (Port) in tomcat

2010-09-02 Thread Caldarale, Charles R
From: Yoav Naveh [mailto:yoavna...@gmail.com] Subject: Re: Slow network with additional Connector (Port) in tomcat Some more information: Tomcat is using OpenJdk6, on Ubuntu 8.04 You still haven't told us the Tomcat version you're using. I have attached my server.xml file. There are no

RE: Tomcat dies after starting

2010-09-02 Thread Caldarale, Charles R
From: jan gestre [mailto:ipcopper...@gmail.com] Subject: Re: Tomcat dies after starting I'm the only user of this dedicated machine, it's not yet in production that's why I'm quite sure :). Even the init scripts logs tells that Tomcat is started only to find out that it's not actually

Re: clear text keystore password in server.xml

2010-09-02 Thread Pid
On 02/09/2010 16:37, David kerber wrote: On 9/2/2010 11:28 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luca, On 8/30/2010 2:42 AM, Luca Gervasi wrote: I'm working to secure this, but...it's not too easy (and i'm surely not a skilled programmer...). But I

Re: URL rewrite

2010-09-02 Thread Mohit Anchlia
On Wed, Sep 1, 2010 at 6:21 PM, Hassan Schroeder hassan.schroe...@gmail.com wrote: Is there a way to change the URL for eg: http://abc.com/a to http://abc.com/b/a http://lmgtfy.com/?q=tomcat+url+rewrite Is URL rewrite module inbuilt or is there something that need to get loaded -- Hassan

Re: unusual mod_jk 1.2.30 log messages

2010-09-02 Thread Rainer Jung
On 02.09.2010 13:39, Brett Delle Grazie wrote: Hi, We're having some strange errors being reported in the 1.2.30 version of mod_jk. We think they might be related to the performance issues we're experiencing under load. OS: RHEL 5.5 (fully patched) Apache HTTPD: 2.2.3 (from OS vendor) mod_jk:

Re: URL rewrite

2010-09-02 Thread Mohit Anchlia
On Wed, Sep 1, 2010 at 7:04 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 9/1/2010 9:10 PM, Mohit Anchlia wrote: Tomcat 6: Is there a way to change the URL for eg: http://abc.com/a to http://abc.com/b/a Sure:

Re: [OT] clear text keystore password in server.xml

2010-09-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 9/2/2010 11:51 AM, Pid wrote: On 9/2/2010 11:28 AM, Christopher Schultz wrote: 1. Use a password entered on the console during start-up (the Apache httpd strategy) java.io.Console makes this easy in Java 6, but... Right: before

Re: URL rewrite

2010-09-02 Thread michel
- Original Message - From: Mohit Anchlia mohitanch...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, September 02, 2010 12:25 PM Subject: Re: URL rewrite On Wed, Sep 1, 2010 at 6:21 PM, Hassan Schroeder hassan.schroe...@gmail.com wrote: Is there a way to

RE: clear text keystore password in server.xml

2010-09-02 Thread George Sexton
-Original Message- From: David kerber [mailto:dcker...@verizon.net] Sent: Thursday, September 02, 2010 9:37 AM To: Tomcat Users List Subject: Re: clear text keystore password in server.xml On 9/2/2010 11:28 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash:

Re: URL rewrite

2010-09-02 Thread Mohit Anchlia
On Thu, Sep 2, 2010 at 9:35 AM, michel compu...@videotron.ca wrote: - Original Message - From: Mohit Anchlia mohitanch...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, September 02, 2010 12:25 PM Subject: Re: URL rewrite On Wed, Sep 1, 2010 at 6:21 PM,

RE: URL rewrite

2010-09-02 Thread Maximilian Stocker
Mohit, Have you really not heard of servlet mapping before? Are you sure you are using Tomcat and not just Apache webserver? Max Stocker|Director of Technology|TalentOyster|O) 416.342.1145 x 297 www.TalentOyster.com TalentOyster.com: talent for the New Mainstream

Re: [OT] clear text keystore password in server.xml

2010-09-02 Thread Pid
On 02/09/2010 17:31, Christopher Schultz wrote: Pid, On 9/2/2010 11:51 AM, Pid wrote: On 9/2/2010 11:28 AM, Christopher Schultz wrote: 1. Use a password entered on the console during start-up (the Apache httpd strategy) java.io.Console makes this easy in Java 6, but... Right:

RE: URL rewrite

2010-09-02 Thread Maximilian Stocker
This sounds bad... :( There are options like: - you could set up apache in front of tomcat and url rewrite there - you could use filters - you could have an app that actually uses any servlets.. But maybe you want to consider a forum or discussion list about servlet/jsp development?

Re: Question on SSI

2010-09-02 Thread Marc Chamberlin
On 9/1/2010 7:01 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marc, On 9/1/2010 6:52 PM, Marc Chamberlin wrote: On 9/1/2010 1:49 PM, Christopher Schultz wrote: You will have to use filter mapping in order to post-process your .jsp and other dynamic pages: a

Re: unusual mod_jk 1.2.30 log messages

2010-09-02 Thread Brett Delle Grazie
On Thu, 2010-09-02 at 12:39 +0100, Brett Delle Grazie wrote: Hi, We're having some strange errors being reported in the 1.2.30 version of mod_jk. We think they might be related to the performance issues we're experiencing under load. OS: RHEL 5.5 (fully patched) Apache HTTPD: 2.2.3

Re: URL rewrite

2010-09-02 Thread Felix Schumacher
Am Donnerstag, den 02.09.2010, 09:49 -0700 schrieb Mohit Anchlia: On Thu, Sep 2, 2010 at 9:35 AM, michel compu...@videotron.ca wrote: - Original Message - From: Mohit Anchlia mohitanch...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, September 02, 2010

Re: pick load

2010-09-02 Thread Alexandre Chapellon
Le jeudi 02 septembre 2010 à 11:22 -0400, Christopher Schultz a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexandre, On 9/2/2010 12:08 AM, Alexandre Chapellon wrote: Forget about it this doesn't seems to be related to the jk connector. Right: the jk connector can be

Re: [OT] FileUploadBase$IOFileUploadException

2010-09-02 Thread Paul Szynol
Hey, Chris, Thanks for your note. java.io.tmpdir has the same value as the temp dir set up in catalina.sh, which is a subdirectory of Tomcat, and which Tomcat is permitted to access (r and w). Your point about writing to disk twice is well taken. As far as I can tell, fileupload doesn't

RE: java.net.BindException: Address already in use

2010-09-02 Thread Paul Bourget
I am not clear on the question as I inserted the log file in the early emails. Paul Paul Bourget Isabella Products -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, August 31, 2010 3:21 PM To: Tomcat Users List Subject: Re:

Re: Question on SSI

2010-09-02 Thread Wesley Acheson
On Thu, Sep 2, 2010 at 6:45 AM, Marc Chamberlin m...@marcchamberlin.com wrote: Perhaps this does say it, Wesley, but I am going to argue that, like a lot of documentation, too much is assumed about the readers level of background understanding. Maybe if you could come up with some concrete

Re: Question on SSI

2010-09-02 Thread Wesley Acheson
On Thu, Sep 2, 2010 at 9:22 PM, Wesley Acheson wesley.ache...@gmail.comwrote: Far too much. Anyway I'm also interested in the ; mime types if anyone has any better reference. Also what does tomcat do if serving a static file with an unlisted extension?

Host Manager.

2010-09-02 Thread Wesley Acheson
Few Questions Is there is no documentation for the host-manager? If I remember correctly from this list it doesn't persist its settings is that correct? How many people would be interested in it persisting its settings, by editing the appropriate files. Final question. Is that in theory

Re: FileUploadBase$IOFileUploadException

2010-09-02 Thread André Warnier
Paul Szynol wrote: Chris, I agree. Exceeds threshold size or something along those lines would be a lot more helpful. Paul I believe that you missed Konstantin's message, and that consequently you may have a false sense of security and a false sense of having found the correct solution and

RE: Host Manager.

2010-09-02 Thread Caldarale, Charles R
From: Wesley Acheson [mailto:wesley.ache...@gmail.com] Subject: Host Manager. Is there is no documentation for the host-manager? Very little that I've found. You can learn a bit about it by looking at its WEB-INF/web.xml file. If I remember correctly from this list it doesn't persist

Re: FileUploadBase$IOFileUploadException

2010-09-02 Thread Paul Szynol
Hey, André, Thanks for your note. After his second email, I understood better Konstantin's point (there are subsequent exchanges, after the one you're quoting), and I agree with you and him that the exception seems related to a file system permission issue. - when it starts doing this

Re: Host Manager.

2010-09-02 Thread Jordan Michaels
I'd be interested as well. I've actually been meaning to get to this myself and submit a patch to make the changes persist, but my schedule has been too hectic for any extra-curricular work recently. If you don't (and I'm hoping you will)... I will get to it eventually. ;) -Jordan On

Re: Host Manager.

2010-09-02 Thread Wesley Acheson
On Thu, Sep 2, 2010 at 10:42 PM, Jordan Michaels jor...@viviotech.netwrote: I'd be interested as well. I've actually been meaning to get to this myself and submit a patch to make the changes persist, but my schedule has been too hectic for any extra-curricular work recently. If you don't (and

Phantom Sessions

2010-09-02 Thread Paul Szynol
I've recently noticed phantom session objects on one of my Tomcat webapps. These sessions have no IP addresses and their sole URI request is always for /. I am not sure if this is a sign of a problem, or how to trace it--has anyone else encountered something similar? Best wishes, Paul

RE: Phantom Sessions

2010-09-02 Thread Caldarale, Charles R
From: Paul Szynol [mailto:paul.szy...@gmail.com] On Behalf Of Paul Szynol Subject: Phantom Sessions I've recently noticed phantom session objects on one of my Tomcat webapps. Tomcat version? What are you using to observe these sessions? - Chuck THIS COMMUNICATION MAY CONTAIN

Re: Phantom Sessions

2010-09-02 Thread Paul Szynol
I don't have the minor version information, but it's Tomcat 6. Each session object is added to a ConcurrentHashMap when SessionListener's sessionCreated() is invoked. Best, Paul On 9/2/10 5:01 PM, Caldarale, Charles R wrote: From: Paul Szynol [mailto:paul.szy...@gmail.com] On Behalf Of

Re: Host Manager.

2010-09-02 Thread Wesley Acheson
On Thu, Sep 2, 2010 at 10:06 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Wesley Acheson [mailto:wesley.ache...@gmail.com] How many people would be interested in it persisting its settings, by editing the appropriate files. I would be interested. Note that

Re: pick load

2010-09-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexandre, On 9/2/2010 1:49 PM, Alexandre Chapellon wrote: Yes to me too, but what's weired is that thoose errors enver appears under normal load... this really drives me crazy! I would bet that there's an exception being caught and re-thrown

RE: Host Manager.

2010-09-02 Thread Jeffrey Janner
I'd be happy if it just wrote out a new file based on the settings at the time I said save -- damn the comments. At least then, it's a pretty straight-forward bit of save code. But, if you're one of those who has to save the commentary that's already there, then have fun. Jeff -Original

RE: Host Manager.

2010-09-02 Thread Caldarale, Charles R
From: Wesley Acheson [mailto:wesley.ache...@gmail.com] Subject: Re: Host Manager. Honestly I thought there was more than one going from this http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html The files should be created automatically - but only when needed. I've just

Re: Question on SSI

2010-09-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wesley, On 9/2/2010 3:30 PM, Wesley Acheson wrote: On Thu, Sep 2, 2010 at 9:22 PM, Wesley Acheson wesley.ache...@gmail.comwrote: Far too much. :) You're very kind to explain everything in detail. Anyway I'm also interested in the ; mime types

Re: java.net.BindException: Address already in use

2010-09-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 9/2/2010 2:41 PM, Paul Bourget wrote: I am not clear on the question as I inserted the log file in the early emails. I meant: what does your system /perform/ on boot... not what are the effects. For example: what startup script launches

Re: Phantom Sessions

2010-09-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 9/2/2010 5:10 PM, Paul Szynol wrote: I don't have the minor version information, but it's Tomcat 6. Each session object is added to a ConcurrentHashMap when SessionListener's sessionCreated() is invoked. You likely have a default page

Re: Host Manager.

2010-09-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, On 9/2/2010 5:40 PM, Jeffrey Janner wrote: I'd be happy if it just wrote out a new file based on the settings at the time I said save -- damn the comments. At least then, it's a pretty straight-forward bit of save code. But, if you're

Re: Phantom Sessions

2010-09-02 Thread Paul Szynol
Hi, Chris, Thanks for your response. I do get those requests, but it seems they always generate standard user agent information, which I then store in the associated session object. These session objects don't have any user agent information--that's why I am wondering if they're generated

Re: Phantom Sessions

2010-09-02 Thread Pid
On 02/09/2010 23:20, Paul Szynol wrote: Hi, Chris, Thanks for your response. I do get those requests, but it seems they always generate standard user agent information, which I then store in the associated session object. These session objects don't have any user agent

Re: Phantom Sessions

2010-09-02 Thread Paul Szynol
Hey, Pid, A few a day. Seems fairly random, which would support the bot theory. But the sessions don't show up in batches, which is the behavior I typically see from bots. Paul On 9/2/10 7:27 PM, Pid wrote: On 02/09/2010 23:20, Paul Szynol wrote: Hi, Chris, Thanks for your response.

Re: Host Manager.

2010-09-02 Thread Pid
On 02/09/2010 21:06, Caldarale, Charles R wrote: From: Wesley Acheson [mailto:wesley.ache...@gmail.com] Subject: Host Manager. Is there is no documentation for the host-manager? Very little that I've found. You can learn a bit about it by looking at its WEB-INF/web.xml file. If I

Re: Host Manager.

2010-09-02 Thread Wesley Acheson
Looked at that before not really convinced reworking that is easier than adding in an xml line or two via an xml writer. Willing to be convinced though. Wes On 9/3/10, Pid p...@pidster.com wrote: On 02/09/2010 21:06, Caldarale, Charles R wrote: From: Wesley Acheson

[email] Dynamic attachments in mailer taglib 2 using JavaBean

2010-09-02 Thread Ferindo Middleton
I've written a javabean that connects to a database, downloads a file, and one of the getter methods returns the complete file path to the file. The problem I have is: when the JSP runs and gets to the part where it gets the file path to pass to the taglib, I get an error message that is typical

Re: Tomcat dies after starting

2010-09-02 Thread jan gestre
On Thu, Sep 2, 2010 at 10:52 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan, On 9/2/2010 2:42 AM, jan gestre wrote: I'm the only user of this dedicated machine, it's not yet in production that's why I'm quite sure :). Even the