Postgresql errors with trunk, any ideas?
Trying to get trunk working with postgresql 8.3 under Debian stable, sun java 1.6.0_12-b04, and I get several similar errors in the logs: exception report -- Could not convert field value for the field: [newEntity.accountingQuantityDiff] to the [BigDecimal] type for the value [0]: org.ofbiz.base.util.GeneralException: Conversion from java.lang.String to BigDecimal not currently supported exception report -- Exception: java.lang.ClassNotFoundException Message: No converter found for java.math.BigDecimal-java.lang.Long Exception: org.ofbiz.base.util.GeneralException Message: Conversion from java.lang.String to BigDecimal not currently supported Is there something I need to do to add the needed library? I also get errors like the following: exception report -- Error storing value Exception: org.ofbiz.entity.GenericDataSourceException Message: SQL Exception occurred on commit (Commit can not be set while enrolled in a transaction) cause - Exception: java.sql.SQLException Message: Commit can not be set while enrolled in a transaction This last one sounds like Auto-Commit can not be set while in a transaction, which would make sense if auto-commit was not being turned off properly, but how could that be? Alternatively, is this somehow related to the nested transactions issue we found with Mysql last week? Anybody have any ideas, or at least have trunk working with Postgresql? -- Matt Warnock mwarn...@ridgecrestherbals.com RidgeCrest Herbals, Inc.
Re: Postgresql errors with trunk, any ideas?
Which driver version are you using ? On Tue, 2010-05-25 at 00:10 -0600, Matt Warnock wrote: Trying to get trunk working with postgresql 8.3 under Debian stable, sun java 1.6.0_12-b04, and I get several similar errors in the logs: exception report -- Could not convert field value for the field: [newEntity.accountingQuantityDiff] to the [BigDecimal] type for the value [0]: org.ofbiz.base.util.GeneralException: Conversion from java.lang.String to BigDecimal not currently supported exception report -- Exception: java.lang.ClassNotFoundException Message: No converter found for java.math.BigDecimal-java.lang.Long Exception: org.ofbiz.base.util.GeneralException Message: Conversion from java.lang.String to BigDecimal not currently supported Is there something I need to do to add the needed library? I also get errors like the following: exception report -- Error storing value Exception: org.ofbiz.entity.GenericDataSourceException Message: SQL Exception occurred on commit (Commit can not be set while enrolled in a transaction) cause - Exception: java.sql.SQLException Message: Commit can not be set while enrolled in a transaction This last one sounds like Auto-Commit can not be set while in a transaction, which would make sense if auto-commit was not being turned off properly, but how could that be? Alternatively, is this somehow related to the nested transactions issue we found with Mysql last week? Anybody have any ideas, or at least have trunk working with Postgresql?
Re: Postgresql errors with trunk, any ideas?
Hi Matt, Have you used latest version of ant (1.7.1)? try to build application using internal ant (./ant) Regards -- Deepak Dixit HotWax Media Pvt. Ltd. Website :- www.hotwaxmedia.com Contact :- +91-98267-54548 Skype Id :- deepakdixit Matt Warnock wrote: Trying to get trunk working with postgresql 8.3 under Debian stable, sun java 1.6.0_12-b04, and I get several similar errors in the logs: exception report -- Could not convert field value for the field: [newEntity.accountingQuantityDiff] to the [BigDecimal] type for the value [0]: org.ofbiz.base.util.GeneralException: Conversion from java.lang.String to BigDecimal not currently supported exception report -- Exception: java.lang.ClassNotFoundException Message: No converter found for java.math.BigDecimal-java.lang.Long Exception: org.ofbiz.base.util.GeneralException Message: Conversion from java.lang.String to BigDecimal not currently supported Is there something I need to do to add the needed library? I also get errors like the following: exception report -- Error storing value Exception: org.ofbiz.entity.GenericDataSourceException Message: SQL Exception occurred on commit (Commit can not be set while enrolled in a transaction) cause - Exception: java.sql.SQLException Message: Commit can not be set while enrolled in a transaction This last one sounds like Auto-Commit can not be set while in a transaction, which would make sense if auto-commit was not being turned off properly, but how could that be? Alternatively, is this somehow related to the nested transactions issue we found with Mysql last week? Anybody have any ideas, or at least have trunk working with Postgresql?
Re: Postgresql errors with trunk, any ideas?
running trunk 930580 using postgresql 8.1 CentOS Linux 5.4 OpenJDK Runtime Environment (build 1.6.0-b09) = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=93 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Matt Warnock sent the following on 5/24/2010 11:10 PM: Trying to get trunk working with postgresql 8.3 under Debian stable, sun java 1.6.0_12-b04, and I get several similar errors in the logs: exception report -- Could not convert field value for the field: [newEntity.accountingQuantityDiff] to the [BigDecimal] type for the value [0]: org.ofbiz.base.util.GeneralException: Conversion from java.lang.String to BigDecimal not currently supported exception report -- Exception: java.lang.ClassNotFoundException Message: No converter found for java.math.BigDecimal-java.lang.Long Exception: org.ofbiz.base.util.GeneralException Message: Conversion from java.lang.String to BigDecimal not currently supported Is there something I need to do to add the needed library? I also get errors like the following: exception report -- Error storing value Exception: org.ofbiz.entity.GenericDataSourceException Message: SQL Exception occurred on commit (Commit can not be set while enrolled in a transaction) cause - Exception: java.sql.SQLException Message: Commit can not be set while enrolled in a transaction This last one sounds like Auto-Commit can not be set while in a transaction, which would make sense if auto-commit was not being turned off properly, but how could that be? Alternatively, is this somehow related to the nested transactions issue we found with Mysql last week? Anybody have any ideas, or at least have trunk working with Postgresql?
Re: Postgresql errors with trunk, any ideas?
I am using 8.4-701, the target downloaded by ant download-PG-JDBC. According to http://jdbc.postgresql.org/download.html, it should be good for Java 1.4 and newer, and PG 7.2 and newer. -- Matt Warnock mwarn...@ridgecrestherbals.com RidgeCrest Herbals, Inc. On Tue, 2010-05-25 at 09:14 +0300, Deyan Tsvetanov wrote: Which driver version are you using ? On Tue, 2010-05-25 at 00:10 -0600, Matt Warnock wrote: Trying to get trunk working with postgresql 8.3 under Debian stable, sun java 1.6.0_12-b04, and I get several similar errors in the logs: exception report -- Could not convert field value for the field: [newEntity.accountingQuantityDiff] to the [BigDecimal] type for the value [0]: org.ofbiz.base.util.GeneralException: Conversion from java.lang.String to BigDecimal not currently supported exception report -- Exception: java.lang.ClassNotFoundException Message: No converter found for java.math.BigDecimal-java.lang.Long Exception: org.ofbiz.base.util.GeneralException Message: Conversion from java.lang.String to BigDecimal not currently supported Is there something I need to do to add the needed library? I also get errors like the following: exception report -- Error storing value Exception: org.ofbiz.entity.GenericDataSourceException Message: SQL Exception occurred on commit (Commit can not be set while enrolled in a transaction) cause - Exception: java.sql.SQLException Message: Commit can not be set while enrolled in a transaction This last one sounds like Auto-Commit can not be set while in a transaction, which would make sense if auto-commit was not being turned off properly, but how could that be? Alternatively, is this somehow related to the nested transactions issue we found with Mysql last week? Anybody have any ideas, or at least have trunk working with Postgresql?
Re: Postgresql errors with trunk, any ideas?
That seems to have solved that issue. Thanks Deepak! Debian uses ant 1.7.0. I must have forgotten the ./ant. I notice that the internal ant shell script is much simpler than the one Debian uses, do they both just call java with the right jar file? -- Matt Warnock mwarn...@ridgecrestherbals.com RidgeCrest Herbals, Inc. On Tue, 2010-05-25 at 11:45 +0530, Deepak Dixit wrote: Hi Matt, Have you used latest version of ant (1.7.1)? try to build application using internal ant (./ant) Regards
Re: how to do group and subgroup in FOP report?
James, Thank you, Yes. But not sure if they use group or subgroup in report. Could you tell me these reports are using them? Chwang On Mon, May 24, 2010 at 9:34 PM, james_sg snowme...@hotmail.com wrote: Have you look at those FOP reports from applications like Order, Accounting etc? chaohua wang wrote: Hi Folks, I am going to generate PDF report using FOP, but from all examples in ofbiz, i don't see group or subgroup examples. I need for each orderId and party name as a group, its product name, qty ,and unit price as a subgroup. Could you tell me some examples? or links? Thank you ! Chwang -- View this message in context: http://ofbiz.135035.n4.nabble.com/how-to-do-group-and-subgroup-in-FOP-report-tp2229348p2229471.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: demo-trunk error changing Company address
here is the log just before the error to pinpoint the error. 2010-05-25 18:27:32,176 (TP-Processor36) [ ServiceEcaRule.java:151:INFO ] Running Service ECA Service: updatePaymentMethodAddress, triggered by rule on Service: updatePostalAddress 2010-05-25 18:27:32,199 (TP-Processor36) [ServiceEcaCondition.java:155:WARN ] From Field (expMonth) is not found in context for updateCreditCard, defaulting to null. 2010-05-25 18:27:32,200 (TP-Processor36) [ ServiceEcaRule.java:134:INFO ] For Service ECA [updateCreditCard] on [in-validate] got false for condition: [expMonth][is-not-empty][true][String] 2010-05-25 18:27:32,261 (TP-Processor36) [ ServiceEcaRule.java:151:INFO ] Running Service ECA Service: verifyCreditCard, triggered by rule on Service: updateCreditCard 2010-05-25 18:27:32,262 (TP-Processor36) [PaymentGatewayServices.java:3144:INFO ] Running verifyCreditCard [ 10002] for store: null 2010-05-25 18:27:32,264 (TP-Processor36) [PaymentGatewayServices.java:3160:INFO ] Running credit card verification [10002] (0) : payment.properties : UPDATE 2010-05-25 18:27:32,264 (TP-Processor36) [ ServiceDispatcher.java:599:INFO ] Sync service [partymgr/updateCreditCard] finished in [65] milliseconds = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=93 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Matt Warnock sent the following on 5/25/2010 10:26 AM: Trying to update address of Company profile in trunk, I get this error: Error trying to begin transaction, could not process method: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Service [updateEftAccount] threw an unexpected exception/errororg.ofbiz.service.ServiceValidationException: The following required parameter is missing: [updateEftAccount.nameOnAccount] (The following required parameter is missing: [updateEftAccount.nameOnAccount]) demo-trunk shows same behavior. Any suggestions?
Re: demo-trunk error changing Company address
Thanks BJ. Looks like it already has a Jira issue, but it isn't fixed yet. https://issues.apache.org/jira/browse/OFBIZ-3485 Anybody know a workaround? Why do we call updatePaymentMethodAddress if only a PostalAddress is involved? I haven't set up any payment methods yet, though maybe some are already in the demo data. -- Matt Warnock mwarn...@ridgecrestherbals.com RidgeCrest Herbals, Inc. On Tue, 2010-05-25 at 10:52 -0700, BJ Freeman wrote: here is the log just before the error to pinpoint the error. 2010-05-25 18:27:32,176 (TP-Processor36) [ ServiceEcaRule.java:151:INFO ] Running Service ECA Service: updatePaymentMethodAddress, triggered by rule on Service: updatePostalAddress 2010-05-25 18:27:32,199 (TP-Processor36) [ServiceEcaCondition.java:155:WARN ] From Field (expMonth) is not found in context for updateCreditCard, defaulting to null. 2010-05-25 18:27:32,200 (TP-Processor36) [ ServiceEcaRule.java:134:INFO ] For Service ECA [updateCreditCard] on [in-validate] got false for condition: [expMonth][is-not-empty][true][String] 2010-05-25 18:27:32,261 (TP-Processor36) [ ServiceEcaRule.java:151:INFO ] Running Service ECA Service: verifyCreditCard, triggered by rule on Service: updateCreditCard 2010-05-25 18:27:32,262 (TP-Processor36) [PaymentGatewayServices.java:3144:INFO ] Running verifyCreditCard [ 10002] for store: null 2010-05-25 18:27:32,264 (TP-Processor36) [PaymentGatewayServices.java:3160:INFO ] Running credit card verification [10002] (0) : payment.properties : UPDATE 2010-05-25 18:27:32,264 (TP-Processor36) [ ServiceDispatcher.java:599:INFO ] Sync service [partymgr/updateCreditCard] finished in [65] milliseconds = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=93 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Matt Warnock sent the following on 5/25/2010 10:26 AM: Trying to update address of Company profile in trunk, I get this error: Error trying to begin transaction, could not process method: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Service [updateEftAccount] threw an unexpected exception/errororg.ofbiz.service.ServiceValidationException: The following required parameter is missing: [updateEftAccount.nameOnAccount] (The following required parameter is missing: [updateEftAccount.nameOnAccount]) demo-trunk shows same behavior. Any suggestions?
Re: demo-trunk error changing Company address
I agree with you that the postal address must first be varified that it matches then update. most CC have and address component that needs update if you change the contact mech address. I think an reviews should go back to if the contact mech address is linked to the cc entity. this way if that contact mech is updated none of that is necessary. = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=93 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Matt Warnock sent the following on 5/25/2010 1:09 PM: Thanks BJ. Looks like it already has a Jira issue, but it isn't fixed yet. https://issues.apache.org/jira/browse/OFBIZ-3485 Anybody know a workaround? Why do we call updatePaymentMethodAddress if only a PostalAddress is involved? I haven't set up any payment methods yet, though maybe some are already in the demo data.
Re: demo-trunk error changing Company address
Not sure I fully understand your comment, BJ. It seems to me that we can't assume that updating one (Postal) address updates any or all other matching addresses as well. The CC address is a billing address that is sometimes transmitted with payment requests, and probably has to match the info your bank has for you, or CC payments may be rejected. That address may or may not change with the invoice address, or any other address. Certainly any change there needs to be made with caution. Shouldn't an address change here simply link the new address (or an existing one, if appropriate) to the contact mechanism general correspondence, invoice/payment or whatever? Why would it need to lookup or verify EFT addresses at all? And shouldn't NameOnAccount be in a separate entity from the address anyway? Or am I reading Silverston wrong? Seems like usually (e.g. for partys, groups, etc), we take the approach of find first, or create as necessary, then link with a relation, in this case contact_mech. Here we throw up an edit screen and collect a contact purpose and address, which is maybe rolling the find and link together? What changed since 9.04? I would expect this part of the code to be pretty stable. -- Matt Warnock mwarn...@ridgecrestherbals.com RidgeCrest Herbals, Inc. On Tue, 2010-05-25 at 14:16 -0700, BJ Freeman wrote: I agree with you that the postal address must first be varified that it matches then update. most CC have and address component that needs update if you change the contact mech address. I think an reviews should go back to if the contact mech address is linked to the cc entity. this way if that contact mech is updated none of that is necessary. = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=93 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Matt Warnock sent the following on 5/25/2010 1:09 PM: Thanks BJ. Looks like it already has a Jira issue, but it isn't fixed yet. https://issues.apache.org/jira/browse/OFBIZ-3485 Anybody know a workaround? Why do we call updatePaymentMethodAddress if only a PostalAddress is involved? I haven't set up any payment methods yet, though maybe some are already in the demo data.
Re: demo-trunk error changing Company address
I'm reading the SVN book from O'Rielly, but I don't yet know the command-line syntax to search/track changes like this. Any pointers on practical approaches would be appreciated. I also have eclipse installed on my laptop, but haven't yet learned the way around it. Is there a good resource you'd recommend for learning it? Googling Eclipse primer gives a lot of astronomy articles. :) Also, how do you keep a laptop (development, derby, Ubuntu) code copy synced with a server (production, postgresql, Debian) version? The SVN book seems to assume one central repository from which we check out/in code. Since I don't commit, it's one-way from Apache for me, but it would be nice to track local changes on both machines, and to learn best practices from those that have certainly already passed this way before. Thanks in advance, again. -- Matt Warnock mwarn...@ridgecrestherbals.com RidgeCrest Herbals, Inc. On Tue, 2010-05-25 at 15:59 -0700, BJ Freeman wrote: in short you said what I said, or intended to get across. have to sort through the commits to answer you about 9.04. if you have eclipse or want to learn svn line commands you can find the history of the ECA'a mentioned in the log. = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=93 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Matt Warnock sent the following on 5/25/2010 3:29 PM: Not sure I fully understand your comment, BJ. It seems to me that we can't assume that updating one (Postal) address updates any or all other matching addresses as well. The CC address is a billing address that is sometimes transmitted with payment requests, and probably has to match the info your bank has for you, or CC payments may be rejected. That address may or may not change with the invoice address, or any other address. Certainly any change there needs to be made with caution. Shouldn't an address change here simply link the new address (or an existing one, if appropriate) to the contact mechanism general correspondence, invoice/payment or whatever? Why would it need to lookup or verify EFT addresses at all? And shouldn't NameOnAccount be in a separate entity from the address anyway? Or am I reading Silverston wrong? Seems like usually (e.g. for partys, groups, etc), we take the approach of find first, or create as necessary, then link with a relation, in this case contact_mech. Here we throw up an edit screen and collect a contact purpose and address, which is maybe rolling the find and link together? What changed since 9.04? I would expect this part of the code to be pretty stable.
Re: demo-trunk error changing Company address
yes I remember my struggles when I got started. I will try to make it easier for you. I use eclipse some other use the svn command lines. I am not versed on svn command lines. I pick up from emails I read. Get the SVN plug in http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA if you have one get a account on the https://cwiki.apache.org/confluence/display/OFBIZ/ I use the search there to find things. You can then star then ones you want in your Dashboard put in the search box on the wiki: eclipse svn plugin this is one link https://cwiki.apache.org/confluence/display/OFBIZ/Eclipse+Tips once you have that under you belt pull up the file mentioned in the log, in eclipse. you can use search for find which file contains The ECA's next rt click on the file and select team-history you will see all that has been done to that file when, and who did it. it also gives you the commit so you can search the commit mailing list and see what was done.\ === BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=93 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Matt Warnock sent the following on 5/25/2010 4:16 PM: I'm reading the SVN book from O'Rielly, but I don't yet know the command-line syntax to search/track changes like this. Any pointers on practical approaches would be appreciated. I also have eclipse installed on my laptop, but haven't yet learned the way around it. Is there a good resource you'd recommend for learning it? Googling Eclipse primer gives a lot of astronomy articles. :) Also, how do you keep a laptop (development, derby, Ubuntu) code copy synced with a server (production, postgresql, Debian) version? The SVN book seems to assume one central repository from which we check out/in code. Since I don't commit, it's one-way from Apache for me, but it would be nice to track local changes on both machines, and to learn best practices from those that have certainly already passed this way before. Thanks in advance, again.
Re: syncing code on server and laptop was demo-trunk error changing Company address
https://cwiki.apache.org/confluence/display/OFBADMIN/Apache+OFBiz+Contribution+and+Development Since I have my own product I do it slightly different. but here is a simple way. on the server make a copy of all the configuration files you do. that way you can make a script to copy them back over after you update. I use the nightly builds since they are complied and ready to go with demo data in derby. then copy the config files back over. In put a copy of my script in https://issues.apache.org/jira/browse/OFBIZ-3705 when I am designing I do that on eclipse then run ofbiz from command line. once the jar is built I replace it on the server and do a restart. BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=93 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Matt Warnock sent the following on 5/25/2010 4:16 PM: I'm reading the SVN book from O'Rielly, but I don't yet know the command-line syntax to search/track changes like this. Any pointers on practical approaches would be appreciated. I also have eclipse installed on my laptop, but haven't yet learned the way around it. Is there a good resource you'd recommend for learning it? Googling Eclipse primer gives a lot of astronomy articles. :) Also, how do you keep a laptop (development, derby, Ubuntu) code copy synced with a server (production, postgresql, Debian) version? The SVN book seems to assume one central repository from which we check out/in code. Since I don't commit, it's one-way from Apache for me, but it would be nice to track local changes on both machines, and to learn best practices from those that have certainly already passed this way before. Thanks in advance, again.
Re: demo-trunk error changing Company address
Thanks for the pointers! -- Matt Warnock mwarn...@ridgecrestherbals.com RidgeCrest Herbals, Inc. On Tue, 2010-05-25 at 17:31 -0700, BJ Freeman wrote: yes I remember my struggles when I got started. I will try to make it easier for you. I use eclipse some other use the svn command lines. I am not versed on svn command lines. I pick up from emails I read. Get the SVN plug in http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA if you have one get a account on the https://cwiki.apache.org/confluence/display/OFBIZ/ I use the search there to find things. You can then star then ones you want in your Dashboard put in the search box on the wiki: eclipse svn plugin this is one link https://cwiki.apache.org/confluence/display/OFBIZ/Eclipse+Tips once you have that under you belt pull up the file mentioned in the log, in eclipse. you can use search for find which file contains The ECA's next rt click on the file and select team-history you will see all that has been done to that file when, and who did it. it also gives you the commit so you can search the commit mailing list and see what was done.\ === BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=93 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Matt Warnock sent the following on 5/25/2010 4:16 PM: I'm reading the SVN book from O'Rielly, but I don't yet know the command-line syntax to search/track changes like this. Any pointers on practical approaches would be appreciated. I also have eclipse installed on my laptop, but haven't yet learned the way around it. Is there a good resource you'd recommend for learning it? Googling Eclipse primer gives a lot of astronomy articles. :) Also, how do you keep a laptop (development, derby, Ubuntu) code copy synced with a server (production, postgresql, Debian) version? The SVN book seems to assume one central repository from which we check out/in code. Since I don't commit, it's one-way from Apache for me, but it would be nice to track local changes on both machines, and to learn best practices from those that have certainly already passed this way before. Thanks in advance, again.
Re: syncing code on server and laptop was demo-trunk error changing Company address
Just a note, nightly builds are for testing not production. = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=93 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro BJ Freeman sent the following on 5/25/2010 5:43 PM: https://cwiki.apache.org/confluence/display/OFBADMIN/Apache+OFBiz+Contribution+and+Development Since I have my own product I do it slightly different. but here is a simple way. on the server make a copy of all the configuration files you do. that way you can make a script to copy them back over after you update. I use the nightly builds since they are complied and ready to go with demo data in derby. then copy the config files back over. In put a copy of my script in https://issues.apache.org/jira/browse/OFBIZ-3705 when I am designing I do that on eclipse then run ofbiz from command line. once the jar is built I replace it on the server and do a restart. BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=93 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Matt Warnock sent the following on 5/25/2010 4:16 PM: I'm reading the SVN book from O'Rielly, but I don't yet know the command-line syntax to search/track changes like this. Any pointers on practical approaches would be appreciated. I also have eclipse installed on my laptop, but haven't yet learned the way around it. Is there a good resource you'd recommend for learning it? Googling Eclipse primer gives a lot of astronomy articles. :) Also, how do you keep a laptop (development, derby, Ubuntu) code copy synced with a server (production, postgresql, Debian) version? The SVN book seems to assume one central repository from which we check out/in code. Since I don't commit, it's one-way from Apache for me, but it would be nice to track local changes on both machines, and to learn best practices from those that have certainly already passed this way before. Thanks in advance, again.
Re: syncing code on server and laptop was demo-trunk error changing Company address
Every time I think I've read the relevant docs, someone points out something that is right on point that I should have seen. Maybe I need to practice searching more. Or perhaps its that I understand what I didn't before. Either way, thanks again. This is EXACTLY what I needed. -- Matt Warnock mwarn...@ridgecrestherbals.com RidgeCrest Herbals, Inc. On Tue, 2010-05-25 at 17:43 -0700, BJ Freeman wrote: https://cwiki.apache.org/confluence/display/OFBADMIN/Apache+OFBiz+Contribution+and+Development Since I have my own product I do it slightly different. but here is a simple way. on the server make a copy of all the configuration files you do. that way you can make a script to copy them back over after you update. I use the nightly builds since they are complied and ready to go with demo data in derby. then copy the config files back over. In put a copy of my script in https://issues.apache.org/jira/browse/OFBIZ-3705 when I am designing I do that on eclipse then run ofbiz from command line. once the jar is built I replace it on the server and do a restart. BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=93 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Matt Warnock sent the following on 5/25/2010 4:16 PM: I'm reading the SVN book from O'Rielly, but I don't yet know the command-line syntax to search/track changes like this. Any pointers on practical approaches would be appreciated. I also have eclipse installed on my laptop, but haven't yet learned the way around it. Is there a good resource you'd recommend for learning it? Googling Eclipse primer gives a lot of astronomy articles. :) Also, how do you keep a laptop (development, derby, Ubuntu) code copy synced with a server (production, postgresql, Debian) version? The SVN book seems to assume one central repository from which we check out/in code. Since I don't commit, it's one-way from Apache for me, but it would be nice to track local changes on both machines, and to learn best practices from those that have certainly already passed this way before. Thanks in advance, again.
Re: syncing code on server and laptop was demo-trunk error changing Company address
Based on encouraging comments from you and Jacopo and others, and seeing the rate at which new commits are added, I am thinking it may be best to get on the trunk, even for production. However I can't imagine running nightly builds on a production server. I'm thinking I'd build nightly on the development laptop, and update the production server every week or two, to a fairly recent, more-or-less known good revision level. I'm hoping this would provide the best of both worlds. And I'm hoping that this would avoid any mission-critical breakages until the fixes have been committed. Does that seem reasonable? I don't kid myself that I can submit much code yet, but hopefully I can help test and document bugs, even if I can't fix them yet. Hopefully that will come soon. -- Matt Warnock mwarn...@ridgecrestherbals.com RidgeCrest Herbals, Inc. On Tue, 2010-05-25 at 18:28 -0700, BJ Freeman wrote: Just a note, nightly builds are for testing not production. = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=93 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro BJ Freeman sent the following on 5/25/2010 5:43 PM: https://cwiki.apache.org/confluence/display/OFBADMIN/Apache+OFBiz+Contribution+and+Development Since I have my own product I do it slightly different. but here is a simple way. on the server make a copy of all the configuration files you do. that way you can make a script to copy them back over after you update. I use the nightly builds since they are complied and ready to go with demo data in derby. then copy the config files back over. In put a copy of my script in https://issues.apache.org/jira/browse/OFBIZ-3705 when I am designing I do that on eclipse then run ofbiz from command line. once the jar is built I replace it on the server and do a restart. BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=93 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Matt Warnock sent the following on 5/25/2010 4:16 PM: I'm reading the SVN book from O'Rielly, but I don't yet know the command-line syntax to search/track changes like this. Any pointers on practical approaches would be appreciated. I also have eclipse installed on my laptop, but haven't yet learned the way around it. Is there a good resource you'd recommend for learning it? Googling Eclipse primer gives a lot of astronomy articles. :) Also, how do you keep a laptop (development, derby, Ubuntu) code copy synced with a server (production, postgresql, Debian) version? The SVN book seems to assume one central repository from which we check out/in code. Since I don't commit, it's one-way from Apache for me, but it would be nice to track local changes on both machines, and to learn best practices from those that have certainly already passed this way before. Thanks in advance, again.
Sorely need testers-- was syncing code on server and laptop was demo-trunk error changing Company address
we need button pusher and business that need to accomplish a task. one of the top level testing tools is selenium https://issues.apache.org/jira/browse/OFBIZ-3511 your welcome to add to the library. = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=93 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Matt Warnock sent the following on 5/25/2010 6:40 PM: Based on encouraging comments from you and Jacopo and others, and seeing the rate at which new commits are added, I am thinking it may be best to get on the trunk, even for production. However I can't imagine running nightly builds on a production server. I'm thinking I'd build nightly on the development laptop, and update the production server every week or two, to a fairly recent, more-or-less known good revision level. I'm hoping this would provide the best of both worlds. And I'm hoping that this would avoid any mission-critical breakages until the fixes have been committed. Does that seem reasonable? I don't kid myself that I can submit much code yet, but hopefully I can help test and document bugs, even if I can't fix them yet. Hopefully that will come soon.
Re: Sorely need testers-- was syncing code on server and laptop was demo-trunk error changing Company address
Well, we certainly qualify for those two things. FWIW, for OFBiz, it doesn't seem to me that selenium would add that much over good regression testing of the SECAs, services, actions, methods, and other elements-- since inputs feed directly into services in a very consistent and predictable way (unlike many other systems I have seen), it would seem that good regression harness testing would uncover almost everything everything except true look and feel or browser quirk problems. Selenium would be largely superfluous, IMO. I first assumed that selenium was similar to the test suites in the perl CPAN world-- automated regression testing of the libraries under a broad variety of execution environments. I was surprised to find out what it really was. -- Matt Warnock mwarn...@ridgecrestherbals.com RidgeCrest Herbals, Inc. On Tue, 2010-05-25 at 19:18 -0700, BJ Freeman wrote: we need button pusher and business that need to accomplish a task. one of the top level testing tools is selenium https://issues.apache.org/jira/browse/OFBIZ-3511 your welcome to add to the library. = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=93 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Matt Warnock sent the following on 5/25/2010 6:40 PM: Based on encouraging comments from you and Jacopo and others, and seeing the rate at which new commits are added, I am thinking it may be best to get on the trunk, even for production. However I can't imagine running nightly builds on a production server. I'm thinking I'd build nightly on the development laptop, and update the production server every week or two, to a fairly recent, more-or-less known good revision level. I'm hoping this would provide the best of both worlds. And I'm hoping that this would avoid any mission-critical breakages until the fixes have been committed. Does that seem reasonable? I don't kid myself that I can submit much code yet, but hopefully I can help test and document bugs, even if I can't fix them yet. Hopefully that will come soon.
Re: Sorely need testers-- was syncing code on server and laptop was demo-trunk error changing Company address
Hi BJ - i'd like to start adding selenium tests, however, before adding selenium tests, test cases need to be created. To create test cases, process flows need to be understood/documented (I'm still at the understanding stage hence my work on the help system). So in conclusion only those with detailed knowledge of ofbiz processes can start adding selenium tests (only a few people?). On 26 May 2010 03:18, BJ Freeman bjf...@free-man.net wrote: we need button pusher and business that need to accomplish a task. one of the top level testing tools is selenium https://issues.apache.org/jira/browse/OFBIZ-3511 your welcome to add to the library. = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=93 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Matt Warnock sent the following on 5/25/2010 6:40 PM: Based on encouraging comments from you and Jacopo and others, and seeing the rate at which new commits are added, I am thinking it may be best to get on the trunk, even for production. However I can't imagine running nightly builds on a production server. I'm thinking I'd build nightly on the development laptop, and update the production server every week or two, to a fairly recent, more-or-less known good revision level. I'm hoping this would provide the best of both worlds. And I'm hoping that this would avoid any mission-critical breakages until the fixes have been committed. Does that seem reasonable? I don't kid myself that I can submit much code yet, but hopefully I can help test and document bugs, even if I can't fix them yet. Hopefully that will come soon.