cvs commit: jakarta-tomcat-catalina/modules/cluster to-do.txt

2005-08-17 Thread pero
pero2005/08/17 01:10:37

  Modified:modules/cluster to-do.txt
  Log:
  Add replicated principal problem :-(
  
  Revision  ChangesPath
  1.19  +6 -3  jakarta-tomcat-catalina/modules/cluster/to-do.txt
  
  Index: to-do.txt
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/modules/cluster/to-do.txt,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- to-do.txt 16 Jul 2005 21:06:34 -  1.18
  +++ to-do.txt 17 Aug 2005 08:10:37 -  1.19
  @@ -101,10 +101,13 @@
   
   
   problems
  -   
  +
  +- MemoryUser principal from UserDatabaseRealm not handled to replicated 
  + - look inside DeltaRequest.setPrincipal(Principal,boolean)
  +  detected by Dirk de Kok (tomdev 16.8.2005)
  + - only GenericPrincipal from all other realms are handled well.
   - We not set SimpleTcpCluster Properties when element exists inside config.
  - Element must have all properties!! - Note inside docs!!   
  - 
  + Element must have all properties!! - Note inside docs!!  
   - How we can stop the request traffic when restart an application?
   currently the jk 1.2.10 can only disable the complete loadbalancer,
   but this detect only the new session request desicion.
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/modules/cluster to-do.txt

2005-07-16 Thread pero
pero2005/07/16 14:06:34

  Modified:modules/cluster to-do.txt
  Log:
  Document new todo
  Close some todo's
  
  Revision  ChangesPath
  1.18  +32 -5 jakarta-tomcat-catalina/modules/cluster/to-do.txt
  
  Index: to-do.txt
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/modules/cluster/to-do.txt,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- to-do.txt 1 Jul 2005 18:40:25 -   1.17
  +++ to-do.txt 16 Jul 2005 21:06:34 -  1.18
  @@ -2,8 +2,6 @@
   Next actions
   ==
   
  -- add mapping sender mapping properties file
  - - let people eaiser extend sender mode
   - Add MbeanFactory to generate dynamic cluster at runtime.
   Problem: How we can start those central services?
   - StandardEngine support load Mbean from external file. 
  @@ -18,6 +16,25 @@
long queues
detect long wait acks
   Idea: Wrote a ant script with the new jmx tasks!
  +Optimzied information access:
  + Create a MBean.attribute that store the complete cluster state 
  + information inside one attribute from type TabularData and 
CompositeData!
  + Implement as SimpleTcpCluster operation
  + Cluster CompositeData
  +   -- Attributes SimpleType
  +   -- ClusterMembership
  +   -- Attributes SimpleType
  +   -- Members CompositeType
  +  -- Attributes SimpeType
  +   -- ClusterReceiver
  +   -- Attributes SimpleType
  +   -- ClusterSender
  +   -- Attributes SimpleType
  +   -- DataSenders TabularData
  +  -- Sender CompositeType
  + -- Attributes SimpeType
  + -- (optional)Queue Stats CompositeData
  + -- Attributes SimpeType   
   - add cluster setup template (src)   
   - documentation
wrote a complete new how-to
  @@ -85,6 +102,9 @@
   
   problems
      
  +- We not set SimpleTcpCluster Properties when element exists inside config.
  + Element must have all properties!! - Note inside docs!!   
  + 
   - How we can stop the request traffic when restart an application?
   currently the jk 1.2.10 can only disable the complete loadbalancer,
   but this detect only the new session request desicion.
  @@ -180,9 +200,16 @@
   - Add single sign on support
   
   ==   
  -COMPLETED (pero)
  +COMPLETED
   ==
  -5.5.10
  +5.5.10 (pero)
  +- add mapping sender mapping properties file (IDataSenderFactory)
  + - let advanced people eaiser implemented there own sender mode
  +- We register different application with same name from different host?
  + SimpleTcpManager register manager with app name + hostname when Cluster 
is configured as Engine element.
  +- Configured DeltaManager inside context
  + - SimpleTcpCluster setProperty and transferproperty reflect changes 
only to defaultMode managers
  +- Look inside SimpleTcpCluster.addManager and DeltaManager.start?
   - Session serialization eat memory but now we can send session messages with 
blocks...
When all sessions serialze after GET_ALL_SESSION is received following 
works
- find all sessions
  @@ -272,7 +299,7 @@
   - Add new SocketReplicationListener
   - Add Stats to DeltaManager
   
  -5.5.9
  +5.5.9  (pero)
   - JMX friendly
   pero:  Add some MBeanSupport to SimpleTCPCluster, ReplicationTransmitter 
and Senders
   - Add Keep Alive and WaitForAck at async mode implementation.
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: cvs commit: jakarta-tomcat-catalina/modules/cluster to-do.txt

2005-07-02 Thread Natasha Hasmani
Thank-you for your e-mail.

Please note that i will be away from the office starting Wednesday June
29th, returning Thursday July 7th, with no access to email.  In my absence,
kindly contact Cheri Dueck at [EMAIL PROTECTED]

Kind Regards,

Natasha Hasmani
Senior Event Manager 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: cvs commit: jakarta-tomcat-catalina/modules/cluster to-do.txt

2005-07-02 Thread Natasha Hasmani
Thank-you for your e-mail.

Please note that i will be away from the office starting Wednesday June
29th, returning Thursday July 7th, with no access to email.  In my absence,
kindly contact Cheri Dueck at [EMAIL PROTECTED]

Kind Regards,

Natasha Hasmani
Senior Event Manager 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/modules/cluster to-do.txt

2005-07-01 Thread pero
pero2005/07/01 11:40:25

  Modified:modules/cluster to-do.txt
  Log:
  More todo...
  
  Revision  ChangesPath
  1.17  +4 -0  jakarta-tomcat-catalina/modules/cluster/to-do.txt
  
  Index: to-do.txt
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/modules/cluster/to-do.txt,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- to-do.txt 26 Jun 2005 21:21:50 -  1.16
  +++ to-do.txt 1 Jul 2005 18:40:25 -   1.17
  @@ -4,6 +4,9 @@
   
   - add mapping sender mapping properties file
- let people eaiser extend sender mode
  +- Add MbeanFactory to generate dynamic cluster at runtime.
  +Problem: How we can start those central services?
  +- StandardEngine support load Mbean from external file. 
   - when a lot of messages expire it comes to burst of messages 
- all 60 Sec when ManagerBase#processExpires is called a lot of 
messages are send!
- Better is to transfer a spezial epxire message with an array of 
expired session messages.
  @@ -14,6 +17,7 @@
different active sessions
long queues
detect long wait acks
  +Idea: Wrote a ant script with the new jmx tasks!
   - add cluster setup template (src)   
   - documentation
wrote a complete new how-to
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/modules/cluster to-do.txt

2005-06-26 Thread pero
pero2005/06/26 14:21:50

  Modified:modules/cluster/src/share/org/apache/catalina/cluster
ClusterMessage.java MembershipService.java
   modules/cluster/src/share/org/apache/catalina/cluster/deploy
FileMessage.java UndeployMessage.java
   modules/cluster/src/share/org/apache/catalina/cluster/io
ListenCallback.java ObjectReader.java
SocketObjectReader.java XByteBuffer.java
   modules/cluster/src/share/org/apache/catalina/cluster/mcast
McastService.java
   modules/cluster/src/share/org/apache/catalina/cluster/session
DeltaManager.java DeltaSession.java
JvmRouteBinderValve.java
JvmRouteSessionIDBinderLifecycleListener.java
LocalStrings.properties SessionIDMessage.java
SessionMessageImpl.java
SimpleTcpReplicationManager.java
   modules/cluster/src/share/org/apache/catalina/cluster/tcp
AsyncSocketSender.java ClusterReceiverBase.java
DataSender.java FastAsyncSocketSender.java
IDataSender.java LocalStrings.properties
PooledSocketSender.java ReplicationTransmitter.java
SimpleTcpCluster.java
SocketReplicationListener.java
mbeans-descriptors.xml
   modules/cluster/test/src/share/org/apache/catalina/cluster/io
XByteBufferTest.java
   modules/cluster/test/src/share/org/apache/catalina/cluster/tcp
DataSenderTest.java ReplicationTransmitterTest.java
   modules/cluster to-do.txt
  Log:
  add standalone cluster config support
  better GET_ALLSESSION support
  config resend and compress from message creator
  
  Revision  ChangesPath
  1.2   +36 -0 
jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/ClusterMessage.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/ClusterMessage.java.diff?r1=1.1r2=1.2
  
  
  1.7   +11 -1 
jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/MembershipService.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/MembershipService.java.diff?r1=1.6r2=1.7
  
  
  1.3   +30 -1 
jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/deploy/FileMessage.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/deploy/FileMessage.java.diff?r1=1.2r2=1.3
  
  
  1.2   +32 -1 
jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/deploy/UndeployMessage.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/deploy/UndeployMessage.java.diff?r1=1.1r2=1.2
  
  
  1.3   +6 -2  
jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/io/ListenCallback.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/io/ListenCallback.java.diff?r1=1.2r2=1.3
  
  
  1.9   +6 -4  
jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/io/ObjectReader.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/io/ObjectReader.java.diff?r1=1.8r2=1.9
  
  
  1.3   +8 -6  
jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/io/SocketObjectReader.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/io/SocketObjectReader.java.diff?r1=1.2r2=1.3
  
  
  1.15  +29 -18
jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/io/XByteBuffer.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/io/XByteBuffer.java.diff?r1=1.14r2=1.15
  
  
  1.15  +13 -1 
jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/mcast/McastService.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/mcast/McastService.java.diff?r1=1.14r2=1.15
  
  
  1.48  +103 -74   
jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaManager.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaManager.java.diff?r1=1.47r2=1.48
  
  
  1.35  +9 -1  

cvs commit: jakarta-tomcat-catalina/modules/cluster to-do.txt

2005-04-24 Thread pero
pero2005/04/24 02:45:52

  Modified:modules/cluster to-do.txt
  Log:
  add my detected cluster problems when restarting applications or complete 
nodes
  
  Revision  ChangesPath
  1.14  +43 -1 jakarta-tomcat-catalina/modules/cluster/to-do.txt
  
  Index: to-do.txt
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/modules/cluster/to-do.txt,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- to-do.txt 22 Apr 2005 20:33:45 -  1.13
  +++ to-do.txt 24 Apr 2005 09:45:52 -  1.14
  @@ -64,7 +64,49 @@
via XML documents and http
   - display stats as xml
   - operation via JMX (MX4J adaptor)   
  -
  +
  +
  +problems
  +   
  +- How we can stop the request traffic when restart an application?
  +currently the jk 1.2.10 can only disable the complete loadbalancer,
  +but this detect only the new session request desicion.
  +Request with sessions marks send to tomcat. 
  +
  +- Can't stop message replication for a spezial member and application
  +   - this need a spezial cluster message and send filter at SimpleTcpCluster
  + 
  +- Don't generate cluster message when no member is at cluster!
  +   - Register DeltaManager as Cluster LifecycleListener and stop cresting 
and sending
  +   - Reduce memory consume when only one node is active
  +   
  +- WaitForAck mode and resend probleme
  +   - When session serialzisation needs more time then wait ack timeout, 
  + the sender send GETALLSESSIONS again!!
  + Bad for performance and memory, sometimes it drop both nodes very 
quickly!
  +   = Some message need a flag that resend is not allowed!
  + proposed transfer protocol and api change between Transmitter/Senders  
and ObjectReader/Receiver
  +not used byte[] instead a better transfer message format
  +   header [TC]2 bytes
  +   type= A-M reserved   1 byte
  +   compress = true/false  1 byte 1 true 0 false
  +   resendAllowed = true/false 1 byte
  +   isResendPackage = true/false   1 byte
  +   splitpackage=true/false1 byte
  +   packagenumber= int 2 bytes
  +   lastpackagenumber= int 2 bytes
  +   length
  4 bytes
  +   orignalLength  4 bytes
  +   byte[] length
  +   
  +   orignalLength != length when compress = true, for better default 
byte allocation at receiver) 
  +
  + see Nice to have also
  + 
  +- the resending is also a problem with FarmDeployer.
  +   when last package received and starting the application needs time  
