Re: Processing 1000 items in Orders takes too long
Hi, C-libre http://www.c-libre.net/control/main faced the same issue some years ago. Their clients (agro-alimentary mid sized entreprises) needed such requirements for sales also. They told me they rewrote this part and also refactored the promotions and price rules to speed them. But unfortunalety it's based on Neogia. So, at least for now (the Neogia team works on so called OFBiz add-ons), no synergies are possible. Jacques From: "ian tabangay" Hi Scott, No its not the customers who are ordering. These are purchase orders of the 500 facilities (or stores). I think its mostly the sheer number of inserts/updates that is required to complete the process. I did a similar application that inserts/updates to the same entities directly to the database to complete a purchase order and the results, as compared to how ofbiz does, it wasn't significantly faster. Right now Im finding ways to divide the work and/or remove this load from the main ofbiz server to give way for other processes that will be maintained by ofbiz. What I wanted to try is to implement ofbiz as a tool to manage inventories and sales of multiple stores; about 500 stores selling about 18,000 products doing at least 1 sales transaction (average of 4 line items) per minute. Stores make purchase orders everyday for about 800 products each day. You mentioned that ofbiz wasnt intended for this kind of use? What would you say could be managable by ofbiz OOTB (or with minor changes)? --- Ian Tabangay On Wed, Nov 11, 2009 at 12:39 PM, Scott Gray wrote: Hi Ian My guess is that because most people don't order 1000 different products in a single purchase order the code has never been optimized to deal with that scenario. The framework itself can certainly handle it so it's really just a matter of finding the bottlenecks and improving the offending code. If you can locate the portions of code that are slowing things down it will be easier to offer suggestions on how to improve it. Regards Scott HotWax Media http://www.hotwaxmedia.com
Re: groovy in javascript
I respond to similar problem in another thread "How to Set partyId in request in javascript" Use groovy handler of org.ofbiz.webapp.event.GroovyEventHandler to get the parameters in your controller request. Rishi Solanki Enterprise Software Developer HotWax Media Pvt. Ltd. On Tue, Nov 10, 2009 at 11:54 AM, Deepa Mandal wrote: > No, I didn't get as such to solve the problem.. > > On Tue, Nov 10, 2009 at 10:25 AM, Ramkrishna Swamy < > ramkrishna.swamyof...@gmail.com> wrote: > > > Any update on this.Deepa have you got something, if yes please > > share, I am also having same problem. > > > > -- > > Thanks > > Ramkrishna > > > > > > On Mon, Nov 9, 2009 at 12:12 PM, Raj Saini wrote: > > > > > Hi Deepa, > > > > > > I am not sure if I understood well what you are trying to achieve. You > > have > > > a drop down. Value selected in the drop down will go as a form field > once > > > you submit the form. This value can be collected in the Groovy script. > I > > do > > > not see a way how you can get some thing in Groovy script without > > submitting > > > the form. If you want to do some thing on selection of drop down, you > can > > > use JavaScript events such as onChange and then you can fire a Ajax > > request > > > whenever value of the drop down changes. > > > > > > > > > Thanks, > > > > > > Raj > > > > > > Deepa Mandal wrote: > > > > > >> Following is my problem: > > >> I have a drop down in a form and upon selecting a value from this drop > > >> down > > >> I have to send contactMechId of that particular value to the included > > ftl > > >> in > > >> the form and *without submitting the form*. If I set the contactMechId > > in > > >> groovy or in request then I can get this in the included ftl, please > > >> suggest > > >> other way through which I can get the contactMechId in groovy or in > > >> request. > > >> > > >> > > >> > > > > > > > > > > > > -- > Thanks & Regards > Deepa >
Re: Processing 1000 items in Orders takes too long
Hi Scott, No its not the customers who are ordering. These are purchase orders of the 500 facilities (or stores). I think its mostly the sheer number of inserts/updates that is required to complete the process. I did a similar application that inserts/updates to the same entities directly to the database to complete a purchase order and the results, as compared to how ofbiz does, it wasn't significantly faster. Right now Im finding ways to divide the work and/or remove this load from the main ofbiz server to give way for other processes that will be maintained by ofbiz. What I wanted to try is to implement ofbiz as a tool to manage inventories and sales of multiple stores; about 500 stores selling about 18,000 products doing at least 1 sales transaction (average of 4 line items) per minute. Stores make purchase orders everyday for about 800 products each day. You mentioned that ofbiz wasnt intended for this kind of use? What would you say could be managable by ofbiz OOTB (or with minor changes)? --- Ian Tabangay On Wed, Nov 11, 2009 at 12:39 PM, Scott Gray wrote: > Hi Ian > > My guess is that because most people don't order 1000 different products in > a single purchase order the code has never been optimized to deal with that > scenario. The framework itself can certainly handle it so it's really just > a matter of finding the bottlenecks and improving the offending code. If > you can locate the portions of code that are slowing things down it will be > easier to offer suggestions on how to improve it. > > Regards > Scott > > HotWax Media > http://www.hotwaxmedia.com
Re: Were to start
Hi Mateo, http://docs.ofbiz.org/display/OFBIZ/OFBiz+Beginners+Development+Guide+Using+Practice+Application+%28Hello+World...%29 Used above link for your practice. Thanks Brajesh Patel mathieu tanguay wrote: Hi everyone, i'm new to ofbiz, just started playing with it two days ago. I just ran accross opentaps (downloading it at the moment) and will give it a try soon. We are a starting company doing wine importation and we need erp-crm-ecommerce so Ofbiz seem's very promising to us. I was wondering what kind of hosting solution is needed by ofbiz in order to run properly. I looked around but didn't see much information about this point. Are most host able to run ofbiz (we are with dreamhost for our website) thanks Mateo
Re: How to set partyId in request in javascript
I suggested the both way, If you want to pass the parameter then use ; parameters: {productPromoCodeId:$F('productPromoCode')} line 418. Here the service will get the productPromoCodeId as parameter, note there is no form submit. Here Rishi Solanki Enterprise Software Developer HotWax Media Pvt. Ltd. On Tue, Nov 10, 2009 at 10:21 AM, Ramkrishna Swamy < ramkrishna.swamyof...@gmail.com> wrote: > Hi Rishi, > I saw the suggested file but in the file parameters are sent after > submitting the form but in my case I don't submit the form and want to pass > the parameter. > > -- > Thanks > Ramkrishna > > On Mon, Nov 9, 2009 at 5:12 PM, Rishi Solanki >wrote: > > > Hi Ram, > > > > If you are on same window then you can easily copy value by using its id. > > $('targetId').value = $('sourceId').value in JS. > > If you need to pass it as request then can see many example of form > > parameters submission in checkoutProcess.js. > > If wanna to submit whole form then go like ; > > parameters: $('shippingOptionForm').serialize(), requestHeaders: {Accept: > > 'application/json'} > > if wanna to submit single or two value then go like ; > > parameters: {productPromoCodeId:$F('productPromoCode')} > > > > Reference file in OFBiz - > > /ecommerce/webapp/ecommerce/images/checkoutProcess.js > > > > Rishi Solanki > > Enterprise Software Developer > > HotWax Media Pvt. Ltd. > > > > > > On Fri, Nov 6, 2009 at 1:47 PM, Ramkrishna Swamy < > > ramkrishna.swamyof...@gmail.com> wrote: > > > > > Is this possible or not??? > > > Actually i have a drop down and i want selected partyid to be passed on > > to > > > other form without submitting the first form. > > > plz hlp > > > > > > Thanks > > > Ramkrishna > > > > > > > > > On Thu, Nov 5, 2009 at 12:36 PM, RamKrishna Swamy < > > > ramkrishna.swamyof...@gmail.com> wrote: > > > > > > > Hi list, > > > > > > > > How can I set a selected partyId's value in request/parameter in > > > > javascript?? > > > > Please help. > > > > > > > > Thanks > > > > Ramkrishna > > > > > > > > > >
Re: Processing 1000 items in Orders takes too long
Hi Ian My guess is that because most people don't order 1000 different products in a single purchase order the code has never been optimized to deal with that scenario. The framework itself can certainly handle it so it's really just a matter of finding the bottlenecks and improving the offending code. If you can locate the portions of code that are slowing things down it will be easier to offer suggestions on how to improve it. Regards Scott HotWax Media http://www.hotwaxmedia.com On 11/11/2009, at 5:16 PM, ian tabangay wrote: oh actually im talking about processing (as in completing) a order with 1000 items. Im looking for ways to tweek ofbiz to make it faster. Has anyone had the same experience? Maybe on a different document (Shipment, Returns, etc)? Id like to get some input. Currently Im testing ofbiz with about 500 facilities, 1,500 suppliers, 18,000 products and 300 product categories. Its quite a load so Im checking if ofbiz can handle it. Thanks for any input anyone can provide. --- Ian Tabangay On Tue, Nov 10, 2009 at 11:00 PM, Matthieu Bollot < matthieu.bol...@nereide.biz> wrote: Hi, which ofbiz version/screen are you using ? I'm fighting with LookUpBulkAddSupplierProducts.groovy used to purchase order for a few days, because it doesn't work in trunk since r831676 And actually, I think that it needs a complete rewrite but it's quite difficult using Delegator and xml forms. The best thing would be to use sql row_number, but even if we could use it, there will be some pagination problems because the first number of products is not the same as the final one… I'm working on it, but I'll not be able to provide something quickly, so if anybody else want to give a try. Regards, Matthieu. smime.p7s Description: S/MIME cryptographic signature
Re: Processing 1000 items in Orders takes too long
oh actually im talking about processing (as in completing) a order with 1000 items. Im looking for ways to tweek ofbiz to make it faster. Has anyone had the same experience? Maybe on a different document (Shipment, Returns, etc)? Id like to get some input. Currently Im testing ofbiz with about 500 facilities, 1,500 suppliers, 18,000 products and 300 product categories. Its quite a load so Im checking if ofbiz can handle it. Thanks for any input anyone can provide. --- Ian Tabangay On Tue, Nov 10, 2009 at 11:00 PM, Matthieu Bollot < matthieu.bol...@nereide.biz> wrote: > Hi, > which ofbiz version/screen are you using ? > > I'm fighting with LookUpBulkAddSupplierProducts.groovy used to purchase > order for a few days, because it doesn't work in trunk since r831676 > > And actually, I think that it needs a complete rewrite but it's quite > difficult using Delegator and xml forms. > > The best thing would be to use sql row_number, but even if we could use > it, there will be some pagination problems because the first number of > products is not the same as the final one… > > I'm working on it, but I'll not be able to provide something quickly, so > if anybody else want to give a try. > > > Regards, > Matthieu. > >
Re: ApacheCon 2009 Round Table User Feedback
Forgot to say, Facebook and iGoogle are the best samples of all :). 在 2009-11-11三的 09:13 +0800,Shi Jinghai写道: > In the architectural level, JBoss Portal can be a good sample, the > concepts are portal, page, window. > http://www.jboss.org/jbossportal/ > or > http://www.jboss.org/gatein > > If you're interested in how a user configs his/her page, you can login > our portal: > http://sso.langhua.org/cas/login?service=http%3A%2F%2Flanghua.org% > 2Fportal%2Fauth%2Fportal%2Fdefault%2FHome > Username: anon > Password: anon > > > In window level, OpenCms is a good example, list, dialog and etc. > http://demo.opencms.org/en/ > > If you're interested in how a user use it, you can login our cms > workplace: > http://sso.langhua.org/cas/login?service=http%3A%2F%2Fcms.langhua.org% > 3A80%2Fopencms705%2Fopencms%2Fsystem%2Flogin%2Findex.html > Username: anon > Password: anon > > Regards, > > Shi Jinghai/Beijing Langhua Ltd. > > > > 在 2009-11-10二的 19:02 -0500,Ruth Hoffman写道: > > Hello Shi: > > Please excuse my ignorance, but what exactly do you mean by "web GUI"? > > Could you give an example of another application suite that has a "web > > GUI" as you suggest? > > Regards, > > Ruth > > > > Shi Jinghai wrote: > > > OFBiz already has a core system (like a dos or linux core), it needs a > > > Windows/GNU(web GUI), perhaps it's time to consider to introduce a new > > > party who is an expert on this. Please don't confuse the GUI with CSS, > > > it's on dialog, window, menu, list, form and etc. > > > > > > Just my 2 cents, > > > > > > Shi Jinghai/Beijing Langhua Ltd. > > > > > > PS: please rename the GUI in framework to another name. > > > > > > 在 2009-11-10二的 07:17 -0700,Brett Palmer写é“: > > > > > >> Here are the notes that I took during the ApacheCon 2009 User Round > > >> Table. > > >> The conference was a success but I believe was less attended than normal. > > >> I've been to about 6 ofbiz conferences and this one was the least > > >> attended > > >> by ofbiz users than others. I attribute this to the current economic > > >> situation rather than anything else. > > >> > > >> Interestingly, a lot of the comments during the round table were > > >> similar to > > >> ones that we have had in the past. The project continues to make progress > > >> but from outsiders it is difficult to measure as some of the new features > > >> takes months to see in the end product. > > >> > > >> There were six people in attendance at the round table. A few had to > > >> leave > > >> early to catch planes in the afternoon. Of those that attended the round > > >> table two were speakers (myself and Ruth). Three of the attendees were > > >> service providers trying to better understand the direction of ofbiz and > > >> one > > >> was a new user that was active in other Apache projects and wanted to > > >> know > > >> more about ofbiz. > > >> > > >> > > >> Here are the key comments: > > >> > > >> * Everyone was very interested in the new project that Dave introduced a > > >> couple of weeks ago about a specialized application for small business. > > >> They > > >> wanted to know a lot more about this project and what it would include. > > >> There was a lot of excitement about the proposal. I didn't have a lot of > > >> details to share so I told them to watch the mailing list for more > > >> details > > >> on the subject. > > >> > > >> * Most common complaint. The UI for the out of the box ecommerce > > >> application. The general feedback was that from a technical perspective > > >> people like ofbiz but it was difficult to convince key business people > > >> that > > >> ofbiz was right for their organization because of the lacking "sizzle" in > > >> the default application. Non-technical people have a hard time > > >> determining > > >> how difficult it is to customize the UI and in a quick review will opt > > >> for a > > >> better looking application because that is all they can really evaluate. > > >> The general thought was that the lack of a very nice front end was > > >> slowing > > >> the adoption for ofbiz > > >> > > >> * Another suggestion was around content management. The ofbiz CMS is not > > >> fully complete with a UI and business logic. The question was asked if it > > >> was possible to plugin other CSM packages the the Java Content Repository > > >> (JCR). > > >> > > >> * There were some comments on OpenTaps and what it means to OFBiz. This > > >> is > > >> always an interesting discussion and I tried to explain the licensing > > >> problems with using OpenTaps. The one benefit people had about using > > >> OpenTaps is that it has a full CRM application that people can use from > > >> the > > >> start. OfBiz is more general and requires more customization. > > >> > > >> * SugarCRM and other similar applications are examples of very large > > >> user > > >> communities because the application is a complete solution. It is > > >> difficult > > >> to convince people to u
Re: ApacheCon 2009 Round Table User Feedback
In the architectural level, JBoss Portal can be a good sample, the concepts are portal, page, window. http://www.jboss.org/jbossportal/ or http://www.jboss.org/gatein If you're interested in how a user configs his/her page, you can login our portal: http://sso.langhua.org/cas/login?service=http%3A%2F%2Flanghua.org% 2Fportal%2Fauth%2Fportal%2Fdefault%2FHome Username: anon Password: anon In window level, OpenCms is a good example, list, dialog and etc. http://demo.opencms.org/en/ If you're interested in how a user use it, you can login our cms workplace: http://sso.langhua.org/cas/login?service=http%3A%2F%2Fcms.langhua.org% 3A80%2Fopencms705%2Fopencms%2Fsystem%2Flogin%2Findex.html Username: anon Password: anon Regards, Shi Jinghai/Beijing Langhua Ltd. 在 2009-11-10二的 19:02 -0500,Ruth Hoffman写道: > Hello Shi: > Please excuse my ignorance, but what exactly do you mean by "web GUI"? > Could you give an example of another application suite that has a "web > GUI" as you suggest? > Regards, > Ruth > > Shi Jinghai wrote: > > OFBiz already has a core system (like a dos or linux core), it needs a > > Windows/GNU(web GUI), perhaps it's time to consider to introduce a new > > party who is an expert on this. Please don't confuse the GUI with CSS, > > it's on dialog, window, menu, list, form and etc. > > > > Just my 2 cents, > > > > Shi Jinghai/Beijing Langhua Ltd. > > > > PS: please rename the GUI in framework to another name. > > > > 在 2009-11-10二的 07:17 -0700,Brett Palmer写é“: > > > >> Here are the notes that I took during the ApacheCon 2009 User Round Table. > >> The conference was a success but I believe was less attended than normal. > >> I've been to about 6 ofbiz conferences and this one was the least attended > >> by ofbiz users than others. I attribute this to the current economic > >> situation rather than anything else. > >> > >> Interestingly, a lot of the comments during the round table were similar > >> to > >> ones that we have had in the past. The project continues to make progress > >> but from outsiders it is difficult to measure as some of the new features > >> takes months to see in the end product. > >> > >> There were six people in attendance at the round table. A few had to leave > >> early to catch planes in the afternoon. Of those that attended the round > >> table two were speakers (myself and Ruth). Three of the attendees were > >> service providers trying to better understand the direction of ofbiz and > >> one > >> was a new user that was active in other Apache projects and wanted to know > >> more about ofbiz. > >> > >> > >> Here are the key comments: > >> > >> * Everyone was very interested in the new project that Dave introduced a > >> couple of weeks ago about a specialized application for small business. > >> They > >> wanted to know a lot more about this project and what it would include. > >> There was a lot of excitement about the proposal. I didn't have a lot of > >> details to share so I told them to watch the mailing list for more details > >> on the subject. > >> > >> * Most common complaint. The UI for the out of the box ecommerce > >> application. The general feedback was that from a technical perspective > >> people like ofbiz but it was difficult to convince key business people that > >> ofbiz was right for their organization because of the lacking "sizzle" in > >> the default application. Non-technical people have a hard time > >> determining > >> how difficult it is to customize the UI and in a quick review will opt for > >> a > >> better looking application because that is all they can really evaluate. > >> The general thought was that the lack of a very nice front end was slowing > >> the adoption for ofbiz > >> > >> * Another suggestion was around content management. The ofbiz CMS is not > >> fully complete with a UI and business logic. The question was asked if it > >> was possible to plugin other CSM packages the the Java Content Repository > >> (JCR). > >> > >> * There were some comments on OpenTaps and what it means to OFBiz. This is > >> always an interesting discussion and I tried to explain the licensing > >> problems with using OpenTaps. The one benefit people had about using > >> OpenTaps is that it has a full CRM application that people can use from the > >> start. OfBiz is more general and requires more customization. > >> > >> * SugarCRM and other similar applications are examples of very large user > >> communities because the application is a complete solution. It is > >> difficult > >> to convince people to use ofbiz because there are pieces that are not > >> complete and require customization. The ability to customize is a benefit > >> for some users but a drawback for others and is a hindrance to wide spread > >> adoption. > >> > >> * Is it possible to break up the components more into separate installable > >> modules. For example, framework versus applications. We discussed how this > >> is currently done
Re: ApacheCon 2009 Round Table User Feedback
Hello Shi: Please excuse my ignorance, but what exactly do you mean by "web GUI"? Could you give an example of another application suite that has a "web GUI" as you suggest? Regards, Ruth Shi Jinghai wrote: OFBiz already has a core system (like a dos or linux core), it needs a Windows/GNU(web GUI), perhaps it's time to consider to introduce a new party who is an expert on this. Please don't confuse the GUI with CSS, it's on dialog, window, menu, list, form and etc. Just my 2 cents, Shi Jinghai/Beijing Langhua Ltd. PS: please rename the GUI in framework to another name. 在 2009-11-10二的 07:17 -0700,Brett Palmer写�: Here are the notes that I took during the ApacheCon 2009 User Round Table. The conference was a success but I believe was less attended than normal. I've been to about 6 ofbiz conferences and this one was the least attended by ofbiz users than others. I attribute this to the current economic situation rather than anything else. Interestingly, a lot of the comments during the round table were similar to ones that we have had in the past. The project continues to make progress but from outsiders it is difficult to measure as some of the new features takes months to see in the end product. There were six people in attendance at the round table. A few had to leave early to catch planes in the afternoon. Of those that attended the round table two were speakers (myself and Ruth). Three of the attendees were service providers trying to better understand the direction of ofbiz and one was a new user that was active in other Apache projects and wanted to know more about ofbiz. Here are the key comments: * Everyone was very interested in the new project that Dave introduced a couple of weeks ago about a specialized application for small business. They wanted to know a lot more about this project and what it would include. There was a lot of excitement about the proposal. I didn't have a lot of details to share so I told them to watch the mailing list for more details on the subject. * Most common complaint. The UI for the out of the box ecommerce application. The general feedback was that from a technical perspective people like ofbiz but it was difficult to convince key business people that ofbiz was right for their organization because of the lacking "sizzle" in the default application. Non-technical people have a hard time determining how difficult it is to customize the UI and in a quick review will opt for a better looking application because that is all they can really evaluate. The general thought was that the lack of a very nice front end was slowing the adoption for ofbiz * Another suggestion was around content management. The ofbiz CMS is not fully complete with a UI and business logic. The question was asked if it was possible to plugin other CSM packages the the Java Content Repository (JCR). * There were some comments on OpenTaps and what it means to OFBiz. This is always an interesting discussion and I tried to explain the licensing problems with using OpenTaps. The one benefit people had about using OpenTaps is that it has a full CRM application that people can use from the start. OfBiz is more general and requires more customization. * SugarCRM and other similar applications are examples of very large user communities because the application is a complete solution. It is difficult to convince people to use ofbiz because there are pieces that are not complete and require customization. The ability to customize is a benefit for some users but a drawback for others and is a hindrance to wide spread adoption. * Is it possible to break up the components more into separate installable modules. For example, framework versus applications. We discussed how this is currently done but the feedback was to make it easier for people to pick and choose what components to install. * Any plans to integrate a complete rules engine into ofbiz * Version control for release branches. Are they plans to do more frequent releases? The current download of the nightly build is misleading as user think it is a stable release build but it is really just the nightly build from the trunk. * It was stated that OFBiz is a unique apache project as it is focused on business solutions where as most apache projects focus on a single technical problem. How that technology is used in an application is generally irrelevant. OFBiz is different in that it tries to provide a complete solution for businesses and users. The feedback was that in the future it would be nice to attract more end users to the ofbiz apache conference rather than technical people that implement the solution. This was agreed that if there were more complete applications that the user community would grow and all people in the community would benefit. * Another strategy for OFBiz would be to define business best practices and then implement those processes into the applications. This is a difficul
Re: ApacheCon 2009 Round Table User Feedback
OFBiz already has a core system (like a dos or linux core), it needs a Windows/GNU(web GUI), perhaps it's time to consider to introduce a new party who is an expert on this. Please don't confuse the GUI with CSS, it's on dialog, window, menu, list, form and etc. Just my 2 cents, Shi Jinghai/Beijing Langhua Ltd. PS: please rename the GUI in framework to another name. 在 2009-11-10二的 07:17 -0700,Brett Palmer写道: > Here are the notes that I took during the ApacheCon 2009 User Round Table. > The conference was a success but I believe was less attended than normal. > I've been to about 6 ofbiz conferences and this one was the least attended > by ofbiz users than others. I attribute this to the current economic > situation rather than anything else. > > Interestingly, a lot of the comments during the round table were similar to > ones that we have had in the past. The project continues to make progress > but from outsiders it is difficult to measure as some of the new features > takes months to see in the end product. > > There were six people in attendance at the round table. A few had to leave > early to catch planes in the afternoon. Of those that attended the round > table two were speakers (myself and Ruth). Three of the attendees were > service providers trying to better understand the direction of ofbiz and one > was a new user that was active in other Apache projects and wanted to know > more about ofbiz. > > > Here are the key comments: > > * Everyone was very interested in the new project that Dave introduced a > couple of weeks ago about a specialized application for small business. They > wanted to know a lot more about this project and what it would include. > There was a lot of excitement about the proposal. I didn't have a lot of > details to share so I told them to watch the mailing list for more details > on the subject. > > * Most common complaint. The UI for the out of the box ecommerce > application. The general feedback was that from a technical perspective > people like ofbiz but it was difficult to convince key business people that > ofbiz was right for their organization because of the lacking "sizzle" in > the default application. Non-technical people have a hard time determining > how difficult it is to customize the UI and in a quick review will opt for a > better looking application because that is all they can really evaluate. > The general thought was that the lack of a very nice front end was slowing > the adoption for ofbiz > > * Another suggestion was around content management. The ofbiz CMS is not > fully complete with a UI and business logic. The question was asked if it > was possible to plugin other CSM packages the the Java Content Repository > (JCR). > > * There were some comments on OpenTaps and what it means to OFBiz. This is > always an interesting discussion and I tried to explain the licensing > problems with using OpenTaps. The one benefit people had about using > OpenTaps is that it has a full CRM application that people can use from the > start. OfBiz is more general and requires more customization. > > * SugarCRM and other similar applications are examples of very large user > communities because the application is a complete solution. It is difficult > to convince people to use ofbiz because there are pieces that are not > complete and require customization. The ability to customize is a benefit > for some users but a drawback for others and is a hindrance to wide spread > adoption. > > * Is it possible to break up the components more into separate installable > modules. For example, framework versus applications. We discussed how this > is currently done but the feedback was to make it easier for people to pick > and choose what components to install. > > * Any plans to integrate a complete rules engine into ofbiz > > * Version control for release branches. Are they plans to do more frequent > releases? The current download of the nightly build is misleading as user > think it is a stable release build but it is really just the nightly build > from the trunk. > > * It was stated that OFBiz is a unique apache project as it is focused on > business solutions where as most apache projects focus on a single technical > problem. How that technology is used in an application is generally > irrelevant. OFBiz is different in that it tries to provide a complete > solution for businesses and users. The feedback was that in the future it > would be nice to attract more end users to the ofbiz apache conference > rather than technical people that implement the solution. This was agreed > that if there were more complete applications that the user community would > grow and all people in the community would benefit. > > * Another strategy for OFBiz would be to define business best practices and > then implement those processes into the applications. This is a difficult > task as all businesses are unique but just as ofbiz adopted a commo
Re: problem starting ofbiz
Or any other program that has a binding to port 8080... -David On Nov 10, 2009, at 2:44 PM, Jacques Le Roux wrote: You have certainly another OFBiz instance still running... Jacques From: "mathieu tanguay" i get this error when trying to start ofbiz org.ofbiz.base.start.StartupException: Cannot init() catalina- container (Protoco l handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:8080) at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoade r.java:146) at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:68 ) what could be the cause ? thanks mathieu
Re: problem starting ofbiz
You have certainly another OFBiz instance still running... Jacques From: "mathieu tanguay" i get this error when trying to start ofbiz org.ofbiz.base.start.StartupException: Cannot init() catalina-container (Protoco l handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:8080) at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoade r.java:146) at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:68 ) what could be the cause ? thanks mathieu
problem starting ofbiz
i get this error when trying to start ofbiz org.ofbiz.base.start.StartupException: Cannot init() catalina-container (Protoco l handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:8080) at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoade r.java:146) at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:68 ) what could be the cause ? thanks mathieu
Re: auto-fields-service error?
Hi Olivier, The form is attempting to auto generate the needed fields it needs based on the service definition of updatePracticePerson, but that definition is missing. That service is not part of OFBiz itself and is probably defined somewhere in the book, you'll need to find it and create the service definition and implementation. Regards Scott HotWax Media http://www.hotwaxmedia.com On 11/11/2009, at 4:38 AM, Olivier Tremblay wrote: Hello! I'm new to OFBiz, and I'm trying to do the tutorial. I've had a problem when trying to define the main-decorator. I get the following error: org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://common/widget/ CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included form named [ListPersons] at location [component://hello1/widget/HelloForms.xml]: java.lang.IllegalArgumentException: Error finding Service with name updatePracticePerson for auto-fields-service in a form widget (Error rendering included form named [ListPersons] at location [component:// hello1/widget/HelloForms.xml]: java.lang.IllegalArgumentException: Error finding Service with name updatePracticePerson for auto-fields- service in a form widget) From my guess, I'm missing some definitions, which I didn't create, but there's no place in the tutorial (unless I skipped like 4 paragraphs for no good reason) where this is shown to me. Any help please? smime.p7s Description: S/MIME cryptographic signature
Re: Projectmgr - create new project
Hi Pierre I came across this problem too. After quite a bit of trial and error I found the permissions that gave full project administration authorities including allowing the 'New Project' button to be displayed for a user without having to give them access to the 'FULLADMIN' security group. I created a new security group called 'PROJECTADMIN_ALL' with the following permissions: ASSETMAINT_CREATE ASSETMAINT_UPDATE HUMANRES_CREATE HUMANRES_UPDATE PARTYMGR_ROLE_CREATE PARTYMGR_ROLE_UPDATE PARTYMGR_VIEW PROJECTMGR_ADMIN ALL PROJECTMGR_ROLE_TASK_CREATE PROJECTMGR_ROLE_TIMESHEET_UPDATE PROJECTMGR_ROLE_UPDATE PROJECTMGR_TIMESHEET_CREATE PROJECTMGR_TIMESHEET_UPDATE WORKEFFORTMGR_ADMIN ALL WORKEFFORTMGR_CREATE WORKEFFORTMGR_DELETE WORKEFFORTMGR_UPDATE WORKEFFORTMGR_VIEW You can try this and see if it helps. Thanks Sharan Pierre Smits-3 wrote: > > Hi Christopher, All, > > I am using the trunk. > > Regards, > > Pierre > > 2009/11/10 Christopher Snow > >> What version of ofbiz are you using? This topic may be helpful: >> >> http://n4.nabble.com/project-management-td163956.html#a163956 >> >> >> >> Pierre Smits wrote: >> >>> Hi all, >>> >>> I have created a new party in OfBiz. And this party has the same roles >>> and >>> security permissions as Admin. >>> >>> When I log in as this new party I go to the projects overview in >>> projectmgr. >>> >>> But with this new user I am not able to create projects from the >>> projects >>> overview (i don''t see the 'New project'-button). >>> >>> When I go to an existing project I do see the New project-button, and >>> when >>> I >>> click that and fill out the form and hit save I get following error: >>> >>> *The Following Errors Occurred:* >>> >>> *You have no access to the project#: * >>> >>> Am I missing something regarding party roles and/or security settings? >>> >>> >>> Regards, >>> >>> >>> Pierre >>> >>> >>> >> >> > > -- View this message in context: http://n4.nabble.com/Projectmgr-create-new-project-tp585300p585545.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Were to start
Hi everyone, i'm new to ofbiz, just started playing with it two days ago. I just ran accross opentaps (downloading it at the moment) and will give it a try soon. We are a starting company doing wine importation and we need erp-crm-ecommerce so Ofbiz seem's very promising to us. I was wondering what kind of hosting solution is needed by ofbiz in order to run properly. I looked around but didn't see much information about this point. Are most host able to run ofbiz (we are with dreamhost for our website) thanks Mateo
Re: ApacheCon 2009 Round Table User Feedback
Hi Brett: Thanks so much for doing this. Ruth Brett Palmer wrote: Here are the notes that I took during the ApacheCon 2009 User Round Table. The conference was a success but I believe was less attended than normal. I've been to about 6 ofbiz conferences and this one was the least attended by ofbiz users than others. I attribute this to the current economic situation rather than anything else. Interestingly, a lot of the comments during the round table were similar to ones that we have had in the past. The project continues to make progress but from outsiders it is difficult to measure as some of the new features takes months to see in the end product. There were six people in attendance at the round table. A few had to leave early to catch planes in the afternoon. Of those that attended the round table two were speakers (myself and Ruth). Three of the attendees were service providers trying to better understand the direction of ofbiz and one was a new user that was active in other Apache projects and wanted to know more about ofbiz. Here are the key comments: * Everyone was very interested in the new project that Dave introduced a couple of weeks ago about a specialized application for small business. They wanted to know a lot more about this project and what it would include. There was a lot of excitement about the proposal. I didn't have a lot of details to share so I told them to watch the mailing list for more details on the subject. * Most common complaint. The UI for the out of the box ecommerce application. The general feedback was that from a technical perspective people like ofbiz but it was difficult to convince key business people that ofbiz was right for their organization because of the lacking "sizzle" in the default application. Non-technical people have a hard time determining how difficult it is to customize the UI and in a quick review will opt for a better looking application because that is all they can really evaluate. The general thought was that the lack of a very nice front end was slowing the adoption for ofbiz * Another suggestion was around content management. The ofbiz CMS is not fully complete with a UI and business logic. The question was asked if it was possible to plugin other CSM packages the the Java Content Repository (JCR). * There were some comments on OpenTaps and what it means to OFBiz. This is always an interesting discussion and I tried to explain the licensing problems with using OpenTaps. The one benefit people had about using OpenTaps is that it has a full CRM application that people can use from the start. OfBiz is more general and requires more customization. * SugarCRM and other similar applications are examples of very large user communities because the application is a complete solution. It is difficult to convince people to use ofbiz because there are pieces that are not complete and require customization. The ability to customize is a benefit for some users but a drawback for others and is a hindrance to wide spread adoption. * Is it possible to break up the components more into separate installable modules. For example, framework versus applications. We discussed how this is currently done but the feedback was to make it easier for people to pick and choose what components to install. * Any plans to integrate a complete rules engine into ofbiz * Version control for release branches. Are they plans to do more frequent releases? The current download of the nightly build is misleading as user think it is a stable release build but it is really just the nightly build from the trunk. * It was stated that OFBiz is a unique apache project as it is focused on business solutions where as most apache projects focus on a single technical problem. How that technology is used in an application is generally irrelevant. OFBiz is different in that it tries to provide a complete solution for businesses and users. The feedback was that in the future it would be nice to attract more end users to the ofbiz apache conference rather than technical people that implement the solution. This was agreed that if there were more complete applications that the user community would grow and all people in the community would benefit. * Another strategy for OFBiz would be to define business best practices and then implement those processes into the applications. This is a difficult task as all businesses are unique but just as ofbiz adopted a common data model there most be common business practices that would benefit all businesses. * Improving the integration of the seleniumXml test framework with the existing ofbiz test framework. Also more examples of tests using the OOTB ofbiz applications would be desired. The above comments are notes that I took during the round table discussion. They are not my own personal opinions but of those of the group. Please feel free to comment on these ideas for the benefit of the community. Overall, the peo
Re: how to get out of this list... someone pls. help
Do you mean to unsubscribe from the mailing list?? Go to this link: http://mail-archives.apache.org/mod_mbox/ofbiz-user/ send mail to user-unsubscr...@ofbiz.apache.org..should help Nitin Dhawan wrote: > > > > > -- View this message in context: http://n4.nabble.com/how-to-get-out-of-this-list-someone-pls-help-tp585496p585502.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: compile java event.
Sumit, I did an ant-build.When Iam creating a new record,ie when I click on submit button it displays me the print statements from createPerson() method on console.This is because the target for the form is given as createPerson and service, createPerson is called from controller.xml and java method is executed from servicecalled. Iam clear with this. Just one question which I had was whether the java method,updatePerson() gets executed when service is called with the tag Thankyou. Sumit Pandit-3 wrote: > > Did you rebuild application after changes done in Java file? If no then > please rebuild application with "ant" command. Your print statement must > work. > > -- > Thanks And Regards > Sumit Pandit > > > On Nov 10, 2009, at 7:59 AM, swathi wrote: > >> >> Yes that was what I meant. >> System.out.println("In Update method") dint get printed. Ok Thankyou >> Summit. >> >> >> Sumit Pandit-3 wrote: >>> >>> Do you mean - >>> System.err.println("=== In update person service !!! == "); is >>> not working ? >>> Service will call on submit. >>> >>> >>> On Nov 9, 2009, at 2:41 PM, swathi wrote: >>> Sorry Summit.. But it doesnt look like its getting executed. I wrote a sop in updatePerson() method, and tried to create a person,The record got created but the print stmt did not get printed on console. So I was assuming that the service call at tag just displays the flds as they are in service (as input and output params) and the java method doesnt get executed. Am I in the wrong assumption.. Sumit Pandit-3 wrote: > > Hi Swathi, > > On Nov 9, 2009, at 8:33 AM, swathi wrote: > >> >> Hi Sumit. Thankyou for your guidence. I was looking at createPerson >> flow in >> Party application. >> Iam a little confused here..In EditPerson form in PartyForms.xml, >> At the line, >> does it goto 'updatePerson' in services.xml and from there does it >> goto >> 'updatePerson' method in PartyServices.java and execute the method >> updatePerson() ?? > > It is correct. > > > > >> (I know that when save button is clicked, it goes to either >> createPerson or >> updatePerson service and from there it goes to partyServices.java >> and >> executes createPerson() or UpdatePerson() method accordingly. But >> not sure >> if java method is called when service is called at auto-fields- >> service tag) >> >> Can someone pleaase clear this.. >> >> Thankyou. >> >> >> >> >> >> >> Sumit Pandit-3 wrote: >>> >>> Hi, >>> >>> partyId = delegator.getNextSeqId("Party"); >>> >>> And for more information and to handle other scenario refer - >>> createPerson service in PartyServices.java >>> >>> -- >>> Thanks And Regards >>> Sumit Pandit >>> >>> On Nov 6, 2009, at 1:46 PM, swathi wrote: >>> Thankyou Sumit. But I also need partyId which is primarykey. If I want to auto generate the partyID, How do I do it in this code. Sumit Pandit-3 wrote: > > I think following might help you. > > PS - Please go through Delegator API for being more comfortable. > > > On Nov 6, 2009, at 11:31 AM, swathi wrote: > >> >> Here is my code: >> public static String savePerson(HttpServletRequest request, >> HttpServletResponse response) { >> > > Delegator delegator = (Delegator) request.getAttribute > ("delegator"); > >> String salutation=request.getParameter("salutation"); >> String firstName= request.getParameter("firstName"); >> String lastName = request.getParameter("lastName"); >> String personalTitle=request.getParameter("personalTitle"); >> > > GenericValue person = delegator.makeValue("Person", > UtilMisc.toMap > ("salutation", salutation, "firstName", firstName, "lastName", > lastName, "personalTitle", personalTitle)); > > try { > person.create(); >} catch (GenericEntityException e) {} > > return "success"; > >> >> } >> Actually Iam kind of stuck here,not sure how do I save it to db. >> Iam >> trying >> to create a new record into Person table in webtools. >> >> Thanks >> >> Sumit Pandit-3 wrote: >>> >>> Hi, >>> >>> Can you please paste your code of java event which is saving >>> your >>> data >>> in database. That would help me to understand where you are >>> going >>> wrong.
how to get out of this list... someone pls. help
how to get out of this list... someone pls. help
how to get out of this list... someone pls. help
how to get out of this list... someone pls. help
Re: ApacheCon 2009 Round Table User Feedback
Thanks Brett, This was very intersting to read. It seems that we (OFBiz users) are converging toward the same needs (CMS with JCR, CRM), hopefully we will have more strenght to achieve them... Though I don't expect much for the release process as we still lack human ressources commited toward this goal (and I don't mean only commiters). Few comments inline... Jacques From: "Brett Palmer" * Another suggestion was around content management. The ofbiz CMS is not fully complete with a UI and business logic. The question was asked if it was possible to plugin other CSM packages the the Java Content Repository (JCR). There has been discussions on dev ML about replacing the current implementation with something based on JCR (wy not http://jackrabbit.apache.org/) but nothing concret for the moment. * SugarCRM and other similar applications are examples of very large user communities because the application is a complete solution. It is difficult to convince people to use ofbiz because there are pieces that are not complete and require customization. The ability to customize is a benefit for some users but a drawback for others and is a hindrance to wide spread adoption. I really thing we are not so far from a complete implementation that could compete wih SugarCRM. Though SugarCRM has quite an advance on the ergonomic side... * Is it possible to break up the components more into separate installable modules. For example, framework versus applications. We discussed how this is currently done but the feedback was to make it easier for people to pick and choose what components to install. OSGI ? But is this really a priority for OFBiz ? * Any plans to integrate a complete rules engine into ofbiz Drools was suggested sometimes * Version control for release branches. Are they plans to do more frequent releases? The current download of the nightly build is misleading as user think it is a stable release build but it is really just the nightly build from the trunk. I guess this is because we pusch to use the trunk ;o) Brett
Re: compile java event.
Did you rebuild application after changes done in Java file? If no then please rebuild application with "ant" command. Your print statement must work. -- Thanks And Regards Sumit Pandit On Nov 10, 2009, at 7:59 AM, swathi wrote: > > Yes that was what I meant. > System.out.println("In Update method") dint get printed. Ok Thankyou > Summit. > > > Sumit Pandit-3 wrote: >> >> Do you mean - >> System.err.println("=== In update person service !!! == "); is >> not working ? >> Service will call on submit. >> >> >> On Nov 9, 2009, at 2:41 PM, swathi wrote: >> >>> >>> Sorry Summit.. But it doesnt look like its getting executed. I wrote >>> a sop in >>> updatePerson() method, and tried to create a person,The record got >>> created >>> but the print stmt did not get printed on console. So I was >>> assuming that >>> the service call at tag just displays the flds >>> as they >>> are in service (as input and output params) and the java method >>> doesnt get >>> executed. Am I in the wrong assumption.. >>> >>> Sumit Pandit-3 wrote: Hi Swathi, On Nov 9, 2009, at 8:33 AM, swathi wrote: > > Hi Sumit. Thankyou for your guidence. I was looking at createPerson > flow in > Party application. > Iam a little confused here..In EditPerson form in PartyForms.xml, > At the line, > does it goto 'updatePerson' in services.xml and from there does it > goto > 'updatePerson' method in PartyServices.java and execute the method > updatePerson() ?? It is correct. > (I know that when save button is clicked, it goes to either > createPerson or > updatePerson service and from there it goes to partyServices.java > and > executes createPerson() or UpdatePerson() method accordingly. But > not sure > if java method is called when service is called at auto-fields- > service tag) > > Can someone pleaase clear this.. > > Thankyou. > > > > > > > Sumit Pandit-3 wrote: >> >> Hi, >> >> partyId = delegator.getNextSeqId("Party"); >> >> And for more information and to handle other scenario refer - >> createPerson service in PartyServices.java >> >> -- >> Thanks And Regards >> Sumit Pandit >> >> On Nov 6, 2009, at 1:46 PM, swathi wrote: >> >>> >>> Thankyou Sumit. >>> >>> But I also need partyId which is primarykey. If I want to auto >>> generate the >>> partyID, How do I do it in this code. >>> >>> Sumit Pandit-3 wrote: I think following might help you. PS - Please go through Delegator API for being more comfortable. On Nov 6, 2009, at 11:31 AM, swathi wrote: > > Here is my code: > public static String savePerson(HttpServletRequest request, > HttpServletResponse response) { > Delegator delegator = (Delegator) request.getAttribute ("delegator"); > String salutation=request.getParameter("salutation"); > String firstName= request.getParameter("firstName"); > String lastName = request.getParameter("lastName"); > String personalTitle=request.getParameter("personalTitle"); > GenericValue person = delegator.makeValue("Person", UtilMisc.toMap ("salutation", salutation, "firstName", firstName, "lastName", lastName, "personalTitle", personalTitle)); try { person.create(); } catch (GenericEntityException e) {} return "success"; > > } > Actually Iam kind of stuck here,not sure how do I save it to db. > Iam > trying > to create a new record into Person table in webtools. > > Thanks > > Sumit Pandit-3 wrote: >> >> Hi, >> >> Can you please paste your code of java event which is saving >> your >> data >> in database. That would help me to understand where you are >> going >> wrong. >> >> -- >> Thanks And Regards >> Sumit Pandit >> >> On Nov 6, 2009, at 9:24 AM, swathi wrote: >> >>> >>> Thankyou. >>> >>> Can I not save data in database using Java Program. Do I >>> have to >>> goto >>> service anyhow. >>> This is my flow.. >>> my request goes from controller.xml -> screen-> On click of a >>> button, Create >>> Person-> request goes to controller again ->Screen -> ftl->On >>> click >>> of save >>> button on ftl , the action is 'savePerson' ie goes to >>> controller.xml. Here I >>
Re: SagePay Integrated
Yesterday after submiting the patch it was quite late here so couldn't write on the integration. Here is the link http://viithiisys.com/web/abdullah/blog.html explaining the integration and configuration for anybody planning to use Sagepay. -Abdullah On Mon, Nov 9, 2009 at 10:07 PM, Abdullah Shaikh < abdullah.sha...@viithiisys.com> wrote: > SagePay payment gateway integrated - > https://issues.apache.org/jira/browse/OFBIZ-3180 > > - Abdullah > http://www.viithiisys.com > > > On Fri, Nov 6, 2009 at 7:59 PM, Abdullah Shaikh < > abdullah.sha...@viithiisys.com> wrote: > >> Sorry guys .. I just wanted to do some clean up of code before submitting, >> but before I could do that I got a task for a some demo project which took >> me 4 days to complete :) >> >> I will work on this weekend on clean up >> >> >> On Wed, Nov 4, 2009 at 6:55 AM, Tim Ruppert >> wrote: >> >>> Looking forward to seeing the new integrations! >>> >>> Cheers, >>> Ruppert >>> f:801.649.6595 >>> >>> >>> On Nov 3, 2009, at 11:03 AM, Jacques Le Roux wrote: >>> >>> OK, it was not clear to me, thanks If it's done the same way other gateways are implement I can't see any issue using httpcomponents-client-4.0, and yes it should be located framework/base/lib. I suggest to open a Jira Jacques From: "Abdullah Shaikh" > Hi Jacques, > > I didn't get you If you meant any sagepay code is involved, then > its > not, I have implemented it same as any other payment gateways are > integrated > in ofbiz, for example authorize.net. > > On Tue, Nov 3, 2009 at 10:50 PM, Jacques Le Roux < > jacques.le.r...@les7arts.com> wrote: > > But isn't the SagePay payment gateway licence commercial ? >> >> Jacques >> >> From: "Abdullah Shaikh" >> >> I have integrated SagePay payment gateway into ofbiz accounting >> component, >> >>> which I would like to contribute. >>> >>> For this I have used Apache httpcomponents-client-4.0, is it ok ? >>> >>> I have choose to use httpcomponent because it is easy to send >>> parameters & >>> fetch response from the gateway, compared to using Socket class, and >>> manually forming string and parsing the response string. >>> >>> If its ok then we can add the httpcomponents to the >>> framework/base/lib >>> folder, currently I have added the jar in accounting/lib. >>> >>> Regards, >>> Abdullah >>> http://www.viithiisys.com >>> >>> >>> >> >>> >> >
auto-fields-service error?
Hello! I'm new to OFBiz, and I'm trying to do the tutorial. I've had a problem when trying to define the main-decorator. I get the following error: org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included form named [ListPersons] at location [component://hello1/widget/HelloForms.xml]: java.lang.IllegalArgumentException: Error finding Service with name updatePracticePerson for auto-fields-service in a form widget (Error rendering included form named [ListPersons] at location [component:// hello1/widget/HelloForms.xml]: java.lang.IllegalArgumentException: Error finding Service with name updatePracticePerson for auto-fields- service in a form widget) From my guess, I'm missing some definitions, which I didn't create, but there's no place in the tutorial (unless I skipped like 4 paragraphs for no good reason) where this is shown to me. Any help please?
Re: Processing 1000 items in Orders takes too long
Le mardi 10 novembre 2009 à 19:58 +0800, ian tabangay a écrit : > Hi. > Im trying to do a benchmark on how ofbiz would handle large numbers of data. > I tried to create a Purchase Order with 1000 products in it. I tried > processing it and it was done at about 30 mins. Can anyone suggest a way to > shorten time to process about a thousand items? Hi, which ofbiz version/screen are you using ? I'm fighting with LookUpBulkAddSupplierProducts.groovy used to purchase order for a few days, because it doesn't work in trunk since r831676 And actually, I think that it needs a complete rewrite but it's quite difficult using Delegator and xml forms. The best thing would be to use sql row_number, but even if we could use it, there will be some pagination problems because the first number of products is not the same as the final one… I'm working on it, but I'll not be able to provide something quickly, so if anybody else want to give a try. Regards, Matthieu.
Re: compile java event.
Yes that was what I meant. System.out.println("In Update method") dint get printed. Ok Thankyou Summit. Sumit Pandit-3 wrote: > > Do you mean - > System.err.println("=== In update person service !!! == "); is > not working ? > Service will call on submit. > > > On Nov 9, 2009, at 2:41 PM, swathi wrote: > >> >> Sorry Summit.. But it doesnt look like its getting executed. I wrote >> a sop in >> updatePerson() method, and tried to create a person,The record got >> created >> but the print stmt did not get printed on console. So I was >> assuming that >> the service call at tag just displays the flds >> as they >> are in service (as input and output params) and the java method >> doesnt get >> executed. Am I in the wrong assumption.. >> >> Sumit Pandit-3 wrote: >>> >>> Hi Swathi, >>> >>> On Nov 9, 2009, at 8:33 AM, swathi wrote: >>> Hi Sumit. Thankyou for your guidence. I was looking at createPerson flow in Party application. Iam a little confused here..In EditPerson form in PartyForms.xml, At the line, does it goto 'updatePerson' in services.xml and from there does it goto 'updatePerson' method in PartyServices.java and execute the method updatePerson() ?? >>> >>> It is correct. >>> >>> >>> >>> (I know that when save button is clicked, it goes to either createPerson or updatePerson service and from there it goes to partyServices.java and executes createPerson() or UpdatePerson() method accordingly. But not sure if java method is called when service is called at auto-fields- service tag) Can someone pleaase clear this.. Thankyou. Sumit Pandit-3 wrote: > > Hi, > > partyId = delegator.getNextSeqId("Party"); > > And for more information and to handle other scenario refer - > createPerson service in PartyServices.java > > -- > Thanks And Regards > Sumit Pandit > > On Nov 6, 2009, at 1:46 PM, swathi wrote: > >> >> Thankyou Sumit. >> >> But I also need partyId which is primarykey. If I want to auto >> generate the >> partyID, How do I do it in this code. >> >> Sumit Pandit-3 wrote: >>> >>> I think following might help you. >>> >>> PS - Please go through Delegator API for being more comfortable. >>> >>> >>> On Nov 6, 2009, at 11:31 AM, swathi wrote: >>> Here is my code: public static String savePerson(HttpServletRequest request, HttpServletResponse response) { >>> >>> Delegator delegator = (Delegator) request.getAttribute >>> ("delegator"); >>> String salutation=request.getParameter("salutation"); String firstName= request.getParameter("firstName"); String lastName = request.getParameter("lastName"); String personalTitle=request.getParameter("personalTitle"); >>> >>> GenericValue person = delegator.makeValue("Person", >>> UtilMisc.toMap >>> ("salutation", salutation, "firstName", firstName, "lastName", >>> lastName, "personalTitle", personalTitle)); >>> >>> try { >>> person.create(); >>> } catch (GenericEntityException e) {} >>> >>> return "success"; >>> } Actually Iam kind of stuck here,not sure how do I save it to db. Iam trying to create a new record into Person table in webtools. Thanks Sumit Pandit-3 wrote: > > Hi, > > Can you please paste your code of java event which is saving > your > data > in database. That would help me to understand where you are > going > wrong. > > -- > Thanks And Regards > Sumit Pandit > > On Nov 6, 2009, at 9:24 AM, swathi wrote: > >> >> Thankyou. >> >> Can I not save data in database using Java Program. Do I >> have to >> goto >> service anyhow. >> This is my flow.. >> my request goes from controller.xml -> screen-> On click of a >> button, Create >> Person-> request goes to controller again ->Screen -> ftl->On >> click >> of save >> button on ftl , the action is 'savePerson' ie goes to >> controller.xml. Here I >> have a java event, where I want to save this data entered on >> ftl. I >> got data >> entered, using request,getParameter(). I created a map, >> inpMap=FastMap.newInstance(); >> I put the data into the map. >> inpMap.put("firstName",firstName); >> Not sure how to save this data to database in this program >> itself.. >> I looked >> at some examples where I found,af
Re: Payment Integration
I don't know if there is already an step by step guide, but I will be writing one shortly, till then you can get an idea by looking at test processors in PaymentGatewayServices.java or anyone of the implemented gateway code, I went through Authorizedotnet code. - Abdullah On Tue, Nov 10, 2009 at 8:06 PM, Ofbiz Learner wrote: > Hi All, > > > Is there any step by step process is defined if a user wants to integrate a > new payment gateway? > > Can someone let me know how to go about it. > > -- > Thanks, > > Akhil >
RE: Query in Load balancing with job scheduling
I assume you must have done the database clustering as well. Jobs are serialized and stored in a table called "job_sandbox" if all the Ofbiz instances hit the same database you will not face any conflict scenario. However if you have not...I guess you have an issue. -Abhai -Original Message- From: pankaj.j...@lntinfotech.com [mailto:pankaj.j...@lntinfotech.com] Sent: Tuesday, November 10, 2009 2:10 AM To: user@ofbiz.apache.org Subject: Query in Load balancing with job scheduling Hi We have implemented load balancing in ofbiz for that we have used one Apache server as load balancer and 2 to 3 OFBiz instances on tomcat server It is working fine. but I want to know how it is going to effect job scheduling in ofbiz ?? As if 3 instances of server are running on same database then they can conflict in job scheduling. Also according to me In jobscheduling load balancer will not come in picture. Thanks & Regards: Pankaj Jain | L&T infotech |Navi Mumbai "Whatever the mind of man can conceive & believe, it can achieve." __ http://www.mindtree.com/email/disclaimer.html
Payment Integration
Hi All, Is there any step by step process is defined if a user wants to integrate a new payment gateway? Can someone let me know how to go about it. -- Thanks, Akhil
ApacheCon 2009 Round Table User Feedback
Here are the notes that I took during the ApacheCon 2009 User Round Table. The conference was a success but I believe was less attended than normal. I've been to about 6 ofbiz conferences and this one was the least attended by ofbiz users than others. I attribute this to the current economic situation rather than anything else. Interestingly, a lot of the comments during the round table were similar to ones that we have had in the past. The project continues to make progress but from outsiders it is difficult to measure as some of the new features takes months to see in the end product. There were six people in attendance at the round table. A few had to leave early to catch planes in the afternoon. Of those that attended the round table two were speakers (myself and Ruth). Three of the attendees were service providers trying to better understand the direction of ofbiz and one was a new user that was active in other Apache projects and wanted to know more about ofbiz. Here are the key comments: * Everyone was very interested in the new project that Dave introduced a couple of weeks ago about a specialized application for small business. They wanted to know a lot more about this project and what it would include. There was a lot of excitement about the proposal. I didn't have a lot of details to share so I told them to watch the mailing list for more details on the subject. * Most common complaint. The UI for the out of the box ecommerce application. The general feedback was that from a technical perspective people like ofbiz but it was difficult to convince key business people that ofbiz was right for their organization because of the lacking "sizzle" in the default application. Non-technical people have a hard time determining how difficult it is to customize the UI and in a quick review will opt for a better looking application because that is all they can really evaluate. The general thought was that the lack of a very nice front end was slowing the adoption for ofbiz * Another suggestion was around content management. The ofbiz CMS is not fully complete with a UI and business logic. The question was asked if it was possible to plugin other CSM packages the the Java Content Repository (JCR). * There were some comments on OpenTaps and what it means to OFBiz. This is always an interesting discussion and I tried to explain the licensing problems with using OpenTaps. The one benefit people had about using OpenTaps is that it has a full CRM application that people can use from the start. OfBiz is more general and requires more customization. * SugarCRM and other similar applications are examples of very large user communities because the application is a complete solution. It is difficult to convince people to use ofbiz because there are pieces that are not complete and require customization. The ability to customize is a benefit for some users but a drawback for others and is a hindrance to wide spread adoption. * Is it possible to break up the components more into separate installable modules. For example, framework versus applications. We discussed how this is currently done but the feedback was to make it easier for people to pick and choose what components to install. * Any plans to integrate a complete rules engine into ofbiz * Version control for release branches. Are they plans to do more frequent releases? The current download of the nightly build is misleading as user think it is a stable release build but it is really just the nightly build from the trunk. * It was stated that OFBiz is a unique apache project as it is focused on business solutions where as most apache projects focus on a single technical problem. How that technology is used in an application is generally irrelevant. OFBiz is different in that it tries to provide a complete solution for businesses and users. The feedback was that in the future it would be nice to attract more end users to the ofbiz apache conference rather than technical people that implement the solution. This was agreed that if there were more complete applications that the user community would grow and all people in the community would benefit. * Another strategy for OFBiz would be to define business best practices and then implement those processes into the applications. This is a difficult task as all businesses are unique but just as ofbiz adopted a common data model there most be common business practices that would benefit all businesses. * Improving the integration of the seleniumXml test framework with the existing ofbiz test framework. Also more examples of tests using the OOTB ofbiz applications would be desired. The above comments are notes that I took during the round table discussion. They are not my own personal opinions but of those of the group. Please feel free to comment on these ideas for the benefit of the community. Overall, the people attending the conference commented that they would like OFBiz to
Encrypting password
Hi, I looked for a service to encrypt some passwords. I guess there is nothing OOTB. Have someone something ready ? Else I may create something crude, or maybe enhance import data to allow encrypting password... Thanks Jacques
Re: How to delete a catalog or catagory ?
Note that my intention is to have a handy tool just to delete tests data after installation. Jacques From: "Zhibin Liang" Thanks again all for the comment. It would be great if we could add the delete functions. In terms of "auditing", if we could audit the "delete" actions as well, it should be non-issue then. Regards, Zhibin -Original Message- From: Ruth Hoffman [mailto:rhoff...@aesolves.com] Sent: Tuesday, November 10, 2009 9:20 AM To: user@ofbiz.apache.org Subject: Re: How to delete a catalog or catagory ? Hi Jacques: This is something I tried to get the group to look at doing a long time ago. As you said, its about testing and then cleaning up test data. I got a lot of push back based on the "auditing" argument. The result: Now as I'm learning how to use various parts of the data model - or building my own entities - I build data deletion tools along side my other code. It really helps me to understand the relationships between all the entities in use and I get my data cleaned up in the process. A while back I started writing an Entity Engine cook book with examples of how to do just this along with lots of other goodies...but then you guys went and deprecated all my favorite EE APIs, so now I'm back to square one on that idea :-( So, to answer you question: yes! I think its a great idea. Regards, Ruth Jacques Le Roux wrote: Some SQL scripts could be attached to http://docs.ofbiz.org/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide Or why not, even better, some specific services created, opinions ? Jacques From: "Jacques Le Roux" Zhibin, Actually it's a recurring problem and I begin to wonder if we should not try to provide some help at least to delete orders, invoices, payments and all related entities created just after a setup to verify that all is working correctly. This of course without having to reset all the DB (the records - tuples actually - created being there just for the purpose of testing the DB setup) I guess we have all been in this situation : clients like to see some results before going in production... Jacques From: "Zhibin Liang" Hi Kumaraswamy, Thanks a lot for the feedback, the information you provide is very helpful. I just tried to clean up some demo and test data before moving into production. But that's not absolutely necessary I guess. Best regards, Zhibin -Original Message- From: Kumaraswamy nandipati [mailto:kumarasw...@ecomzera.com] Sent: Monday, November 09, 2009 6:49 PM To: user@ofbiz.apache.org Subject: Re: How to delete a catalog or catagory ? Hi Zhibin, Delete feature is lil. bit in secure(unfortunate delete will impact more on business). May be because of this reason, delete action for catalog and category was not provided from years. if you want to delete, write a stored procedure to delete catalog/category. Otherwise, expire them to maintain it as historical data(sometimes, it is important in ecommerce industry to maintain historical data.). On Sat, Nov 7, 2009 at 5:34 PM, Zhibin Liang wrote: Hi, I did some search on the old archives, it mentioned this can't be done. but that was back in 2004, Just wondering if things have been changed since then ? Thanks much. -- Thanks, Kumaraswamy.N 91-9866805250.
Re: Projectmgr - create new project
Hi Hans, Thanks for your insights. Resetting security rights for the user I found where the problem lies. When the user only has full admin the button shows, but when the user has also roles PROJECTADMIN it loses the right to create new projects. When the user has both security roles FULLADMIN and PROJECTUSER it has the right to create new projects. This would seem to me as an undesirable solution. When the user has the PROJECTADMIN or FULLADMIN security roles he should be able to create new projects When the user has only PROJECTUSER as the security role he shouldn't be able to create new projects. If you agree to above I will create a jira for this. Regards, Pierre 2009/11/10 Hans Bakker > Hi Pierre, > > i created a new user, assigned the "fulladmin" security group logged in > as that user and could create a new project. > > Indeed the 'new project' button did not appear in the business theme, > however in the good old flat grey scheme it did show up. > > You can create a jira issue for the missing button, which i could > imagine could be a problem at more places than here. > > Regards, > Hans > > On Tue, 2009-11-10 at 10:04 +0100, Pierre Smits wrote: > > Hi all, > > > > I have created a new party in OfBiz. And this party has the same roles > and > > security permissions as Admin. > > > > When I log in as this new party I go to the projects overview in > > projectmgr. > > > > But with this new user I am not able to create projects from the projects > > overview (i don''t see the 'New project'-button). > > > > When I go to an existing project I do see the New project-button, and > when I > > click that and fill out the form and hit save I get following error: > > > > *The Following Errors Occurred:* > > > > *You have no access to the project#: * > > > > Am I missing something regarding party roles and/or security settings? > > > > > > Regards, > > > > > > Pierre > -- > Antwebsystems.com: Quality OFBiz services for competitive rates > >
Re: Projectmgr - create new project
I was wrong: the "new project" button does appear in the business theme too(when you click on the 'projects' application button..) On Tue, 2009-11-10 at 17:15 +0700, Hans Bakker wrote: > Hi Pierre, > > i created a new user, assigned the "fulladmin" security group logged in > as that user and could create a new project. > > Indeed the 'new project' button did not appear in the business theme, > however in the good old flat grey scheme it did show up. > > You can create a jira issue for the missing button, which i could > imagine could be a problem at more places than here. > > Regards, > Hans > > On Tue, 2009-11-10 at 10:04 +0100, Pierre Smits wrote: > > Hi all, > > > > I have created a new party in OfBiz. And this party has the same roles and > > security permissions as Admin. > > > > When I log in as this new party I go to the projects overview in > > projectmgr. > > > > But with this new user I am not able to create projects from the projects > > overview (i don''t see the 'New project'-button). > > > > When I go to an existing project I do see the New project-button, and when I > > click that and fill out the form and hit save I get following error: > > > > *The Following Errors Occurred:* > > > > *You have no access to the project#: * > > > > Am I missing something regarding party roles and/or security settings? > > > > > > Regards, > > > > > > Pierre -- Antwebsystems.com: Quality OFBiz services for competitive rates
RE: How to delete a catalog or catagory ?
Thanks again all for the comment. It would be great if we could add the delete functions. In terms of "auditing", if we could audit the "delete" actions as well, it should be non-issue then. Regards, Zhibin -Original Message- From: Ruth Hoffman [mailto:rhoff...@aesolves.com] Sent: Tuesday, November 10, 2009 9:20 AM To: user@ofbiz.apache.org Subject: Re: How to delete a catalog or catagory ? Hi Jacques: This is something I tried to get the group to look at doing a long time ago. As you said, its about testing and then cleaning up test data. I got a lot of push back based on the "auditing" argument. The result: Now as I'm learning how to use various parts of the data model - or building my own entities - I build data deletion tools along side my other code. It really helps me to understand the relationships between all the entities in use and I get my data cleaned up in the process. A while back I started writing an Entity Engine cook book with examples of how to do just this along with lots of other goodies...but then you guys went and deprecated all my favorite EE APIs, so now I'm back to square one on that idea :-( So, to answer you question: yes! I think its a great idea. Regards, Ruth Jacques Le Roux wrote: > Some SQL scripts could be attached to > http://docs.ofbiz.org/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide > > Or why not, even better, some specific services created, opinions ? > > Jacques > > From: "Jacques Le Roux" >> Zhibin, >> >> Actually it's a recurring problem and I begin to wonder if we should >> not try to provide some help at least to delete orders, invoices, >> payments and all related entities created just after a setup to >> verify that all is working correctly. This of course without having >> to reset all the DB (the records - tuples actually - created being >> there just for the purpose of testing the DB setup) >> I guess we have all been in this situation : clients like to see >> some results before going in production... >> >> Jacques >> >> From: "Zhibin Liang" >>> Hi Kumaraswamy, >>> >>> Thanks a lot for the feedback, the information you provide is very >>> helpful. >>> I just tried to clean up some demo and test data before moving into >>> production. But that's not absolutely necessary I guess. >>> >>> Best regards, >>> Zhibin >>> >>> -Original Message- >>> From: Kumaraswamy nandipati [mailto:kumarasw...@ecomzera.com] >>> Sent: Monday, November 09, 2009 6:49 PM >>> To: user@ofbiz.apache.org >>> Subject: Re: How to delete a catalog or catagory ? >>> >>> Hi Zhibin, >>> >>> Delete feature is lil. bit in secure(unfortunate delete will impact >>> more on >>> business). May be because of this reason, delete action for catalog and >>> category was not provided from years. >>> >>> if you want to delete, write a stored procedure to delete >>> catalog/category. >>> Otherwise, expire them to maintain it as historical data(sometimes, >>> it is >>> important in ecommerce industry to maintain historical data.). >>> >>> >>> >>> On Sat, Nov 7, 2009 at 5:34 PM, Zhibin Liang >>> wrote: >>> Hi, I did some search on the old archives, it mentioned this can't be done. >>> but that was back in 2004, Just wondering if things have been changed since then ? Thanks much. >>> >>> >>> -- >>> Thanks, >>> Kumaraswamy.N >>> 91-9866805250. >>> >>> >> >> > >
Re: How to delete a catalog or catagory ?
I think it could be something cheap for beginning, then enhanced. For instance, cleaning orders and related, invoices and related Jacques From: "Jacques Le Roux" Some SQL scripts could be attached to http://docs.ofbiz.org/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide Or why not, even better, some specific services created, opinions ? Jacques From: "Jacques Le Roux" Zhibin, Actually it's a recurring problem and I begin to wonder if we should not try to provide some help at least to delete orders, invoices, payments and all related entities created just after a setup to verify that all is working correctly. This of course without having to reset all the DB (the records - tuples actually - created being there just for the purpose of testing the DB setup) I guess we have all been in this situation : clients like to see some results before going in production... Jacques From: "Zhibin Liang" Hi Kumaraswamy, Thanks a lot for the feedback, the information you provide is very helpful. I just tried to clean up some demo and test data before moving into production. But that's not absolutely necessary I guess. Best regards, Zhibin -Original Message- From: Kumaraswamy nandipati [mailto:kumarasw...@ecomzera.com] Sent: Monday, November 09, 2009 6:49 PM To: user@ofbiz.apache.org Subject: Re: How to delete a catalog or catagory ? Hi Zhibin, Delete feature is lil. bit in secure(unfortunate delete will impact more on business). May be because of this reason, delete action for catalog and category was not provided from years. if you want to delete, write a stored procedure to delete catalog/category. Otherwise, expire them to maintain it as historical data(sometimes, it is important in ecommerce industry to maintain historical data.). On Sat, Nov 7, 2009 at 5:34 PM, Zhibin Liang wrote: Hi, I did some search on the old archives, it mentioned this can't be done. but that was back in 2004, Just wondering if things have been changed since then ? Thanks much. -- Thanks, Kumaraswamy.N 91-9866805250.
Re: Projectmgr - create new project
Hi Pierre, i created a new user, assigned the "fulladmin" security group logged in as that user and could create a new project. Indeed the 'new project' button did not appear in the business theme, however in the good old flat grey scheme it did show up. You can create a jira issue for the missing button, which i could imagine could be a problem at more places than here. Regards, Hans On Tue, 2009-11-10 at 10:04 +0100, Pierre Smits wrote: > Hi all, > > I have created a new party in OfBiz. And this party has the same roles and > security permissions as Admin. > > When I log in as this new party I go to the projects overview in > projectmgr. > > But with this new user I am not able to create projects from the projects > overview (i don''t see the 'New project'-button). > > When I go to an existing project I do see the New project-button, and when I > click that and fill out the form and hit save I get following error: > > *The Following Errors Occurred:* > > *You have no access to the project#: * > > Am I missing something regarding party roles and/or security settings? > > > Regards, > > > Pierre -- Antwebsystems.com: Quality OFBiz services for competitive rates
Query in Load balancing with job scheduling
Hi We have implemented load balancing in ofbiz for that we have used one Apache server as load balancer and 2 to 3 OFBiz instances on tomcat server It is working fine. but I want to know how it is going to effect job scheduling in ofbiz ?? As if 3 instances of server are running on same database then they can conflict in job scheduling. Also according to me In jobscheduling load balancer will not come in picture. Thanks & Regards: Pankaj Jain | L&T infotech |Navi Mumbai "Whatever the mind of man can conceive & believe, it can achieve." __
Re: Projectmgr - create new project
Hi Christopher, All, I am using the trunk. Regards, Pierre 2009/11/10 Christopher Snow > What version of ofbiz are you using? This topic may be helpful: > > http://n4.nabble.com/project-management-td163956.html#a163956 > > > > Pierre Smits wrote: > >> Hi all, >> >> I have created a new party in OfBiz. And this party has the same roles and >> security permissions as Admin. >> >> When I log in as this new party I go to the projects overview in >> projectmgr. >> >> But with this new user I am not able to create projects from the projects >> overview (i don''t see the 'New project'-button). >> >> When I go to an existing project I do see the New project-button, and when >> I >> click that and fill out the form and hit save I get following error: >> >> *The Following Errors Occurred:* >> >> *You have no access to the project#: * >> >> Am I missing something regarding party roles and/or security settings? >> >> >> Regards, >> >> >> Pierre >> >> >> > >
Re: Projectmgr - create new project
What version of ofbiz are you using? This topic may be helpful: http://n4.nabble.com/project-management-td163956.html#a163956 Pierre Smits wrote: Hi all, I have created a new party in OfBiz. And this party has the same roles and security permissions as Admin. When I log in as this new party I go to the projects overview in projectmgr. But with this new user I am not able to create projects from the projects overview (i don''t see the 'New project'-button). When I go to an existing project I do see the New project-button, and when I click that and fill out the form and hit save I get following error: *The Following Errors Occurred:* *You have no access to the project#: * Am I missing something regarding party roles and/or security settings? Regards, Pierre
Projectmgr - create new project
Hi all, I have created a new party in OfBiz. And this party has the same roles and security permissions as Admin. When I log in as this new party I go to the projects overview in projectmgr. But with this new user I am not able to create projects from the projects overview (i don''t see the 'New project'-button). When I go to an existing project I do see the New project-button, and when I click that and fill out the form and hit save I get following error: *The Following Errors Occurred:* *You have no access to the project#: * Am I missing something regarding party roles and/or security settings? Regards, Pierre