Re: OpenSSL + APR + Tomcat 5.5.2 Help

2007-11-28 Thread Daniel M Garland
? SSLEngine="on" SSLCertificateFile="/home/tomcat5/ssl/myverisign.crt" SSLCertificateKeyFile="/home/tomcat5/ssl/ca/ca.key" Did I send the wrong thing to verisign? Dan Daniel M Garland wrote: Hi folks, Again I call on your expert assistance: I have a tomcat 5.5.2 s

OpenSSL + APR + Tomcat 5.5.2 Help

2007-11-28 Thread Daniel M Garland
Hi folks, Again I call on your expert assistance: I have a tomcat 5.5.2 server running on a Debian Etch linux box. Its configured to use APR 1.1.3 and I want to get SSL going. I've successfully managed this using JSSE but not OpenSSL. I installed openssl using apt, as well as the APR librarie

Re: Too Many Open Files error

2007-10-19 Thread Daniel M Garland
Thanks Jim, It was previously set to 1024, and I quadrupled it. When you say ulimit is persistent will it persist across a reboot? I don't seem to have the command lsof, I'll try and apt-get it. Cheers Dan Jim Cox wrote: On 10/19/07, Daniel M Garland <[EMAIL PROTECTED]>

Re: Too Many Open Files error

2007-10-19 Thread Daniel M Garland
Should I then place ulimit -n in the catalina startup scripts? Jim Cox wrote: On 10/18/07, Daniel M Garland <[EMAIL PROTECTED]> wrote: Hi all I'm seeing a problem on a Tomcat instance: 18-Oct-2007 12:41:47 org.apache.tomcat.util.net.AprEndpoint$Acceptor run SEVERE: Socket ac

Too Many Open Files error

2007-10-18 Thread Daniel M Garland
Hi all I'm seeing a problem on a Tomcat instance: 18-Oct-2007 12:41:47 org.apache.tomcat.util.net.AprEndpoint$Acceptor run SEVERE: Socket accept failed org.apache.tomcat.jni.Error: Too many open files at org.apache.tomcat.jni.Socket.accept(Native Method) at org.apache.tomcat.uti

Re: redirecting old context uris when moving context [SOLVED]

2007-10-16 Thread Daniel M Garland
aniel M Garland wrote: Hi I was formerly hosting a web application at http://somehost/somecontext which I am now hosting at http://somehost so that the context is now ROOT, instead of somecontext. Is there a way of mapping / redirecting 'old' URI from somecontext to the ROOT,

redirecting old context uris when moving context

2007-10-15 Thread Daniel M Garland
Hi I was formerly hosting a web application at http://somehost/somecontext which I am now hosting at http://somehost so that the context is now ROOT, instead of somecontext. Is there a way of mapping / redirecting 'old' URI from somecontext to the ROOT, so that http://somehost/somecontext

Re: DeltaManager cannot receive message through TCP channel in Tomcat cluster

2007-10-02 Thread Daniel M Garland
at is unique to take care of the problem, however, easier to run one cluster instance at the engine level, the cluster knows what vhost a piece of replicated data belongs to Filip Daniel M Garland wrote: OK I've figured out what's happening, but not how to fix it! I'm running a si

Re: Tomcat jsessionid cookie across subdomain valve

2007-10-02 Thread Daniel M Garland
How would I raise this as an enhancement request in Tomcat? Daniel M Garland wrote: Hi all, I have a web application that is installed on a virtual host that has a number of subdomains defined with elements in server.xml. We would like cookie sessions persist to across these subdomains, and

Re: why/how to use ajp connector...

2007-10-02 Thread Daniel M Garland
You use this connector to relay requests to a certain URL pattern to Tomcat, so you can have part of your website as static HTML served by apache and part of it hosted by Tomcat, which could be running your server-side Java. Perhaps you have a jsp contact form on your static site that needs to

Re: Tomcat clustering

2007-10-01 Thread Daniel M Garland
Hey The mcastDropTime attribute controls how long a node waits without a response from a peer before considering it dead. Careful though, I tried setting this to be much lower than the default and had all sorts of problems with nodes adding / disappearing all the time; I wonder what sorts of

Re: Tomcat jsessionid cookie across subdomain valve

2007-10-01 Thread Daniel M Garland
Any thoughts? If this is OT anyone know an appropriate list to post to? Daniel M Garland wrote: Hi all, I have a web application that is installed on a virtual host that has a number of subdomains defined with elements in server.xml. We would like cookie sessions persist to across these

