Share info across different sessions servers

2013-07-02 Thread Jose María Zaragoza
Hello: I need to share data between sessions running in different Tomcat server. I 'd been thinking about using a JMS broker (as ActiveMQ ): - when a new session is created in Tomcat A, it's created a new unique topic for this session - the session registers itself as listener of that topic (

Re: Share info across different sessions servers

2013-07-02 Thread mailingl...@j-b-s.de
Hi! What kind of data do you want to share? Just a view bytes? Is there an requirement concerning durability/persistence/performance? Is this user=session related or do you want to share data in general? Usually if you have a session id the lb will route your user always to the same container?

Re: Share info across different sessions servers

2013-07-02 Thread Jose María Zaragoza
Thanks I need to share formatted text data ( XML, key/value, ...I'm not sure yet ) I don't understand your comment about JMS . I will use a JMS broker as ActiveMQ . Probably it will be embebbed into the same JVM than Tomcat server. ActiveMQ supports persistent messages I could use a database

Re: Help with crossContext=true and getRequestDispatcher()

2013-07-02 Thread Mark Thomas
On 02/07/2013 03:28, Paul Hammant wrote: Hi Mark, thanks for the reply. I've modified https://github.com/paul-hammant/servletDispatcherTest to include scripts to reproduce the problem, and to show the two web-apps working separately, but not in the getRequestDispatcher(..).include(..) way.

Re: BackupManager start fails under heavy load

2013-07-02 Thread Keiichi Fujino
2013/6/28 Patrick Savage patrick.sav...@3pillarglobal.com We have an issue in our Tomcat 7.0.30 clustered production environment on RHEL 5 where Tomcat fails to start our application when other nodes in the cluster are under extremely heavy load. It fails because the BackupManager cannot

Re: Help with crossContext=true and getRequestDispatcher()

2013-07-02 Thread Paul Hammant
Thanks Mark. The crucial piece that I missed was the filter-mapping for the to-be-included thing had to have dispatcherINCLUDE/dispatcher Now that it's all working, I updated the Github repo to be a demonstration of it all working, rather than a problem definition. - Paul On Tue, Jul 2,

Re: [slightly OT] FORM based authentication and utf-8 encoding of credentials

2013-07-02 Thread Shanti Suresh
Greetings, On Wed, Jun 26, 2013 at 4:08 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, But, even when sending UTF-8 encoded data according to this principle, they are *not* indicating that it is UTF-8 data, which

Monitoring Tomcat - In-depth details

2013-07-02 Thread Shanti Suresh
All, For lack of funds initially and now for a stalemate in the project, we do not have a JVM monitoring tool yet. JavaMelody was recently discussed. I like the fact that there is a dashboard and history of metrics. In looking at it, I find JavaMelody lacking in in-depth diagnostics of the

Re: [slightly OT] FORM based authentication and utf-8 encoding of credentials

2013-07-02 Thread André Warnier
Shanti Suresh wrote: Greetings, On Wed, Jun 26, 2013 at 4:08 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, But, even when sending UTF-8 encoded data according to this principle, they are *not* indicating that it is

Tomcat 7.0.27 on Mac OSX Lion - User Migration to New Version of Application Not Occuring

2013-07-02 Thread Majors, Jeremy
I'm testing out the parallel deployment process for my company and am seeing a difference in how user migrations to the new version of the application occur based upon how you deploy your application. Our configuration involves many different web sites that all point to the same folder. Some

Re: Monitoring Tomcat - In-depth details

2013-07-02 Thread Leon Rosenberg
Hello, check http://www.moskito.org out. MoSKito is an open source project that has been around since 2007. It supports most of the things you mentioned except byte-code instruction yet (an agent is currently in development, but its not that easy to implement ;-)). But you can integrate it along

Re: Tomcat 7.0.27 on Mac OSX Lion - User Migration to New Version of Application Not Occuring

2013-07-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeremy, On 7/2/13 12:09 PM, Majors, Jeremy wrote: When I run Jmeter requests consistently against website1 and then deploy the new version of the web site (website1##002) I do not see any active sessions for website##002 in tomcat manager even

Re: Share info across different sessions servers

2013-07-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jose, On 7/2/13 3:22 AM, Jose María Zaragoza wrote: Thanks I need to share formatted text data ( XML, key/value, ...I'm not sure yet ) I don't understand your comment about JMS . I will use a JMS broker as ActiveMQ . Probably it will be

Re: Share info across different sessions servers

2013-07-02 Thread Jose María Zaragoza
Thanks Christopher : Maybe I explained myself badly I really need to send messages to a specific web session , not share data I need to pass some data ( message ) to a specific session from a remote system ( a remote process from a remote system). Finally, this data is passed to client's browser

Re: Tomcat 7.0.27 on Mac OSX Lion - User Migration to New Version of Application Not Occuring

2013-07-02 Thread Majors, Jeremy
Sorry for the miscommunication. I understand that active users with a session are supposed to stay with the original version that they were associated with. My confusion was caused by the fact that when I did an auto deploy, the users were immediately being migrated to the new version of the

Embedded runtime in Uber jar

2013-07-02 Thread Todd Nine
Hi All, I've easily enabled Tomcat 7.0.41 for our testing frameworks in our REST project. Now I'm trying to embed it in our standalone, and I'm not having an easy time of it. Below is an outline of how our uber jar is distributed. standalone apache-cassandra -

Re: Share info across different sessions servers

2013-07-02 Thread Vince Stewart
I have am using tribes messaging to send messages between remote applications which include tomcat embedded. You construct your message and submit to a sendMessage process. All running apps are always listening for messages. They receive the message and then may or may not reply or broadcast as a