wait-ack timeout
  +   = the last war file packge are resend 
  +
   ==
   Nice to have:
   ==   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/modules/cluster to-do.txt

2005-03-14 Thread pero
pero2005/03/14 13:27:03

  Modified:modules/cluster to-do.txt
  Log:
  Update todo's
  
  Revision  ChangesPath
  1.9   +4 -0  jakarta-tomcat-catalina/modules/cluster/to-do.txt
  
  Index: to-do.txt
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/modules/cluster/to-do.txt,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- to-do.txt 27 Dec 2004 09:30:36 -  1.8
  +++ to-do.txt 14 Mar 2005 21:27:03 -  1.9
  @@ -39,3 +39,7 @@
   10. Add single sign on support
   11. Add Keep Alive and WaitForAck at async mode implementation.
  Make this feature configurable to Sender element at server.xml
  +   Is include with 5.5.8
  +12. Add support to new Async Mode from Rainer Jung
  +   Integrated with 5.5.9
  +   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/modules/cluster to-do.txt

2004-12-08 Thread fhanik
fhanik  2004/12/08 12:39:14

  Modified:modules/cluster to-do.txt
  Log:
  Single sign on to do item
  
  Revision  ChangesPath
  1.7   +1 -1  jakarta-tomcat-catalina/modules/cluster/to-do.txt
  
  Index: to-do.txt
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/modules/cluster/to-do.txt,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- to-do.txt 1 Dec 2004 09:45:36 -   1.6
  +++ to-do.txt 8 Dec 2004 20:39:14 -   1.7
  @@ -35,4 +35,4 @@
