Re: [SOLVED] Calling action passed via biding in subcomponent.

2012-11-04 Thread Johnny Miller
Cool! One more thing you might want to try is to have your component subclass ERXDynamicElement. That will make it more memory efficient. Johnny Miller Kahalawai Media Co. On Nov 4, 2012, at 9:51 AM, Miguel Torres wrote: > Hi Johnny, > > I reviewed the code of ERXLinkButton5 and found what

Re: [SOLVED] Calling action passed via biding in subcomponent.

2012-11-04 Thread Miguel Torres
Hi Johnny, I reviewed the code of ERXLinkButton5 and found what I guess the code to do what Chuck suggested. This is the code that did the trick: public WOActionResults invokeAction(WORequest request, WOContext context) { WOActionResults anActionResult = null; if(contex

Re: Instances limit per host?

2012-11-04 Thread Pascal Robert
Le 2012-11-04 à 12:19, Jesse Tayler a écrit : > > are avoiding apache when you run by hand? > > if so, I'd think about apache or somewhere which I recall does have a > maxThreads somewhere -- this may also interrupt your launch via > wotaskd/monitor? The app is not even starting, I'm just a

Re: Instances limit per host?

2012-11-04 Thread Jesse Tayler
are avoiding apache when you run by hand? if so, I'd think about apache or somewhere which I recall does have a maxThreads somewhere -- this may also interrupt your launch via wotaskd/monitor? On Nov 4, 2012, at 12:06 PM, Pascal Robert wrote: > > Le 2012-11-04 à 11:31, Karl Gretton a écr

Re: Instances limit per host?

2012-11-04 Thread Pascal Robert
Le 2012-11-04 à 11:31, Karl Gretton a écrit : > Hi Pascal, > > I have never hit an instance limit. I think we have been to 60+ on a single > host. > > Are you hitting other system and resource limits? JRE launch limits? RAM is fine (swap too). And launching the app manually with the same u

Re: Instances limit per host?

2012-11-04 Thread Jesse Tayler
more likely a thread limit in Java is being hit? I think you can increase both thread limits and memory overhead limits in the Java VM which may help there? On Nov 4, 2012, at 11:27 AM, Pascal Robert wrote: > Hi guys, > > I'm having a problem here, I try to add an instance of a new app an

Re: Instances limit per host?

2012-11-04 Thread Mike Schrag
the only thing i know that sets a limit is mod_wo: ./Adaptor/config.h:#define WA_MAX_APP_COUNT 256 /* maximum number of applications the adaptor can keep track of */ ./Adaptor/config.h:#define WA_MAX_APP_INSTANCE_COUNT128 /* maximum number of instances of a single applica

Re: Instances limit per host?

2012-11-04 Thread Karl Gretton
Hi Pascal, I have never hit an instance limit. I think we have been to 60+ on a single host. Are you hitting other system and resource limits? JRE launch limits? Karl On 4 Nov 2012, at 19:27, Pascal Robert wrote: > Hi guys, > > I'm having a problem here, I try to add an instance of a new

Instances limit per host?

2012-11-04 Thread Pascal Robert
Hi guys, I'm having a problem here, I try to add an instance of a new app and trying to do it, it's just timeout, either by JavaMonitor GUI or the REST call. So I guess there is a limit of the number of instances you can have? Right now, the host is running 40 instances (of different applicatio