Re: Session clustering across different contexts

2010-06-14 Thread Andrew Bruno
OK, that's cool. Thanks for confirming. I'll have to try via Apache redirects/aliasing/rewrites... /AB On Tue, Jun 15, 2010 at 4:32 PM, Mark Thomas wrote: > On 15/06/2010 06:21, Andrew Bruno wrote: >> >> I am testing this on my laptop, windows 7 64bit, tomcat 6 >> >> If I use the same contexts

Re: hibernate not finding global resource datasource defined by tomcat

2010-06-14 Thread Mark Thomas
On 15/06/2010 02:21, Mark Eggers wrote: Sure, I can make an attempt at it. I'd like to finish the wiki entry first. What I'm writing though will have to be drastically shortened for the documentation page I think. I just ran into a bit of a puzzle though. I was trying to unravel what happens

Re: Session clustering across different contexts

2010-06-14 Thread Mark Thomas
On 15/06/2010 06:21, Andrew Bruno wrote: I am testing this on my laptop, windows 7 64bit, tomcat 6 If I use the same contexts, i.e. localhost:8181/r2 and localhost:8080/r2 the sessions are replicated across them no problem. If I use a different context, e.g. r3 but same web app deployed, the s

Re: Re: how to calculate a memory tomcat

2010-06-14 Thread Andrew Bruno
Also have a look at http://www.jmanage.org/wiki/index.php/Introduction_to_jManage On Tue, Jun 15, 2010 at 8:42 AM, Matthew Peterson wrote: > Lambda Probe is stale. It has been forked to Psi Probe which has regular > activity: http://code.google.com/p/psi-probe/ > > > -Original Message-

Support multiple apache contexts via one tomcat webapp context

2010-06-14 Thread Andrew Bruno
I am trying to setup Apache with JkMount to tomcat to dynamically handle different contexts in Apache, but always use the same context in Tomcat. e.g. http://apachefrontenddomain.com.au/a/customer-1.com -> jk ajp to -> http://tomcatserver:8009/webapp http://apachefrontenddomain.com.au/a/customer-

Re: hibernate not finding global resource datasource defined by tomcat

2010-06-14 Thread yuccanel
-- From: "Christopher Schultz" Sent: Tuesday, June 15, 2010 12:03 AM To: "Tomcat Users List" Subject: Re: hibernate not finding global resource datasource defined by tomcat -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yuccal Nel, On 6/14/2

Re: Session clustering across different contexts

2010-06-14 Thread Andrew Bruno
I am testing this on my laptop, windows 7 64bit, tomcat 6 If I use the same contexts, i.e. localhost:8181/r2 and localhost:8080/r2 the sessions are replicated across them no problem. If I use a different context, e.g. r3 but same web app deployed, the sessions are no replicated, and I get this w

RE: disabling non url match returns

