[jira] [Commented] (OFBIZ-4242) CatalinaContainer Doesn't Respect distributable/ Node for web.xml files.

2011-08-12 Thread Lon F. Binder (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-4242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13084079#comment-13084079
 ] 

Lon F. Binder commented on OFBIZ-4242:
--

Jacques, sorry I must have missed the original question.  Distributing 
components adds additional load to the cluster manager and the network.  There 
are various components that don't need to distribute, such as all the 
administrative tools (at least for our organization).  Another example are 
service-oriented components, which we don't want to distribute.

 CatalinaContainer Doesn't Respect distributable/ Node for web.xml files.
 --

 Key: OFBIZ-4242
 URL: https://issues.apache.org/jira/browse/OFBIZ-4242
 Project: OFBiz
  Issue Type: Bug
  Components: ALL APPLICATIONS
Affects Versions: Release 09.04
Reporter: Lon F. Binder
Assignee: Jacques Le Roux
  Labels: cluster, clustering, tomcat
 Attachments: ofbiz-4242-patch.txt


 Per the servlet specification, the {{web.xml}} file should allow an optional 
 {{distributable/}} node to indicate that the application is clusterable.  
 Currently, OFBiz does not respect this setting and assumes all applications 
 should be distributed if any cluster configuration is provided in the 
 {{ofbiz-containers.xml}} file.  As a result, if, for example, the 
 {{DeltaManager}} is enable, all applications attempt to cluster and 
 communicate via {{DeltaManager}}.
 The expected and proper functionality is to check the individual 
 application's web.xml file for the {{distributable/}} node and only use the 
 {{DeltaManager}} if found; otherwise the {{StandardManager}} should be used 
 for sessions.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (OFBIZ-4242) CatalinaContainer Doesn't Respect distributable/ Node for web.xml files.

2011-08-12 Thread Jacques Le Roux (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-4242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13084202#comment-13084202
 ] 

Jacques Le Roux commented on OFBIZ-4242:


Lon,

First thing, your patch is done for 9.04 we don't apply patches on releases but 
bug. This is not a bug but an improvement. COuld you please redo your patch 
against trunk?

Also there are tabs in your patch, please follow 
https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Contributors+Best+Practices
 closely.

