Re: jQuery validator defaults

2011-07-13 Thread Jonatan Soto
Thanks a lot Sasha! On Wed, Jul 13, 2011 at 7:52 AM, Sascha Rodekamp wrote: > Hi Jonatan, > you can't put label tags in js files, because they are interpreted by the > freemarker parser, which don't parse js files. > > Some month ago, i created a JS function which can resolve ui Label tags. > Yo

Re: ofbiz "mavenizer"

2011-07-13 Thread David E Jones
I know various people have expressed interest in Maven over the years. From a quick search I see such discussions going back to 2003! OFBiz would definitely benefit from more modularization, and Maven may be able to help with that. However, it is just a tool and would still require significant

Tata eCommerce based on Apache OFBiz?

2011-07-13 Thread David E Jones
I heard a rumor that Tata (TCS) has an ecommerce system that is based on OFBiz, though with re-written ecommerce and catalog/etc management applications. Has anyone heard of this, or even better... is anyone involved with this effort at TCS or perhaps using it in their company or for a client?

Re: ofbiz "mavenizer"

2011-07-13 Thread Eric Bowman
Hi, One other point: this tool is currently useful against ofbiz "as-is", in order to build software that depends on it, using maven. Converting ofbiz to use maven is a considerably bigger project. On 13 Jul 2011, at 15:01, David E Jones wrote: > > I know various people have expressed intere

Re: ofbiz "mavenizer"

2011-07-13 Thread David E Jones
Is part of the intent to use the Maven release plugin for deployment and such as well? -David On Jul 13, 2011, at 3:12 PM, Eric Bowman wrote: > Hi, > > One other point: this tool is currently useful against ofbiz "as-is", in > order to build software that depends on it, using maven. Conver

Re: Tata eCommerce based on Apache OFBiz?

2011-07-13 Thread pierre.gaudin
Hy, The same sound of a French customer which deployed a huge ecommerce with TATA and the ATG system. But I do not have more information... Pierre On 13/07/2011 15:07, David E Jones wrote: I heard a rumor that Tata (TCS) has an ecommerce system that is based on OFBiz, though with re-written

Re: ofbiz "mavenizer"

2011-07-13 Thread Eric Bowman
Yes. We version our changes of ofbiz in a mavenesque way, and intend to use the maven release plugin to generate releases which get "deployed" (in maven terminology) to a repository, from which they get deployed to real servers. On 13 Jul 2011, at 15:18, David E Jones wrote: > > Is part of th

Re: How to configure OFBiz database using MS Sql Server 2008 R2

2011-07-13 Thread Rafael Rondon
Ready, and is running well in SQL Server 2008 R2, I just need to raise test data, thus giving the error because the database did not contain any records in its tables. I ran the following command: ant run-install; and then: startofbiz.bat. Thanks, Rafael On Tue, Jul 12, 2011 at 4:47 PM, Rafae

Re: ofbiz "mavenizer"

2011-07-13 Thread David E Jones
This is an interesting idea, and there seem to be a number of plugins for Maven that deal with release/build/deploy automation. Looking around to learn more about this I found this interesting intro presentation that talks about the Maven release plugin, plus plugins for other tools like Codeh

Re: ofbiz "mavenizer"

2011-07-13 Thread Sascha Rodekamp
Hi David, hi Eric, first: cool tool Eric would love to see it! I worked a lot with maven in the last year and must say it is pretty amazing how easy thinks can be when you follow the convention over configuration pattern. There are plenty of plugins which support you by building/deploying/organiz

Re: Accounting doc

2011-07-13 Thread BJ Freeman
google ofbiz reconciliation you will get some jira issues about it. there is help on each page. you can also see the complete doc available by using http://demo-trunk.ofbiz.apache.org/cmssite/cms/APACHE_OFBIZ_HTML then do a find in the browser for the what you looking for. does not always work but

JobManager failing to schedule jobs