2010-06-14 Thread Caldarale, Charles R
> From: nejm [mailto:emedei...@mms.org] > Subject: disabling non url match returns > > new to tomcat What exact version? > and I'm trying to find the appropriate web.xml > tweek to avoid trailing '/*' mapping to take place. You really, really don't want to preclude that, since it would disable

disabling non url match returns

2010-06-14 Thread nejm
Hi guys, new to tomcat and I'm trying to find the appropriate web.xml tweek to avoid trailing '/*' mapping to take place. For example lets say abc.com/current/ is a valid request. however abc.com/current/xyz should not be. my Tomcat server is always returning the abc.com/current/ just as though

Re: hibernate not finding global resource datasource defined by tomcat

2010-06-14 Thread Mark Eggers
Sure, I can make an attempt at it. I'd like to finish the wiki entry first. What I'm writing though will have to be drastically shortened for the documentation page I think. I just ran into a bit of a puzzle though. I was trying to unravel what happens when you put everything into server.xml an

RE: Re: how to calculate a memory tomcat

2010-06-14 Thread Matthew Peterson
Lambda Probe is stale. It has been forked to Psi Probe which has regular activity: http://code.google.com/p/psi-probe/ -Original Message- From: Myk Bova [mailto:syste...@narod.ru] Sent: Tuesday, 15 June 2010 2:07 AM To: Tomcat Users List Subject: Re: Re: how to calculate a memory tomcat

RE: Setting scheme on catalina Requests

2010-06-14 Thread Matthew Peterson
I have discovered that the RemoteIPValve which has been shipped with Tomcat since v6.0.24 also performs the tasks am trying to perform with my valve. I had overlooked it previously due to its name. We are using v6.0.26, so I'll give it a whirl! Cheers, Matt. -Original Message- From: Ch

Re: hibernate not finding global resource datasource defined by tomcat

2010-06-14 Thread Mark Thomas
On 14/06/2010 22:45, Mark Eggers wrote: I'm trying to finish up a document on DataSourceRealms. Hopefully that will get posted on Tomcat's Wiki today or tomorrow, depending on other time constraints. I don't suppose you fancy providing a patch for the Tomcat docs as well... (or instead of)

Re: Setting scheme on catalina Requests

2010-06-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matt, On 6/13/2010 6:03 PM, Matt Peterson wrote: > I am trying to develop a valve to modify requests based on a HTTP request > header as set by our SSL terminating load balancer. The valve is to watch > out for a particular header and when found, call

Re: hibernate not finding global resource datasource defined by tomcat

2010-06-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yuccal Nel, On 6/14/2010 4:26 PM, yucca...@live.co.za wrote: > Please advise as to why hibernate us unable to find jndi datasource > configured in tomcat? I'm not sure why Hibernate can't find your JNDI resource, but... > name="connection.url">

Re: hibernate not finding global resource datasource defined by tomcat

2010-06-14 Thread Mark Eggers
Please read the following for a detailed description on how to configure Hibernate to use JNDI resources supplied by Tomcat. http://wiki.apache.org/tomcat/TomcatHibernate Then you will need a element in META-INF/context.xml to make the resource in available to your application. The configura

Re: virtual hosting different in Tomcat 5.5 and 6?

2010-06-14 Thread Mark Thomas
On 14/06/2010 22:07, MB wrote: I have Tomcat 5.5.x installed and "Pro Apache Tomcat 6". Do I define virtual hosts in server.xml in Tomcat 5.5 as well? Are the docs really that hard to find? http://tomcat.apache.org/tomcat-5.5-doc/virtual-hosting-howto.html http://tomcat.apache.org/tomcat-6.0-d

virtual hosting different in Tomcat 5.5 and 6?

2010-06-14 Thread MB
I have Tomcat 5.5.x installed and "Pro Apache Tomcat 6". Do I define virtual hosts in server.xml in Tomcat 5.5 as well? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@

hibernate not finding global resource datasource defined by tomcat

2010-06-14 Thread yuccanel
Hello tomcats!! Please advise as to why hibernate us unable to find jndi datasource configured in tomcat? Trying 2 different setups here: 1) server.xml resource as follows: throws: Jun 14, 2010 10:13:20 PM org.apache.catalina.core.ApplicationContext log Jun 14, 2010 10:13:

Re: how to calculate a memory tomcat

2010-06-14 Thread Tobias Crefeld
Am Mon, 14 Jun 2010 20:06:42 +0400 schrieb Myk Bova : > Lambda Probe for Apache Tomcat ? > http://www.lambdaprobe.org/d/index.htm Correct, sorry for the typo! Regards, Tobias. - To unsubscribe, e-mail: users-unsubscr...@tomcat

Re: el-api jar versions for tomcat 5.5.23

2010-06-14 Thread Mark Thomas
On 14/06/2010 14:27, Richard Nduka wrote: Hi, I am trying to deply an application to tomcat 5.5 running on Java 1.6. I want to know what versions of el-api.jar and el-impl.jar work with tomcat 5.5.23? Tomcat 5.5.x supports JSP 2.0 / EL 2.0. All the necessary JARs for EL support are provided b

Re: Re: how to calculate a memory tomcat

2010-06-14 Thread Myk Bova
Lambda Probe for Apache Tomcat ? http://www.lambdaprobe.org/d/index.htm 14.06.10, 19:54, "Tobias Crefeld" : > Am Sun, 13 Jun 2010 22:27:40 +0700 > schrieb andy susanto : > > > is there any tool that i can monitor my tomcat ?, because at peak hour > > You should ask your preferred search e

Re: how to calculate a memory tomcat

2010-06-14 Thread Tobias Crefeld
Am Sun, 13 Jun 2010 22:27:40 +0700 schrieb andy susanto : > is there any tool that i can monitor my tomcat ?, because at peak hour You should ask your preferred search engine after "JMX". JDK offers some applications like "jconsole" (old fashioned but usually sufficent) or "jvisualvm" (looks nic

Re: Testing tomcat 6

2010-06-14 Thread Ken Bowen
ConcurrentHashMap is defined by Java, so I think you want to look for Java test suites. On Jun 14, 2010, at 10:36 AM, Ohad Shacham wrote: ConcurrentHashMap - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: Testing tomcat 6

2010-06-14 Thread Ohad Shacham
Thanks for the reply. I would like to dynamically test the correctness of ConcurrentHashMap in tomcat. Therefore, I am looking for test suites and applications that I'll be able to run under Tomcat in order to test Tomcat's behavior. Ohad On Mon, Jun 14, 2010 at 5:30 PM, Jorge Medina wrote: >

Re: Testing tomcat 6

2010-06-14 Thread David kerber
On 6/14/2010 9:52 AM, Ohad Shacham wrote: Hi, I would like to run tomcat for testing, I am looking for test cases with aggressive workload. Could you please let me know whether there exists a testing/benchmarking suite for tomcat that I can use? Thanks, Best Regards, Ohad I use the Eclipse t

Re: Testing tomcat 6

2010-06-14 Thread Jorge Medina
Ohad, What do you want to test? I think that you need to rephrase your question. If you are trying to test your application running under Tomcat, then the test suite has to be specific to your application. If you want to bechmark Tomcat against other servlet containers, then you need to use the s

Testing tomcat 6

2010-06-14 Thread Ohad Shacham
Hi, I would like to run tomcat for testing, I am looking for test cases with aggressive workload. Could you please let me know whether there exists a testing/benchmarking suite for tomcat that I can use? Thanks, Best Regards, Ohad

el-api jar versions for tomcat 5.5.23

2010-06-14 Thread Richard Nduka
Hi, I am trying to deply an application to tomcat 5.5 running on Java 1.6. I want to know what versions of el-api.jar and el-impl.jar work with tomcat 5.5.23? Thanks

RE: J2EE (Spring) + Flex + Tomcat 6.0.18 problem

2010-06-14 Thread Martin Gainty
look at catalina.bat -X attributes (stack,minHeap and maxHeap) catalina will use parameters from JAVA_OPTS environment variable also..you could be experiencing some issues with permgen not being collected http://wiki.apache.org/tomcat/FAQ/Memory Martin Gainty _

How to bind jndi realm datasource so that my hibernate can find it can find it

2010-06-14 Thread yuccanel
Hello tomcats !! I learnt a lot since last discussion(problems at thejarbar.org) and am moving on... I now wish to configure the datasource used by the realm to also be used by hibernate Currently my server.xml looks as follows:

Re: J2EE (Spring) + Flex + Tomcat 6.0.18 problem

2010-06-14 Thread kitikat
Hi and thanks for all responses. > It sounds like a timeout, rather than an empty response. > Please remove all comments and any passwords from your server.xml and > post it here. [code] [/code] Well, it looks like timeout oc

Re: Setting scheme on catalina Requests

2010-06-14 Thread Mark Thomas
On 14/06/2010 01:23, Matthew Peterson wrote: > Hi Mark, > > I cannot find another reference to the setScheme method by searching the > tomcat-users archive > (http://marc.info/?l=tomcat-user&w=2&r=1&s=setScheme&q=b). Where else would I > find some info on this topic? My bad. It was Request.set