Re: Opening up multiple ports on Single Tomcat Instance

2009-10-19 Thread M.N.V Kishore
Thanks for your response. That was helpful Regards, Kishore On Sat, Oct 17, 2009 at 12:51 PM, Peter Crowther peter.crowt...@melandra.com wrote: 2009/10/17 M.N.V Kishore mnv.kish...@gmail.com We have a requirement for the client to migrate the tomcat server running on port 8080 on

Re: Opening up multiple ports on Single Tomcat Instance

2009-10-19 Thread M.N.V Kishore
Thanks for the response.. Even I too feel the same as having single tomcat instance running on multiple ports by adding multiple Service tags in server.xml file. What I need to know is that is this methodology (running multiple ports on single instance by adding Service tags) suggested by apache

file download issue

2009-10-19 Thread Tarun Chowdhry
Hi, Getting the following exception when trying to call the FileUpload code: Action class: import java.io.*; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.Action; import org.apache.struts2.ServletActionContext; public class extends ActionSupport{

Re: file download issue

2009-10-19 Thread André Warnier
Tarun Chowdhry wrote: Hi, Getting the following exception when trying to call the FileUpload code: I'm not quite sure, but aren't you mixing up upload and download here, kind of ? upload = workstation -- server download = server -- workstation

RE: file download issue

2009-10-19 Thread Tarun Chowdhry
Sorry I meant for download. The code and the configuration is for the download only. Kind Regards, Tarun -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Monday, October 19, 2009 3:49 PM To: Tomcat Users List Subject: Re: file download issue Tarun Chowdhry wrote:

Re: file download issue

2009-10-19 Thread André Warnier
Tarun Chowdhry wrote: Sorry I meant for download. The code and the configuration is for the download only. Ok then the next thing is that this does not look like being a Tomcat issue per se, and more like a Struts issue. Should you not post this rather to the Struts users list ?

RE: file download issue

2009-10-19 Thread Tarun Chowdhry
Hi, I was not sure about the point of issue so I had posted on both Tomcat and Struts lists. Kind Regards, Tarun -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Monday, October 19, 2009 4:03 PM To: Tomcat Users List Subject: Re: file download issue Tarun

Tomcat 6.0.20 support for serving via http java pack 200 jars. How?

2009-10-19 Thread Tony Anecito
Hi All, I am serving up pack 200 conpressed files in Tomcat and getting an error about support. The error is: java.io.IOException: Invalid jar file at com.sun.deploy.net.HttpDownloadHelper.download(Unknown Source) at com.sun.deploy.cache.Cache.downloadResourceToTempFile(Unknown

clent authentication using a smard card

2009-10-19 Thread Marcello Marangio
Hi all This is my very first message in the list. I am trying to use the ssl and client authentication feature in tomcat 6, using a pkcs11 compliant smart card reader and a real authentication smart card (Italian CNS). In the browser (firefox) I obtain a ssl_error_certificate_unknown_alert or

RE: clent authentication using a smard card

2009-10-19 Thread Jason Pyeron
-Original Message- From: Marcello Marangio [mailto:m.maran...@innova.puglia.it] Sent: Monday, October 19, 2009 8:30 To: users@tomcat.apache.org Subject: clent authentication using a smard card Hi all This is my very first message in the list. I am trying to use the ssl and

Re: Upload stop after 30 minutes: Processing of multipart/form-data request failed. Stream ended unexpectedly

2009-10-19 Thread christianjunk
Is there any solution out now? I'm having the same problems with Tomcat 6.0.18 (Windows) behind an Apache2 webserver, using ProxyPass. When I connect to Tomcat directly I have no problems and the uploads work fine. Regards, Christian -- View this message in context:

Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-19 Thread Curtis Garman
Markus, why would it produce two spaces? On Sat, Oct 17, 2009 at 1:52 AM, Markus Stauffer markus.stauf...@gmail.com wrote:       private final String emptyText = new String(); Anyhow, it probably makes sense to change the emptyText string from to (that is, use a space instead of

Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-19 Thread Curtis Garman
what about doing c:out value=${firstName} / c:out value=${lastName} / would this retain the spaces or would it be identical to ${firstName} ${lastName} On Fri, Oct 16, 2009 at 11:01 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

RE: Adding a new webapps directory

2009-10-19 Thread Jeffrey Janner
Charles - On a related note, is the appBase required? I deploy strictly using the conf/[Engine]/[Host]/[appName].xml method and have no actual use for the appBase directory. However, all my hosts end up pointing to an empty directory. I'd prefer not to have it just sitting around since it's not

Re: DBCP woes (running out of cursors).

2009-10-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, On 10/16/2009 5:36 PM, Bill Davidson wrote: Bill Davidson wrote: Could maxOpenPreparedStatements possibly fix this? Apparently it does. Glad to get the bottom of this problem, though I'm not entirely sure where it leaves you. The DBCP

Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Markus, On 10/17/2009 2:52 AM, Markus Stauffer wrote: private final String emptyText = new String(); Anyhow, it probably makes sense to change the emptyText string from to (that is, use a space instead of nothing). This bugzilla

Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-19 Thread Markus Stauffer
with trimWhiteSpaces set to true: ${firstName} ${name} produces firstNamename without spaces in the html ${firstName}${' '}${name} produces firstName name with spaces in the html If the second behaviour changes I have to reedit all my jsp files. On Mon, Oct 19, 2009 at 4:49 PM, Christopher

Re: Opening up multiple ports on Single Tomcat Instance

2009-10-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kishore, On 10/19/2009 5:49 AM, M.N.V Kishore wrote: Even I too feel the same as having single tomcat instance running on multiple ports by adding multiple Service tags in server.xml file. Please note that multiple Service elements are not

R: clent authentication using a smard card

2009-10-19 Thread Marcello Marangio
Hi Jason, tank for your answer. Hi all This is my very first message in the list. I am trying to use the ssl and client authentication feature in tomcat 6, using a pkcs11 compliant smart card reader and a real authentication smart card (Italian CNS). In the browser (firefox) I

Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Markus, On 10/19/2009 10:59 AM, Markus Stauffer wrote: with trimWhiteSpaces set to true: ${firstName} ${name} produces firstNamename without spaces in the html ${firstName}${' '}${name} produces firstName name with spaces in the html If the

Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-19 Thread Markus Stauffer
ok thanks :) On Mon, Oct 19, 2009 at 5:05 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Markus, On 10/19/2009 10:59 AM, Markus Stauffer wrote: with trimWhiteSpaces set to true: ${firstName} ${name} produces firstNamename without

What is the difference between running Tomcat 6 as a Windows Service vs. running from the command line?

2009-10-19 Thread Alan Kennedy
Hi all, I need to find out what is the difference between running Tomcat 6 as a Windows Service and running it from the command line. The reason is that I'm getting a bizarre bug when a jython based servlet is run under Tomcat6-as-Service. But the bug does NOT appear when Tomcat 6 is run from

MISC; Tomcat-5.5.12 Cluster giving Severe Error in ReplicationListener

2009-10-19 Thread Imad Hachem
Dear all, I am using Tomcat-5.5.12 installed on Separate machines and configured as Clustered Session Replication. After stopping one of the Nodes, my Session Replication is not working very fine between nodes and I am getting the below error: INFO: Pausing Coyote HTTP/1.1 on

RE: Adding a new webapps directory

2009-10-19 Thread Caldarale, Charles R
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: Adding a new webapps directory On a related note, is the appBase required? I think I tried it at 4.x and Tomcat wouldn't come up without it. I'm at 5.5.x now, going to 6.x in the near future. Is it still required? In

RE: Adding a new webapps directory

2009-10-19 Thread Jeffrey Janner
Thanks, I'll just leave things as is: empty directory with unpackWars set to false. Jeff -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Monday, October 19, 2009 10:55 AM To: Tomcat Users List Subject: RE: Adding a new webapps directory From:

Re: SSL/HTTPS forwarding under Apache + mod_jk + tomcat

2009-10-19 Thread Tezza
Hi, I installed SSL on Apache and now HTTPS works fine over mod_jk. But now I got SSL installed on all servers, apache and each Tomcat (JBoss) as well, see excerpt from my server.xml files from Tomcat. If I remove reference to SSL certificate from server.xml, HTTPS via apache (mod_jk) doesn't.

Re: What is the difference between running Tomcat 6 as a Windows Service vs. running from the command line?

2009-10-19 Thread Markus Schönhaber
Alan Kennedy: I need to find out what is the difference between running Tomcat 6 as a Windows Service and running it from the command line. The reason is that I'm getting a bizarre bug when a jython based servlet is run under Tomcat6-as-Service. But the bug does NOT appear when Tomcat 6 is

RE: How to install Tomcat 5.5.28 32-bit version on Windows 64-bit version?

2009-10-19 Thread Jeffrey Janner
The only reason I can think of for wanting to run 32-bit on 64-bit O/S is too test against a production setup that is still 32-bit (for memory limits, etc.) Personally, I'm glad the 5.5.28 implemented this change, as those were some significant hoops to jump through to get the 64-bit binaries for

Re: Tomcat 6.0.20 support for serving via http java pack 200 jars. How?

2009-10-19 Thread Tony Anecito
Looks like serving up a simple .gzip is more complex than I originally thought. Maybe I am wrong but it looks as if to serve up those files for a java web start app requires a JnlpDownloadServlet class and a bit of configuration. Is there any other simpler way with Tomcat? Thanks, -Tony --- On

Re: What is the difference between running Tomcat 6 as a Windows Service vs. running from the command line?

2009-10-19 Thread Alan Kennedy
[Alan] I need to find out what is the difference between running Tomcat 6 as a Windows Service and running it from the command line. The reason is that I'm getting a bizarre bug when a jython based servlet is run under Tomcat6-as-Service. But the bug does NOT appear when Tomcat 6 is run from

RE: How to install Tomcat 5.5.28 32-bit version on Windows 64-bit version?

2009-10-19 Thread George Sexton
-Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Monday, October 19, 2009 10:28 AM To: Tomcat Users List Subject: RE: How to install Tomcat 5.5.28 32-bit version on Windows 64- bit version? The only reason I can think of for wanting to run 32-bit

Re: What is the difference between running Tomcat 6 as a Windows Service vs. running from the command line?

2009-10-19 Thread Markus Schönhaber
Alan Kennedy: Unfortunately, it did not solve the problem: the behaviour is exactly the same when running under my own account: the bug still occurs. Well, that seems to rule out any permission problems - and leaves me pretty much out of ideas. One thing, though: do you run Tomcat in both

Re: What is the difference between running Tomcat 6 as a Windows Service vs. running from the command line?

2009-10-19 Thread Peter Crowther
2009/10/19 Markus Schönhaber tomcat-us...@list-post.mks-mail.de Alan Kennedy: Unfortunately, it did not solve the problem: the behaviour is exactly the same when running under my own account: the bug still occurs. Well, that seems to rule out any permission problems - and leaves me

Re: What is the difference between running Tomcat 6 as a Windows Service vs. running from the command line?

2009-10-19 Thread Len Popp
On Mon, Oct 19, 2009 at 12:40, Alan Kennedy alan.kennedy.n...@gmail.com wrote: Thanks for the suggestion Markus, it was a good one. Unfortunately, it did not solve the problem: the behaviour is exactly the same when running under my own account: the bug still occurs. Regards, Alan.

RE: How to install Tomcat 5.5.28 32-bit version on Windows 64-bit version?

2009-10-19 Thread Jeffrey Janner
George - Never occurred to me to use Tomcat with Access (or any ODBC for that matter), but good catch. I'm sure there are others. Sometime I has tunnel vision. Jeff -Original Message- From: George Sexton [mailto:geor...@mhsoftware.com] Sent: Monday, October 19, 2009 12:05 PM To: 'Tomcat

RE: clent authentication using a smard card

2009-10-19 Thread Jason Pyeron
-Original Message- From: Marcello Marangio snip/ It seems that firefox behaves: if the smartcard is in firefox asks the PIN of the smartcard. I am pretty sure it can read my smartcard, because I can use mod_ssl with Apache 2.2 Apache 2.x can be forgiving about the chain, and

Re: DBCP woes (running out of cursors).

2009-10-19 Thread Bill Davidson
Christopher Schultz wrote: I'm curious about the usefulness of caching prepared statements in general, though. What is the default maxOpenPreparedStatements setting and what did you set it to in order to get it to work out well for you? The default is unlimited, which is the problem. I've

Re: SSL/HTTPS forwarding under Apache + mod_jk + tomcat

2009-10-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tezza, On 10/19/2009 12:16 PM, Tezza wrote: Is this correct, what I have? that SSL need to be on Apache AND each Tomcat??? If you are always using HTTPS through Apache httpd, then you don't need to configure it at all in Tomcat. Tomcat's

Re: Tomcat 6.0.20 support for serving via http java pack 200 jars. How?

2009-10-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tony, On 10/19/2009 7:18 AM, Tony Anecito wrote: I am serving up pack 200 conpressed files in Tomcat and getting an error about support. The error is: java.io.IOException: Invalid jar file at

Re: DBCP woes (running out of cursors).

2009-10-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, On 10/19/2009 3:14 PM, Bill Davidson wrote: Christopher Schultz wrote: I'm curious about the usefulness of caching prepared statements in general, though. What is the default maxOpenPreparedStatements setting and what did you set it to in

Re: Tomcat 6.0.20 support for serving via http java pack 200 jars. How?

2009-10-19 Thread Tony Anecito
Hi Christopher, Inside the gz file is a java jar file that was compressed using pack 200 compression using an ant task. I was able to get jnlpdownloadservlet installed (comes with jdk) and working on Tomcat 6.0.20. Also, just in case I added an line to my jnlp file to support download of the

Tomcat 5.5 logging-config elegant? Not so much, I think.

2009-10-19 Thread larrydlefever
I just killed most of the afternoon trying (and failing) to get Tomcat 5.5 logging configured for just pretty basic sensible (to me, at least) output. I'm running Ubuntu. I installed Tomcat 5.5 via aptitude (the Ubuntu package-fetcher/installer). Symptoms: - a lingering System.out.println()

Re: Tomcat 5.5 logging-config elegant? Not so much, I think.

2009-10-19 Thread André Warnier
larrydlefever wrote: ... a lot of things which I generally support. It's been a while since I've ranted here about Tomcat logging methodology, but I feel this may be the right moment to recant (on my non-ranting I mean) and support your posting. (And sorry to hijack a bit, I'll start a new

Re: Tomcat + APR: 'Invalid Server SSL Protocol' (was 'Tomcat + APR .. Socket bind failed')

2009-10-19 Thread Ken Johanson
Ken Johanson wrote: Ken Johanson wrote: snip After doing a kill, then startup I now get: java.lang.Exception: Invalid Server SSL Protocol at org.apache.tomcat.jni.SSLContext.make(Native Method) at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:693) at