2011-07-13 Thread Josh Jacobson
Hello Everyone, I have an ofbiz instance in production where none of the jobs are being performed. I have about 160K jobs in pending status, but they are never being schedule. I can see the following in the log: 2011-07-13 13:32:01,959 (org.ofbiz.service.job.JobPoller@2599930b) [ JobManager.java:

Re: JobManager failing to schedule jobs

2011-07-13 Thread BJ Freeman
the key is Transaction timeout this could be the job length could be the database connection please specify the version of ofbiz since earlier transaction problems were taken care of by changing code that deals with transactions. Josh Jacobson sent the following on 7/13/2011 11:48 AM: > Hello Ev

Re: JobManager failing to schedule jobs

2011-07-13 Thread Brett Palmer
Josh, I've also seen this problem if the JobSandbox table has too many rows to process. I ran into a similar problem when I tried to run 10,000 Async batch processes. The time it took for the JobPoller to process all the records was too long and the transaction would time out. I had a patch to

Re: JobManager failing to schedule jobs

2011-07-13 Thread Josh Jacobson
BJ, I am running 10.04. On Wed, Jul 13, 2011 at 12:00 PM, BJ Freeman wrote: > the key is  Transaction timeout > this could be the job length > could be the database connection > > please specify the version of ofbiz since earlier transaction problems > were taken care of by changing code that de

Re: JobManager failing to schedule jobs

2011-07-13 Thread Josh Jacobson
Brett, Can you please explain what you mean by archiving the current JobSandbox first? Do you mean somehow removing the current pending jobs, applying you patch and the copying them back again? Thanks, On Wed, Jul 13, 2011 at 12:08 PM, Brett Palmer wrote: > Josh, > > I've also seen this proble

Re: JobManager failing to schedule jobs

2011-07-13 Thread BJ Freeman
Ok so you have the latest code. what is the eviorment you working with. OS Memory CPU speed Josh Jacobson sent the following on 7/13/2011 12:12 PM: > BJ, > > I am running 10.04. > > On Wed, Jul 13, 2011 at 12:00 PM, BJ Freeman wrote: >> the key is Transaction timeout >> this could be the job l

Re: JobManager failing to schedule jobs

2011-07-13 Thread Brett Palmer
I meant removing finished jobs. If you have thousands of pending jobs then you will have the same problem I mentioned in my first email. One resolution will be to increase the job poller transaction time. In the ofbiz version I was using there was not a way to configure the poller transaction ti

Re: JobManager failing to schedule jobs

2011-07-13 Thread Josh Jacobson
Currently I am running: Red Hat Enterprise Linux Server release 5.5 6 CPUs, 16384MB RAM It was very recently upgraded from 2 CPUs and 8GB of RAM because we were having performance issues (lots of swap memory being used). It's on one of those cloud servers. Now it's running without using any swap.

Re: JobManager failing to schedule jobs

2011-07-13 Thread Josh Jacobson
On Wed, Jul 13, 2011 at 12:31 PM, Brett Palmer wrote: > I meant removing finished jobs.  If you have thousands of pending jobs then > you will have the same problem I mentioned in my first email.  One > resolution will be to increase the job poller transaction time.  In the > ofbiz version I was u

Re: JobManager failing to schedule jobs

2011-07-13 Thread Josh Jacobson
On Wed, Jul 13, 2011 at 12:51 PM, Josh Jacobson wrote: > On Wed, Jul 13, 2011 at 12:31 PM, Brett Palmer wrote: >> I meant removing finished jobs.  If you have thousands of pending jobs then >> you will have the same problem I mentioned in my first email.  One >> resolution will be to increase the

Re: JobManager failing to schedule jobs

2011-07-13 Thread BJ Freeman
You now know why I don't recommend cloud configuration for realtime operations, unless your running over dedicate lines not part of the internet. to summarize you environment caused the problem not ofbiz Now you have jobs cued that should have been run but have piled up. you need a way to get the j

Re: JobManager failing to schedule jobs

2011-07-13 Thread Josh Jacobson
Thanks for the pointers. I'll take a look. There is one more piece of information: The purgeOldJobs service is in a "crashed" status. Do you think that is significant? Thanks, On Wed, Jul 13, 2011 at 4:32 PM, BJ Freeman wrote: > You now know why I don't recommend cloud configuration for realtim

Re: JobManager failing to schedule jobs

2011-07-13 Thread BJ Freeman
it means it will not purge job done so you will get a build up you can do a run service to start it again Josh Jacobson sent the following on 7/13/2011 4:41 PM: > Thanks for the pointers. I'll take a look. > > There is one more piece of information: The purgeOldJobs service is in > a "crashed" s

Re: JobManager failing to schedule jobs

2011-07-13 Thread Josh Jacobson
Thanks, that is what I figured. First things first though: I need to get those jobs running somehow. Thanks for the help. On Wed, Jul 13, 2011 at 4:46 PM, BJ Freeman wrote: > it means it will not purge job done so you will get a build up > you can do a run service to start it again > > > Josh Ja

Re: JobManager failing to schedule jobs

2011-07-13 Thread Josh Jacobson
Brett, Before I start trying to run the jobs manually, I want to give your suggestion a try. I think I know where to configure the job polling transaction time (I believe it's the poll-db-millis="2" value on the framework/service/config/serviceengine.xml. However, I still don't know what to i

Re: JobManager failing to schedule jobs

2011-07-13 Thread Scott Gray
That configuration is for the frequency of job polls. There isn't any ability to specify the transaction timeout via configuration so you'll need to modify the code directly: JobManager.java (line 148): beganTransaction = TransactionUtil.begin(); needs to be changed to use TransactionUtil.begin(

Re: JobManager failing to schedule jobs

2011-07-13 Thread Josh Jacobson
Scott, Thanks! That is very precise advise. Do you have a suggestion on interval time? 60 seconds? 120? Thanks, On Wed, Jul 13, 2011 at 5:34 PM, Scott Gray wrote: > That configuration is for the frequency of job polls.  There isn't any > ability to specify the transaction timeout via configura

Re: JobManager failing to schedule jobs

2011-07-13 Thread Scott Gray
As best I can tell there shouldn't be any need to increase the interval between polls since the interval timer doesn't actually start until the previous poll has completed (see JobPoller.run()) so I can't see how a small interval would cause any backlog problems. I'm guessing if there is any lo

Re: JobManager failing to schedule jobs

2011-07-13 Thread Josh Jacobson
Thanks again. I actually meant a suggestion for the transaction timeout. In any case I am grateful for your explanation. On Wednesday, July 13, 2011, Scott Gray wrote: > As best I can tell there shouldn't be any need to increase the interval > between polls since the interval timer doesn't actu

Re: JobManager failing to schedule jobs

2011-07-13 Thread Scott Gray
Ah okay, that is entirely dependent on the number of jobs and the speed the server can process them. As a side note I would keep a close eye on the purgeOldJobs service, when it starts falling over (transaction timeout again) then the number of rows in the table will increase quickly which in t

Re: JobManager failing to schedule jobs

2011-07-13 Thread Brett Palmer
Josh, I'm attaching the patch I used to work around this issue. This is based on an older version of ofbiz so I would compare your current files carefully. The following files were patched: service-config.xsd serviceengine.xml JobManager.java JobPoller.java The patch allowed for a new confi

Re: JobManager failing to schedule jobs

2011-07-13 Thread Josh Jacobson
I tried 60 seconds for timeout but that didn't work. I guess Ill double it now and keep trying. I have about 260,000 pending jobs, and nothing is getting done. I know what you mean about purgeOldjobs. That service is crashed now and I deleted old jobs from the database by hand. I was up to 2.6 mi

Re: ofbiz "mavenizer"

2011-07-13 Thread hyysguy...@gmail.com
Yes, that's the point, I strong recommend migrate the build system to maven, it's very handy to build/development/deploy/release with maven since there is lots of plugins can be use, and you also can write your plugin if possible. Just as Sascha mentioned, IMHO, 1. Maven follow the convention

Re: JobManager failing to schedule jobs

2011-07-13 Thread Scott Gray
Not sure what db you're using but it probably wouldn't hurt to run a vacuum on the table to speed up processing. By the way, I'm pretty sure the default timeout is 60 seconds so you might want to try something a little larger :-) Regards Scott On 14/07/2011, at 2:58 PM, Josh Jacobson wrote: >

Re: JobManager failing to schedule jobs

2011-07-13 Thread Josh Jacobson
Vacuum has been run, (took quite a while). Yeah, I see now that the JobManager actually tries to update all the JobSandbox rows in the transaction, so 60 seconds was pretty low. I am trying 10 minutes now and see how that goes. I am using postgress by the way. Thanks for the help, I really appre

Re: ofbiz "mavenizer"

2011-07-13 Thread Ray Shi
I used Maven Ant Tasks in the development of new OFBiz applications. The Maven Ant Tasks allow some of the Maven's artifact handling features including the dependency management to be used from within the Ant build. So this could be an option for those who wants to use POM to manage the dependenci

who is using ofbiz or where are the providers?

2011-07-13 Thread Hans Bakker
For the people who do not follow any of the below twitters: @apache_ofbiz @ofbiz_info We have created two screens you can use for promotional purposes: OFBiz end users: http://www.ofbiz.info/control/endusers OFBiz providers: http://www.ofbiz.info/control/providers Everybody can add himself or

Re: JobManager failing to schedule jobs

2011-07-13 Thread BJ Freeman
you going to run into this from time to time or one reason or another. the approach I took was to spread the jobs out so they are not lumped together. take a look at how the jobs are Marshalled to be run. Josh Jacobson sent the following on 7/13/2011 8:35 PM: > Vacuum has been run, (took quite a w