You duplicated the JavaDoc for containsString(final String fileName, from 
public static boolean containsString(Reader reader, final String searchString)  
w/out changing some infos

Thanks

 CatalinaContainer Doesn't Respect distributable/ Node for web.xml files.
 --

 Key: OFBIZ-4242
 URL: https://issues.apache.org/jira/browse/OFBIZ-4242
 Project: OFBiz
  Issue Type: Bug
  Components: ALL APPLICATIONS
Affects Versions: Release 09.04
Reporter: Lon F. Binder
Assignee: Jacques Le Roux
  Labels: cluster, clustering, tomcat
 Attachments: ofbiz-4242-patch.txt


 Per the servlet specification, the {{web.xml}} file should allow an optional 
 {{distributable/}} node to indicate that the application is clusterable.  
 Currently, OFBiz does not respect this setting and assumes all applications 
 should be distributed if any cluster configuration is provided in the 
 {{ofbiz-containers.xml}} file.  As a result, if, for example, the 
 {{DeltaManager}} is enable, all applications attempt to cluster and 
 communicate via {{DeltaManager}}.
 The expected and proper functionality is to check the individual 
 application's web.xml file for the {{distributable/}} node and only use the 
 {{DeltaManager}} if found; otherwise the {{StandardManager}} should be used 
 for sessions.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (OFBIZ-4242) CatalinaContainer Doesn't Respect distributable/ Node for web.xml files.

2011-05-07 Thread Jacques Le Roux (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-4242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13030359#comment-13030359
 ] 

Jacques Le Roux commented on OFBIZ-4242:


Lon,

One thing I don't get though: if you don't need these components why don't you 
simply comment them out in the component-load.xml files. Or do you need them 
but not shared by all the machines and then why (seems weird to me)?

 CatalinaContainer Doesn't Respect distributable/ Node for web.xml files.
 --

 Key: OFBIZ-4242
 URL: https://issues.apache.org/jira/browse/OFBIZ-4242
 Project: OFBiz
  Issue Type: Bug
  Components: ALL APPLICATIONS
Affects Versions: Release 09.04
Reporter: Lon F. Binder
Assignee: Jacques Le Roux
  Labels: cluster, clustering, tomcat
 Attachments: ofbiz-4242-patch.txt


 Per the servlet specification, the {{web.xml}} file should allow an optional 
 {{distributable/}} node to indicate that the application is clusterable.  
 Currently, OFBiz does not respect this setting and assumes all applications 
 should be distributed if any cluster configuration is provided in the 
 {{ofbiz-containers.xml}} file.  As a result, if, for example, the 
 {{DeltaManager}} is enable, all applications attempt to cluster and 
 communicate via {{DeltaManager}}.
 The expected and proper functionality is to check the individual 
 application's web.xml file for the {{distributable/}} node and only use the 
 {{DeltaManager}} if found; otherwise the {{StandardManager}} should be used 
 for sessions.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (OFBIZ-4242) CatalinaContainer Doesn't Respect distributable/ Node for web.xml files.

2011-04-21 Thread Jacques Le Roux (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-4242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13022709#comment-13022709
 ] 

Jacques Le Roux commented on OFBIZ-4242:


Hi Lon,

Did you already made some measures with a profiler, to see how it impacts 
performance?

 CatalinaContainer Doesn't Respect distributable/ Node for web.xml files.
 --

 Key: OFBIZ-4242
 URL: https://issues.apache.org/jira/browse/OFBIZ-4242
 Project: OFBiz
  Issue Type: Bug
  Components: ALL APPLICATIONS
Affects Versions: Release 09.04
Reporter: Lon F. Binder
Assignee: Jacques Le Roux
  Labels: cluster, clustering, tomcat
 Attachments: ofbiz-4242-patch.txt


 Per the servlet specification, the {{web.xml}} file should allow an optional 
 {{distributable/}} node to indicate that the application is clusterable.  
 Currently, OFBiz does not respect this setting and assumes all applications 
 should be distributed if any cluster configuration is provided in the 
 {{ofbiz-containers.xml}} file.  As a result, if, for example, the 
 {{DeltaManager}} is enable, all applications attempt to cluster and 
 communicate via {{DeltaManager}}.
 The expected and proper functionality is to check the individual 
 application's web.xml file for the {{distributable/}} node and only use the 
 {{DeltaManager}} if found; otherwise the {{StandardManager}} should be used 
 for sessions.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (OFBIZ-4242) CatalinaContainer Doesn't Respect distributable/ Node for web.xml files.

2011-04-21 Thread Lon F. Binder (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-4242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13022712#comment-13022712
 ] 

Lon F. Binder commented on OFBIZ-4242:
--

We did some preliminaries, but the changes were co-mingled with a number of 
others, so I don't have clean profile data.

One thing I can say is that the system startup is substantially faster.  
Another benefit is that when the cluster is out of sync, which we've seen 
numerous times after a crash due to extremely high load, the re-synchronization 
is much faster because instead of waiting 60+ seconds for each component, it is 
only 60+ for the selected components (in our case 4 vs. ~30).

 CatalinaContainer Doesn't Respect distributable/ Node for web.xml files.
 --

 Key: OFBIZ-4242
 URL: https://issues.apache.org/jira/browse/OFBIZ-4242
 Project: OFBiz
  Issue Type: Bug
  Components: ALL APPLICATIONS
Affects Versions: Release 09.04
Reporter: Lon F. Binder
Assignee: Jacques Le Roux
  Labels: cluster, clustering, tomcat
 Attachments: ofbiz-4242-patch.txt


 Per the servlet specification, the {{web.xml}} file should allow an optional 
 {{distributable/}} node to indicate that the application is clusterable.  
 Currently, OFBiz does not respect this setting and assumes all applications 
 should be distributed if any cluster configuration is provided in the 
 {{ofbiz-containers.xml}} file.  As a result, if, for example, the 
 {{DeltaManager}} is enable, all applications attempt to cluster and 
 communicate via {{DeltaManager}}.
 The expected and proper functionality is to check the individual 
 application's web.xml file for the {{distributable/}} node and only use the 
 {{DeltaManager}} if found; otherwise the {{StandardManager}} should be used 
 for sessions.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (OFBIZ-4242) CatalinaContainer Doesn't Respect distributable/ Node for web.xml files.

2011-04-21 Thread Jacques Le Roux (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-4242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13022715#comment-13022715
 ] 

Jacques Le Roux commented on OFBIZ-4242:


Thanks Lon, it gives at least an idea about it

 CatalinaContainer Doesn't Respect distributable/ Node for web.xml files.
 --

 Key: OFBIZ-4242
 URL: https://issues.apache.org/jira/browse/OFBIZ-4242
 Project: OFBiz
  Issue Type: Bug
  Components: ALL APPLICATIONS
Affects Versions: Release 09.04
Reporter: Lon F. Binder
Assignee: Jacques Le Roux
  Labels: cluster, clustering, tomcat
 Attachments: ofbiz-4242-patch.txt


 Per the servlet specification, the {{web.xml}} file should allow an optional 
 {{distributable/}} node to indicate that the application is clusterable.  
 Currently, OFBiz does not respect this setting and assumes all applications 
 should be distributed if any cluster configuration is provided in the 
 {{ofbiz-containers.xml}} file.  As a result, if, for example, the 
 {{DeltaManager}} is enable, all applications attempt to cluster and 
 communicate via {{DeltaManager}}.
 The expected and proper functionality is to check the individual 
 application's web.xml file for the {{distributable/}} node and only use the 
 {{DeltaManager}} if found; otherwise the {{StandardManager}} should be used 
 for sessions.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira