Re: Any chance for an upgrade? - help please

2010-01-29 Thread Brett Palmer
Florin, I'm not sure what you mean when you say apache talke with ofbiz instances via AJP rather than mod_jk. I thought mod_jk used AJP. I would be interested if you find that AJP is a bottleneck. We use a configuration with Apache on the front end and ofbiz on behind it. We use mod_jk

Re: Any chance for an upgrade? - help please

2010-01-29 Thread Florin Popa
Hi, Today is planned to switch from AJP to mod_jk...I will let you know the differences. How did I reached that point: a simple tool http://httpd.apache.org/docs/2.0/programs/ab.html I tried to hit the Apache server only like /usr/local/apache2/bin/ab -c 100 -t 30 url and I could reach

Re: Any chance for an upgrade? - help please

2010-01-29 Thread Florin Popa
Hi, It seems I was on a false track... the tests hits directly against ofbiz (without Apache in front) did not work properly.. now they do and I only get max 2-3 req.sec... What could be wrong configured? I tried similar hits against one simple tomcat and on 30 secs I reach 5 req/sec.

Re: Any chance for an upgrade? - help please

2010-01-29 Thread Brett Palmer
Florin, Have you tried using Apache's mod_proxy instead of mod_jk? I'm not surprised that you get faster responses directly from Apache but 2-3 req/sec doesn't sound good for Tomcat either. I'll try this same tool in our configuration and see what we get. For us we configure mod_jk to

Re: Any chance for an upgrade? - help please

2010-01-29 Thread Florin Popa
Hi, It is even worse for me... I dropped the tests regarding apache and I tried tests directly against one ofbiz instance, without any apache in front..using the same apache ab tool. I never exceee 3-4 requests per second :( I tried also to hit one static page and I reach arround 2000

Re: Any chance for an upgrade? - help please

2010-01-28 Thread Florin Popa
Thanks everyone for the help! Today we succeeded port to geronimo transaction 2.1 as well as the switch from minerva to DBCP connection pool. It seems much better but I am not fully content :) Maybe because the automated testing tool I am using can not really hit hard enough.. Any

Re: Any chance for an upgrade? - help please

2010-01-28 Thread David E Jones
The Grinder is a nice tool for such things (and has a nice recording proxy). BTW, make sure to set your HTTP and thread pool sizes adequately for the load you are planning on. -David On Jan 28, 2010, at 11:30 AM, Florin Popa wrote: Thanks everyone for the help! Today we succeeded port

Re: Any chance for an upgrade? - help please

2010-01-28 Thread Florin Popa
I'll take a look ar Grinder, seems promising, thanks again. Of course life is never easy :) now I have another problem... the network admin configured 2 ofbiz instances having an apache in front of them as balancer.. but apache talks with ofbiz instances via AJP rather than mod_jk ..which

Re: Any chance for an upgrade? - help please

2010-01-28 Thread Jacques Le Roux
Did you look into the FAQ? Jacques From: Florin Popa flopacons...@gmail.com I'll take a look ar Grinder, seems promising, thanks again. Of course life is never easy :) now I have another problem... the network admin configured 2 ofbiz instances having an apache in front of them as balancer..

Re: Any chance for an upgrade? - help please

2010-01-27 Thread Scott Gray
Sorry for the slow reply Florin, this slipped past me until I saw your message to Jacques a moment ago. Could you provide more details about what changes you've made to this checkout? My first guess is that there's something wrong with the database connection since the problem appears during

Re: Any chance for an upgrade? - help please

2010-01-27 Thread Florin Popa
Hi, There were a lot of changes done... but nothing inside the core of the project as well as nothing related to the DB layer.. I start 90 concurrent users, they all perform well for a while, aprox 10 mins with a single Ofbiz instance (in production I have 2 instances with an apache

Re: Any chance for an upgrade? - help please

2010-01-27 Thread Scott Gray
Okay but what approach are you taking currently? Is this an attempt to back port the transaction management changes or are you updating OFBiz to a recent revision? Regards Scott On 27/01/2010, at 1:37 PM, Florin Popa wrote: Hi, There were a lot of changes done... but nothing inside the

Re: Any chance for an upgrade? - help please

2010-01-27 Thread Florin Popa
Hello Scott, I am trying again to me more coherent - difficult in the current situation (few production systems with low load but coming soon more productions with mich higher load) On load tests I noticed after few minutes lots of crashed and then no more database connections. An

Re: Any chance for an upgrade? - help please

2010-01-27 Thread Scott Gray
I'm sorry the potential for problems with this approach is just too large for me to be able to help you through it. Regards Scott HotWax Media http://www.hotwaxmedia.com On 27/01/2010, at 1:53 PM, Florin Popa wrote: The attempt to update Ofbiz to recent revision is for the moment (time

Re: Any chance for an upgrade? - help please

2010-01-27 Thread Florin Popa
I was just asking myself if someone encountered before such problems on older revisions.. Would be Geronimo ok to be used or shall I try something else? regards, Florin I'm sorry the potential for problems with this approach is just too large for me to be able to help you through it.

Re: Any chance for an upgrade? - help please

2010-01-27 Thread Jacques Le Roux
I upgraded 2 systems from Minerva (R4.0) to DBCP for clients of mine but I don't know if it's the kind of problems you encounter. It seems that you are facing more. Not sure as I have, like you, not much time to look at it Jacques From: Florin Popa flopacons...@gmail.com I was just asking

Re: Any chance for an upgrade? - help please

2010-01-27 Thread David E Jones
You're using a quite old version of OFBiz with the Minerva connection pool (I can tell from the stack trace you sent earlier). The Minerva connection pool has some issues with resetting connections when there are errors, especially if there is any code that doesn't manage errors well, but also

Re: Any chance for an upgrade? - help please

2010-01-27 Thread Jacques Le Roux
And even after that you would need to enhance the system with change done since that. Especially is you use a system with a load balancer. But Minerva to DBCP is the big one, yes Jacques From: David E Jones d...@me.com You're using a quite old version of OFBiz with the Minerva connection

Any chance for an upgrade? - help please

2010-01-25 Thread Florin Popa
Hello all, We started to develop an e-commerce application based on Ofbiz framework around 2 years ago. The version we started from is a revision 691692. Main problem is that we already have few systems launched into production, based on that revision. Meanwhile, doing some mass tests, we

Re: Any chance for an upgrade? - help please

2010-01-25 Thread Scott Gray
Given the amount of changes required to back port you're probably better to upgrade to a newer revision, depending on how you've handled your custom code and what tests you have in place to verify your main areas of functionality, it should be relatively straightforward. Regards Scott HotWax

Re: Any chance for an upgrade? - help please

2010-01-25 Thread Florin Popa
We have a separate Eclipse project which contains ONLY the resources we ever touched. But even like this no one of the procedures seems easy for the moment regards, Flopa Given the amount of changes required to back port you're probably better to upgrade to a newer revision, depending on how

Re: Any chance for an upgrade? - help please

2010-01-25 Thread Jacques Le Roux
If you are mostly interested by the framework fixes, you may try to apply the patches you may found in respective Jira issues... Jacques From: Florin Popa flopacons...@gmail.com We have a separate Eclipse project which contains ONLY the resources we ever touched. But even like this no one of

Re: Any chance for an upgrade? - help please

2010-01-25 Thread Florin Popa
Hello Scott, Additionally, I just noticed that revision 902810 could not be started: [java] 2010-01-25 15:12:48,825 (main) [ ModelViewEntity.java:529:WARN ] Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for

Re: Any chance for an upgrade? - help please

2010-01-25 Thread Florin Popa
I am not quite sure if a JIRA with exactly my non thread-safe issue could be found.. so I started with the target to upgrade that class and all related..but those related drove us further to more and more - at least for the moment it seems no chance that way thanks, Flopa If you are mostly