Re: Why was this done?

2011-09-16 Thread BJ Freeman
if you talking about java events and listeners then do a java class then use run to call minilang as a service. Ruth Hoffman sent the following on 9/16/2011 3:44 PM: > Hi BJ: > > Not sure I follow. These don't look like EventHandlers to me. (I mean a > class that "implements" EventHandler) . Thes

Re: Why was this done?

2011-09-16 Thread Ruth Hoffman
Hi BJ: Not sure I follow. These don't look like EventHandlers to me. (I mean a class that "implements" EventHandler) . These look like events. Even so, a closer look shows that within some of these events, the Bean Shell is being called. That seems pretty crazy to me. The same problems can oc

Re: Why was this done?

2011-09-16 Thread BJ Freeman
there are many exmaples of events that are minilanq. look at specialpurpose\googlecheckout\script\org\ofbiz\googleCheckout\PrepareXMLTemplate.xml chris gives a lot of examples Ruth Hoffman sent the following on 9/16/2011 3:17 PM: > Both. For example EventHandler implementations and some custom ser

Re: Why was this done?

2011-09-16 Thread Ruth Hoffman
Both. For example EventHandler implementations and some custom servlets that extend HttpServlet. Ruth On 9/16/11 6:00 PM, BJ Freeman wrote: are you speaking as in a Class or has the uses of Httpservlet? Ruth Hoffman sent the following on 9/16/2011 2:41 PM: Anyhow, I haven't figured out a way t

Re: Why was this done?

2011-09-16 Thread BJ Freeman
are you speaking as in a Class or has the uses of Httpservlet? Ruth Hoffman sent the following on 9/16/2011 2:41 PM: > Anyhow, I haven't figured out a way to use minilang when writing new > servlets - which is were this problem is most annoying.

Re: Why was this done?

2011-09-16 Thread BJ Freeman
I don't remember any problems. been a few years since I did it. I don't believe there is any different calls in minilang at the minilang syntax. http://svn.apache.org/viewvc?view=revision&revision=672898 see the first three Most my java code went though a layer that interfaced to ofbiz so all I had

Re: Why was this done?

2011-09-16 Thread Ruth Hoffman
Hi BJ: This could still be a problem with minilang if whoever didn't upgrade that. Have you tried moving some custom minilang from 9.04 to 10.x? Just curious. Anyhow, I haven't figured out a way to use minilang when writing new servlets - which is were this problem is most annoying. Best R

Re: Why was this done?

2011-09-16 Thread BJ Freeman
one of the reasons I stuck with the minilang Ruth Hoffman sent the following on 9/16/2011 2:21 PM: > Thanks BJ. > > I guess OFBiz is not too backward compatible. Oh well, too bad. This > breaks all kinds of things in 9.04 that I'd like to carry over to 10.x. > > Best Regards, > Ruth > > On 9/16

Re: Why was this done?

2011-09-16 Thread Ruth Hoffman
Thanks BJ. I guess OFBiz is not too backward compatible. Oh well, too bad. This breaks all kinds of things in 9.04 that I'd like to carry over to 10.x. Best Regards, Ruth On 9/16/11 5:14 PM, BJ Freeman wrote: did a search of the commits http://svn.apache.org/viewvc?view=revision&revision=821

Re: Why was this done?

2011-09-16 Thread BJ Freeman
did a search of the commits http://svn.apache.org/viewvc?view=revision&revision=821391 Ruth Hoffman sent the following on 9/16/2011 1:42 PM: > Could someone explain to me - and ignorant OFBiz committer wannabe - why > the following method in version 9.04: > > public static GenericDelegator ge

Why was this done?

2011-09-16 Thread Ruth Hoffman
Could someone explain to me - and ignorant OFBiz committer wannabe - why the following method in version 9.04: public static GenericDelegator getGenericDelegator(String delegatorName) { ... } No longer exists in the DelegatorFactory class in the most recent trunk version? In its place

[jira] [Commented] (OFBIZ-3403) webtools xml data export to browser not working