pero:
Why different defaults from notifyListenersOnReplication at 
SimpleTcpCluster and DeltaManager exists?
   COMPLETED
  -
  +10. Add single sign on support
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/modules/cluster to-do.txt

2004-11-30 Thread fhanik
fhanik  2004/11/30 11:58:35

  Modified:modules/cluster to-do.txt
  Log:
  Added note
  
  Revision  ChangesPath
  1.5   +3 -0  jakarta-tomcat-catalina/modules/cluster/to-do.txt
  
  Index: to-do.txt
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/modules/cluster/to-do.txt,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- to-do.txt 27 Nov 2004 21:10:19 -  1.4
  +++ to-do.txt 30 Nov 2004 19:58:35 -  1.5
  @@ -3,6 +3,9 @@
Every start all application are deployed only to all running cluster 
nodes
New registered nodes don't get the applications!
Deploy must send a GET_ALL_APP to all other Deployers.
  +FH: Correction, you should not send GET_ALL_APP to all deployers, 
only
  +to the main one. Which could be another property of the Member object, it
  +would not make sense to transfer the same webapp over and over again.
Only watchEnabled Deployer send this member all 
deployed application.
Add JMX Support
Resend Deployed Applications to all or one cluster node.
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/modules/cluster to-do.txt

2004-09-29 Thread fhanik
fhanik  2004/09/29 11:59:33

  Modified:modules/cluster to-do.txt
  Log:
  Marked the item fixed
  
  Revision  ChangesPath
  1.3   +2 -1  jakarta-tomcat-catalina/modules/cluster/to-do.txt
  
  Index: to-do.txt
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/modules/cluster/to-do.txt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- to-do.txt 24 Sep 2004 20:45:47 -  1.2
  +++ to-do.txt 29 Sep 2004 18:59:32 -  1.3
  @@ -7,5 +7,6 @@
   6. Implement context attribute replication (?)
   7. JMX friendly
   8. Documentation
  -9. Add a flag for replicated  attribute events, to enable or disable them
  +9. Add a flag for replicated  attribute events, to enable or disable them -
  +COMPLETED
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/modules/cluster to-do.txt