Re: DeltaManager cannot receive message through TCP channel in Tomcat cluster

2007-10-01 Thread Daniel M Garland
cts are being confused in this way? Daniel M Garland wrote: Hi all, I've been running two Tomcat 5.5.20 servers in a cluster for some time on Mac OSx but we've recently moved to 64-bit architecture (Debian etch) . I tried as far as possible to keep the config the same, so only

Re: Analog of mod_rewrite in Tomcat?

2007-09-28 Thread Daniel M Garland
Hey, If you're after something really simple you could even write a servlet filter that implements your functionality. Dan Ken Bowen wrote: Hi all, Is there an analog of mod_rewrite which operates in Tomcat? It would be used if one was running Tomcat alone as a server without Apache in fro

Tomcat jsessionid cookie across subdomain valve

2007-09-27 Thread Daniel M Garland
Hi all, I have a web application that is installed on a virtual host that has a number of subdomains defined with elements in server.xml. We would like cookie sessions persist to across these subdomains, and I understand that this is not standard as defined in the servlet specification. Ther

Apache Portable Runtime > 1.1.4 on Debian Etch?

2007-09-27 Thread Daniel M Garland
Hi again, In my catalina.out I see the following INFO on a server startup: INFO: An older version 1.1.3 of the Apache Tomcat Native library is installed, while Tomcat recommends version greater than 1.1.4 I installed libapr1 and libapr1-dev using apt on Debain etch 64-bit version, and am up-

Re: DeltaManager cannot receive message through TCP channel in Tomcat cluster

2007-09-27 Thread Daniel M Garland
doesn't seem to work properly. Does that shed any light on things? And no the old macs have been re-deployed somewhere else... Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan, Daniel M Garland wrote: Another strange thing is since this started happening I don&#

Re: Virtual Host and dynamic webapp reloading [SOLVED]

2007-09-27 Thread Daniel M Garland
default folder and try to use elements, but break them into seperate folders, and use ROOT.war if you want to host off the default context ("/"). thanks everyone! Daniel M Garland wrote: Hello, I have a virtual host configured on my Tomcat 5.5.20 cluster installation. In my serve

Re: Java 1.6

2007-09-26 Thread Daniel M Garland
Is there any performance increase that you've noticed? Pid wrote: David Smith wrote: I think that was pure speculation. I use JDK 1.6 w/ Tomcat 5.5 in production and have had no issue. Likewise, and they go very nicely indeed. p --David Marco wrote: Hello, I read in previous post t

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Daniel M Garland
SAGE- Hash: SHA1 Dan, Daniel M Garland wrote: That docBase="." is going to give you nothing but trouble. Why can't you just do this: 1. Start with a clean install of Tomcat. 2. Modify CATALINA_HOME/conf/server.xml to include your clustering configuration. 3. Drop ROO

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Daniel M Garland
n, why wouldn't this work? in conf/server.xml: in conf/Catalina/mydomain.com/mywebapp.xml: Any ideas on how I can achieve the equivalent of my working server.xml with nested Contexts in some other file? Regards Dan Garland Pid wrote: Daniel M Garland wrote: My full element then: y

Re: DeltaManager cannot receive message through TCP channel in Tomcat cluster

2007-09-26 Thread Daniel M Garland
Christopher Schultz wrote: Is Eclipse re-setting the serialVersionUID for each compile, or do you have one explicitly set in your code? (Meaning, does the serialVersionUID ever change?) Well in Eclipse I said 'add generated ID', but this declares a final static long that hasn't changed becaus

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Daniel M Garland
alina.cluster.tcp.ReplicationValve" filter=".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.css;.*\.txt;"/> className="org.apache.catalina.cluster.session.ClusterSessionListener"/> Any ideas? Pid wrote: Daniel M Garland wrote: Hello, I have a virtual

Virtual Host and dynamic webapp reloading

2007-09-25 Thread Daniel M Garland
Hello, I have a virtual host configured on my Tomcat 5.5.20 cluster installation. In my server.xml, I have autoDeploy="true"> And yet if I copy in a new war file (I'm using ant's deploy task) I don't see any changes to my webapp. If I look at the individual server's webapp via the manager a

DeltaManager cannot receive message through TCP channel in Tomcat cluster

2007-09-25 Thread Daniel M Garland
Hi all, I've been running two Tomcat 5.5.20 servers in a cluster for some time on Mac OSx but we've recently moved to 64-bit architecture (Debian etch) . I tried as far as possible to keep the config the same, so only the OS has changed (and I also got the Apache Portable Runtime going). Howev