2011-09-16 Thread BJ Freeman (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-3403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13106553#comment-13106553 ] BJ Freeman commented on OFBIZ-3403: --- Firefox will not show xml have to do view source.

[jira] [Reopened] (OFBIZ-4296) JmsTopicListener started twice when distributed-cache-clear is active

2011-09-16 Thread Jacques Le Roux (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux reopened OFBIZ-4296: Hi Dimitri, Reopening I'm not against, but reverting I'd not unless we have a better solution

[jira] [Commented] (OFBIZ-4412) Set initial ecommerce Locale/Currency based on mount point specified in specialpurpose/ecommerce/ofbiz-component.xm

2011-09-16 Thread mz4wheeler (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13106549#comment-13106549 ] mz4wheeler commented on OFBIZ-4412: --- Thanks Dimitri. I also believe that the single sto

[jira] [Reopened] (OFBIZ-3403) webtools xml data export to browser not working

2011-09-16 Thread Jacques Le Roux (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-3403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux reopened OFBIZ-3403: Assignee: Jacques Le Roux I think there are still issues: # only IE renders directly in

[jira] [Updated] (OFBIZ-4274) Implement a REST Servlet

2011-09-16 Thread Adrian Crum (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Crum updated OFBIZ-4274: --- Attachment: RestXmlRepresentation.xml Replaced PDF file with original XML file. > Implement a REST S

[jira] [Updated] (OFBIZ-4274) Implement a REST Servlet

2011-09-16 Thread Adrian Crum (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Crum updated OFBIZ-4274: --- Attachment: (was: RestXmlRepresentation.pdf) > Implement a REST Servlet > ---

Re: FYI - Current trunk content redirection brings up empty content

2011-09-16 Thread Ruth Hoffman
Hi Hans: Indeed it does. Not sure how this is suppose to work, but if you select the "Browse Content" -> "Store Policies" on the main landing page you get: [POLICY] Policies Search Which, when you click on the "Search"

[jira] [Issue Comment Edited] (OFBIZ-4274) Implement a REST Servlet

2011-09-16 Thread Adrian Crum (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13106019#comment-13106019 ] Adrian Crum edited comment on OFBIZ-4274 at 9/16/11 12:14 PM: --

[jira] [Commented] (OFBIZ-4296) JmsTopicListener started twice when distributed-cache-clear is active

2011-09-16 Thread Dimitri Unruh (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13106020#comment-13106020 ] Dimitri Unruh commented on OFBIZ-4296: -- Hi everybody, I guess we should open this is

[jira] [Updated] (OFBIZ-4274) Implement a REST Servlet

2011-09-16 Thread Adrian Crum (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Crum updated OFBIZ-4274: --- Attachment: RestExample.xsd RestExample.xsd contains some schema examples. > Implement a REST Servle

[jira] [Updated] (OFBIZ-4426) Some dead variable assignments

2011-09-16 Thread Dimitri Unruh (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dimitri Unruh updated OFBIZ-4426: - Attachment: OFBIZ-4426.patch > Some dead variable assignments > ---

[jira] [Created] (OFBIZ-4426) Some dead variable assignments

2011-09-16 Thread Dimitri Unruh (JIRA)
Some dead variable assignments --- Key: OFBIZ-4426 URL: https://issues.apache.org/jira/browse/OFBIZ-4426 Project: OFBiz Issue Type: Improvement Reporter: Dimitri Unruh Priority: Minor

[jira] [Assigned] (OFBIZ-4424) EntityListIterator not being closed after storing incoming email

2011-09-16 Thread Sascha Rodekamp (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sascha Rodekamp reassigned OFBIZ-4424: -- Assignee: Sascha Rodekamp > EntityListIterator not being closed after storing incoming

[jira] [Assigned] (OFBIZ-4425) Wrong use of toArray() method

2011-09-16 Thread Sascha Rodekamp (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sascha Rodekamp reassigned OFBIZ-4425: -- Assignee: Sascha Rodekamp > Wrong use of toArray() method > ---

[jira] [Commented] (OFBIZ-4412) Set initial ecommerce Locale/Currency based on mount point specified in specialpurpose/ecommerce/ofbiz-component.xm

2011-09-16 Thread Dimitri Unruh (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105997#comment-13105997 ] Dimitri Unruh commented on OFBIZ-4412: -- Just some notes: * I really don't want creat

[jira] [Updated] (OFBIZ-4425) Wrong use of toArray() method

2011-09-16 Thread Dimitri Unruh (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dimitri Unruh updated OFBIZ-4425: - Attachment: OFBIZ-4425.patch > Wrong use of toArray() method > - > >

[jira] [Created] (OFBIZ-4425) Wrong use of toArray() method

2011-09-16 Thread Dimitri Unruh (JIRA)
Wrong use of toArray() method - Key: OFBIZ-4425 URL: https://issues.apache.org/jira/browse/OFBIZ-4425 Project: OFBiz Issue Type: Bug Components: framework Reporter: Dimitri Unruh Att

Re: svn commit: r1171093 - in /ofbiz/trunk/applications: accounting/servicedef/ order/src/org/ofbiz/order/order/ product/script/org/ofbiz/shipment/issuance/ product/script/org/ofbiz/shipment/receipt/

2011-09-16 Thread Hans Bakker
valuable comment...will look into it. On Fri, 2011-09-16 at 22:14 +1200, Scott Gray wrote: > Hi Hans, > > IMO it would probably be more robust to let the service execute and then > check who the owner of the inventoryItem is before creating the transactions > instead of checking the productType

[jira] [Updated] (OFBIZ-4424) EntityListIterator not being closed after storing incoming email

2011-09-16 Thread Varun Bhansaly (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Varun Bhansaly updated OFBIZ-4424: -- Attachment: OFBIZ-4424.patch > EntityListIterator not being closed after storing incoming email

[jira] [Created] (OFBIZ-4424) EntityListIterator not being closed after storing incoming email

2011-09-16 Thread Varun Bhansaly (JIRA)
EntityListIterator not being closed after storing incoming email Key: OFBIZ-4424 URL: https://issues.apache.org/jira/browse/OFBIZ-4424 Project: OFBiz Issue Type: Bug

Re: svn commit: r1171093 - in /ofbiz/trunk/applications: accounting/servicedef/ order/src/org/ofbiz/order/order/ product/script/org/ofbiz/shipment/issuance/ product/script/org/ofbiz/shipment/receipt/

2011-09-16 Thread Scott Gray
Hi Hans, IMO it would probably be more robust to let the service execute and then check who the owner of the inventoryItem is before creating the transactions instead of checking the productTypeId. This would cover a much larger range of receipt and issuances in the future and really is the tr

Re: buildbot exception in ASF Buildbot on ofbiz-trunk

2011-09-16 Thread Jacques Le Roux
Looks like we need to clean or ask to clean as it's shared. Mmm... looking at last build it seems it cleared by itself Jacques From: "Sascha Rodekamp" Hm that is strange, my local trunk copy builds without problems. The error occurs on step 11 while uploding: exceptions.IOError: [Errno 28]

buildbot success in ASF Buildbot on ofbiz-trunk

2011-09-16 Thread buildbot
The Buildbot has detected a restored build on builder ofbiz-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/ofbiz-trunk/builds/2129 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: isis_ubuntu Build Reason: scheduler Build Source St

Creating a new connection pool?

2011-09-16 Thread vivek
Dear Ofbiz Developers ML Members, Greetings of the day. I am working on ofbiz & had found myself under deep problem after deploying the application on production server. The application is crashing very frequently. The analysis after performing JMeter test reveals that it is not able to serve th

Re: buildbot exception in ASF Buildbot on ofbiz-trunk

2011-09-16 Thread Sascha Rodekamp
Hm that is strange, my local trunk copy builds without problems. The error occurs on step 11 while uploding: exceptions.IOError: [Errno 28] No space left on device Did someone see that before and have a solution for that? 2011/9/16 > The Buildbot has detected a new failure on builder ofbiz-

[jira] [Closed] (OFBIZ-4420) IO stream objects are not closed

2011-09-16 Thread Sascha Rodekamp (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sascha Rodekamp closed OFBIZ-4420. -- Resolution: Fixed Fix Version/s: SVN trunk Thanks Dimitri your patch is in Trunk @Rev117