2004-09-24 Thread fhanik
fhanik  2004/09/24 13:45:47

  Modified:modules/cluster to-do.txt
  Log:
  Added a wish for the ability to disable replicated attribute events
  
  Revision  ChangesPath
  1.2   +1 -0  jakarta-tomcat-catalina/modules/cluster/to-do.txt
  
  Index: to-do.txt
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/modules/cluster/to-do.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- to-do.txt 10 Sep 2004 21:52:32 -  1.1
  +++ to-do.txt 24 Sep 2004 20:45:47 -  1.2
  @@ -7,4 +7,5 @@
   6. Implement context attribute replication (?)
   7. JMX friendly
   8. Documentation
  +9. Add a flag for replicated  attribute events, to enable or disable them
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/modules/cluster to-do.txt

2004-09-10 Thread fhanik
fhanik  2004/09/10 14:52:32

  Added:   modules/cluster to-do.txt
  Log:
  to do list for clusters
  
  Revision  ChangesPath
  1.1  jakarta-tomcat-catalina/modules/cluster/to-do.txt
  
  Index: to-do.txt
  ===
  1. Fix farm deployment for 5.5
  2. Extend StandardSession if possible
  3. Implement primary/secondary replication logic
  4. Implement fragmentation of large replication objects
  5. Implementa NonSerializable interface for session attributes that do not
  wish to be replicated
  6. Implement context attribute replication (?)
  7. JMX friendly
  8. Documentation
  
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: cvs commit: jakarta-tomcat-catalina/modules/cluster to-do.txt

2004-09-10 Thread Remy Maucherat
[EMAIL PROTECTED] wrote:
fhanik  2004/09/10 14:52:32
 Added:   modules/cluster to-do.txt
 Log:
 to do list for clusters
 
 Revision  ChangesPath
 1.1  jakarta-tomcat-catalina/modules/cluster/to-do.txt
 
 Index: to-do.txt
 ===
 1. Fix farm deployment for 5.5
 2. Extend StandardSession if possible
 3. Implement primary/secondary replication logic
 

This is a good set of priorities. +1.
 4. Implement fragmentation of large replication objects
 5. Implementa NonSerializable interface for session attributes that do not
 wish to be replicated
 6. Implement context attribute replication (?)
 

I have no idea what this is either ;)
 7. JMX friendly
 

Stats ? :)
 8. Documentation
Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]