Re: How do we assign Tracking Code to Promotion and track them?
Please don't do this, if you want to point someone to an old thread just link to the threads in nabble or markmail. Thanks Scott HotWax Media http://www.hotwaxmedia.com On 25/02/2010, at 3:12 AM, BJ Freeman wrote: bump this up to explain tracking codes in ofbiz Jacques Le Roux sent the following on 2/17/2008 1:01 AM: Simply assign the Promotion Code you want to track to the Tracking Code Id field when creating a new Tracking Code You might be interested by http://docs.ofbiz.org/download/attachments/742/ManagerReferenceMarketing.pdf?version=1 p. 24 §.4.5.3. Excerpt : Whatever you enter here will be assigned as the TrackingCode ID. If this same code is needed by the customer to qualify for a promotion, make it easy for them to use. Jacques From: Ajey ajey.bi...@gmail.com Hi all, how a tracking code can be applied to a particular promotion and how we can track the usage of a particular Promotion with this Tracking Code. Please help me out. thanx -- View this message in context: http://www.nabble.com/How-do-we-assign-Tracking-Code-to-Promotion-and-track-them--tp15477314p15477314.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s Description: S/MIME cryptographic signature
Re: Alternate JobSandbox
Hi Al, I don't think it's possible currently, the JobPoller uses ServiceConfigUtil to retrieve the settings from serviceengine.xml but it only looks at the first service-engine element. Regards Scott HotWax Media http://www.hotwaxmedia.com On 25/02/2010, at 12:49 PM, Al Byers wrote: I would like to create an alternate JobSandbox that ends up using a lower max thread-count. I have looked around and hope that I am missing the easy way to do it. I see that I could add another thread-pool to serviceengine.xml (anyway to do that without having to modify ofbiz code?), but how do I get a JobSandbox to use that pool? Or how do I create another dispatcher (again, hopefully without having to modify ofbiz code - just my custom webapp)? The reason I want to do this is to meter the rate at which this process happens. Are there better ways to do this? Thanks for any help. -Al smime.p7s Description: S/MIME cryptographic signature
Re: Buld Failed Revision 915988
type: java -version and check what version is actually being used by the system. Regards Scott HotWax Media http://www.hotwaxmedia.com On 24/02/2010, at 6:13 PM, Len Shein wrote: Yes 1.6.0_03 on Windows I have 3 other projects running Ofbiz; just the latest build will not compile, did I lose a setting somewhere? -Original Message- From: Jacques Le Roux [mailto:jacques.le.r...@les7arts.com] Sent: Wednesday, February 24, 2010 6:05 PM To: user@ofbiz.apache.org Subject: Re: Buld Failed Revision 915988 I see Compiler Adapter 'javac1.6' can't be found. Do you use Sun Java 1.6 ? Jacques From: Len Shein lsh...@verizon.net Got the latest and in trying to build immediately got the following error message: BUILD FAILED C:\projectsPurity\OFBIZ\ofbiz\build.xml:191: The following error occurred while executing this line: C:\projectsPurity\OFBIZ\ofbiz\framework\build.xml:147: The following error occurred while executing this line: C:\projectsPurity\OFBIZ\ofbiz\macros.xml:27: The following error occurred while executing this line: C:\projectsPurity\OFBIZ\ofbiz\framework\start\build.xml:37: Compiler Adapter 'javac1.6' can't be found. Does anyone know what the cause of this is? Thank You Len Shein lsh...@salmonllc.com lsh...@verizon.net 516.742.7888 ext.225 732.333.4303 smime.p7s Description: S/MIME cryptographic signature
Re: how to pass a list from the .groovy level to screen.xml level?
Hi Patrick, Just assign them to the context map in groovy like this: context.myListOfStuff = myGroovyList; Anything assigned to the context map will be available to the screen once the script has run. Regards Scott HotWax Media http://www.hotwaxmedia.com On 22/02/2010, at 4:08 PM, Patrick wrote: How can I pass my variables (I need to pass a list) from the .groovy level to the screen.xml level? I'm going to create X forms where X is the size of my list. Then I am going to populate the forms with the list elements. Thanks in advance Patrick smime.p7s Description: S/MIME cryptographic signature
Re: No Message for Successful Change of Password
Hi Koon, Please create a jira issue for this. Thanks Scott HotWax Media http://www.hotwaxmedia.com On 21/02/2010, at 6:33 PM, Koon Sang wrote: I change login password from MyPortal My Profile. After clicking Save button, the page just refreshes and there is no way for me to know whether the password is changed successfully. I try login with the new password and confirm that the password is changed. There should be a message indicating that the password is changed successfully. -- View this message in context: http://n4.nabble.com/No-Message-for-Successful-Change-of-Password-tp1563963p1563963.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s Description: S/MIME cryptographic signature
Re: Merging OFBiz Wiki Spaces
I really think it was a terrible idea to blindly move our project infrastructure over to the ASF, it has done nothing but reduce the quality of our documentation (broken links, difficult navigation) and demo server (manually maintained, less server resources, no monitoring, currently no release branch demo). We should have only moved the things that transferred seamlessly. Regards Scott On 20/02/2010, at 12:51 AM, Sam Hamilton wrote: Just wondering why after moving to Apache Infra there are still multiple OFBiz spaces on the wiki especially as on the homepage of the website (ofbiz.apache.org) there is only a link to one of the spaces? Can I suggest that we merge them all under one space so that users can easily find all the docs under one link and one Home page (http://cwiki.apache.org/confluence/display/OFBIZ/Home) ? I am sure that a quick ticket into infra will do the trick, I don't mind writing it as long as I am not stepping on toes and no one minds. Cheers Sam smime.p7s Description: S/MIME cryptographic signature
Re: What's the appropriate way to modify ViewEntities?
Hi Patrick From memory, a view entity will only be modifiable if the primary keys for all included entities are present. As a best practice, you should generally only perform write/update/delete operations on entities via the services available, doing so will ensure that all related SECAs are run. Regards Scott HotWax Media http://www.hotwaxmedia.com On 18/02/2010, at 8:51 AM, Patrick wrote: What's the appropriate way to modify a viewEntity? I have a viewEntity, FacilityAndContactMechAndAddress, and it has 3 primary keys, but they don't seem to work as expected. I tried the code below, but it says bad primary key. Am I taking the wrong approach? Also do you think I should do this at the java service level or the simple-method level? !-- this didn't quite work, bad primary key (but this works if I change entity-name to Facility for facility fields) -- set field=lookupPKMap.facilityId from-field=parameters.facilityId/ find-by-primary-key entity-name=FacilityAndContactMechAndAddress map=lookupPKMap value-field=facilityId/ set-nonpk-fields map=parameters value-field=facilityId/ store-value value-field=facilityId/ Thanks Patrick smime.p7s Description: S/MIME cryptographic signature
Re: Framework Introduction Videos and Diagrams Issues
Hi Brendan These files were previously hosted on the infrastructure provided by Contegix and HotWax, the recent migration efforts didn't find a new home for them and as such they're currently unavailable. Someone needs to find a home for them on Apache's servers and then update the links accordingly. Regards Scott HotWax Media http://www.hotwaxmedia.com On 18/02/2010, at 9:11 AM, Brendan Vogt wrote: Can someone please look into this why the PDF documents have errors when trying to open up, and I think the videos don't display as well. On 4 February 2010 18:45, Brendan Vogt brendan.v...@gmail.com wrote: Hi, When I download these videos then they are all26kb big. Something is not right, please can someone check for me. http://cwiki.apache.org/confluence/display/OFBTECH/Framework+Introduction+Videos+and+Diagrams Thanks Brendan smime.p7s Description: S/MIME cryptographic signature
Re: Beginner questions
You can also modify framework/webapp/config/url.properties to set your http port to 80 and the https port to 443 so that users do not need to specify the port after the host name. Regards Scott HotWax Media http://www.hotwaxmedia.com On 18/02/2010, at 3:30 PM, Ruth Hoffman wrote: Hi Goran: You don't need to do that. You can go to the ofbiz-component.xml file for the ecommerce component (~specialpurpose/ecommerce) and change the mount-point entry to be mount-point=/. Hope that helps. Ruth Goran Janevski wrote: Actually, now that you helped me figure this out, I can probably do some kind of DNS mapping through GoDaddy to get down to www.mydomain.com. When I figure it out, I will report back. Best Regards, Goran On Thu, Feb 18, 2010 at 11:19 AM, Goran Janevski goran...@gmail.com wrote: Hi, Just trying to get started on OfBiz. First impression: not much documentation to go on. I was able to get the vanilla OfBiz running, but: 1) I can't get to it via a domain name. I can get to it on the intranet, via the intranet IP address: http://local-ip:8080/ecommercehttp://%3clocal-ip%3e:8080/ecommerce (also using localhost instead of local-ip). I can get to it externally via my router's WAN IP address: http://wan-ip:8080/ecommercehttp://%3cwan-ip%3e:8080/ecommerce. But, I can't get to it via www.mydomain.com. I made sure there are no firewalls blocking this. I opened up TCP ports 80, 8080, and the https port on my router. Can anyone help with this, please? 2) I purchased Ms.Hoffman's catalog book, but it refers to oFBiz 4. I downloaded oFBiz 9 (current), and in it, there is no place to change the logo on a store (whereas it was clearly available in OfBiz 4) (!). Why would this be removed? So I proceeded to overwrite the ofbizLogo.gif with one of my own, and I can see that it replaced the ofbiz logo, but it is not showing properly. Is there some resolution requirements on the logo or any other image displayed on the web page? Thanks, Goran smime.p7s Description: S/MIME cryptographic signature
Re: Beginner questions
Sorry I missed the rest of the settings: framework/base/config/ofbiz-containers.xml Find the container named catalina-container and within that the following two property elements: http-connector and https-connector and change the port properties to 80 and 443 respectively. You'll find some other useful information in this document: http://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide Regards Scott On 18/02/2010, at 4:54 PM, Goran Janevski wrote: Scott, That actually did not work. After I modify the port in url.properties and setting it to 80, I can not access the web site with the domain only. I can still access the web site using port 8080, but not without it. I restarted the server after making the modification. I also tried another random port (8088), with the same result. Which leads me to believe that changing the port in url.properties does not impact the port being used, *unless: *do I need to recompile/rebuild the whole thing in order for the port change to take effect? Or, is there some other place that I also need to change the port from 8080 to 80. Sorry for being such a newbie. Thanks again, Goran On Thu, Feb 18, 2010 at 5:38 PM, Scott Gray scott.g...@hotwaxmedia.comwrote: You can also modify framework/webapp/config/url.properties to set your http port to 80 and the https port to 443 so that users do not need to specify the port after the host name. Regards Scott HotWax Media http://www.hotwaxmedia.com On 18/02/2010, at 3:30 PM, Ruth Hoffman wrote: Hi Goran: You don't need to do that. You can go to the ofbiz-component.xml file for the ecommerce component (~specialpurpose/ecommerce) and change the mount-point entry to be mount-point=/. Hope that helps. Ruth Goran Janevski wrote: Actually, now that you helped me figure this out, I can probably do some kind of DNS mapping through GoDaddy to get down to www.mydomain.com. When I figure it out, I will report back. Best Regards, Goran On Thu, Feb 18, 2010 at 11:19 AM, Goran Janevski goran...@gmail.com wrote: Hi, Just trying to get started on OfBiz. First impression: not much documentation to go on. I was able to get the vanilla OfBiz running, but: 1) I can't get to it via a domain name. I can get to it on the intranet, via the intranet IP address: http://local-ip:8080/ecommercehttp://%3clocal-ip%3e:8080/ecommerce (also using localhost instead of local-ip). I can get to it externally via my router's WAN IP address: http://wan-ip:8080/ecommercehttp:// %3cwan-ip%3e:8080/ecommerce. But, I can't get to it via www.mydomain.com. I made sure there are no firewalls blocking this. I opened up TCP ports 80, 8080, and the https port on my router. Can anyone help with this, please? 2) I purchased Ms.Hoffman's catalog book, but it refers to oFBiz 4. I downloaded oFBiz 9 (current), and in it, there is no place to change the logo on a store (whereas it was clearly available in OfBiz 4) (!). Why would this be removed? So I proceeded to overwrite the ofbizLogo.gif with one of my own, and I can see that it replaced the ofbiz logo, but it is not showing properly. Is there some resolution requirements on the logo or any other image displayed on the web page? Thanks, Goran smime.p7s Description: S/MIME cryptographic signature
Re: Beginner questions
The image is most likely sized via the css file for the page: framework/images/webapp/images/ecommain.css Here you'll have to get your hands dirty I'm afraid, but it's pretty much unavoidable if you want your store to look in any way different from the demo store. Regards Scott On 18/02/2010, at 5:31 PM, Goran Janevski wrote: Yey! It worked. Now if I can just figure out why my gif picture is not showing up properly as the ofbizLogo.gif, I will have reached my first milestone. I will read the technical production setup guide, and a couple of others before I ask more questions. Thanks very much, Goran On Thu, Feb 18, 2010 at 7:06 PM, Scott Gray scott.g...@hotwaxmedia.comwrote: Sorry I missed the rest of the settings: framework/base/config/ofbiz-containers.xml Find the container named catalina-container and within that the following two property elements: http-connector and https-connector and change the port properties to 80 and 443 respectively. You'll find some other useful information in this document: http://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide Regards Scott On 18/02/2010, at 4:54 PM, Goran Janevski wrote: Scott, That actually did not work. After I modify the port in url.properties and setting it to 80, I can not access the web site with the domain only. I can still access the web site using port 8080, but not without it. I restarted the server after making the modification. I also tried another random port (8088), with the same result. Which leads me to believe that changing the port in url.properties does not impact the port being used, *unless: *do I need to recompile/rebuild the whole thing in order for the port change to take effect? Or, is there some other place that I also need to change the port from 8080 to 80. Sorry for being such a newbie. Thanks again, Goran On Thu, Feb 18, 2010 at 5:38 PM, Scott Gray scott.g...@hotwaxmedia.com wrote: You can also modify framework/webapp/config/url.properties to set your http port to 80 and the https port to 443 so that users do not need to specify the port after the host name. Regards Scott HotWax Media http://www.hotwaxmedia.com On 18/02/2010, at 3:30 PM, Ruth Hoffman wrote: Hi Goran: You don't need to do that. You can go to the ofbiz-component.xml file for the ecommerce component (~specialpurpose/ecommerce) and change the mount-point entry to be mount-point=/. Hope that helps. Ruth Goran Janevski wrote: Actually, now that you helped me figure this out, I can probably do some kind of DNS mapping through GoDaddy to get down to www.mydomain.com. When I figure it out, I will report back. Best Regards, Goran On Thu, Feb 18, 2010 at 11:19 AM, Goran Janevski goran...@gmail.com wrote: Hi, Just trying to get started on OfBiz. First impression: not much documentation to go on. I was able to get the vanilla OfBiz running, but: 1) I can't get to it via a domain name. I can get to it on the intranet, via the intranet IP address: http:// local-ip:8080/ecommercehttp://%3clocal-ip%3e:8080/ecommerce (also using localhost instead of local-ip). I can get to it externally via my router's WAN IP address: http://wan-ip:8080/ecommercehttp:// %3cwan-ip%3e:8080/ecommerce. But, I can't get to it via www.mydomain.com. I made sure there are no firewalls blocking this. I opened up TCP ports 80, 8080, and the https port on my router. Can anyone help with this, please? 2) I purchased Ms.Hoffman's catalog book, but it refers to oFBiz 4. I downloaded oFBiz 9 (current), and in it, there is no place to change the logo on a store (whereas it was clearly available in OfBiz 4) (!). Why would this be removed? So I proceeded to overwrite the ofbizLogo.gif with one of my own, and I can see that it replaced the ofbiz logo, but it is not showing properly. Is there some resolution requirements on the logo or any other image displayed on the web page? Thanks, Goran smime.p7s Description: S/MIME cryptographic signature
Re: Beginner questions
Hi Ruth, I think we're talking about different things here, Goran has successfully changed the image (admittedly using less than ideal means) but the problem is that the css isn't accommodating his image size in the way that he would like. Regarding the image selection, as discussed previously the image is changeable via the theme, problem is that no one has built a UI for configuring themes as yet. I understand your frustration but there isn't really anything I can do about it. Regards Scott On 18/02/2010, at 6:04 PM, Ruth Hoffman wrote: Hi Scott: With all due respect and not to beat a dead horse, but the point about getting your hands dirty is exactly why this should never have been changed. It worked like a charm in 4.0. And there is no reason why a new OFBiz user shouldn't be able to load up an image and use it as a logo for the store using the existing store management application - the Catalog Manager. We can do that for product images, why not store images? Regards, Ruth Scott Gray wrote: The image is most likely sized via the css file for the page: framework/images/webapp/images/ecommain.css Here you'll have to get your hands dirty I'm afraid, but it's pretty much unavoidable if you want your store to look in any way different from the demo store. Regards Scott On 18/02/2010, at 5:31 PM, Goran Janevski wrote: Yey! It worked. Now if I can just figure out why my gif picture is not showing up properly as the ofbizLogo.gif, I will have reached my first milestone. I will read the technical production setup guide, and a couple of others before I ask more questions. Thanks very much, Goran On Thu, Feb 18, 2010 at 7:06 PM, Scott Gray scott.g...@hotwaxmedia.comwrote: Sorry I missed the rest of the settings: framework/base/config/ofbiz-containers.xml Find the container named catalina-container and within that the following two property elements: http-connector and https-connector and change the port properties to 80 and 443 respectively. You'll find some other useful information in this document: http://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide Regards Scott On 18/02/2010, at 4:54 PM, Goran Janevski wrote: Scott, That actually did not work. After I modify the port in url.properties and setting it to 80, I can not access the web site with the domain only. I can still access the web site using port 8080, but not without it. I restarted the server after making the modification. I also tried another random port (8088), with the same result. Which leads me to believe that changing the port in url.properties does not impact the port being used, *unless: *do I need to recompile/rebuild the whole thing in order for the port change to take effect? Or, is there some other place that I also need to change the port from 8080 to 80. Sorry for being such a newbie. Thanks again, Goran On Thu, Feb 18, 2010 at 5:38 PM, Scott Gray scott.g...@hotwaxmedia.com wrote: You can also modify framework/webapp/config/url.properties to set your http port to 80 and the https port to 443 so that users do not need to specify the port after the host name. Regards Scott HotWax Media http://www.hotwaxmedia.com On 18/02/2010, at 3:30 PM, Ruth Hoffman wrote: Hi Goran: You don't need to do that. You can go to the ofbiz-component.xml file for the ecommerce component (~specialpurpose/ecommerce) and change the mount-point entry to be mount-point=/. Hope that helps. Ruth Goran Janevski wrote: Actually, now that you helped me figure this out, I can probably do some kind of DNS mapping through GoDaddy to get down to www.mydomain.com. When I figure it out, I will report back. Best Regards, Goran On Thu, Feb 18, 2010 at 11:19 AM, Goran Janevski goran...@gmail.com wrote: Hi, Just trying to get started on OfBiz. First impression: not much documentation to go on. I was able to get the vanilla OfBiz running, but: 1) I can't get to it via a domain name. I can get to it on the intranet, via the intranet IP address: http:// local-ip:8080/ecommercehttp://%3clocal-ip%3e:8080/ecommerce (also using localhost instead of local-ip). I can get to it externally via my router's WAN IP address: http://wan-ip:8080/ecommercehttp:// %3cwan-ip%3e:8080/ecommerce. But, I can't get to it via www.mydomain.com. I made sure there are no firewalls blocking this. I opened up TCP ports 80, 8080, and the https
Re: Beginner questions
On 18/02/2010, at 6:57 PM, Ruth Hoffman wrote: Scott Gray wrote: Hi Ruth, I think we're talking about different things here, Goran has successfully changed the image (admittedly using less than ideal means) but the problem is that the css isn't accommodating his image size in the way that he would like Actually, the CM version worked a little better. It was easier to see when an image didn't fit in properly. Regardless, if you don't know some css basics your site isn't going to look anything close to what it could if you did. Regarding the image selection, as discussed previously the image is changeable via the theme, problem is that no one has built a UI for configuring themes as yet. I understand your frustration but there isn't really anything I can do about it. All the more reason it should never have been removed from the CM. Why, because I can't do anything about it? That's hardly a reason for anything and since I didn't remove it I'm not really sure why we're having this discussion. Regards Scott On 18/02/2010, at 6:04 PM, Ruth Hoffman wrote: Hi Scott: With all due respect and not to beat a dead horse, but the point about getting your hands dirty is exactly why this should never have been changed. It worked like a charm in 4.0. And there is no reason why a new OFBiz user shouldn't be able to load up an image and use it as a logo for the store using the existing store management application - the Catalog Manager. We can do that for product images, why not store images? Regards, Ruth Scott Gray wrote: The image is most likely sized via the css file for the page: framework/images/webapp/images/ecommain.css Here you'll have to get your hands dirty I'm afraid, but it's pretty much unavoidable if you want your store to look in any way different from the demo store. Regards Scott On 18/02/2010, at 5:31 PM, Goran Janevski wrote: Yey! It worked. Now if I can just figure out why my gif picture is not showing up properly as the ofbizLogo.gif, I will have reached my first milestone. I will read the technical production setup guide, and a couple of others before I ask more questions. Thanks very much, Goran On Thu, Feb 18, 2010 at 7:06 PM, Scott Gray scott.g...@hotwaxmedia.comwrote: Sorry I missed the rest of the settings: framework/base/config/ofbiz-containers.xml Find the container named catalina-container and within that the following two property elements: http-connector and https-connector and change the port properties to 80 and 443 respectively. You'll find some other useful information in this document: http://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide Regards Scott On 18/02/2010, at 4:54 PM, Goran Janevski wrote: Scott, That actually did not work. After I modify the port in url.properties and setting it to 80, I can not access the web site with the domain only. I can still access the web site using port 8080, but not without it. I restarted the server after making the modification. I also tried another random port (8088), with the same result. Which leads me to believe that changing the port in url.properties does not impact the port being used, *unless: *do I need to recompile/rebuild the whole thing in order for the port change to take effect? Or, is there some other place that I also need to change the port from 8080 to 80. Sorry for being such a newbie. Thanks again, Goran On Thu, Feb 18, 2010 at 5:38 PM, Scott Gray scott.g...@hotwaxmedia.com wrote: You can also modify framework/webapp/config/url.properties to set your http port to 80 and the https port to 443 so that users do not need to specify the port after the host name. Regards Scott HotWax Media http://www.hotwaxmedia.com On 18/02/2010, at 3:30 PM, Ruth Hoffman wrote: Hi Goran: You don't need to do that. You can go to the ofbiz-component.xml file for the ecommerce component (~specialpurpose/ecommerce) and change the mount-point entry to be mount-point=/. Hope that helps. Ruth Goran Janevski wrote: Actually, now that you helped me figure this out, I can probably do some kind of DNS mapping through GoDaddy to get down to www.mydomain.com. When I figure it out, I will report back. Best Regards, Goran On Thu, Feb 18, 2010 at 11:19 AM, Goran Janevski
Re: Beginner questions
Sorry, but someone needs to do some human factors studies based on real life users. Design considerations should be based real life usage and not what developers think is the latest coolest thing to do. Ruth I shall look forward to your report. Regards Scott smime.p7s Description: S/MIME cryptographic signature
Re: Demo is down with OutOfMemoryError: PermGen space error
Refresh after the error is shown, it should go back to normal. For whoever is maintaining the demo instance (Hans?), it would probably be best to start OFBiz using startofbiz.sh or at least with the same settings that it contains. Regards Scott HotWax Media http://www.hotwaxmedia.com On 18/02/2010, at 12:02 AM, Abdullah Shaikh wrote: Demo site is throwing java.lang.OutOfMemoryError: PermGen space for all the backend applications, the ecommerce is working fine. - Abdullah smime.p7s Description: S/MIME cryptographic signature
Re: how to autogen a primary key instead of passing it in?
Hi Patrick, Something like this should do the trick: nextFacilityId = delegator.getNextSeqId(Facility); Regards Scott HotWax Media http://www.hotwaxmedia.com On 16/02/2010, at 5:54 PM, Patrick wrote: I have a Java service that creates a Facility. Right now I specify the primary key (facilityId) manually. I would like the database to automatically provide me with next available integer to use as the primary key. How can I accomplish this in my java service? UtilMisc.toMap( facilityId, (Object)facilityId); //right now I am passing in the pk but I want an automatically gen'd pk Thank you very much in advance, Patrick smime.p7s Description: S/MIME cryptographic signature
Re: ofbiz demo servers
Just FYI, demo.ofbiz.org always used to go to ecommerce when the demo was on Contegix. Regards Scott HotWax Media http://www.hotwaxmedia.com On 11/02/2010, at 10:54 PM, Jacques Le Roux wrote: Hi Tim, Yes indeed, that sounds like the most reasonnable thing to do. If in the same time we could redirect https://demo.ofbiz.org to back end it would be great, both to trunk I guess (for the moment it's not an option anyway) Thanks Jacques From: Tim Ruppert tim.rupp...@hotwaxmedia.com Where should the redirect go for http://demo.ofbiz.org? The redirect that's in place does demo.ofbiz.org/* - ofbiz-vm.apache.org/$1 - but that obviously means that it would simply go to ofbiz-vm.apache.org - which has no app. What would likely be the best thing to do would be to change ofbiz-vm.apache.org to redirect (or rewrite) to ofbiz-vm.apache.org/ecommerce/ . Jacques is that what you were planning to fix - on the ASF side? Cheers, Ruppert On Feb 11, 2010, at 5:36 AM, Jacques Le Roux wrote: I think we should try to fix this (if possible). I write this here mostly as a reminder for me to create a Jira when I will get a chance. Thanks for report Jacques From: masionas michael.koro...@gmail.com Yes, the problem was with the root url had no redirect. If put in the specific app url, it works. Thank you, guys. -- View this message in context: http://n4.nabble.com/ofbiz-demo-servers-tp1476574p1477159.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s Description: S/MIME cryptographic signature
Re: Why is ofbiz integrated with tomcat?
Hi Ylan OFBiz is deployable as an EAR and the various app server deployment templates in the framework/appserver/ directory facilitate this. The main reasons as far as I am aware for using embedded tomcat is as follows: - Simple setup and deployment - Ability to change files on the fly without redeploying - I'm not sure if it is still the case, but there have been issues in the past where the EAR standard doesn't allow for the use of a shared classpath between the OFBiz applications and often requires the use of app server specific EAR extensions - Meets the vast majority of users' needs as is At the end of the day it is a fairly simple thing to upgrade tomcat (especially minor versions) when needed and our current deployment model is much easier to use and maintain. But as I mentioned above, if someone really wanted to go that route it is possible and there are some tools in OFBiz to assist with it. Regards Scott HotWax Media http://www.hotwaxmedia.com On 10/02/2010, at 3:42 PM, Ylan Segal wrote: Hi everyone, I am new to ofbiz and wondering: Why is ofbiz integrated to tomcat? Is there a reason that ofbiz isn't just a web app that can be deployed in a standard war? For demonstration purposes, it works really well, since there is no need for the person downloading to have anything but java installed, but I am thinking later this makes it less flexible, as any tomcat fix at some point needs to be incorporated back into ofbiz. Thanks, -- Ylan Segal smime.p7s Description: S/MIME cryptographic signature
Re: Tests Failing?
On 10/02/2010, at 8:16 PM, Sam Hamilton wrote: Hey List, I am trying to run the tests on my local box using an updated trunk (r908817), but it just wont run them and fails with BUILD FAILED /Users/samhamilton/Sources/ofbiz/build.xml:453: Test run was unsuccessful I am running svn up ./ant clean-all ./ant run-install ./ant run-tests I have 2 questions: 1. I know that we have buildbot for compiling the code and running tests but I cant find what tests its running agaist the code (does it run ./ant run-tests)? Yes it runs ant run-tests after ant run-install on a fresh checkout 2. Why would the tests fail on my local machine against an unmodified copy of trunk but not on the buildbot? You need to create and populate the database first, run-tests doesn't do it because you are supposed to be able to run the tests repeatedly on the same db (even if in practice it isn't perfect) Cheers Sam smime.p7s Description: S/MIME cryptographic signature
Re: Paypal Payment via PayFlow Pro
How are you planning on using Express Checkout, via PayFlow Pro or the NVP API? (I recommend the latter) Regards Scott HotWax Media http://www.hotwaxmedia.com On 30/01/2010, at 10:23 AM, rohit wrote: Hi Scott, Is there any documentation on how to set it up. On the demo server, we are directed back to ofbiz site after clicking the paypal express checkout button. Am not sure how to do the set-up and try it out. Thank, rohit -- View this message in context: http://n4.nabble.com/Paypal-Payment-via-PayFlow-Pro-tp1288675p1457532.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s Description: S/MIME cryptographic signature
Re: Paypal Payment via PayFlow Pro
Step 1: Download the sdk from here: https://cms.paypal.com/cms_content/US/en_US/files/developer/PP_Java_NVP_SDK.zip Step 2: Grab the lib/paypal_base.jar and drop it into applications/accounting/lib/ (You will need some of the other jars from the download but I can't remember which ones, once you get up and running you'll soon see what is missing) Step 3: Comment or delete the following line from applications/accounting/build.xml exclude name=org/ofbiz/accounting/thirdparty/paypal/PayPalServices.java/ Step 4: Make sure the following entity-xml data is being loaded (out of the box this data resides in specialpurpose/ecommerce/data/DemoProduct.xml and is commented out): ProductStorePaymentSetting productStoreId=9000 paymentMethodTypeId=EXT_PAYPAL paymentServiceTypeEnumId=PRDS_PAY_AUTH paymentService= paymentCustomMethodId=PAYPAL_AUTH paymentGatewayConfigId=PAYPAL_CONFIG/ ProductStorePaymentSetting productStoreId=9000 paymentMethodTypeId=EXT_PAYPAL paymentServiceTypeEnumId=PRDS_PAY_REAUTH paymentService= paymentCustomMethodId=PAYPAL_AUTH paymentGatewayConfigId=PAYPAL_CONFIG/ ProductStorePaymentSetting productStoreId=9000 paymentMethodTypeId=EXT_PAYPAL paymentServiceTypeEnumId=PRDS_PAY_CAPTURE paymentService= paymentCustomMethodId=PAYPAL_CAPTURE paymentGatewayConfigId=PAYPAL_CONFIG/ ProductStorePaymentSetting productStoreId=9000 paymentMethodTypeId=EXT_PAYPAL paymentServiceTypeEnumId=PRDS_PAY_REFUND paymentService= paymentCustomMethodId=PAYPAL_REFUND paymentGatewayConfigId=PAYPAL_CONFIG/ ProductStorePaymentSetting productStoreId=9000 paymentMethodTypeId=EXT_PAYPAL paymentServiceTypeEnumId=PRDS_PAY_RELEASE paymentService= paymentCustomMethodId=PAYPAL_CAPTURE paymentGatewayConfigId=PAYPAL_CONFIG/ Step 5: Comment or delete the following line if your deployment is loading it (same OOTB location as above): ProductStorePaymentSetting productStoreId=9000 paymentMethodTypeId=EXT_PAYPAL paymentServiceTypeEnumId=PRDS_PAY_EXTERNAL paymentService= paymentCustomMethodId= paymentGatewayConfigId=PAYPAL_CONFIG/ Step 6: Modify the following line from applications/accounting/data/AccountingTypeData.xml: PaymentGatewayPayPal paymentGatewayConfigId=PAYPAL_CONFIG businessEmail= apiUserName= apiPassword= apiSignature= apiEnvironment= notifyUrl= returnUrl= cancelReturnUrl= imageUrl= confirmTemplate=/order/emailconfirmation.ftl redirectUrl=https://www.sandbox.paypal.com/webscr; confirmUrl=https://www.sandbox.paypal.com/us/cgi-bin/webscr; shippingCallbackUrl= requireConfirmedShipping=N/ Make it look like this, filling in the INFO pieces with your information: PaymentGatewayPayPal paymentGatewayConfigId=PAYPAL_CONFIG apiUserName=YOUR API USER NAME apiPassword=YOUR API PASSWORD apiSignature=YOUR API SIGNATURE apiEnvironment=sandbox returnUrl=https://YOUR OFBIZ SERVER URL/ecommerce/control/payPalCheckoutReturn cancelReturnUrl=https://YOUR OFBIZ SERVER URL/ecommerce/control/payPalCheckoutCancel confirmTemplate=/order/emailconfirmation.ftl redirectUrl=https://www.sandbox.paypal.com/webscr; confirmUrl=https://www.sandbox.paypal.com/us/cgi-bin/webscr; shippingCallbackUrl=https://YOUR OFBIZ SERVER URL/ecommerce/control/payPalCheckoutUpdate requireConfirmedShipping=N/ I think that's it, I haven't worked with it for a while. Regards Scott HotWax Media http://www.hotwaxmedia.com On 30/01/2010, at 10:32 AM, rohit wrote: yes, i too intend to use the NVP API. Rohit -- View this message in context: http://n4.nabble.com/Paypal-Payment-via-PayFlow-Pro-tp1288675p1457539.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s Description: S/MIME cryptographic signature
Re: Paypal Payment via PayFlow Pro
I've only ever worked with a sandbox account, I wouldn't recommend testing on a live server. When using the sandbox just log in and click on API Credentials and you will see that there is an API Username, an API Password and a Signature; you need all three. Regards Scott HotWax Media http://www.hotwaxmedia.com On 30/01/2010, at 11:05 AM, rohit wrote: hi, what is YOUR API SIGNATURE. i intend to test on live server, and have the api username and password setup, but could not find anything that said 'API SIGNATURE'. Do you mean the certificate file with it? Rohit -- View this message in context: http://n4.nabble.com/Paypal-Payment-via-PayFlow-Pro-tp1288675p1457554.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s Description: S/MIME cryptographic signature
Re: Different order status for COD and CC
My guess is that they want these additional statuses for searching and if that is the case it would be much better to allow searching by payment method type + order status rather than adding custom statuses. Regards Scott On 29/01/2010, at 9:33 AM, Mridul Pathak wrote: It certainly depends on what status change you want to have, if in both cases the next status change would be ORBER_APPROVED, then better to customize the view logic to show different descriptions, instead of creating new statuses. -- Thanks Regards Mridul Pathak Hotwax Media http://www.hotwaxmedia.com mridul.pat...@hotwaxmedia.com - direct: +91 - 942.592.6892 On Thu, Jan 28, 2010 at 10:50 PM, Ramkrishna Swamy ramkrishna.swamyof...@gmail.com wrote: Hi Scott, What could be possible harm if i do so, i don't have much knowledge of OFBiz and since it's my client's requirement so i have to follow. -- Thanks Ramkrishna On Fri, Jan 29, 2010 at 11:04 AM, Scott Gray scott.g...@hotwaxmedia.com wrote: I would seriously consider why the same status has to have a different description depending on the payment method type. You're adding unnecessary complexity when other simpler approaches could probably achieve the same goal. Regards Scott On 28/01/2010, at 10:12 PM, Ramkrishna Swamy wrote: Hi Scott, Thanks for your reply, i have to set status Order to be approved for COD and Order Placed for CC instead of Created, as per my understanding i'll have to create new status and have to call seca for changing the order status while placing the order, is this correct or there is another way to do. -- Thanks Ramkrishna On Fri, Jan 29, 2010 at 4:41 AM, Scott Gray scott.g...@hotwaxmedia.com wrote: Start off by setting Auto Approve Order on the Product Store to N which will cause all order to remain in the Created status and will need to be manually moved to Approved. Regards Scott HotWax Media http://www.hotwaxmedia.com On 28/01/2010, at 12:36 AM, Ramkrishna Swamy wrote: Has anyone idea on this. Plz help. -- Thanks Ramkrishna On Mon, Dec 28, 2009 at 12:47 PM, Ramkrishna Swamy ramkrishna.swamyof...@gmail.com wrote: Hi list, I have a requirement of setting different order status, for COD status should be Order to be Approved and for CC Order Placed is required, and in both cases order will be approved later on, how to implement this. Plz help. -- Thanks Ramkrishna smime.p7s Description: S/MIME cryptographic signature
Re: Different order status for COD and CC
Start off by setting Auto Approve Order on the Product Store to N which will cause all order to remain in the Created status and will need to be manually moved to Approved. Regards Scott HotWax Media http://www.hotwaxmedia.com On 28/01/2010, at 12:36 AM, Ramkrishna Swamy wrote: Has anyone idea on this. Plz help. -- Thanks Ramkrishna On Mon, Dec 28, 2009 at 12:47 PM, Ramkrishna Swamy ramkrishna.swamyof...@gmail.com wrote: Hi list, I have a requirement of setting different order status, for COD status should be Order to be Approved and for CC Order Placed is required, and in both cases order will be approved later on, how to implement this. Plz help. -- Thanks Ramkrishna smime.p7s Description: S/MIME cryptographic signature
Re: splitup of ebay component.
Hi Hans, Is there any reason that you know of for us to retain the XML interface at all? If the API is better then shouldn't we just use it alone? If we end up keeping both we might need better names, XML vs. API doesn't mean much (I mean the XML interface is also an API) or is this how eBay describes them? Regards Scott HotWax Media http://www.hotwaxmedia.com On 28/01/2010, at 9:32 PM, Hans Bakker wrote: Hi follow OFBiz users. as you have seen at the latest commits we have extended the ebay component by using the Ebay API which allows an ofbiz user to (almost) maintain all Ebay functions within OFBiz. Up to now there was no overlap between the existing XML functions and the new API functions, however there now will be. Uploading products in the existing ebay function does not allow maintaining inventory within in Ebay, but the new upload function does or does not allow it set by a flag, so there is overlap. We plan further to duplicate all XML functions using the API interface. So hereby we propose to rename the existing Ebay component to EbayXml and create a new Ebay component called EbayAPI both in the specialized directory. comments or suggestions? -- Antwebsystems.com: Quality OFBiz services for competitive rates smime.p7s Description: S/MIME cryptographic signature
Re: Different order status for COD and CC
I would seriously consider why the same status has to have a different description depending on the payment method type. You're adding unnecessary complexity when other simpler approaches could probably achieve the same goal. Regards Scott On 28/01/2010, at 10:12 PM, Ramkrishna Swamy wrote: Hi Scott, Thanks for your reply, i have to set status Order to be approved for COD and Order Placed for CC instead of Created, as per my understanding i'll have to create new status and have to call seca for changing the order status while placing the order, is this correct or there is another way to do. -- Thanks Ramkrishna On Fri, Jan 29, 2010 at 4:41 AM, Scott Gray scott.g...@hotwaxmedia.comwrote: Start off by setting Auto Approve Order on the Product Store to N which will cause all order to remain in the Created status and will need to be manually moved to Approved. Regards Scott HotWax Media http://www.hotwaxmedia.com On 28/01/2010, at 12:36 AM, Ramkrishna Swamy wrote: Has anyone idea on this. Plz help. -- Thanks Ramkrishna On Mon, Dec 28, 2009 at 12:47 PM, Ramkrishna Swamy ramkrishna.swamyof...@gmail.com wrote: Hi list, I have a requirement of setting different order status, for COD status should be Order to be Approved and for CC Order Placed is required, and in both cases order will be approved later on, how to implement this. Plz help. -- Thanks Ramkrishna smime.p7s Description: S/MIME cryptographic signature
Re: ant download-selenium returns build fail error
On 27/01/2010, at 6:29 AM, Ruth Hoffman wrote: Hi Ashish: If that is the case, then why is Java 1.6 now required for 9.04? It does? Since when? What bug fix drove this change? [IMHO, a significant change in the release as some users such as myself are not able to upgrade to 1.6 at this point.] Regards, Ruth Ashish Vijaywargiya wrote: Comments inline: Thanks! -- Ashish On Wed, Jan 27, 2010 at 8:38 AM, Ruth Hoffman rhoff...@aesolves.com wrote: Hi Scott: Thanks for this reply. I guess that is why I asked the original question. Next question: should it? I don't think that it should be back ported to RB9.04 as those changes were the feature enhancement instead of bug fix. Or should the documentation be amended to reflect this? Yes, updating the document with mention that this feature is supported in trunk would make others life easy IMO. Regards, Ruth Scott Gray wrote: Hi Ruth, I don't believe selenium has a presence at all in the 9.04 codebase Regards Scott HotWax Media http://www.hotwaxmedia.com On 26/01/2010, at 7:59 PM, Ruth Hoffman wrote: According to the documentation, I should be able to download the necessary Selenium server.jar file as so: ant download-selenium This returns the following error: Target download-selenium does not exist in the project OFBiz Main Build. for Release 9.04 version 899857 Is this a bug or is Selenium not supported in Release 9.04 version 899857? Regards, Ruth smime.p7s Description: S/MIME cryptographic signature
Re: ant download-selenium returns build fail error
Read what? The main new features page refers to what is going on in the trunk and has no bearing on the release branches after their creation. The release branches don't receive new features, only bug fixes. Regards Scott On 27/01/2010, at 7:29 AM, Ruth Hoffman wrote: Hi Scott: Read it and weep :-) http://cwiki.apache.org/confluence/display/OFBIZ/Main+New+Features Scott Gray wrote: On 27/01/2010, at 6:29 AM, Ruth Hoffman wrote: Hi Ashish: If that is the case, then why is Java 1.6 now required for 9.04? It does? Since when? What bug fix drove this change? [IMHO, a significant change in the release as some users such as myself are not able to upgrade to 1.6 at this point.] Regards, Ruth Ashish Vijaywargiya wrote: Comments inline: Thanks! -- Ashish On Wed, Jan 27, 2010 at 8:38 AM, Ruth Hoffman rhoff...@aesolves.com wrote: Hi Scott: Thanks for this reply. I guess that is why I asked the original question. Next question: should it? I don't think that it should be back ported to RB9.04 as those changes were the feature enhancement instead of bug fix. Or should the documentation be amended to reflect this? Yes, updating the document with mention that this feature is supported in trunk would make others life easy IMO. Regards, Ruth Scott Gray wrote: Hi Ruth, I don't believe selenium has a presence at all in the 9.04 codebase Regards Scott HotWax Media http://www.hotwaxmedia.com On 26/01/2010, at 7:59 PM, Ruth Hoffman wrote: According to the documentation, I should be able to download the necessary Selenium server.jar file as so: ant download-selenium This returns the following error: Target download-selenium does not exist in the project OFBiz Main Build. for Release 9.04 version 899857 Is this a bug or is Selenium not supported in Release 9.04 version 899857? Regards, Ruth smime.p7s Description: S/MIME cryptographic signature
Re: ant download-selenium returns build fail error
Hi Ruth Yes I can understand how it might lead to confusion, the bottom line is that the release branches receive only bug fixes and nothing else. I think Hans was pointing you to that document to show that Selenium was listed as being introduced after the creation of the 9.04 branch and hence the feature isn't available to it. I hear you're pretty good at documentation, please feel free to add whatever information you think is required to help users avoid any confusion. Regards Scott HotWax Media http://www.hotwaxmedia.com On 27/01/2010, at 8:38 AM, Ruth Hoffman wrote: Hi Scott: Actually, no where on that page does it say trunk. What it does say is ...approximately to changes since Release 4.0... which could potentially lead new users - looking for more information about various release contents - to assume that these changes apply to OFBiz releases. So, I'm back to my original question concerning whether or not Selenium support is in 9.04. I was told to read this document and everything it pointed to. I did. And...I made some incorrect assumptions. I made the original request on the User's mailing list. I'm a user and not a committer. How am I suppose to know that this document refers to trunk commits if that is not clearly stated on the document? BTW, I'm not faulting Hans. Thank you Hans for helping me. Regards, Ruth Find me on the web at http://www.myofbiz.com or Google keyword myofbiz ruth.hoff...@myofbiz.com Scott Gray wrote: Read what? The main new features page refers to what is going on in the trunk and has no bearing on the release branches after their creation. The release branches don't receive new features, only bug fixes. Regards Scott On 27/01/2010, at 7:29 AM, Ruth Hoffman wrote: Hi Scott: Read it and weep :-) http://cwiki.apache.org/confluence/display/OFBIZ/Main+New+Features Scott Gray wrote: On 27/01/2010, at 6:29 AM, Ruth Hoffman wrote: Hi Ashish: If that is the case, then why is Java 1.6 now required for 9.04? It does? Since when? What bug fix drove this change? [IMHO, a significant change in the release as some users such as myself are not able to upgrade to 1.6 at this point.] Regards, Ruth Ashish Vijaywargiya wrote: Comments inline: Thanks! -- Ashish On Wed, Jan 27, 2010 at 8:38 AM, Ruth Hoffman rhoff...@aesolves.com wrote: Hi Scott: Thanks for this reply. I guess that is why I asked the original question. Next question: should it? I don't think that it should be back ported to RB9.04 as those changes were the feature enhancement instead of bug fix. Or should the documentation be amended to reflect this? Yes, updating the document with mention that this feature is supported in trunk would make others life easy IMO. Regards, Ruth Scott Gray wrote: Hi Ruth, I don't believe selenium has a presence at all in the 9.04 codebase Regards Scott HotWax Media http://www.hotwaxmedia.com On 26/01/2010, at 7:59 PM, Ruth Hoffman wrote: According to the documentation, I should be able to download the necessary Selenium server.jar file as so: ant download-selenium This returns the following error: Target download-selenium does not exist in the project OFBiz Main Build. for Release 9.04 version 899857 Is this a bug or is Selenium not supported in Release 9.04 version 899857? Regards, Ruth smime.p7s Description: S/MIME cryptographic signature
Re: Add category to catalog fails
Hi Patrick, I think you're misunderstanding the purpose of the form, it is used to associate an existing category to the catalog so you must create the category before attempting to associate it to the catalog. Regards Scott HotWax Media http://www.hotwaxmedia.com On 27/01/2010, at 8:58 AM, Patrick wrote: This sequence to create a category in a catalog fails. Main - Catalog - Catalog Detail List - [My Catalog] - Categories - Add Category to this Catalog - Gives a form with the following: [Category ID] [Category Type] [From Date] [Thru Date] [Seq Num] There isn't a Category Name field in this form, and I can't make this form work. Do you think its a bug? I can actually associate a catalog with a category with this sequence. [Catalog] [Create New Category] [ Catalogs] [Add Catalog to this Category] Thanks! smime.p7s Description: S/MIME cryptographic signature
Re: logging documentation
Hi Chris, It's usually easiest to do this from the database rather than the application, if you're using Derby the configuration is available in runtime/data/derby.properties if you haven't created the database yet or otherwise runtime/data/derby/derby.properties Regards Scott HotWax Media http://www.hotwaxmedia.com On 27/01/2010, at 2:49 AM, Chris Snow wrote: Hi Forum, Is there any documentation on tweaking the logging? I want to be able to display the generated SQL to debug some of my tests. Many thanks, chris smime.p7s Description: S/MIME cryptographic signature
Re: Any chance for an upgrade? - help please
Sorry for the slow reply Florin, this slipped past me until I saw your message to Jacques a moment ago. Could you provide more details about what changes you've made to this checkout? My first guess is that there's something wrong with the database connection since the problem appears during the first attempt to connect to it. Regards Scott HotWax Media http://www.hotwaxmedia.com On 25/01/2010, at 7:35 AM, Florin Popa wrote: Hello Scott, Additionally, I just noticed that revision 902810 could not be started: [java] 2010-01-25 15:12:48,825 (main) [ ModelViewEntity.java:529:WARN ] Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: statusDelay of view-entity ExampleStatusDetail [java] 2010-01-25 15:12:48,933 (main) [ ModelViewEntity.java:529:WARN ] Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: quantityOrdered of view-entity OrderItemQuantityReportGroupByItem [java] 2010-01-25 15:12:48,934 (main) [ ModelViewEntity.java:529:WARN ] Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: quantityOpen of view-entity OrderItemQuantityReportGroupByItem [java] 2010-01-25 15:12:48,934 (main) [ ModelViewEntity.java:529:WARN ] Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: quantityOrdered of view-entity OrderItemQuantityReportGroupByProduct [java] 2010-01-25 15:12:48,934 (main) [ ModelViewEntity.java:529:WARN ] Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: quantityOpen of view-entity OrderItemQuantityReportGroupByProduct [java] 2010-01-25 15:12:48,947 (main) [ ModelViewEntity.java:529:WARN ] Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: quantityOrdered of view-entity OrderItemAndShipGrpInvResAndItemSum [java] 2010-01-25 15:12:48,947 (main) [ ModelViewEntity.java:529:WARN ] Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: totQuantityAvailable of view-entity OrderItemAndShipGrpInvResAndItemSum [java] 2010-01-25 15:12:49,056 (main) [ ModelReader.java:389:INFO ] FINISHED LOADING ENTITIES - ALL FILES; #Entities=839 #ViewEntities=263 #Fields=8747 #Relationships=2903 #AutoRelationships=2138 [java] 2010-01-25 15:12:49,068 (main) [ GenericDelegator.java:232:INFO ] Doing entity definition check... [java] 2010-01-25 15:12:49,072 (main) [ ModelEntityChecker.java:501:INFO ] [initReservedWords] array length=1023 [java] Exception in thread main java.lang.NullPointerException [java] at org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:484) [java] at org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) [java] at org.ofbiz.entity.GenericDelegator.init(GenericDelegator.java:233) [java] at org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:43) [java] at org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:25) [java] at org.ofbiz.base.util.UtilObject.getObjectFromFactory(UtilObject.java:181) [java] at org.ofbiz.entity.DelegatorFactory.getDelegator(DelegatorFactory.java:31) [java] at org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:229) [java] at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100) [java] at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) [java] at org.ofbiz.base.start.Start.startServer(Start.java:322) [java] at org.ofbiz.base.start.Start.start(Start.java:326) [java] at org.ofbiz.base.start.Start.main(Start.java:411) [java] 2010-01-25 15:12:49,176 (OFBiz_Shutdown_Hook) [ ContainerLoader.java:113:INFO ] Shutting down containers [java] Java Result: 1 BUILD SUCCESSFUL Total time: 8 seconds Can you help please? thanks, Flopa Given the amount of changes required to back port you're probably better to upgrade to a newer revision, depending on how you've handled your custom code and what tests you have in place to verify your main areas of functionality, it should be relatively straightforward. Regards Scott HotWax Media http://www.hotwaxmedia.com On 25/01/2010, at 7:01 AM, Florin Popa wrote: Hello all, We started to develop an e-commerce application based on Ofbiz framework
Re: Any chance for an upgrade? - help please
Okay but what approach are you taking currently? Is this an attempt to back port the transaction management changes or are you updating OFBiz to a recent revision? Regards Scott On 27/01/2010, at 1:37 PM, Florin Popa wrote: Hi, There were a lot of changes done... but nothing inside the core of the project as well as nothing related to the DB layer.. I start 90 concurrent users, they all perform well for a while, aprox 10 mins with a single Ofbiz instance (in production I have 2 instances with an apache ballancer) and then suddenly I got those errors.. I rechecked and this one is the first one and appears often.. 2010-01-27 15:04:44,384 (TP-Processor110) [InheritableTransactionContext.java:311:ERROR] Unable to roll back transaction java.lang.IllegalStateException: Status is STATUS_NO_TRANSACTION at org.apache.geronimo.transaction.manager.TransactionImpl.rollback(TransactionImpl.java:438) at org.apache.geronimo.transaction.context.InheritableTransactionContext.rollbackAndThrow(InheritableTransactionContext.java:308) at org.apache.geronimo.transaction.context.InheritableTransactionContext.complete(InheritableTransactionContext.java:199) at org.apache.geronimo.transaction.context.InheritableTransactionContext.commit(InheritableTransactionContext.java:146) at org.apache.geronimo.transaction.context.GeronimoTransactionManager.commit(GeronimoTransactionManager.java:81) at org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:192) at org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:178) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:163) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90) at org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78) at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:699) at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:467) at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:200) at javax.servlet.http.HttpServlet.service(HttpServlet.java:595) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.tuckey.web.filters.urlrewrite.RewrittenUrl.doRewrite(RewrittenUrl.java:176) at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:423) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) After a while there is no chance to access the DB and nothing works at all thanks, Florin Sorry for the slow reply Florin, this slipped past me until I saw your message to Jacques a moment ago. Could you provide more details about what changes you've made to this checkout? My first guess is that there's something wrong with the database connection since the problem appears during the first attempt to connect to it. Regards Scott HotWax Media http://www.hotwaxmedia.com On 25/01/2010, at 7:35 AM, Florin Popa wrote: Hello Scott, Additionally, I just noticed that revision 902810
Re: Any chance for an upgrade? - help please
I'm sorry the potential for problems with this approach is just too large for me to be able to help you through it. Regards Scott HotWax Media http://www.hotwaxmedia.com On 27/01/2010, at 1:53 PM, Florin Popa wrote: The attempt to update Ofbiz to recent revision is for the moment (time limits) not possible.. there are so many differences... I am even not sure if bsh could work further instead of the newly groovy ?! also the entity layer handling.. etc So what I tried was to back port the transaction management - latest attempt is attached smime.p7s Description: S/MIME cryptographic signature
Re: ant download-selenium returns build fail error
I changed the title back so that it doesn't break any existing links in the mail archives. Regards Scott On 27/01/2010, at 3:11 PM, Jacques Le Roux wrote: Hi Ruth, I had a look it's ok with me (you and your unconscious could resist to put an almost sarcasticgreatest functionality, but maybe it's only my paranonia ;o). I much more clear, thanks! Jacques From: Ruth Hoffman rhoff...@aesolves.com Done. Please, if you don't like, change it as you see fit. Regards, Ruth Jacques Le Roux wrote: From: Scott Gray scott.g...@hotwaxmedia.com I hear you're pretty good at documentation, please feel free to add whatever information you think is required to help users avoid any confusion. +1 Jacques Regards Scott smime.p7s Description: S/MIME cryptographic signature
Re: tests are slow
Hi Chris, You're most welcome to create a jira issue, I can't guarantee I'll be able to work on it anytime soon however. Regards Scott On 25/01/2010, at 6:53 AM, Chris Snow wrote: Hi Scott, That works great - much quicker! I have started up the normal container and I have created a service (runTestSuite) that instantiates the TestRunContainer. The service is marked as exported, so I am just running the tests via a SOAP call at the moment. This functionality would be good in webtools. It would also be good if a test could be executed against a running ofbiz via the main build ant script. Using ant, we could easily run tests from eclipse by creating an external run task for each test. Shall I raise this as a JIRA improvement? Many thanks, Chris Scott Gray wrote: You could try manually initializing and starting the TestRunContainer, but obviously changes to java files will only take effect after you recompile. Let me know how it goes, there is potential that we could put something like this into webtools alongside the selenium tests. Regards Scott HotWax Media http://www.hotwaxmedia.com On 23/01/2010, at 11:41 AM, chris snow wrote: Scott Gray-2 wrote: It should be possible to run a test suite against an already running instance, assuming no compilation is required and the database is in the state required by the tests (i.e. pretty much unchanged from a fresh install). I'm lovin the test framework, but I'm still finding the startup time to be a pain. What would need to be done to run the tests against an already running instance? Many thanks, Chris -- View this message in context: http://n4.nabble.com/tests-are-slow-tp1014608p1288334.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s Description: S/MIME cryptographic signature
Re: ant download-selenium returns build fail error
Hi Ruth, I don't believe selenium has a presence at all in the 9.04 codebase Regards Scott HotWax Media http://www.hotwaxmedia.com On 26/01/2010, at 7:59 PM, Ruth Hoffman wrote: According to the documentation, I should be able to download the necessary Selenium server.jar file as so: ant download-selenium This returns the following error: Target download-selenium does not exist in the project OFBiz Main Build. for Release 9.04 version 899857 Is this a bug or is Selenium not supported in Release 9.04 version 899857? Regards, Ruth smime.p7s Description: S/MIME cryptographic signature
Re: Any chance for an upgrade? - help please
Given the amount of changes required to back port you're probably better to upgrade to a newer revision, depending on how you've handled your custom code and what tests you have in place to verify your main areas of functionality, it should be relatively straightforward. Regards Scott HotWax Media http://www.hotwaxmedia.com On 25/01/2010, at 7:01 AM, Florin Popa wrote: Hello all, We started to develop an e-commerce application based on Ofbiz framework around 2 years ago. The version we started from is a revision 691692. Main problem is that we already have few systems launched into production, based on that revision. Meanwhile, doing some mass tests, we encountered a lot of problems - mostly related to transactions... We noticed the implementation of /framework/entity/src/org/ofbiz/entity/transaction/TransactionUtil.java has lots of problems from this point of view - maybe not thread safe. We just checked out today revision 902810 and it seems someone really improved a lot that source code from threads-safe point of view. Trying to upgrade only that class into our old version drove to upgrade for more and more classes. We encountered lots of incompatibilities - the source code has been in some places fully changed. Right now, having more than 800 compilation errors I would not feel too optimist to integrate only what I need from the newer version into the old one. On the other hand, trying to get 902810 and then put over our work might also cause same problems because the entity layer and conditions handling seems to be changed.. I even expect to be worse that way because maybe web templates are also changed. Which way could someone suggest to proceed for a better version where all database/entity layer/transaction later problems are fixed? Many thanks, Flopa smime.p7s Description: S/MIME cryptographic signature
Re: Paypal Payment via PayFlow Pro
The Express Checkout flow is all that's available OOTB, I'm not even sure if it is possible to bill a PayPal account without going through to their website first. Regards Scott HotWax Media http://www.hotwaxmedia.com On 24/01/2010, at 7:26 AM, Mahesh Bachchan wrote: hello ofbiz-users, is it possible to use the payment method Paypal via PayFlow Pro Gateway? I mean, if a customer wants to pay via Paypal this payment should be made via the PayFlow Gateway without an external redirect to Paypal page! Is someone using such a solution!?? Or is paypal payment only via redirect to paypal pages available OOTB? Thanks Mahesh smime.p7s Description: S/MIME cryptographic signature
Re: Paypal Payment via PayFlow Pro
On 24/01/2010, at 3:53 PM, BJ Freeman wrote: Paypal has change what they call services. the one that is used in 9.04 (redirect) is called Website Payments Pro https://www.paypal.com/cgi-bin/webscr?cmd=_wp-pro-overview-outside PayPal Express Checkout https://www.paypal.com/cgi-bin/webscr?cmd=_additional-payment-overview-outside Pay flow Payment Gateway is similar to authorizenet but not OOTB https://www.paypal.com/cgi-bin/webscr?cmd=_payflow-gateway-overview-outside Express Checkout is also available using the Payflow Pro Payment gateway, both implementations are available OOTB (although there were some limitations in the Payflow version which may or may not still be the case.) BJ Freeman sent the following on 1/24/2010 9:00 AM: not sure if Scott added Pay flow to the Trunk. release 9.04 and 4.0 uses the redirect but is not setup to use verified addresses. I use 9.04 Mahesh Bachchan sent the following on 1/24/2010 6:26 AM: hello ofbiz-users, is it possible to use the payment method Paypal via PayFlow Pro Gateway? I mean, if a customer wants to pay via Paypal this payment should be made via the PayFlow Gateway without an external redirect to Paypal page! Is someone using such a solution!?? Or is paypal payment only via redirect to paypal pages available OOTB? Thanks Mahesh smime.p7s Description: S/MIME cryptographic signature
Re: Paypal Payment via PayFlow Pro
On 24/01/2010, at 4:09 PM, BJ Freeman wrote: Scott: not sure you looked at the links, they do not support what you say, unless I missed something. Didn't look at the links but yes you did miss something, unless I imagined the time I spent developing it. Scott Gray sent the following on 1/24/2010 3:01 PM: On 24/01/2010, at 3:53 PM, BJ Freeman wrote: Paypal has change what they call services. the one that is used in 9.04 (redirect) is called Website Payments Pro https://www.paypal.com/cgi-bin/webscr?cmd=_wp-pro-overview-outside PayPal Express Checkout https://www.paypal.com/cgi-bin/webscr?cmd=_additional-payment-overview-outside Pay flow Payment Gateway is similar to authorizenet but not OOTB https://www.paypal.com/cgi-bin/webscr?cmd=_payflow-gateway-overview-outside Express Checkout is also available using the Payflow Pro Payment gateway, both implementations are available OOTB (although there were some limitations in the Payflow version which may or may not still be the case.) BJ Freeman sent the following on 1/24/2010 9:00 AM: not sure if Scott added Pay flow to the Trunk. release 9.04 and 4.0 uses the redirect but is not setup to use verified addresses. I use 9.04 Mahesh Bachchan sent the following on 1/24/2010 6:26 AM: hello ofbiz-users, is it possible to use the payment method Paypal via PayFlow Pro Gateway? I mean, if a customer wants to pay via Paypal this payment should be made via the PayFlow Gateway without an external redirect to Paypal page! Is someone using such a solution!?? Or is paypal payment only via redirect to paypal pages available OOTB? Thanks Mahesh smime.p7s Description: S/MIME cryptographic signature
Re: Paypal Payment via PayFlow Pro
On 24/01/2010, at 4:14 PM, BJ Freeman wrote: Unless your calling Payflow Link the same as Express Checkout however it does not use the Gateway feature meaning like authorizenet. No I mean Express Checkout, you can perform the transaction via the Payflow gateway in a very similar way to how you would with say the NVP API BJ Freeman sent the following on 1/24/2010 3:09 PM: Scott: not sure you looked at the links, they do not support what you say, unless I missed something. Scott Gray sent the following on 1/24/2010 3:01 PM: On 24/01/2010, at 3:53 PM, BJ Freeman wrote: Paypal has change what they call services. the one that is used in 9.04 (redirect) is called Website Payments Pro https://www.paypal.com/cgi-bin/webscr?cmd=_wp-pro-overview-outside PayPal Express Checkout https://www.paypal.com/cgi-bin/webscr?cmd=_additional-payment-overview-outside Pay flow Payment Gateway is similar to authorizenet but not OOTB https://www.paypal.com/cgi-bin/webscr?cmd=_payflow-gateway-overview-outside Express Checkout is also available using the Payflow Pro Payment gateway, both implementations are available OOTB (although there were some limitations in the Payflow version which may or may not still be the case.) BJ Freeman sent the following on 1/24/2010 9:00 AM: not sure if Scott added Pay flow to the Trunk. release 9.04 and 4.0 uses the redirect but is not setup to use verified addresses. I use 9.04 Mahesh Bachchan sent the following on 1/24/2010 6:26 AM: hello ofbiz-users, is it possible to use the payment method Paypal via PayFlow Pro Gateway? I mean, if a customer wants to pay via Paypal this payment should be made via the PayFlow Gateway without an external redirect to Paypal page! Is someone using such a solution!?? Or is paypal payment only via redirect to paypal pages available OOTB? Thanks Mahesh smime.p7s Description: S/MIME cryptographic signature
Re: Paypal Payment via PayFlow Pro
https://www.x.com/docs/DOC-1444 3rd item in the table. Regards Scott On 24/01/2010, at 4:17 PM, Scott Gray wrote: On 24/01/2010, at 4:14 PM, BJ Freeman wrote: Unless your calling Payflow Link the same as Express Checkout however it does not use the Gateway feature meaning like authorizenet. No I mean Express Checkout, you can perform the transaction via the Payflow gateway in a very similar way to how you would with say the NVP API BJ Freeman sent the following on 1/24/2010 3:09 PM: Scott: not sure you looked at the links, they do not support what you say, unless I missed something. Scott Gray sent the following on 1/24/2010 3:01 PM: On 24/01/2010, at 3:53 PM, BJ Freeman wrote: Paypal has change what they call services. the one that is used in 9.04 (redirect) is called Website Payments Pro https://www.paypal.com/cgi-bin/webscr?cmd=_wp-pro-overview-outside PayPal Express Checkout https://www.paypal.com/cgi-bin/webscr?cmd=_additional-payment-overview-outside Pay flow Payment Gateway is similar to authorizenet but not OOTB https://www.paypal.com/cgi-bin/webscr?cmd=_payflow-gateway-overview-outside Express Checkout is also available using the Payflow Pro Payment gateway, both implementations are available OOTB (although there were some limitations in the Payflow version which may or may not still be the case.) BJ Freeman sent the following on 1/24/2010 9:00 AM: not sure if Scott added Pay flow to the Trunk. release 9.04 and 4.0 uses the redirect but is not setup to use verified addresses. I use 9.04 Mahesh Bachchan sent the following on 1/24/2010 6:26 AM: hello ofbiz-users, is it possible to use the payment method Paypal via PayFlow Pro Gateway? I mean, if a customer wants to pay via Paypal this payment should be made via the PayFlow Gateway without an external redirect to Paypal page! Is someone using such a solution!?? Or is paypal payment only via redirect to paypal pages available OOTB? Thanks Mahesh smime.p7s Description: S/MIME cryptographic signature
Re: Paypal Payment via PayFlow Pro
It was implemented after the 9.04 release so you either have to try and back-port it or otherwise use a trunk revision. Regards Scott On 24/01/2010, at 6:04 PM, Mahesh Bachchan wrote: thanks for all the information :-) I´m using payflow pro in 9.04 OOTB, it works fine concerning processing credit card transactions .. @Scott: How can I use Express Checkout via Payflow Pro in release 9.04? Do you have a example configuration? Thank you very very much! On Mon, Jan 25, 2010 at 10:37 AM, BJ Freeman bjf...@free-man.net wrote: here is the detailed. from the ofbiz side Payflow Link is the same as Express Checkout they use the webpages one paypal to do check out, with data return to ofbiz From the paypal side: Payflow Link is the not same as Express Checkout in Express Checkout it is handled by Paypal with a single processing fee Payflow Link the webpage on paypal goes through the gateway set up for the merchant by paypal. gateway by-passes Paypal and connect to merchants bank.There are merchant fees connected with the gateway. Payflow Pro does not use webpages on paypal so has to be implemented in ofbiz like authorizenet has be implemented. the Merchant gateway is set up by paypal. there are more differences but does not directly effect programming. I have done all these on other platforms other than ofbiz. Scott Gray sent the following on 1/24/2010 3:17 PM: On 24/01/2010, at 4:14 PM, BJ Freeman wrote: Unless your calling Payflow Link the same as Express Checkout however it does not use the Gateway feature meaning like authorizenet. No I mean Express Checkout, you can perform the transaction via the Payflow gateway in a very similar way to how you would with say the NVP API BJ Freeman sent the following on 1/24/2010 3:09 PM: Scott: not sure you looked at the links, they do not support what you say, unless I missed something. Scott Gray sent the following on 1/24/2010 3:01 PM: On 24/01/2010, at 3:53 PM, BJ Freeman wrote: Paypal has change what they call services. the one that is used in 9.04 (redirect) is called Website Payments Pro https://www.paypal.com/cgi-bin/webscr?cmd=_wp-pro-overview-outside PayPal Express Checkout https://www.paypal.com/cgi-bin/webscr?cmd=_additional-payment-overview-outside Pay flow Payment Gateway is similar to authorizenet but not OOTB https://www.paypal.com/cgi-bin/webscr?cmd=_payflow-gateway-overview-outside Express Checkout is also available using the Payflow Pro Payment gateway, both implementations are available OOTB (although there were some limitations in the Payflow version which may or may not still be the case.) BJ Freeman sent the following on 1/24/2010 9:00 AM: not sure if Scott added Pay flow to the Trunk. release 9.04 and 4.0 uses the redirect but is not setup to use verified addresses. I use 9.04 Mahesh Bachchan sent the following on 1/24/2010 6:26 AM: hello ofbiz-users, is it possible to use the payment method Paypal via PayFlow Pro Gateway? I mean, if a customer wants to pay via Paypal this payment should be made via the PayFlow Gateway without an external redirect to Paypal page! Is someone using such a solution!?? Or is paypal payment only via redirect to paypal pages available OOTB? Thanks Mahesh smime.p7s Description: S/MIME cryptographic signature
Re: tests are slow
You could try manually initializing and starting the TestRunContainer, but obviously changes to java files will only take effect after you recompile. Let me know how it goes, there is potential that we could put something like this into webtools alongside the selenium tests. Regards Scott HotWax Media http://www.hotwaxmedia.com On 23/01/2010, at 11:41 AM, chris snow wrote: Scott Gray-2 wrote: It should be possible to run a test suite against an already running instance, assuming no compilation is required and the database is in the state required by the tests (i.e. pretty much unchanged from a fresh install). I'm lovin the test framework, but I'm still finding the startup time to be a pain. What would need to be done to run the tests against an already running instance? Many thanks, Chris -- View this message in context: http://n4.nabble.com/tests-are-slow-tp1014608p1288334.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s Description: S/MIME cryptographic signature
Re: ofbiz test framework - not rolling back data
Could be, like I said async services can't be rolled back at the moment. We're usually just left with a few CommunicationEvent records from order confirmation emails and there's also a TestingType record created by the service engine tests which causes an entity engine test to fail on subsequent runs. I'll fix it eventually but I've been waiting for the execution branch to come through so I don't have to possibly solve the problem twice. Regards Scott On 22/01/2010, at 8:03 AM, Chris Snow wrote: I seems that data created in one test case (e.g. a created workEffort) is still in the db when I run the next test case. Scott Gray wrote: There was a reason I didn't do this, I just can't remember what it was. Thinking about it freshly, the reason was most likely that asynchronous service calls can't be rolled back currently (they're executed by the JobManager with a regular delegator) and rolling back the sequence ids would cause problems unless we can roll back absolutely everything. Regards Scott HotWax Media http://www.hotwaxmedia.com On 21/01/2010, at 10:30 AM, Chris Snow wrote: It appears that test data gets rolled back after a test, EXCEPT for sequence id's. I would expect all data generated during a test to get rolled back. Any comments? Many thanks, Chris smime.p7s Description: S/MIME cryptographic signature
Re: does anyone know ofbiz?
On 22/01/2010, at 5:04 PM, Adrian Crum wrote: --- On Fri, 1/22/10, Chris Snow sno...@snowconsulting.co.uk wrote: Is it possible for one person to have a deep understanding of how ALL of the components in ofbiz work? It is vast. I have found that the only way to tackle the problem is to break in into chucks: the framework, party management, work effort... At the rate I'm going I will have figured it all out in 5 years time. It took me about 6 months to wrap my head around OFBiz. I have been using it for 6 years and there are things that I'm still learning about it. -Adrian I tend to find that the skill is not in remembering everything (of which I have no chance) but in building the ability to find answers quickly. Regards Scott smime.p7s Description: S/MIME cryptographic signature
Re: ofbiz test framework - not rolling back data
There was a reason I didn't do this, I just can't remember what it was. Thinking about it freshly, the reason was most likely that asynchronous service calls can't be rolled back currently (they're executed by the JobManager with a regular delegator) and rolling back the sequence ids would cause problems unless we can roll back absolutely everything. Regards Scott HotWax Media http://www.hotwaxmedia.com On 21/01/2010, at 10:30 AM, Chris Snow wrote: It appears that test data gets rolled back after a test, EXCEPT for sequence id's. I would expect all data generated during a test to get rolled back. Any comments? Many thanks, Chris smime.p7s Description: S/MIME cryptographic signature
Re: auto-fields-service question related to tutorial
You can also use the field name=birthDateignored//field format to remove auto fields from the form. Regards Scott HotWax Media http://www.hotwaxmedia.com On 21/01/2010, at 3:59 PM, Mridul Pathak wrote: Hi Patrick, There are two ways of doing this: 1) Don't use auto-field-service tag and explicitly specify the fields you want to include in your form. 2) Limit the input attributes in updatePracticePerson service. -- Thanks Regards Mridul Pathak Hotwax Media http://www.hotwaxmedia.com mridul.pat...@hotwaxmedia.com - direct: +91 - 942.592.6892 On Thu, Jan 21, 2010 at 1:53 PM, Patrick patrickinminneapo...@gmail.comwrote: I'm on step 2 of this tutorial. http://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide . I'm expecting to see the image, http://cwiki.apache.org/confluence/download/attachments/6553969/Personform1.png , with a list of 3 person related fields and an update and delete button, specifically [First Name] [Middle Name] [Last Name] [Update] [Delete] My code is retrieving every field, eg. [Birth Date] [Member ID] etc. I would like to restrict the retrieved fields to just First, Middle and Last Name and ignore all the other fields. I think the line that's doing it is this. auto-fields-service service-name=updatePracticePerson default-field-type=edit map-name=person/ How can I limit the number of fields that auto-fields-service is pulling? Thanks Patrick smime.p7s Description: S/MIME cryptographic signature
Re: calendar pop up broken?
Hi Chris I've fixed the month problem in r901992, could you update and check the work effort problem again and see if it's still there? Thanks Scott HotWax Media http://www.hotwaxmedia.com On 20/01/2010, at 8:52 AM, Chris Snow wrote: I have just created a work effort on demo.ofbiz.org with an estimated start date. If I later go back into the work effort, and click the calendar popup for the estimated start date, 3am and 3pm are both represented as -m-dd 3:MM:ss Is this a bug? Many thanks, Chris smime.p7s Description: S/MIME cryptographic signature
Re: Apache Pivot
It's thick client though right? Either desktop or applet? Regards Scott HotWax Media http://www.hotwaxmedia.com On 21/01/2010, at 9:51 PM, Sam Hamilton wrote: Hey guys, I ran into Pivot a couple of days ago and thought I would share it with the list as it looks on a quick glance to help with the front end user experience and perhaps could be used to help enhance the themes that OFBiz uses to make them even better! http://pivot.apache.org/index.html Sam smime.p7s Description: S/MIME cryptographic signature
Re: Apache Pivot
No worries, could still be worth a look for the POS app. Regards Scott On 21/01/2010, at 10:11 PM, Sam Hamilton wrote: Spot on Scott - I really need more coffee this morning its now lunch time Pivot applications are written using a combination of Java and XML and can be run either as an applet or as a standalone (optionally offline) desktop application. Pivot includes features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration. On 22/01/2010 13:04, Scott Gray wrote: It's thick client though right? Either desktop or applet? Regards Scott HotWax Media http://www.hotwaxmedia.com On 21/01/2010, at 9:51 PM, Sam Hamilton wrote: Hey guys, I ran into Pivot a couple of days ago and thought I would share it with the list as it looks on a quick glance to help with the front end user experience and perhaps could be used to help enhance the themes that OFBiz uses to make them even better! http://pivot.apache.org/index.html Sam smime.p7s Description: S/MIME cryptographic signature
Re: extending view entities
I don't believe so, you can either define a new view or you can redefine the existing view using the same name and have it override the existing. Regards Scott HotWax Media http://www.hotwaxmedia.com On 20/01/2010, at 5:49 AM, snowch wrote: Can view-entities be extended? Many thanks, Chris smime.p7s Description: S/MIME cryptographic signature
Re: Error uploading a big file
You'd probably need to look into the Apache Commons documentation and see if there is any way to prevent the entire file from being held in memory while it uploads. Or otherwise just file a jira issue and wait for it to be fixed. Regards Scott HotWax Media http://www.hotwaxmedia.com On 20/01/2010, at 7:16 AM, MarioF wrote: Hi all, I have made some modifications to allow that the user can upload some files. If the file is not very big (more or less 30 MB) all works fine, but if the file is big (for example, 400 MB) the user receives this error: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet execution threw an exception org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:266) root cause java.lang.OutOfMemoryError: Java heap space org.apache.commons.fileupload.disk.DiskFileItem.get(DiskFileItem.java:313) org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:217) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:628) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:374) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:217) org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:83) javax.servlet.http.HttpServlet.service(HttpServlet.java:710) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:266) note The full stack trace of the root cause is available in the Apache Tomcat/6.0.16 logs. Apache Tomcat/6.0.16 --- Anyone know how can I fix this? Is there some limit in the Tomcat server to upload files? Thanks in advance, Mario. -- View this message in context: http://n4.nabble.com/Error-uploading-a-big-file-tp1018415p1018415.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s Description: S/MIME cryptographic signature
Re: calendar pop up broken?
It could be related somehow to the single digit month which seems to have shown up in the calendar since the start of this month (well that's when I noticed it). Regards Scott HotWax Media http://www.hotwaxmedia.com On 20/01/2010, at 10:30 AM, Jacques Le Roux wrote: Chris, To be clear I did not say it will fix it. I simply asked you to try. Because I had to revert r900950 since it introduced a bad side effect for lookups by name (ordinary lookups seemed not to be affected) and maybe this is also related. I'm still investigating the why, and also I can't easily test the AM-PM stuff since I'm on a French machine (ok I could but I have enough things to do already ;o) http://svn.apache.org/viewvc?rev=900950view=rev Please report in any cases. For the demo server we have to wait a day now... Thanks for your help Jacques From: Chris Snow sno...@snowconsulting.co.uk ah, that's at: 901102 Chris Snow wrote: this was on demo.ofbiz.org Jacques Le Roux wrote: Try to update to at least r901197 Jacques From: Chris Snow sno...@snowconsulting.co.uk I have just created a work effort on demo.ofbiz.org with an estimated start date. If I later go back into the work effort, and click the calendar popup for the estimated start date, 3am and 3pm are both represented as -m-dd 3:MM:ss Is this a bug? Many thanks, Chris smime.p7s Description: S/MIME cryptographic signature
Re: css problem with ftl ????
Hi Heidi I can think of no reason why you should see differences, all I can suggest is that you take a diff of the html source from each and compare them for differences. If they are the same then double check that the css files are also the same from each. Regards Scott HotWax Media http://www.hotwaxmedia.com On 19/01/2010, at 1:43 AM, Info Olagos wrote: Hello, I have a very strange problem. I can only imagine that it is dependent on the FTL. This is my page on the apache server. There is no problem. All things are beautiful centered. http://www.olagos.eu/index_d.html OK the links to the images are not ok at the moment. But you see that here it is loaded in the center, so that is perfect. If i load the same files from the embedded tomcat, i have a problem. It is to say that the container is not put in the center but at the left. The problem is in the word auto on the wrapper tag in the css file. This word auto is not recognized if i generate the html file from within a ftl file. Have a look at the result in : http://www.olagos.eu/ecommerce/control/main Anyone an idea on a bug on Freemarker language level. ??? regards, Heidi smime.p7s Description: S/MIME cryptographic signature
Re: how to know which tags and tag attributes are valid?
Hi Patrick, The XML documents are defined by XSDs so any decent XML editor should perform autocompletion for you automatically. Regards Scott HotWax Media http://www.hotwaxmedia.com On 19/01/2010, at 12:17 PM, Patrick wrote: I am going through the hotwax tutorial, http://www.hotwaxmedia.com/apache-ofbiz-blog/category/ofbiz-tutorials/, and I just learned that order-by is a sub-tag of entity-condition. I also learned that order-by has attribute field-name. Where can I find a list of all the valid tags and sub-tags? Also where can I find a list of all the valid tag attributes? Also, I know this is a long shot, but is there anyway to hook up OfBiz so that there is autocompletion of tags and tag attributes? smime.p7s Description: S/MIME cryptographic signature
Re: css problem with ftl ????
css files are interpreted by the browser, not by the server. The only way you could have a different end result is if the css files or the generated html is different. Regards Scott On 19/01/2010, at 3:20 PM, Info Olagos wrote: Hi Scott, The css files are exactly the same. (copied them) The html file is the same but generated via xml and ftl. The css file with the ftl on the tomcat doesn't react on the auto keyword of the margin 0px tag. Heidi 2010/1/19 Scott Gray scott.g...@hotwaxmedia.com Hi Heidi I can think of no reason why you should see differences, all I can suggest is that you take a diff of the html source from each and compare them for differences. If they are the same then double check that the css files are also the same from each. Regards Scott HotWax Media http://www.hotwaxmedia.com On 19/01/2010, at 1:43 AM, Info Olagos wrote: Hello, I have a very strange problem. I can only imagine that it is dependent on the FTL. This is my page on the apache server. There is no problem. All things are beautiful centered. http://www.olagos.eu/index_d.html OK the links to the images are not ok at the moment. But you see that here it is loaded in the center, so that is perfect. If i load the same files from the embedded tomcat, i have a problem. It is to say that the container is not put in the center but at the left. The problem is in the word auto on the wrapper tag in the css file. This word auto is not recognized if i generate the html file from within a ftl file. Have a look at the result in : http://www.olagos.eu/ecommerce/control/main Anyone an idea on a bug on Freemarker language level. ??? regards, Heidi smime.p7s Description: S/MIME cryptographic signature
Re: css problem with ftl ????
If the html is the same then the only thing I can suggest to is to make sure that the css file that you think is being used is actually the one that is being used. Inspect the page's source code and get the css file's url from it, download the css file from that url and ensure that it is actually the file you are expecting it to be. Regards Scott On 19/01/2010, at 3:50 PM, Info Olagos wrote: Yes, I agree with you. That is the reason that i can not understand it. But anyway, if i put the files on the apache server, i don't have the problem. If i create the files via ftl on the tomcat, i have the problem and i copied the same css file as on the apache and i see no difference in tags in the source file of the html file. I don't understand it at the moment regards, Heidi 2010/1/19 Adrian Crum adri...@hlmksw.com I agree with Scott. The web server doesn't care what the content is - it is just sending out streams of characters. It doesn't know if it's sending auto margin or any other set of characters. -Adrian Scott Gray wrote: css files are interpreted by the browser, not by the server. The only way you could have a different end result is if the css files or the generated html is different. Regards Scott On 19/01/2010, at 3:20 PM, Info Olagos wrote: Hi Scott, The css files are exactly the same. (copied them) The html file is the same but generated via xml and ftl. The css file with the ftl on the tomcat doesn't react on the auto keyword of the margin 0px tag. Heidi 2010/1/19 Scott Gray scott.g...@hotwaxmedia.com Hi Heidi I can think of no reason why you should see differences, all I can suggest is that you take a diff of the html source from each and compare them for differences. If they are the same then double check that the css files are also the same from each. Regards Scott HotWax Media http://www.hotwaxmedia.com On 19/01/2010, at 1:43 AM, Info Olagos wrote: Hello, I have a very strange problem. I can only imagine that it is dependent on the FTL. This is my page on the apache server. There is no problem. All things are beautiful centered. http://www.olagos.eu/index_d.html OK the links to the images are not ok at the moment. But you see that here it is loaded in the center, so that is perfect. If i load the same files from the embedded tomcat, i have a problem. It is to say that the container is not put in the center but at the left. The problem is in the word auto on the wrapper tag in the css file. This word auto is not recognized if i generate the html file from within a ftl file. Have a look at the result in : http://www.olagos.eu/ecommerce/control/main Anyone an idea on a bug on Freemarker language level. ??? regards, Heidi smime.p7s Description: S/MIME cryptographic signature
Re: how to know which tags and tag attributes are valid?
I use Eclipse for almost everything involving OFBiz. Regards Scott On 19/01/2010, at 4:58 PM, Patrick wrote: Hi Scott, Can you recommend a good linux XML editor for this? Thanks. Patrick On Tue, Jan 19, 2010 at 1:32 PM, Scott Gray scott.g...@hotwaxmedia.com wrote: Hi Patrick, The XML documents are defined by XSDs so any decent XML editor should perform autocompletion for you automatically. Regards Scott HotWax Media http://www.hotwaxmedia.com On 19/01/2010, at 12:17 PM, Patrick wrote: I am going through the hotwax tutorial, http://www.hotwaxmedia.com/apache-ofbiz-blog/category/ofbiz-tutorials/, and I just learned that order-by is a sub-tag of entity-condition. I also learned that order-by has attribute field-name. Where can I find a list of all the valid tags and sub-tags? Also where can I find a list of all the valid tag attributes? Also, I know this is a long shot, but is there anyway to hook up OfBiz so that there is autocompletion of tags and tag attributes? smime.p7s Description: S/MIME cryptographic signature
Re: how to know which tags and tag attributes are valid?
The association is already there in the xml files, see the xsi:noNamespaceSchemaLocation attribute in the root tag. Eclipse should autocomplete without any further action on your part I think (it's been a long time since I had to setup Eclipse from scratch). Regards Scott On 19/01/2010, at 5:30 PM, Patrick wrote: Hi Scott, Can you explain a little bit how to associate a XML file with an XSD file? I think I have all the relevant WTP XML utilities and editors installed. I'd really appreciate it. Thanks. Patrick On Tue, Jan 19, 2010 at 6:01 PM, Scott Gray scott.g...@hotwaxmedia.com wrote: I use Eclipse for almost everything involving OFBiz. Regards Scott On 19/01/2010, at 4:58 PM, Patrick wrote: Hi Scott, Can you recommend a good linux XML editor for this? Thanks. Patrick On Tue, Jan 19, 2010 at 1:32 PM, Scott Gray scott.g...@hotwaxmedia.com wrote: Hi Patrick, The XML documents are defined by XSDs so any decent XML editor should perform autocompletion for you automatically. Regards Scott HotWax Media http://www.hotwaxmedia.com On 19/01/2010, at 12:17 PM, Patrick wrote: I am going through the hotwax tutorial, http://www.hotwaxmedia.com/apache-ofbiz-blog/category/ofbiz-tutorials/, and I just learned that order-by is a sub-tag of entity-condition. I also learned that order-by has attribute field-name. Where can I find a list of all the valid tags and sub-tags? Also where can I find a list of all the valid tag attributes? Also, I know this is a long shot, but is there anyway to hook up OfBiz so that there is autocompletion of tags and tag attributes? smime.p7s Description: S/MIME cryptographic signature
Re: tests are slow
Running a single test suite typically takes me about a minute or two, so unless that's what you mean by ages then yes, you need a faster laptop :-) Regards Scott HotWax Media http://www.hotwaxmedia.com On 15/01/2010, at 9:08 AM, snowch wrote: Does anyone have a view on this? Maybe I just need a faster laptop? snowch wrote: Hi Forum, I'm running tests using: ant run-single-test-suite ... The environment to run the tests take ages to startup. It makes writing and running tests painful! Is there anyway to reduce this time? Many thanks, Chris smime.p7s Description: S/MIME cryptographic signature
Re: tests are slow
I don't generally start OFBiz to do some development unless I'm playing around with the UI, the usual process is: Write some code Run some tests Start OFBiz and manually test if needed Commit As a percentage of my day tests would take at most maybe 5% which I don't really consider excessive and I don't feel the need to sit there and stare at the console while the tests run. It should be possible to run a test suite against an already running instance, assuming no compilation is required and the database is in the state required by the tests (i.e. pretty much unchanged from a fresh install). Regards Scott On 15/01/2010, at 9:24 AM, snowch wrote: Scott, Does you cycle follow something like this?: Start Obiz Do some development Stop Ofbiz Run Tests Anyway, a couple of minutes seems like a long time for a test suite. If the tests could be run against an already running ofbiz, this time could be much reduced? Many thanks, Chris Scott Gray wrote: Running a single test suite typically takes me about a minute or two, so unless that's what you mean by ages then yes, you need a faster laptop :-) Regards Scott HotWax Media http://www.hotwaxmedia.com On 15/01/2010, at 9:08 AM, snowch wrote: Does anyone have a view on this? Maybe I just need a faster laptop? snowch wrote: Hi Forum, I'm running tests using: ant run-single-test-suite ... The environment to run the tests take ages to startup. It makes writing and running tests painful! Is there anyway to reduce this time? Many thanks, Chris smime.p7s Description: S/MIME cryptographic signature
Re: Unable to acquire a new connection from the pool
On 13/01/2010, at 12:05 AM, Jacques Le Roux wrote: From: rohit rohitksur...@yahoo.com Hi, Please also check the jobsandbox database for any service not properly terminated, for eg. they are still in the running status. i had a lot of problem with us service not ending properly. even with the latest code running i have to manually delete some running process on the database. Each running process seems to block 1 - 2 pool connection and hence the error. currently for eg. the sendorderconfirmation email gets stuck as a running process for a long time. A Jira issue is pending for that https://issues.apache.org/jira/browse/OFBIZ-2974 I don't think that issue would be relevant to this discussion, a job left in the running status after an improper shutdown won't have any effect on database connections. Regards Scott Jacques Hope it help. Rohit Juan Pablo wrote: Hi Community. Today I had a lot of error messages when I execute some operations: Update Product, Facility Receipt, etc. This is one of the error messages: -- Error en la llamada el evento: org.ofbiz.webapp.event.EventHandlerException: Service invocation error (Could not commit transaction for service [updateProduct] call: Roll back error, could not commit transaction, was rolled back instead because of: Failure in findByCondition operation for entity [ProductDimension]: org.ofbiz.entity.GenericDataSourceException: Unable to esablish a connection with the database. (Unable to acquire a new connection from the pool). Rolling back transaction.org.ofbiz.entity.GenericDataSourceException: Unable to esablish a connection with the database. (Unable to acquire a new connection from the pool) (Unable to esablish a connection with the database. (Unable to acquire a new connection from the pool))) -- I understand that the main erro is Unable to acquire a new connection from the pool but I don´t understand how I can resolve. I use a local installation with a unique user! Thaks. -- Juan Pablo -- View this message in context: http://n4.nabble.com/Unable-to-acquire-a-new-connection-from-the-pool-tp1012609p1012691.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s Description: S/MIME cryptographic signature
Re: svn commit: r897605 - in /ofbiz/trunk/framework/entity/src/org/ofbiz/entity: datasource/GenericDAO.java util/EntityListIterator.java
Hi Rohit, Are you sure that it works if the database is recreated? I can't see anything in the commit that would cause or require the database structure to change. Regards Scott HotWax Media http://www.hotwaxmedia.com On 13/01/2010, at 3:44 PM, rohit wrote: Hi, I don't think this commit is compatible with older database created by ofbiz. For eg. if you update the code without recreating the ofbiz database you get error as in http://n4.nabble.com/Error-in-product-search-result-when-using-multiple-keywords-td1012687.html#a1012687 I had to reverse this commit to remove the error. I guess there might be a better way to do this than to drop and recreate the tables for this commit to work. Rohit -- View this message in context: http://n4.nabble.com/RE-svn-commit-r897605-in-ofbiz-trunk-framework-entity-src-org-ofbiz-entity-datasource-GenericDAO-java-tp1013432p1013432.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s Description: S/MIME cryptographic signature
Re: Not able to locate OFBiz Tutorial in the wiki document list
Hi Pranay Only the children of the home page show up in the list, but there are a lot of pages in the wiki that are direct children of the space itself and these can be somewhat hidden. I've fixed the one for the tutorial and to fix any others the easiest way is to just click on View in hierarchy and then drag and drop the pages into different locations within the tree. Regards Scott HotWax Media http://www.hotwaxmedia.com On 13/01/2010, at 10:34 PM, Pranay Pandey wrote: Hello Team, On the OFBiz Tutorial http://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide page bread crumbs say Dashboard http://cwiki.apache.org/confluence/dashboard.action OFBiz (Open For Business) Project Open Wiki OFBiz Tutorial - A Beginners Development Guide http://cwiki.apache.org/confluence/display/OFBIZ But when I try to access OFBiz (Open For Business) Project Open http://cwiki.apache.org/confluence/display/OFBIZ Wiki it doesn't show OFBiz tutorial document in the list. Can anybody please provide a pointer on this? Thanks in advance. --- Kind Regards Pranay Pandey HotWax Media | www.hotwaxmedia.com smime.p7s Description: S/MIME cryptographic signature
Re: svn commit: r897605 - in /ofbiz/trunk/framework/entity/src/org/ofbiz/entity: datasource/GenericDAO.java util/EntityListIterator.java
My guess is that the commit introduced a problem for some databases but not for others, so it works on the demo instance (Derby) but not on your instance which I assume is running a different database server. Regards Scott On 14/01/2010, at 8:00 PM, rohit wrote: I did not recreate the database. but i briefly checked it was working on ofbiz demo server, which i assume is started up afresh everyday including the database. I faced the problem in the following situations: if multiple keywords are used and the keywords were already in the database in productkeyword table and other tables, ofbiz throws the error. the unique thing i noticed that the error did not occur for sets of keywords used for the first time and not already existing in the database. I hope it helps, but i am sure there is some issue with this commit. Rohit --- On Fri, 1/15/10, Scott Gray-2 [via OFBiz] ml-node+1014358-1286535...@n4.nabble.com wrote: From: Scott Gray-2 [via OFBiz] ml-node+1014358-1286535...@n4.nabble.com Subject: Re: svn commit: r897605 - in /ofbiz/trunk/framework/entity/ src/org/ofbiz/entity: datasource/GenericDAO.java util/ EntityListIterator.java To: rohit rohitksur...@yahoo.com Date: Friday, January 15, 2010, 5:21 AM Hi Rohit, Are you sure that it works if the database is recreated? I can't see anything in the commit that would cause or require the database structure to change. Regards Scott HotWax Media http://www.hotwaxmedia.com On 13/01/2010, at 3:44 PM, rohit wrote: Hi, I don't think this commit is compatible with older database created by ofbiz. For eg. if you update the code without recreating the ofbiz database you get error as in http://n4.nabble.com/Error-in-product-search-result-when-using-multiple-keywords-td1012687.html#a1012687 I had to reverse this commit to remove the error. I guess there might be a better way to do this than to drop and recreate the tables for this commit to work. Rohit -- View this message in context: http://n4.nabble.com/RE-svn-commit-r897605-in-ofbiz-trunk-framework-entity-src-org-ofbiz-entity-datasource-GenericDAO-java-tp1013432p1013432.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s (3K) Download Attachment View message @ http://n4.nabble.com/RE-svn-commit-r897605-in-ofbiz-trunk-framework-entity-src-org-ofbiz-entity-datasource-GenericDAO-java-tp1013432p1014358.html To unsubscribe from RE: svn commit: r897605 - in /ofbiz/trunk/ framework/entity/src/org/ofbiz/entity: datasource/GenericDAO.java util/EntityListIterator.java, click here. -- View this message in context: http://n4.nabble.com/RE-svn-commit-r897605-in-ofbiz-trunk-framework-entity-src-org-ofbiz-entity-datasource-GenericDAO-java-tp1013432p1014471.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s Description: S/MIME cryptographic signature
Re: cybersource missing in 9.04 builds?
Hi Ryan, CyberSource is available in 9.04, the only difference between it and the trunk is that the configuration has moved from payment.properties to the database. It wouldn't hurt to check the revision history for IcsPaymentServices.java to ensure that there have been no bug fixes that weren't ported back to the release branch but otherwise you're good to go. Regards Scott HotWax Media http://www.hotwaxmedia.com On 12/01/2010, at 6:48 AM, Ryan Vanderwerf wrote: Hi, This is my first post. I saw someone posted earlier said they only found the Cybersource support in the trunk and not in 9.04. Is there a reason for this? We are looking to use OFBiz for a production web store and really need cybersource support. Is there a way to enable this on the 9.04 build? We are leery of running an untested trunk copy for a production environment. I followed the directions here:http://cwiki.apache.org/confluence/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide#ApacheOFBizBusinessSetupGuide-cyberSourcePaymentSetup However following those steps Cybersource appears in the trunk, only 3 options on 9.04. Is trunk version my only way this will happen? It -seems- like maybe I just need to port over some DB records, because I see Cybersource code in 9.04? Thanks, Ryan Vanderwerf -- NOTICE: This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. Nothing contained in this message or in any attachment shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. smime.p7s Description: S/MIME cryptographic signature
Re: svn: REPORT of '/repos/asf/!svn/vcc/default': Could not read response body: An existing connection was forcibly closed by the remote host.
Happens from time to time, just try again. FYI you can see the status of ASF machines and services here: http://monitoring.apache.org/status/ Regards Scott HotWax Media http://www.hotwaxmedia.com On 12/01/2010, at 9:34 AM, BJ Freeman wrote: anyone getting this when doing SVN update through eclipse. smime.p7s Description: S/MIME cryptographic signature
Re: applet / location of external jars
Hi Alexander, I think what BJ is saying is that the jar must be directly accessible in your webapp in the same way that images, css and javascript files are. You can either store it in the same place as those files or otherwise open up a new allowedPath in your web.xml file. Regards Scott HotWax Media http://www.hotwaxmedia.com On 10/01/2010, at 6:27 AM, BJ Freeman wrote: it has been a while since I worked with ecommerce at that level, I don't remember the exact Ftl or widget but if you find where the css that showss up in the view source of the ecommerce page is defined and you find where css file is located should get you on the right track. maybe someone else can be more specific. Alexander1893 sent the following on 1/9/2010 2:39 AM: Perhaps an addition information: this is the error in the log: 2010-01-09 11:28:54,968 (http-0.0.0.0-8443-2) [ CmsEvents.java:107:INFO ] pathinfo: /jumploader_z.jar 2010-01-09 11:28:54,968 (http-0.0.0.0-8443-2) [ CmsEvents.java:134:INFO ] Path INFO for Alias: jumploader_z.jar 2010-01-09 11:28:55,187 (http-0.0.0.0-8443-2) [ CmsEvents.java:185:INFO ] contentId: jumploader_z.jar 2010-01-09 11:28:56,468 (http-0.0.0.0-8443-2) [ RequestHandler.java:593:INFO ] Ran Event [java:org.ofbiz.content.cms.CmsEvents#cms] from [request], result is [error] 2010-01-09 11:28:56,468 (http-0.0.0.0-8443-2) [ RequestHandler.java:399:ERROR] Request cms caused an error with the following message: Content: null [jumploader_z.jar] is not a publish point for the current website: eCommerce Web Site [WebStore] Alexander Alexander1893 wrote: Hi all, I want to integrate an applet. I think the problem is, that the jar is not found. I read the previous threads about applets... so I did the following: Code in ftl (located in ecommerce/customer): applet name=jumpLoaderApplet code=jmaster.jumploader.app.JumpLoaderApplet.class archive=jumploader_z.jar width=600 height=400 mayscript /applet An I added the jumploader_z.jar to framework/webapp/build/lib - but obviously that's wrong... Can anyone help? Thanks Alexander smime.p7s Description: S/MIME cryptographic signature
Re: contactlist in the screen profile in the ecommerce screen
The approach most often taken so far has been to use a link with javascript attached to submit the form. Regards Scott HotWax Media http://www.hotwaxmedia.com On 8/01/2010, at 8:15 AM, Ruth Hoffman wrote: Correct. Depending on the browser, you can style the submit button to look like a link - if you want. What I've done is style my links to look like buttons. Find me on the web at http://www.myofbiz.com or Google keyword myofbiz ruth.hoff...@myofbiz.com Info Olagos wrote: ok thanks Ruth, I will try to fix it myself. Then i suppose i have to use a button instead of a link to click on? Heidi 2010/1/7 Ruth Hoffman rhoff...@aesolves.com Hi Heidi: The problem is that several of the existing OFBiz service calls such as this have not been upgraded to the required (when calling from a secured location) new method of invocation - as a form. You may either wait for someone to fix it for you or change the service call to be invoked as part of a form instead of as a URL. Hope this helps. Regards, Ruth Find me on the web at http://www.myofbiz.com or Google keyword myofbiz ruth.hoff...@myofbiz.com Info Olagos wrote: This is done now. Regards, Heidi 2010/1/7 Jacques Le Roux jacques.le.r...@les7arts.com First thing to do is helping us to help you, please follow the recommendation Thanks Jacques From: Info Olagos info.ola...@gmail.com Hello, When i try to unsubscribe from a contactlist in the screen profile in the ecommerce screen, i get the following error: Error calling event: org.ofbiz.webapp.event.EventHandlerException: Found URL parameter [contactListId] passed to secure (https) request-map with uri [updateContactListParty] with an event that calls service [updateContactListParty]; this is not allowed for security reasons! The data should be encrypted by making it part of the request body (a form field) instead of the request URL. Moreover it would be kind if you could create a Jira sub-task of https://issues.apache.org/jira/browse/OFBIZ-2330 (check before if a sub-task for this error does not exist). If you are not sure how to create a Jira issue please have a look before at http://docs.ofbiz.org/x/r. Thank you in advance for your help. Can anyone help me with a solution? Thanks, Heidi smime.p7s Description: S/MIME cryptographic signature
Re: contactlist in the screen profile in the ecommerce screen
I would be reluctant to hire someone to work on my webstore if they didn't know javascript. I may be wrong but I think forms with no parameters can still be treated as straight up links without the security issue. I agree with your last point however, the front-end should be capable of operating with javascript disabled and for that reason a submit button may be better. Regards Scott On 8/01/2010, at 9:54 AM, Ruth Hoffman wrote: Hi Scott: That requires that a person know Javascript. And with really simple forms - say forms with no parameters, why introduce the Javascript overhead? BTW, there are still people out there that disable Javascript, if you can believe that. Regards, Ruth Scott Gray wrote: The approach most often taken so far has been to use a link with javascript attached to submit the form. Regards Scott HotWax Media http://www.hotwaxmedia.com On 8/01/2010, at 8:15 AM, Ruth Hoffman wrote: Correct. Depending on the browser, you can style the submit button to look like a link - if you want. What I've done is style my links to look like buttons. Find me on the web at http://www.myofbiz.com or Google keyword myofbiz ruth.hoff...@myofbiz.com Info Olagos wrote: ok thanks Ruth, I will try to fix it myself. Then i suppose i have to use a button instead of a link to click on? Heidi 2010/1/7 Ruth Hoffman rhoff...@aesolves.com Hi Heidi: The problem is that several of the existing OFBiz service calls such as this have not been upgraded to the required (when calling from a secured location) new method of invocation - as a form. You may either wait for someone to fix it for you or change the service call to be invoked as part of a form instead of as a URL. Hope this helps. Regards, Ruth Find me on the web at http://www.myofbiz.com or Google keyword myofbiz ruth.hoff...@myofbiz.com Info Olagos wrote: This is done now. Regards, Heidi 2010/1/7 Jacques Le Roux jacques.le.r...@les7arts.com First thing to do is helping us to help you, please follow the recommendation Thanks Jacques From: Info Olagos info.ola...@gmail.com Hello, When i try to unsubscribe from a contactlist in the screen profile in the ecommerce screen, i get the following error: Error calling event: org.ofbiz.webapp.event.EventHandlerException: Found URL parameter [contactListId] passed to secure (https) request- map with uri [updateContactListParty] with an event that calls service [updateContactListParty]; this is not allowed for security reasons! The data should be encrypted by making it part of the request body (a form field) instead of the request URL. Moreover it would be kind if you could create a Jira sub-task of https://issues.apache.org/jira/browse/OFBIZ-2330 (check before if a sub-task for this error does not exist). If you are not sure how to create a Jira issue please have a look before at http://docs.ofbiz.org/x/r. Thank you in advance for your help. Can anyone help me with a solution? Thanks, Heidi smime.p7s Description: S/MIME cryptographic signature
Re: Error in purgeOldJobs service.
Hi Rohit Glad it worked out. The service you are looking for to clear old jobs is exactly the service you were having trouble with: purgeOldJobs. By default it clears out jobs that are at least 4 days old (I think) and if necessary this can be changed in the service engine configuration file serviceengine.xml. Regards Scott On 3/01/2010, at 9:19 PM, rohit wrote: Hi Scott, Thanks so much for the help. The ServiceSemaphore table had indeed and old entry which was stopping the purgeoldjobs entry to start. I deleted the entry and then the puroldjobs service started normally. There is one more query though, the runtime data table is getting bloated, i think there should be some service to clean it which is probably not running. Can you give me some info on it or direct to right resources. Thanks Rohit Scott Gray-2 wrote: Hi Rohit, The purgeOldJobs service can only be run one at a time so the error below just indicates that the queued service execution timed out while waiting for the existing execution to complete. I can think of two possible causes for this: 1. Your JobSandbox table has for some reason grown to be exceptionally large and the service is struggling to clear the old records before the next scheduled service execution. Assuming the service is actually making progress then you should be fine to just keep it running. 2. The ServiceSemaphore table which controls the semaphore flags has a stale record for the purgeOldJobs service and is locking the service even though it isn't being executed. I may be wrong but I think the ServiceSemaphore table isn't properly cleared when OFBiz is restarted meaning that any semaphore locks in place when OFBiz is stopped get left behind and prevent those services from running after the restart. Removing any ServiceSemaphore records for services that aren't currently running should resolve the problem. Regards Scott HotWax Media http://www.hotwaxmedia.com On 30/12/2009, at 9:25 PM, rohit wrote: Hi I upgraded to the latest SVN, and am getting the following error when running the purgeOldJobs service. I tried to look for more details in my log file but could find more than that mentioned below: Request scheduleService caused an error with the following message: liService dispatcher threw an exceptionService [purgeOldJobs] with wait semaphore exceeded wait timeout, waited [307.608], wait started at 2009-12-30 02:47:04.374 The problem probably is with my database, as the service is working fine on a new build with seed data, but not when old data in imported in the currenct SVN. i am using postgres as the database. any help will be sincerely appreciated. Thanks -- View this message in context: http://n4.nabble.com/Error-in-purgeOldJobs-service-tp990793p990793.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context: http://n4.nabble.com/Error-in-purgeOldJobs-service-tp990793p997628.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s Description: S/MIME cryptographic signature
Re: Error in purgeOldJobs service.
Hi Rohit, The purgeOldJobs service can only be run one at a time so the error below just indicates that the queued service execution timed out while waiting for the existing execution to complete. I can think of two possible causes for this: 1. Your JobSandbox table has for some reason grown to be exceptionally large and the service is struggling to clear the old records before the next scheduled service execution. Assuming the service is actually making progress then you should be fine to just keep it running. 2. The ServiceSemaphore table which controls the semaphore flags has a stale record for the purgeOldJobs service and is locking the service even though it isn't being executed. I may be wrong but I think the ServiceSemaphore table isn't properly cleared when OFBiz is restarted meaning that any semaphore locks in place when OFBiz is stopped get left behind and prevent those services from running after the restart. Removing any ServiceSemaphore records for services that aren't currently running should resolve the problem. Regards Scott HotWax Media http://www.hotwaxmedia.com On 30/12/2009, at 9:25 PM, rohit wrote: Hi I upgraded to the latest SVN, and am getting the following error when running the purgeOldJobs service. I tried to look for more details in my log file but could find more than that mentioned below: Request scheduleService caused an error with the following message: liService dispatcher threw an exceptionService [purgeOldJobs] with wait semaphore exceeded wait timeout, waited [307.608], wait started at 2009-12-30 02:47:04.374 The problem probably is with my database, as the service is working fine on a new build with seed data, but not when old data in imported in the currenct SVN. i am using postgres as the database. any help will be sincerely appreciated. Thanks -- View this message in context: http://n4.nabble.com/Error-in-purgeOldJobs-service-tp990793p990793.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s Description: S/MIME cryptographic signature
Re: userLogin
If auth is set to false in the service definition then the userLogin won't be available in the context. Regards Scott HotWax Media http://www.hotwaxmedia.com On 31/12/2009, at 4:29 AM, Jacques Le Roux wrote: It should be in the context http://cwiki.apache.org/confluence/pages/viewpage.action?pageId=6553757 Certainly you have an issue with the context you use a this point. How did you pass it to the called service? It's needed. Jacques From: zhiyongcui zhiyong...@gmail.com To: user@ofbiz.apache.org Sent: Wednesday, December 30, 2009 3:05 PM Subject: userLogin How to get the userLogin GenericValue in a service definition class. I used codes as below: GenericValue userLogin = (GenericValue) context.get(userLogin); but I get a null object . -- View this message in context: http://n4.nabble.com/userLogin-tp990922p990922.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s Description: S/MIME cryptographic signature
Re: Access service error
The attribute name is auth Regards Scott HotWax Media http://www.hotwaxmedia.com On 1/01/2010, at 1:12 PM, zhiyongcui wrote: There is not authentication attribute on the service definition of getRelatedParties. David E Jones-4 wrote: That's not correct. You need to look at the authentication attribute on the service definition. ALL services have an optional userLogin attribute/parameter, ALL of them, but it is added by the service engine and not specified in the service definition. -David On Dec 31, 2009, at 2:43 AM, BJ Freeman wrote: https://localhost:8443/webtools/control/ServiceList?sel_service_name=getRelatedParties you can use the url and see that userlogin is optional or not or look at the service definition file component://party/script/org/ofbiz/party/party/PartyServices.xml in this case. zhiyongcui sent the following on 12/30/2009 11:18 PM: How can I knows that service requires authentication. David E Jones-4 wrote: Requiring a permission (authorization) is different from requiring authentication. -David On Dec 31, 2009, at 12:57 AM, zhiyongcui wrote: But there isn't any permission check in the service definition. David E Jones-4 wrote: You need to pass the userLogin or security credentials from the calling service to the service it is calling. -David On Dec 30, 2009, at 11:21 PM, zhiyongcui wrote: When I access a service called getRelatedParties from another service definition , I got a message as below: ServiceDispatcher.java:532:ERROR] Error in Service [getRelatedParties]: You must be logged in to complete the [Get Parties Related to a Party] process. But I can't see any permission check in the getRelatedParties definition. Anybody could help me? -- View this message in context: http://n4.nabble.com/Access-service-error-tp991277p991277.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context: http://n4.nabble.com/Access-service-error-tp991277p991298.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context: http://n4.nabble.com/Access-service-error-tp991277p991668.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s Description: S/MIME cryptographic signature
Re: userLogin
auth defaults to true Regards Scott On 2/01/2010, at 10:35 AM, Jacques Le Roux wrote: Yes, and as Zhiyongcui is using getRelatedParties and as auth is not defined in the service definition then it's set to false, this is the reason. Jacques From: Scott Gray scott.g...@hotwaxmedia.com If auth is set to false in the service definition then the userLogin won't be available in the context. Regards Scott HotWax Media http://www.hotwaxmedia.com On 31/12/2009, at 4:29 AM, Jacques Le Roux wrote: It should be in the context http://cwiki.apache.org/confluence/pages/viewpage.action?pageId=6553757 Certainly you have an issue with the context you use a this point. How did you pass it to the called service? It's needed. Jacques From: zhiyongcui zhiyong...@gmail.com To: user@ofbiz.apache.org Sent: Wednesday, December 30, 2009 3:05 PM Subject: userLogin How to get the userLogin GenericValue in a service definition class. I used codes as below: GenericValue userLogin = (GenericValue) context.get(userLogin); but I get a null object . -- View this message in context: http://n4.nabble.com/userLogin-tp990922p990922.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s Description: S/MIME cryptographic signature
Re: userLogin
Yeah sorry you're right, I looked at the code instead of the xsd: // these default to true; if anything but true, make false service.auth = true.equalsIgnoreCase(serviceElement.getAttribute(auth)); service.export = true.equalsIgnoreCase(serviceElement.getAttribute(export)); service.debug = true.equalsIgnoreCase(serviceElement.getAttribute(debug)); Either that comment is wrong or it doesn't mean what I think it means. Regards Scott On 2/01/2010, at 11:45 AM, Jacques Le Roux wrote: Areyou sure? That's has changed then, because it's not what I read in the OFBiz Framework Quick Reference Book revision 1.6.2 (Service Definition p.3) and also the XMLcompletion default to false Jacques From: Scott Gray scott.g...@hotwaxmedia.com auth defaults to true Regards Scott On 2/01/2010, at 10:35 AM, Jacques Le Roux wrote: Yes, and as Zhiyongcui is using getRelatedParties and as auth is not defined in the service definition then it's set to false, this is the reason. Jacques From: Scott Gray scott.g...@hotwaxmedia.com If auth is set to false in the service definition then the userLogin won't be available in the context. Regards Scott HotWax Media http://www.hotwaxmedia.com On 31/12/2009, at 4:29 AM, Jacques Le Roux wrote: It should be in the context http://cwiki.apache.org/confluence/pages/viewpage.action?pageId=6553757 Certainly you have an issue with the context you use a this point. How did you pass it to the called service? It's needed. Jacques From: zhiyongcui zhiyong...@gmail.com To: user@ofbiz.apache.org Sent: Wednesday, December 30, 2009 3:05 PM Subject: userLogin How to get the userLogin GenericValue in a service definition class. I used codes as below: GenericValue userLogin = (GenericValue) context.get(userLogin); but I get a null object . -- View this message in context: http://n4.nabble.com/userLogin-tp990922p990922.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s Description: S/MIME cryptographic signature
Re: Blank pages in output
On 29/12/2009, at 1:16 PM, Ruth Hoffman wrote: Hi Matt: Don't feel stupid. It use to work that way. When the ecommerce component was moved to the specialpurpose directory, they changed the mount point so that you have to type in ecommerce or some other application name to get things to show up. As far as I am aware ecommerce was never mounted as the root webapp. Regards Scott smime.p7s Description: S/MIME cryptographic signature
Re: Bug in shopping cart
Hi Deepa The best thing you can do is attempt to reproduce it on the demo server and if you can then create a jira issue with the steps to reproduce the problem. Regards Scott HotWax Media http://www.hotwaxmedia.com On 17/12/2009, at 11:44 PM, Deepa Mandal wrote: hi, In Shopping cart page, when we change the quantity of item and then click on *remove selected* link instead of *recalculate cart*, still the price gets recalculated according to given quantity, I have done this on demo site. Is anyone also having same problem. -- Thanks Regards Deepa smime.p7s Description: S/MIME cryptographic signature
Re: Internal Name
It's basically just the name of the product that isn't shown to the customer i.e. the name of the product internal to the company Regards Scott HotWax Media http://www.hotwaxmedia.com On 18/12/2009, at 12:14 AM, Terence Ng wrote: Hi Freeman, Thanks for your help, but I am afraid that you misunderstand my question. I would like to import product name and place it in Catalog ManagerProduct'Internal Name' field. What is the definition field name of 'Internal Name'? Regards, Terence BJ Freeman wrote: The record is positional so what ever first field is in your import file will be assigned productID, and so on. you have couple of choices here. 1)you can use programming per the example and use the productID as enternalname 2)you can created a second product record and put the enternalname in it for field in the import file. again it is positional. 3)you can duplicate the column in the import file so you can then define that as the eternalname. you can also add this to the record field name=productTypeId expression=true default-value=FINISHED_GOOD type=String/ field name=weightUomId expression=true default-value=WT_lb type=String/ field name=quantityIncluded expression=true default-value=1 type=String/ Terence Ng sent the following on 12/16/2009 10:16 PM: Hi, data-files xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:noNamespaceSchemaLocation=http://www.ofbiz.org/dtds/datafiles.xsd data-file name=Product separator-style=delimited type- code=text delimiter=; record name=Product limit=many field name=productId type=String/ field name=productName type=String/ field name=primaryProductCategoryId type=String/ field name=brandName type=String/ /record /data-file /data-files I have found that if field name=productName, the product name is going to Product Name field in Override Simple Fields in Content in Catalog Manager. Which field name is going to 'Product' Internal Name in Catalog Manager? Regards, Terence -- View this message in context: http://n4.nabble.com/Internal-Name-tp965769p965894.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s Description: S/MIME cryptographic signature
Re: Internal Name
Oh you mean internalName? You can see all the field names here: https://demo.ofbiz.org/webtools/control/FindGeneric?entityName=Productfind=trueVIEW_SIZE=50VIEW_INDEX=0 Regards Scott On 18/12/2009, at 1:06 AM, Terence Ng wrote: Hi Scott, I mean the ??? in: field name=??? type=String/ which I can import Product Name to 'Product' Internal Name in Catalog Manager? field name=productName type=String/ this one import Product Name to Catalog ManagerContentProduct Name. This is not what I want. data-files xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:noNamespaceSchemaLocation=http://www.ofbiz.org/dtds/ datafiles.xsd data-file name=Product separator-style=delimited type- code=text delimiter=; record name=Product limit=many field name=productId type=String/ field name=productName type=String/ field name=primaryProductCategoryId type=String/ field name=brandName type=String/ /record /data-file /data-files Regards, Terence Scott Gray-2 wrote: It's basically just the name of the product that isn't shown to the customer i.e. the name of the product internal to the company Regards Scott HotWax Media http://www.hotwaxmedia.com On 18/12/2009, at 12:14 AM, Terence Ng wrote: Hi Freeman, Thanks for your help, but I am afraid that you misunderstand my question. I would like to import product name and place it in Catalog ManagerProduct'Internal Name' field. What is the definition field name of 'Internal Name'? Regards, Terence BJ Freeman wrote: The record is positional so what ever first field is in your import file will be assigned productID, and so on. you have couple of choices here. 1)you can use programming per the example and use the productID as enternalname 2)you can created a second product record and put the enternalname in it for field in the import file. again it is positional. 3)you can duplicate the column in the import file so you can then define that as the eternalname. you can also add this to the record field name=productTypeId expression=true default-value=FINISHED_GOOD type=String/ field name=weightUomId expression=true default-value=WT_lb type=String/ field name=quantityIncluded expression=true default-value=1 type=String/ Terence Ng sent the following on 12/16/2009 10:16 PM: Hi, data-files xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:noNamespaceSchemaLocation=http://www.ofbiz.org/dtds/datafiles.xsd data-file name=Product separator-style=delimited type- code=text delimiter=; record name=Product limit=many field name=productId type=String/ field name=productName type=String/ field name=primaryProductCategoryId type=String/ field name=brandName type=String/ /record /data-file /data-files I have found that if field name=productName, the product name is going to Product Name field in Override Simple Fields in Content in Catalog Manager. Which field name is going to 'Product' Internal Name in Catalog Manager? Regards, Terence -- View this message in context: http://n4.nabble.com/Internal-Name-tp965769p965894.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context: http://n4.nabble.com/Internal-Name-tp965769p965922.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s Description: S/MIME cryptographic signature
Re: payment.properties vs AccountingTypeData.xml
The properties have been mostly moved to the database for 'easier' configuration (I don't really see the ease to be honest). So payment.properties is still supported but I guess you could say deprecated and the PaymentGatewayConfig entities are the new way to configure the payment gateways. Regards Scott HotWax Media http://www.hotwaxmedia.com On 18/12/2009, at 6:58 AM, Mauricio Tavares wrote: What is the difference between these two files as far as payment gateways are concerned? At first glance they both seem to provide the constant (host, port, userID, etc) values for each payment gateway. But, I could be confused as always. :) smime.p7s Description: S/MIME cryptographic signature
Re: payment.properties vs AccountingTypeData.xml
Oh don't get me wrong, I understand and agree with why they exist and what they are intended to make easier. I just personally found it easier in the past when setting them up to modify the properties file, create a patch and restart rather than adding entity xml and reloading the data. I could just modify it with the screens but that would only last until the next database refresh on dev or staging. So IMO easier for an end-user, harder for a developer. Regards Scott On 18/12/2009, at 11:40 AM, David E Jones wrote: I disagree, the properties files are way more of a pain than data in the database, especially for end-users or if you only have access to the application. To have to edit a file and restart the server to change your payment processor settings... isn't that a little bit of pain? -David On Dec 17, 2009, at 4:08 PM, Scott Gray wrote: The properties have been mostly moved to the database for 'easier' configuration (I don't really see the ease to be honest). So payment.properties is still supported but I guess you could say deprecated and the PaymentGatewayConfig entities are the new way to configure the payment gateways. Regards Scott HotWax Media http://www.hotwaxmedia.com On 18/12/2009, at 6:58 AM, Mauricio Tavares wrote: What is the difference between these two files as far as payment gateways are concerned? At first glance they both seem to provide the constant (host, port, userID, etc) values for each payment gateway. But, I could be confused as always. :) smime.p7s Description: S/MIME cryptographic signature
Re: Possible Party Relationship Problem?
On 18/12/2009, at 12:15 PM, David E Jones wrote: Basically it means that the from party is not in the role that you've specified. The original idea with party roles in OFBiz was to not accidentally add parties to roles when a party in a role is referred to somewhere. I've thought a few times that maybe it's not the best idea to do so, and instead whenever a party is implied to be in a role if they are not already then they should be added automatically. If we did that (which I'm in favor of), what purpose would the PartyRole entity continue to serve? Regards Scott -David On Dec 17, 2009, at 1:05 PM, Sam Hamilton wrote: Hi Guys, I was trying to work out how to create a relationship between a user and a company but I am getting an error - I am not a 100% sure if its my error in selecting the wrong stuff or if its a bug so a little bit of help would be great! First go to this page - https://demo.ofbiz.org/partymgr/control/EditPartyRelationships?partyId=DemoCustAgent then in the Add other party relationship select - in the role of = Sales Representative - is A = Employee - From Party ID = DemoCustCompany - in the role of = Manufacturer everything should be blank and then click Submit I get the following error: ERROR: Could not complete the createPartyRelationship [file:/demo/deployments/demo-20091217-0306/applications/party/ script/org/ofbiz/party/party/ PartyServices.xml#createPartyRelationship] process [problem creating the newEntity value: Error while inserting: [GenericEntity:PartyRelationship][comments,null()][createdStamp, 2009-12-17 12:56:36.512(java.sql.Timestamp)][createdTxStamp,2009-12-17 12:56:36.343(java.sql.Timestamp)][fromDate,2009-12-17 12:56:36.493(java.sql.Timestamp)][lastUpdatedStamp,2009-12-17 12:56:36.512(java.sql.Timestamp)][lastUpdatedTxStamp,2009-12-17 12:56:36.343(java.sql.Timestamp)] [partyIdFrom,DemoCustCompany(java.lang.String)] [partyIdTo,DemoCustAgent(java.lang.String)] [partyRelationshipTypeId,EMPLOYMENT(java.lang.String)] [roleTypeIdFrom,MANUFACTURER(java.lang.String)] [roleTypeIdTo,SALES_REP(java.lang.String)][statusId,null()] [thruDate,null()] (SQL Exception while executing the following:INSERT INTO OFBIZ.PARTY_RELATIONSHIP (PARTY_ID_FROM, PARTY_ID_TO, ROLE_TYPE_ID_FROM, ROLE_TYPE_ID_TO, FROM_DATE, THRU_DATE, STATUS_ID, RELATIONSHIP_NAME, SECURITY_GROUP_ID, PRIORITY_TYPE_ID, PARTY_RELATIONSHIP_TYPE_ID, PERMISSIONS_ENUM_ID, POSITION_TITLE, COMMENTS, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (INSERT on table 'PARTY_RELATIONSHIP' caused a violation of foreign key constraint 'PARTY_REL_FPROLE' for key (DemoCustCompany,MANUFACTURER). The statement has been rolled back.))] There are no required fields on that part of the page - the only thing that is odd is that the drop down box for status does not have any content? Sorry if this is me being stupid! Cheers Sam smime.p7s Description: S/MIME cryptographic signature
Re: Possible Party Relationship Problem?
On 18/12/2009, at 12:42 PM, David E Jones wrote: On Dec 17, 2009, at 5:34 PM, Scott Gray wrote: On 18/12/2009, at 12:15 PM, David E Jones wrote: Basically it means that the from party is not in the role that you've specified. The original idea with party roles in OFBiz was to not accidentally add parties to roles when a party in a role is referred to somewhere. I've thought a few times that maybe it's not the best idea to do so, and instead whenever a party is implied to be in a role if they are not already then they should be added automatically. If we did that (which I'm in favor of), what purpose would the PartyRole entity continue to serve? That's a good question. It would still keep track of which party is in which role... but really that information shouldn't be used alone, ie it should only be used in the context of defining a party's relationship with something else. That's exactly my concern, I often worry that developers misunderstand the purpose of the PartyRole entity and that its existence may cause more harm than good. Regards Scott smime.p7s Description: S/MIME cryptographic signature
Re: navigate accounts tree is painful!
No reason that I'm aware of, except that I believe the tree widget is currently only capable of maintaining the state of single path. Regards Scott HotWax Media http://www.hotwaxmedia.com On 15/12/2009, at 8:06 PM, Christopher Snow wrote: Navigating the accounts tree is painful (https://demo.ofbiz.org/accounting/control/GlAccountNavigate?trail=null ). Currently you can only view one top level account at a time. Selecting another top level account collapses the tree for any other top level account that you were viewing. I was just looking at the account navigator for Neogia (https://demo.neogia.org/accounting/control/NGlAccountNavigator). This tree navigator is much easier to use. Is there a reason why the ofbiz navigator currently works as it does, and why it isn't more like the Neogia one? Many thanks, Chris smime.p7s Description: S/MIME cryptographic signature
Re: mondrian
Unless it provides something amazing compared to what birt is offering I'm guessing not. Regards Scott HotWax Media http://www.hotwaxmedia.com On 15/12/2009, at 8:00 PM, Christopher Snow wrote: Is it likely that the neogia mondrian addon will get added to ofbiz? Many thanks in advance, Chris smime.p7s Description: S/MIME cryptographic signature
Re: Run Selenium tests on OS X?
I downloaded the 1.0.1 server and client distribution and it seems to work fine now, which is strange since it looks like we're using a 1.0.2 snapshot. I'll try a more recent 1.0.2 snapshot and see it how goes. Regards Scott On 14/12/2009, at 8:47 PM, Scott Gray wrote: Hi Erwan, I did have another instance running initially but tried again without and had the same result both times. Regards Scott On 14/12/2009, at 8:40 PM, Erwan de FERRIERES wrote: Hi Scott, Have you already a firefox running ? Can you open two differents firefox on your mac ? Have you tried with no firefox at all launched ? Le 14/12/2009 06:00, Scott Gray a écrit : Thanks Akash, but I don't have a firefox executable under /usr/ lib/, the only executable I've been able to locate is: /Applications/Firefox.app/Contents/MacOS/firefox-bin ../.. - Erwan de FERRIERES www.nereide.biz smime.p7s Description: S/MIME cryptographic signature
Solved: Re: Run Selenium tests on OS X?
Turns out the webtools selenium setup helper had an old download url, when I used the ant target instead everything worked fine. Fixed in r890518. Regards Scott On 14/12/2009, at 11:29 PM, Scott Gray wrote: I downloaded the 1.0.1 server and client distribution and it seems to work fine now, which is strange since it looks like we're using a 1.0.2 snapshot. I'll try a more recent 1.0.2 snapshot and see it how goes. Regards Scott On 14/12/2009, at 8:47 PM, Scott Gray wrote: Hi Erwan, I did have another instance running initially but tried again without and had the same result both times. Regards Scott On 14/12/2009, at 8:40 PM, Erwan de FERRIERES wrote: Hi Scott, Have you already a firefox running ? Can you open two differents firefox on your mac ? Have you tried with no firefox at all launched ? Le 14/12/2009 06:00, Scott Gray a écrit : Thanks Akash, but I don't have a firefox executable under /usr/ lib/, the only executable I've been able to locate is: /Applications/Firefox.app/Contents/MacOS/firefox-bin ../.. - Erwan de FERRIERES www.nereide.biz smime.p7s Description: S/MIME cryptographic signature
Run Selenium tests on OS X?
Has anybody been able to successfully run the example Selenium tests on OS X? Any tips or tricks? I've followed the instructions in the PDF Brett attached to OFBIZ-2116 but Firefox (3.5.5) never starts up and the client eventually times out. Thanks Scott HotWax Media http://www.hotwaxmedia.com smime.p7s Description: S/MIME cryptographic signature
Re: Run Selenium tests on OS X?
Thanks Akash, but I don't have a firefox executable under /usr/lib/, the only executable I've been able to locate is: /Applications/Firefox.app/Contents/MacOS/firefox-bin It does manage to load a firefox process but gets stuck here: 14:53:15.023 INFO - Checking Resource aliases 14:53:15.029 INFO - Command request: getNewBrowserSession[*firefox / Applications/Firefox.app/Contents/MacOS/firefox-bin, http://localhost:8080/ , ] on session null 14:53:15.033 INFO - creating new remote session 14:53:15.253 INFO - Allocated session b8bac29794494e7caf3945e90dd038f5 for http://localhost:8080/, launching... 14:53:15.334 INFO - Preparing Firefox profile... If I quit the firefox window that opened then I get this: 15:15:40.188 INFO - Launching Firefox... And eventually this: 15:19:41.300 ERROR - Failed to start new browser session, shutdown browser an clear all session data org.openqa.selenium.server.RemoteCommandException: timed out waiting for window 'null' to appear at org .openqa .selenium .server .FrameGroupCommandQueueSet.waitForLoad(FrameGroupCommandQueueSet.java: 565) at org .openqa .selenium .server .FrameGroupCommandQueueSet.waitForLoad(FrameGroupCommandQueueSet.java: 522) at org .openqa .selenium .server .BrowserSessionFactory .createNewRemoteSession(BrowserSessionFactory.java:324) at org .openqa .selenium .server .BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java: 118) at org .openqa .selenium .server .BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java: 81) at org .openqa .selenium .server .SeleniumDriverResourceHandler .getNewBrowserSession(SeleniumDriverResourceHandler.java:658) at org .openqa .selenium .server .SeleniumDriverResourceHandler .doCommand(SeleniumDriverResourceHandler.java:392) at org .openqa .selenium .server .SeleniumDriverResourceHandler .handleCommandRequest(SeleniumDriverResourceHandler.java:368) at org .openqa .selenium .server .SeleniumDriverResourceHandler .handle(SeleniumDriverResourceHandler.java:129) at org.mortbay.http.HttpContext.handle(HttpContext.java:1530) at org.mortbay.http.HttpContext.handle(HttpContext.java:1482) at org.mortbay.http.HttpServer.service(HttpServer.java:909) at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java: 244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) 15:19:41.302 INFO - Killing Firefox... 15:19:41.432 INFO - Got result: Failed to start new browser session: Error while launching browser on session null Regards Scott On 14/12/2009, at 5:52 PM, Akash Jain wrote: Hello Scott, Check version of browser in seleniumXml.properties file, it is browser=*firefox /usr/lib/firefox-3.0.4/firefox. Change firefox-3.0.4 firefox-3.5.5 for testing. HTH Thanks and Regards -- Akash Jain Scott Gray wrote: Has anybody been able to successfully run the example Selenium tests on OS X? Any tips or tricks? I've followed the instructions in the PDF Brett attached to OFBIZ-2116 but Firefox (3.5.5) never starts up and the client eventually times out. Thanks Scott HotWax Media http://www.hotwaxmedia.com smime.p7s Description: S/MIME cryptographic signature
Re: Run Selenium tests on OS X?
Hi Erwan, I did have another instance running initially but tried again without and had the same result both times. Regards Scott On 14/12/2009, at 8:40 PM, Erwan de FERRIERES wrote: Hi Scott, Have you already a firefox running ? Can you open two differents firefox on your mac ? Have you tried with no firefox at all launched ? Le 14/12/2009 06:00, Scott Gray a écrit : Thanks Akash, but I don't have a firefox executable under /usr/ lib/, the only executable I've been able to locate is: /Applications/Firefox.app/Contents/MacOS/firefox-bin ../.. - Erwan de FERRIERES www.nereide.biz smime.p7s Description: S/MIME cryptographic signature
Re: Strange crash on a production server - please help
Hi Florin, What does your serviceengine.xml file look like, specifically the thread-pool configurations, it should look something like this: thread-pool send-to-pool=pool purge-job-days=4 failed-retry-min=3 ttl=1800 wait-millis=750 jobs=10 min-threads=5 max-threads=15 poll-enabled=true poll-db-millis=2 run-from-pool name=pool/ /thread-pool Is your ttl attribute present and a valid string representation of a long? Regards Scott HotWax Media http://www.hotwaxmedia.com On 12/12/2009, at 12:19 AM, Florin Popa wrote: Hello all, I have the following problem on a production environment (Ofbiz 4.x) 2009-12-09 20:24:11,026 (default-invoker-Thread-153) [ JobInvoker.java:267:ERROR] Problems reading values from serviceengine.xml file [java.lang.NumberFormatException: null]. Using defaults. 2009-12-09 20:24:11,026 (default-invoker-Thread-151) [ JobInvoker.java:267:ERROR] Problems reading values from serviceengine.xml file [java.lang.NumberFormatException: For input string: ]. Using defaults. more detailed: java.lang.NullPointerException Exception in thread default-invoker-Thread-270 java.lang.IllegalArgumentException: type: -1 at org.apache.xerces.dom.DeferredDocumentImpl.getNodeObject(Unknown Source) at org .apache.xerces.dom.DeferredDocumentImpl.synchronizeChildren(Unknown Source) at org .apache.xerces.dom.DeferredElementNSImpl.synchronizeChildren(Unknown Source) 2009-12-09 21:15:11,365 (default-invoker-Thread-267) [ JobInvoker.java:267:ERROR] Problems reading values from serviceengine.xml file [java.lang.NumberFormatException: For input string: ]. Using defaults. at org.apache.xerces.dom.ParentNode.getFirstChild(Unknown Source) at org.ofbiz.base.util.UtilXml.firstChildElement(UtilXml.java: 425) at org .ofbiz .service .config.ServiceConfigUtil.getXmlRootElement(ServiceConfigUtil.java:48) at org .ofbiz .service.config.ServiceConfigUtil.getElement(ServiceConfigUtil.java: 55) at org .ofbiz .service .config.ServiceConfigUtil.getElementAttr(ServiceConfigUtil.java:63) at org.ofbiz.service.job.JobInvoker.getTTL(JobInvoker.java:265) at org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:255) at java.lang.Thread.run(Thread.java:619) In the past, it happened really seldom but since yesterday it is more and more often. As soon as it crashes, there is no chance to do anything in the web application, it simply needs a restart. Any quick help would be greatly appreciated, Best regards, Flopa smime.p7s Description: S/MIME cryptographic signature
Re: In order
Hi Prabhakaran, Please send along the portion of the log containing the errors, you'll find the logs in runtime/logs/ofbiz.log Regards Scott HotWax Media http://www.hotwaxmedia.com On 11/12/2009, at 8:20 PM, Prabhakaran Duraisamy wrote: Thanks Vivek After ant clean-all I Run ant run-install and ant run... where there is a Default Facilty And Stores are deleted... Here I Created a new Inventory and Stores But i Can't make Order's On Fri, Dec 11, 2009 at 12:35 PM, Vivek Mishra vivek.mis...@hotwaxmedia.com wrote: Hi Prabhakaran, Refer Ofbiz/build.xml file for knowing the use of clean-all target. You don't have database and even the jar file to run OFBiz if you are using derby database. Create a jar and install the data. Thanks! -- Vivek Mishra Prabhakaran Duraisamy wrote: Hi , In Ofbiz , after ant clean - all, i tried to make Purchase Order but cant,yet I got Error as org.ofbiz.webapp.event.EventHandlerException: Problems processing event: java.lang.NullPointerException (null) pls Guide me -- Regards, Prabhakaran.D +91 99 520 93 900 smime.p7s Description: S/MIME cryptographic signature
Re: In order
2009-12-11 13:05:39,562 (http-0.0.0.0-8444-3) [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale! I'm guessing that you haven't updated the webSiteId context-param inside the web.xml file for the order manager webapp. Change it to the id of the record that you replaced the OrderEntry WebSite record with. Regards Scott HotWax Media http://www.hotwaxmedia.com On 11/12/2009, at 8:41 PM, Prabhakaran Duraisamy wrote: Hi, Scott Gray this is the portion of the log containing the errors pls fix the error file:/D:/ofbiz/applications/order/widget/ordermgr/OrderViewScreens.xml 2009-12-11 13:05:29,156 (http-0.0.0.0-8444-1) [ UtilProperties.java:870:INFO ] ResourceBundle OrderEntityLabels (en_US) created in 0.063s with 80 properties 2009-12-11 13:05:29,515 (http-0.0.0.0-8444-1) [ ScreenFactory.java:129:INFO ] Got 4 screens in 0.015s from: file:/D:/ofbiz/applications/order/widget/ordermgr/CommonScreens.xml 2009-12-11 13:05:29,640 (http-0.0.0.0-8444-1) [ UtilProperties.java:870:INFO ] ResourceBundle ContentUiLabels (en_US) created in 0.125s with 458 properties 2009-12-11 13:05:29,671 (http-0.0.0.0-8444-1) [ ScreenFactory.java:129:INFO ] Got 22 screens in 0.015s from: file:/D:/ofbiz/framework/common/widget/CommonScreens.xml 2009-12-11 13:05:29,828 (http-0.0.0.0-8444-1) [ ControlServlet.java:299:INFO ] [[[main] Request Done- total: 1.094,since last([main] Request Be...):1.094]] 2009-12-11 13:05:31,843 (http-0.0.0.0-8444-4) [ ControlServlet.java:130:INFO ] [[[orderentry] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] 2009-12-11 13:05:31,843 (http-0.0.0.0-8444-4) [ LoginWorker.java:880:INFO ] INSIDE HAS BASE PERMISSION 2009-12-11 13:05:31,843 (http-0.0.0.0-8444-4) [ LoginWorker.java:883:INFO ] security org.ofbiz.security.ofbizsecur...@13a73db 2009-12-11 13:05:31,843 (http-0.0.0.0-8444-4) [ LoginWorker.java:889:INFO ] INFO org.ofbiz.base.component.componentconfig$webappi...@8c40ee 2009-12-11 13:05:31,843 (http-0.0.0.0-8444-4) [ LoginWorker.java:890:INFO ] info.getBasePermission() [Ljava.lang.String;@1faf398 2009-12-11 13:05:31,843 (http-0.0.0.0-8444-4) [ LoginWorker.java:894:INFO ] permission in for loopOFBTOOLS 2009-12-11 13:05:31,843 (http-0.0.0.0-8444-4) [ LoginWorker.java:894:INFO ] permission in for loopORDERMGR 2009-12-11 13:05:31,875 (http-0.0.0.0-8444-4) [ RequestHandler.java:588:INFO ] Ran Event [java:org .ofbiz.order.shoppingcart.ShoppingCartEvents#routeOrderEntry] from [request], result is [init] 2009-12-11 13:05:31,875 (http-0.0.0.0-8444-4) [ RequestHandler.java:692:INFO ] Rendering View [checkinits], sessionId=5019AD045F39B52663EDC56C711B15D9.jvm1 2009-12-11 13:05:31,890 (http-0.0.0.0-8444-4) [ ScreenFactory.java:129:INFO ] Got 6 screens in 0.015s from: file:/D:/ofbiz/applications/order/widget/ordermgr/ OrderEntryScreens.xml 2009-12-11 13:05:32,234 (http-0.0.0.0-8444-4) [ ScreenFactory.java:129:INFO ] Got 1 screens in 0.016s from: file:/D:/ofbiz/applications/commonext/widget/CommonScreens.xml 2009-12-11 13:05:32,453 (http-0.0.0.0-8444-4) [ ControlServlet.java:299:INFO ] [[[orderentry] Request Done- total: 0.61,since last([orderentry] Requ...):0.61]] 2009-12-11 13:05:39,484 (http-0.0.0.0-8444-3) [ ControlServlet.java:130:INFO ] [[[initorderentry] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] 2009-12-11 13:05:39,515 (http-0.0.0.0-8444-3) [ ConfigXMLReader.java:118:INFO ] controller loaded: 0.0s, 17 requests, 13 views in file:/D:/ofbiz/framework/common/webcommon/WEB-INF/common- controller.xml 2009-12-11 13:05:39,515 (http-0.0.0.0-8444-3) [ ConfigXMLReader.java:118:INFO ] controller loaded: 0.015s, 322 requests, 143 views in jndi:/0.0.0.0/ordermgr/WEB-INF/controller.xml 2009-12-11 13:05:39,531 (http-0.0.0.0-8444-3) [ LoginWorker.java:880:INFO ] INSIDE HAS BASE PERMISSION 2009-12-11 13:05:39,531 (http-0.0.0.0-8444-3) [ LoginWorker.java:883:INFO ] security org.ofbiz.security.ofbizsecur...@13a73db 2009-12-11 13:05:39,531 (http-0.0.0.0-8444-3) [ LoginWorker.java:889:INFO ] INFO org.ofbiz.base.component.componentconfig$webappi...@8c40ee 2009-12-11 13:05:39,531 (http-0.0.0.0-8444-3) [ LoginWorker.java:890:INFO ] info.getBasePermission() [Ljava.lang.String;@1faf398 2009-12-11 13:05:39,531 (http-0.0.0.0-8444-3) [ LoginWorker.java:894:INFO ] permission in for loopOFBTOOLS 2009-12-11 13:05:39,531 (http-0.0.0.0-8444-3) [ LoginWorker.java:894:INFO ] permission in for loopORDERMGR 2009-12-11 13:05:39,562 (http-0.0.0.0-8444-3) [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale! 2009-12-11 13:05:39,562 (http-0.0.0.0-8444-3) [ JavaEventHandler.java:100:ERROR] runtime exception report -- Problems Processing Event Exception: java.lang.NullPointerException Message: null stack trace
Re: Apache Mod Rewrite Rules
It looks like there is a filter you can use to achieve this with tomcat: http://tuckey.org/urlrewrite/ I have never tried it though. Regards Scott HotWax Media http://www.hotwaxmedia.com On 8/12/2009, at 7:25 AM, Len Shein wrote: In and all it sounds as if I would like to implement rewrite rule I will need to install Apache httpd in front of the Ofbiz Tomcat, does that sound correct? -Original Message- From: Christopher Snow [mailto:sno...@snowconsulting.co.uk] Sent: Monday, December 07, 2009 12:37 PM To: user@ofbiz.apache.org Subject: Re: Apache Mod Rewrite Rules I don't think you can add rewrite rules to tomcat.. If you do decide to use apache httpd, I would thoroughly recommend reading the apache httpd documentation as mis-configuring can lead to security holes. Cheers, Chris Len Shein wrote: How can I add rewrite rules to the Tomcat which is embedded in Ofbiz? Do I need Apache to do this? Thanks in advance Len -Original Message- From: Raj Saini [mailto:rajsa...@gmail.com] Sent: Monday, December 07, 2009 12:04 PM To: user@ofbiz.apache.org Subject: Re: Apache Mod Rewrite Rules You dont need the Apache web server if your setup is really not that complex. Tomcat is embedded in the OFbiz and you can simply change the ports (from 8080 to 80 and 8443 to 443) in ofbiz-containers.xml file. If you are running already a Apache HTTPD and cant use the port 80 in OFBiz, I would suggest you to use AJP/Proxy. It is simple to configure. You can search mail archives and wiki to get some pointers. There is also documentation on Apache HTTPD site. Be careful about ProxyPassReverse as it is bit tricky. Have a look on my blogs on how to use ProxyPassReverseCookiesPath and ProxyPassReverse directive (http://www.viithiisys.com/web/raj/blog/-/blogs/apache-proxypassreverse-dire ctive?_33_redirect=%252Findex.html) Thanks, Raj ||Len Shein wrote: No I have built an ecommerce application which is up and running in development and now I would like to move it a production server. My understanding of it was Apache/Tomcat is built into ofbiz and simply starting ofbiz everything is now ready. I now need to add the rewrite modules.. I thought this config went into the ofbiz files somewhere which would then be picked up when ofbiz was started... sounds like I was incorrect in this thinking. It sounds as if I now need to first install Apache for windows/ Apache httpd and then deploy the app to apache? -Original Message- From: Christopher Snow [mailto:sno...@snowconsulting.co.uk] Sent: Monday, December 07, 2009 11:37 AM To: user@ofbiz.apache.org Subject: Re: Apache Mod Rewrite Rules Hi Len, Are you just trying to get ofbiz up and running to try it out? If you are just trying out ofbiz, you don't need to install apache httpd. Cheers, Chris Len Shein wrote: I guess I am a bit confused. I have not installed apache httpd... I am simply starting ofbiz on a windows server. Do I need to first install Apache and the start ofbiz? -Original Message- From: Christopher Snow [mailto:sno...@snowconsulting.co.uk] Sent: Monday, December 07, 2009 11:23 AM To: user@ofbiz.apache.org Subject: Re: Apache Mod Rewrite Rules Hi Len httpd.conf is a configuration file for the apache httpd application, not for the ofbiz application. What operating system are you running? How did you install apache httpd? Cheers, Chris Len Shein wrote: Yes, where is the httpd.conf file located? I do not see it within the Ofbiz source. Am I missing these files? -Original Message- From: Christopher Snow [mailto:sno...@snowconsulting.co.uk] Sent: Monday, December 07, 2009 10:59 AM To: user@ofbiz.apache.org Subject: Re: Apache Mod Rewrite Rules Have you seen the following? http://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookb ook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-HTTPD Len Shein wrote: Yes that is exactly what I want and I am not sure how to or where to add the rules and in which file. Help would be greatly appreciated. -Original Message- From: Christopher Snow [mailto:sno...@snowconsulting.co.uk] Sent: Monday, December 07, 2009 10:25 AM To: user@ofbiz.apache.org Subject: Re: Apache Mod Rewrite Rules Len, What are you trying to achieve? Are you trying to put apache httpd in front of tomcat? Cheers, Chris Len Shein wrote: Has anyone had any experience configuring the Apache mod proxy/ mod rewrite modules within ofbiz? I am trying to run the ecommerce application on Apache/Tomcat and do not know where to place the rewrite rules; has anyone accomplished this? Thank You Len Shein Email: lsh...@salmonllc.com Email: lsh...@verizon.net Office: 516.742.7888 ext.225 Home Office: 732.333.4303 -- Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP Tel: 01453
Re: Java 6 Question
I'm guessing no committers are using OpenJDK since it's not compiling on it at the moment, which would make it pretty difficult to fix any problems that arise. IMO anyone who is using OpenJDK should just submit fixes for any issues that they find while using it, I'd rather not have buildbot failing all the time for problems that I can't reproduce. Regards Scott On 5/12/2009, at 1:30 AM, Jacques Le Roux wrote: Hi Sam, Inline... From: Sam Hamilton s...@sh81.com Thanks Shi. I found that OFBiz trunk is in Hudson and from what I can tell is only building against sun-java6-jdk-1.6.0.10 (http://ci.apache.org/builders/ofbiz-trunk ) but I totally could be reading this wrong. Builbot is not Hudson http://ci.apache.org/ Does it make sense to add openJDK to the build list to make sure that ofbiz is compatible - I ask this as a total layman and only for the POV that being able to one day yum install ofbiz-trunk / apt-get install ofbiz-trunk would be a great way to get the project into many more less technical hands. Not sure how to add openJDK to the build list but sure a good idea Regards Jacques Sam Shi Jinghai wrote: That's the pain to follow trunk. Not sure whether OFBiz has used the Hudson. If yes, I think Hudson report will help you to know which the latest version has passed build and test without any errors. Good luck, Shi Jinghai/Beijing Langhua Ltd. 在 2009-12-03四的 11:42 +0800,Sam Hamilton写道: Shi - yep the branch builds fine but the trunk errors out with the following error: classes: [javac15] Compiling 54 source files to /opt/ofbiz/applications/ product/build/classes [javac15] /opt/ofbiz/applications/product/src/org/ofbiz/product/ config/ProductConfigWorker.java:139: warning: [deprecation] getProductvirtualVariantMethod (org.ofbiz.entity.Delegator,java.lang.String) in org.ofbiz.product.product.ProductWorker has been deprecated [javac15] if (VV_FEATURETREE .equals (ProductWorker .getProductvirtualVariantMethod ((Delegator)request.getAttribute(delegator), selectedProdcutId))) { [javac15 ] ^ [javac15] /opt/ofbiz/applications/product/src/org/ofbiz/product/ product/ProductSearchSession.java:1220: cannot find symbol [javac15] symbol : method add(java.util.Mapjava.lang.String,java.lang.Object) [javac15] location: interface java.util.Listjava.util.Mapjava.lang.String,java.lang.String [javac15] featureCountList.add(UtilMisc.toMap(productFeatureId, (String) searchResult.get(pfacProductFeatureId), productFeatureTypeId, (String) searchResult.get(pfcProductFeatureTypeId), description, (String) searchResult.get(pfcDescription), featureCount, Long.toString((Long) searchResult.get(featureCount; [javac15] ^ [javac15] Note: /opt/ofbiz/applications/product/src/org/ofbiz/ product/product/ProductSearch.java uses unchecked or unsafe operations. [javac15] Note: Recompile with -Xlint:unchecked for details. [javac15] 1 error [javac15] 1 warning BUILD FAILED /opt/ofbiz/build.xml:192: The following error occurred while executing this line: /opt/ofbiz/applications/build.xml:67: The following error occurred while executing this line: /opt/ofbiz/macros.xml:27: The following error occurred while executing this line: /opt/ofbiz/applications/product/build.xml:67: Compile failed; see the compiler error output for details. BJ Freeman wrote: comes with centos 5 and works out of the box java version 1.6.0 OpenJDK Runtime Environment (build 1.6.0-b09) OpenJDK Client VM (build 1.6.0-b09, mixed mode) Sam Hamilton sent the following on 12/1/2009 5:49 AM: I dug this out from the fedora wiki - http://fedoraproject.org/wiki/PackageMaintainers which explains how to get a package submitted but at the moment the trunk r885762 fails to build so I am guessing Shi that you have fixed a few things to get it working. Sam Shi Jinghai wrote: Yes, I see. That's a great idea. Not sure how Apache(httpd) and Tomcat became a part of Linux releases, create a self maintained repository at the 1st step and then try to merge it into Linux releases step by step? Shi Jinghai 在 2009-12-01二的 10:53 +0100,Jacques Le Roux写道: This is very intereting because it allows to create packages for Linux systems. And this would increase much OFBiz visibility... Jacques From: Shi Jinghai sh...@langhua.cn We have used OpenJDK (on Fedora) for a while. There is no problem at all. Regards, Shi Jinghai/Beijing Langhua Ltd. 在 2009-12-01二的 15:32 +0800,Sam Hamilton写道: Hi Guys, I see that there is a vote going on at the moment about java 6 - I am wondering if this would also mean that it would be possible to run OFBiz using openJDK once this migration has been done? Cheers Sam smime.p7s Description: S/MIME cryptographic signature
Re: Not finding pages
It doesn't look like there ever was any content on that page: http://olddocs.ofbiz.org/display/OFBIZ/Demo+PC001+walk+through Regards Scott HotWax Media http://www.hotwaxmedia.com On 4/12/2009, at 8:29 AM, BJ Freeman wrote: the pages exist just the content is gone http://cwiki.apache.org/confluence/display/OFBIZ/Demo+PC001+walk+through Jacques Le Roux sent the following on 12/2/2009 11:25 PM: Which pages precisely, at least one, I can see most of them... Jacques From: BJ Freeman bjf...@free-man.net I can't find the pages on the old or new on some of the stuff I have done. the hierarchy shows the pages but no content http://cwiki.apache.org/confluence/pages/listpages-dirview.action?key=OFBIZopenId=6553843#selectedPageInHierarchy see catalog Module and all the pages below. I would expect links if they were moved. I did a search and not find a new location for these. smime.p7s Description: S/MIME cryptographic signature
Re: Not finding pages
I've been receiving email notifications on each space for a few years now and a gmail search doesn't show any edits after the page was created (except for an attachment being added). I'll gladly take a look at any other specific examples you have. Regards Scott On 4/12/2009, at 12:53 PM, BJ Freeman wrote: I remember witting this a while ago but can't remember what I wrote. but the whole catalog is that way. just pages with no content. I did find one page with a link to this page. Scott Gray sent the following on 12/3/2009 1:52 PM: It doesn't look like there ever was any content on that page: http://olddocs.ofbiz.org/display/OFBIZ/Demo+PC001+walk+through Regards Scott HotWax Media http://www.hotwaxmedia.com On 4/12/2009, at 8:29 AM, BJ Freeman wrote: the pages exist just the content is gone http://cwiki.apache.org/confluence/display/OFBIZ/Demo+PC001+walk+through Jacques Le Roux sent the following on 12/2/2009 11:25 PM: Which pages precisely, at least one, I can see most of them... Jacques From: BJ Freeman bjf...@free-man.net I can't find the pages on the old or new on some of the stuff I have done. the hierarchy shows the pages but no content http://cwiki.apache.org/confluence/pages/listpages-dirview.action?key=OFBIZopenId=6553843#selectedPageInHierarchy see catalog Module and all the pages below. I would expect links if they were moved. I did a search and not find a new location for these. smime.p7s Description: S/MIME cryptographic signature