Re: SimpleTCPCluster

2012-11-20 Thread Stephen Nelson-Smith
Hi, On Tue, Nov 20, 2012 at 2:03 PM, Stephen Nelson-Smith wrote: > Hi Daniel. > > On Tue, Nov 20, 2012 at 1:55 PM, Daniel Mikusa wrote: >> On Nov 20, 2012, at 5:53 AM, Stephen Nelson-Smith wrote: >> I've encountered this with Tomcat clustering on CentOS in the p

Re: SimpleTCPCluster

2012-11-20 Thread Stephen Nelson-Smith
Hi Daniel. On Tue, Nov 20, 2012 at 1:55 PM, Daniel Mikusa wrote: > On Nov 20, 2012, at 5:53 AM, Stephen Nelson-Smith wrote: > I've encountered this with Tomcat clustering on CentOS in the past. Tomcat's > default configuration for the cluster receiver will automatically loo

SimpleTCPCluster

2012-11-20 Thread Stephen Nelson-Smith
Hi, I'm trying to test simple session sharing using SimpleTCPCluster on Tomcat 7.0.32. Following the documentation, I've uncommented the element, and ensured is in the web.xml of the examples web app. >From the docs: - All your session attributes must implement java.io.Serializable I know th

Re: Data Truncated when proxied from Apache

2008-10-21 Thread Stephen Nelson-Smith
Hi Filip, On Wed, Oct 15, 2008 at 10:44 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: > use mod_proxy_http or mod_jk, I am now but I don't understand why it behaved as it did - any idea? >> I have an application which parses XML. It sits behind an Apache >> Httpd 2.2 server using

Re: Tomcat getting insufficient POST data

2008-10-02 Thread Stephen Nelson-Smith
Hello, > Yes - I'll package 6.0.18 this afternoon and test it this evening. Initial tests look positive - will do more extensive tests this morning. Thanks very much for the suggestion. S. - To start a new topic, e-mail: users

Re: Tomcat getting insufficient POST data

2008-10-01 Thread Stephen Nelson-Smith
Hi Rainer, > This reminds me of some problem we found when fixing BZ 44494. Could you > please try with 6.0.18? Your symptoms don't really fit 44494 exactly, but > there's a chance 6.0.18 fixed it. Yes - I'll package 6.0.18 this afternoon and test it this evening. S. ---

Re: Tomcat getting insufficient POST data

2008-09-30 Thread Stephen Nelson-Smith
On Tue, Sep 30, 2008 at 8:12 PM, Stephen Nelson-Smith <[EMAIL PROTECTED]> wrote: > Testing: > > * Submitting straight to one of the new tomcat 6.0.16 machines, over > http, works without fail - the XML is parsed. Ok so now it transpires that actually direct http to Tomcat

Tomcat getting insufficient POST data

2008-09-30 Thread Stephen Nelson-Smith
I have an application that parses xml. I send it xml using another little app, which makes an http post. The averge size of a post is about 3000 characters. Here is the significant information: * I have a system which is being replaced, which consists of RHEL3, httpd 2.0, mod_jk and Tomcat 6.0.

Data Truncated when proxied from Apache

2008-09-30 Thread Stephen Nelson-Smith
Hi, I have an application which parses XML. It sits behind an Apache Httpd 2.2 server using mod_proxy_ajp. I am finding that if I POST more than about 1600 chars, the POST gets truncated, and I get an XML parse error. Httpd logs show: [Tue Sep 30 19:40:27 2008] [debug] mod_proxy_ajp.c(206): pr

Re: mod_ajp and Load-Balancing Issue

2008-09-22 Thread Stephen Nelson-Smith
On Mon, Sep 22, 2008 at 1:45 AM, Shaun Senecal <[EMAIL PROTECTED]> wrote: > Are you using the ClusterSingleSignOn Valve? I'm not, no. I have httpd 2.2 on the front-end, with a balancer pool thus: ProxyRequests Off ProxyVia Off ProxyPreserveHost On ProxyErrorOverride On ProxyTimeout 60 B

Re: mod_ajp and Load-Balancing Issue

2008-09-20 Thread Stephen Nelson-Smith
Good morning, > By "error", I just meant that I'd get redirected to the login page > instead of the expected page. Sorry to confuse. There are no error > pages, logs or messages. Just that I got switched to a different node. >> If you want to debug a little more: In Tomcat you can add a >> %S t

Re: AJP Proxying

2008-08-13 Thread Stephen Nelson-Smith
On Tue, Aug 12, 2008 at 9:40 PM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: >> Stephen Nelson-Smith wrote: >> >> My server.xml was not originally written by me, and >> has been handed down and modified over the ages. It >> was originally from Tomcat 4.

Re: AJP Proxying

2008-08-13 Thread Stephen Nelson-Smith
Hi, > When you move Tomcat to another machine, no matches and you get a > 400 error. The problem was that I was hitting the loadbalancer with name lb1 or www.mysite.com. This was being proxied to machines called tomcat1, tomcat2 etc. Changing the alias to www.mysite.com seems to have fixed thi

