Re: Is it possible to replace the HttpSession implementation in Tomcat?

2010-02-15 Thread Jon Brisbin
another login? Jon Brisbin Portal Webmaster NPC International, Inc. On Feb 15, 2010, at 11:05 AM, Simone Tripodi wrote: Hi all guys and very nice to meet the Tomcat community, I've a web-application that needs to be replicated in more than one Tomcat, and since it is HttpSession based, I

Re: VSphere4 and tomcat 6.0

2010-02-17 Thread Jon Brisbin
:) or things just run differently on VMs than they do on real hardware. Jon Brisbin Portal Webmaster NPC International, Inc. On Feb 17, 2010, at 3:39 AM, Daniel Dreier wrote: Hello, I want to use tomcat 6.0 on a vsphere4 based Server. Are there known issues? best regards Daniel Dreier

Re: Is it possible to replace the HttpSession implementation in Tomcat?

2010-02-23 Thread Jon Brisbin
share my results when done. This sound very interesting to me. I'd love to take a look at it when you're done. I'm still fighting load-balancing issues. Jon Brisbin Portal Webmaster NPC International, Inc. Best regards!!! Simo http://people.apache.org/~simonetripodi/ On Tue, Feb 23

Re: using my own LifecycleListener

2010-02-23 Thread Jon Brisbin
On Feb 23, 2010, at 12:32 PM, Caldarale, Charles R wrote: The servlet spec is required reading before you ever touch any servlet container. Oops. Guess I missed that memo. Crap. Now I'm going to have to resign! I'm living a lie. ;) Jon Brisbin Portal Webmaster NPC International, Inc

Re: how to configure log4j path to work both in Tomcat and from the CLI?

2010-03-02 Thread Jon Brisbin
correctly. Run your ant script with a -D defined for catalina.home (or any other properties that exist in your webapp's environment...ant -h is always helpful here ;). e.g.: ant -Dcatalina.home=/opt/tomcat-6 Jon Brisbin Portal Webmaster NPC International, Inc

RabbitMQ-based vcloud session clustering

2010-04-05 Thread Jon Brisbin
documentation and what-not. Does this sound like it would interest any other Tomcat/RabbitMQ users? Jon Brisbin Portal Webmaster NPC International, Inc. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: RabbitMQ-based vcloud session clustering

2010-04-06 Thread Jon Brisbin
it uses tight integration between the session store and the RabbitMQ java API. I had originally thought I might make it a little more generic and make it JMS-specific, but I decided I had better work out the bugs using code I know works first. JMS (and maybe JMS/Spring) can be 2.0. Jon Brisbin

Re: Problems with ImageIO

2010-04-07 Thread Jon Brisbin
maybe not even related) setting up a new Tomcat server on a fresh Ubuntu Linux install. We also use tif images and I had to install a couple extra ImageMagick packages, as well as something in JAI to get it to recognize .tif as a format. Until I did that, I could not process tiff images. Jon

Non-multicast session clustering with RabbitMQ

2010-04-09 Thread Jon Brisbin
that's my way of saying: if you try it out and it doesn't work, please don't swear at me. ;) Patches welcome, of course... Jon Brisbin Portal Webmaster NPC International, Inc. - To unsubscribe, e-mail: users-unsubscr

Re: The question of automatic restart Tomcat

2010-04-13 Thread Jon Brisbin
--letting me know what happened). Thanks! Jon Brisbin Portal Webmaster NPC International, Inc. On Apr 13, 2010, at 11:37 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eugene, On 4/13/2010 7:18 AM, Mirgorodskiy Eugene wrote: I apologise if this theme

Re: The question of automatic restart Tomcat

2010-04-13 Thread Jon Brisbin
update 12, 6) There's also: -XX:OnError=cmd args;cmd args Run user-defined commands on fatal error. (Introduced in 1.4.2 update 9.) Jon Brisbin Portal Webmaster NPC International, Inc. - To unsubscribe, e-mail: users

Re: Way to generate a localhost.log instead of localhost-4-20-2010.log?

2010-04-19 Thread Jon Brisbin
often no faster to use tab than it is to just type the full filename. If, on the other hand, one could type less loTAB/loTAB, I could work faster and more efficiently. I don't find this question insignificant at all. I'd like to know the answer myself. Jon Brisbin Portal Webmaster NPC

Re: How to force session replication per request in a Tomcat 6 cluster

2010-04-28 Thread Jon Brisbin
I don't know if this really answers your question or not, but I have written a custom Valve that calls my own replicateSession method. You could do something similar in maybe 10 minutes to call the requisite methods on the session Manager/Store. Jon Brisbin Portal Webmaster NPC International

Re: How to force session replication per request in a Tomcat 6 cluster

2010-04-28 Thread Jon Brisbin
practice? I got to the point where, in my private, hybrid cloud environment, there aren't best practices, so I had to just do it myself. Jon Brisbin Portal Webmaster NPC International, Inc. - To unsubscribe, e-mail: users-unsubscr

Re: Dynamic configuration of workers

2010-05-07 Thread Jon Brisbin
clustering in a cloud environment, which is the next problem I had to tackle after getting past my load balancer... :) http://github.com/jbrisbin/vcloud/tree/master/session-manager/ Jon Brisbin Portal Webmaster NPC International, Inc. Current versions: - Base system: RedHat EL4 (though we

Re: Session clustering across different contexts

2010-06-15 Thread Jon Brisbin
(RabbitMQ). Jon Brisbin Portal Webmaster NPC International, Inc. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Support multiple apache contexts via one tomcat webapp context

2010-06-15 Thread Jon Brisbin
, then forward to whatever path or context you want. Jon Brisbin Portal Webmaster NPC International, Inc. FWIW, -- Hassan Schroeder hassan.schroe...@gmail.com twitter: @hassan - To unsubscribe, e

Re: question for sso session replication in tomcat 6.0.26

2010-06-22 Thread Jon Brisbin
/usingmodproxywithjboss Jon Brisbin Portal Webmaster NPC International, Inc. On Jun 22, 2010, at 3:48 PM, Okubo, Yasushi (TSD) wrote: Hi I downloaded apache apache v2.2.15 and compiled and installed, but the result was the same. Session sso replication looked like failed. Upon shutting down

Re: Self-Contained Web Applications

2010-06-25 Thread Jon Brisbin
On Jun 25, 2010, at 3:59 PM, Pid wrote: Which part of the container hierarchy would the DataSource be attached to? Wouldn't it make sense to scope it to the Context, since you'd be using the webapp's classloader? Jon Brisbin Portal Webmaster NPC International, Inc

Re: Cluster session failover question

2010-07-22 Thread Jon Brisbin
as a health checker. My article on using HAProxy rather than mod_jk/mod_proxy_ajp: http://www.tomcatexpert.com/blog/2010/07/12/trick-my-proxy-front-tomcat-haproxy-instead-apache Jon Brisbin Portal Webmaster NPC International, Inc. Are there any configuration settings to be mindful