Re: AJP Proxying

2008-08-12 Thread Stephen Nelson-Smith
content. 2) Move stock server.xml into place I get content. I have no idea what's going on there... any ideas / suggestions? S. On Tue, Aug 12, 2008 at 8:45 AM, Stephen Nelson-Smith <[EMAIL PROTECTED]> wrote: > I have a server running apache 2.2, configured to proxy to another &

AJP Proxying

2008-08-12 Thread Stephen Nelson-Smith
I have a server running apache 2.2, configured to proxy to another tomcat server, running 6.0.16. This works fine with the stock server.xml, and the webapps, but when I move my own server.xml into place, apache reports a 400, and I get no page. Some background: * The apache config works in produ

Re: Servlet.jar

2008-07-14 Thread Stephen Nelson-Smith
> It is lib/servlet-api.jar Thank you - perfect. S. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Servlet.jar

2008-07-14 Thread Stephen Nelson-Smith
Hi, I have an application which makes use of servlet.jar, as found in the tomcat 4 release. Under tomcat 6 this isn't anywhere to be found, so my app doesn't work unless I copy the tomcat 4 jar over. Is there a tomcat 6 equivalent? S. --

Re: Nginx Front End

2008-06-24 Thread Stephen Nelson-Smith
Hi, > If Nginx can do HTTP proxying, you can use that instead of ajp13 if you > wish. It certainly can - and very fast indeed. So would I then be reconfiguring Tomcat to use its own http server? At present apache serves http and passes the ajp stuff to tomcat. S. -

Nginx Front End

2008-06-23 Thread Stephen Nelson-Smith
Hello, I'm currently using Apache 2.2 and mod_proxy_ajp to load balance across 3 tomcat servers. I'm considering looking at nginx as Apache seems somewhat resource intensive. Has anyone on the list tried this? Does nginx support (or need to support) ajp13? S. -

Re: Unable to display UK Pound Sign

2008-05-12 Thread Stephen Nelson-Smith
On Mon, May 12, 2008 at 4:56 PM, Peter Crowther <[EMAIL PROTECTED]> wrote: > > From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED] > > > UPDATE currencies SET symbol = '£' WHERE ISO_CODE = 'GBP'; > > Ah! A good, soft solution! I hope there was

Re: Unable to display UK Pound Sign

2008-05-12 Thread Stephen Nelson-Smith
Hi... > Changing the encoding in the first. You want to change the second. I changed the second. > If they're writing XHTML rather than HTML, I'm not sure that entity exists - > they need to check. That may be why they're writing the value directly, > although £ would also do the job. UP

Re: Unable to display UK Pound Sign

2008-05-12 Thread Stephen Nelson-Smith
Hi... > What encoding are you using? The config files all used UTF-8. I've changed them to ISO8859-1 and restarted Tomcat, but I see the same behaviour. > You can go hunting for all the places in which the encoding could be > specified At the Tomcat level? > or you can tell the developers

Re: Unable to display UK Pound Sign

2008-05-12 Thread Stephen Nelson-Smith
Hello, On Mon, May 12, 2008 at 3:30 PM, Yuval Perlov <[EMAIL PROTECTED]> wrote: > Probably the encoding has changed Which encoding? I don't believe the source code has changed. How would I test and/or change this? Where? S.

Unable to display UK Pound Sign

2008-05-12 Thread Stephen Nelson-Smith
I've just upgraded from 4.1.37 to 6.0.16. My app works, but where my code usually displays a British Pound sign, I get an odd char - a ? in a diamond on Linux, an empty box on Windows. Here's the html that the app produces, shown in hexl-mode in emacs: 5860: 223e 4361 7368 2050 7269 6365 20a

Re: Making the most of 8G of RAM

2008-03-17 Thread Stephen Nelson-Smith
On Mon, Mar 17, 2008 at 11:21 PM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED] > > How about running eg 3 x xen vms? The machine seems rarely pushed for > > CPU, and with 3 vms I could load balance across th

Re: Making the most of 8G of RAM

2008-03-17 Thread Stephen Nelson-Smith
On Mon, Mar 17, 2008 at 10:53 PM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > but so far I've not seen memory usage go over 1G. > > There is (or at least was) a bug in the Sun 1.4.2 JVM that didn't do the > arithmetic right when heap sizes were over 2GB due to treating some > unsigned

Making the most of 8G of RAM

2008-03-17 Thread Stephen Nelson-Smith
Hi, I have a new machine with 8G of RAM, running a 32 bit 2.6 kernel (CentOS 5). It is running an application inside 4.1.37 with Java 1.4.2. Given that we only have a 32 bit address space, is it fair to say that I can't use more than 2G of RAM for my Java virtual machine? I tried to prove this

Global Naming Resources

2008-03-17 Thread Stephen Nelson-Smith
Hello, What is this for: factory org.apache.catalina.users.MemoryUserDatabaseFactory pathname conf/tomcat-users.xml It seems to provide the user database used by the web-based admin tools. I don't use there, and

Re: Many Java Processes

2008-03-17 Thread Stephen Nelson-Smith
On Thu, Mar 13, 2008 at 1:02 PM, Christopher Schultz <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Stephen, > > > Stephen Nelson-Smith wrote: > | I've noticed on one machine (4.1.31 / RHEL 3) as soon as I start Java > |

Re: 64 bit questions

2008-03-13 Thread Stephen Nelson-Smith
On Thu, Mar 13, 2008 at 10:13 AM, Peter Crowther <[EMAIL PROTECTED]> wrote: > > From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED] > > > Operating system? > > > > RHEL 5. > > http://java.sun.com/javase/6/webnotes/install/system-configurations.html

Many Java Processes

2008-03-13 Thread Stephen Nelson-Smith
Hi, I've noticed on one machine (4.1.31 / RHEL 3) as soon as I start Java I see many Java processes: $ pgrep -l java 1783 java 1844 java 1848 java 1849 java 1880 java 1881 java 1882 java 1883 java 1885 java 1886 java 1887 java 1888 java 1889 java 1890 java 1891 java 1892 java 1893 java 1894 java

Re: 64 bit questions

2008-03-13 Thread Stephen Nelson-Smith
On Thu, Mar 13, 2008 at 9:29 AM, Peter Crowther <[EMAIL PROTECTED]> wrote: > > From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED] > > > I have a machine with 2 x Intel(R) Xeon(R) CPU E5430 @ > > 2.66GHz and 8G of RAM. > > > > If I want to make best use o

64 bit questions

2008-03-13 Thread Stephen Nelson-Smith
Hi, I have a machine with 2 x Intel(R) Xeon(R) CPU E5430 @ 2.66GHz and 8G of RAM. If I want to make best use of this RAM, should I run this in 64 bit (48 bit hack) mode? If so are there any gotchas with JDKs, 64 bit Tomcat etc? Also we use some specific libraries - ojdbc14, bfopdf, ojdbc14 for

Re: ProxyPaths and mod_proxy_ajp

2008-03-09 Thread Stephen Nelson-Smith
On Wed, Mar 5, 2008 at 4:00 PM, Jim Jagielski <[EMAIL PROTECTED]> wrote: > Seems to me you are using Apache as a front-end to > TC. In which case you are telling Apache that whatever is > under /examples should be handled by TC, everything else > is local... Right so far? Yes in this case. In

Re: Support and development of versions

2008-02-28 Thread Stephen Nelson-Smith
On Thu, Feb 28, 2008 at 6:15 PM, Mark Thomas <[EMAIL PROTECTED]> wrote: > > Stephen Nelson-Smith wrote: > > On Thu, Feb 28, 2008 at 2:37 PM, David kerber <[EMAIL PROTECTED]> wrote: > >> 4.1.37 is probably your best short-term solution, and work toward 6

Re: Support and development of versions

2008-02-28 Thread Stephen Nelson-Smith
On Thu, Feb 28, 2008 at 2:37 PM, David kerber <[EMAIL PROTECTED]> wrote: > 4.1.37 is probably your best short-term solution, and work toward 6.x in > the mid-to-long term. That was my gut feeling. Could you explain why that is? Is 5.5 a wasteland? I'll need to understand the rationale behind

Support and development of versions

2008-02-28 Thread Stephen Nelson-Smith
Hi, So, I'm running an app which the development house say *has* to run on 4.1.31. I'm not especially happy about this, and will try running it under 4.1.37, but the developers say they *might* be able to get it to run under 5.5. I seem to recall a conversation in which I was told that 5.5 isn't

Re: Strange Redirection

2008-02-28 Thread Stephen Nelson-Smith
On Thu, Feb 28, 2008 at 12:38 PM, Pid <[EMAIL PROTECTED]> wrote: > Stephen Nelson-Smith wrote: > > I have deployed an application under Tomcat, fronted by Apache. I am > > experiencing what looks like strange redirects when I try to use the > > application. > &g

Strange Redirection

2008-02-28 Thread Stephen Nelson-Smith
I have deployed an application under Tomcat, fronted by Apache. I am experiencing what looks like strange redirects when I try to use the application. The front page is a login screen, but if I try to login, Tomcat attempts to locate a resource called /Login.jsp, which doesn't exist. The page sh

ProxyPaths and mod_proxy_ajp

2008-02-27 Thread Stephen Nelson-Smith
Hi, I have an application which, due to restrictions by third party developers must run on Tomcat 4.1.31 with Java version 1.4.2_11. I am deploying this on a new RHEL 5 machine, with httpd-2.2.3-11.el5_1.3. From my reading, it appears that mod_proxy_ajp is the way to go, and I aim to loadbalance