Re: bank and finacial features in ofbiz

2010-01-21 Thread Chris Snow
If someone was to create a set of requirements,  I would be interested 
in developing.


x x wrote:
hello 


i want to suggest to ofbiz team to develop more finacial features like bank and 
stock market. In this way Ofbiz will be real completed.


  
  




Re: bank and finacial features in ofbiz

2010-01-21 Thread Chris Snow

What country Jacques?

Jacques Le Roux wrote:
I know OFBiz is also used at HSBC, but I don't know for what purpose 
exactly (looks like it's also for at least procurement)


Jacques 




Re: bank and finacial features in ofbiz

2010-01-21 Thread Carsten Schinzer
Morning all,


I don't really know yet another bank that uses OFBiz, however some thoughts
here:

The accounting along with the party module would be flexible enough to
support a classic private accounting bank (I guess). However I feel we would
fail at the high degree of automation that these systems have today. But if
you want to build that ... why not.

Nevertheless, the request seems to strive towards the typical risk
management, decision-support type of apps that banking (and others) use in
trading. That sounds pretty unrealistic. I just don't think we're even close
(if I look e.g. at the out-of-the-box BI features  hm.): Doing OLAP with
complex risk models requires a bit more than a standard data-cube (star
schema) and some workfloe around.

*X X* (sorry, mail mailing program does not reveal more) can you kindly
elaborate on where your request was going to?

Regards


Carsten


Re: bank and finacial features in ofbiz

2010-01-21 Thread Jacques Le Roux

I know OFBiz is also used at HSBC, but I don't know for what purpose exactly 
(looks like it's also for at least procurement)

Jacques

From: "David E Jones" 

Actually, yes. I know it is being used in at least one financial institution, 
but not for managing banking... for internal
procurement (if I remember right). In other words, it wasn't very far out of 
the normal strong points for OFBiz and certainly not
for managing account balances or investments or any sort of financial WMD. 
There is some of that functionality included in OFBiz,
like managing balance accounts (called financial accounts in OFBiz), but AFAIK 
those are only currently used by retailers (and at
least one media company) for gift certificates and pre-pay accounts and such.

Of course, the bank using OFBiz (Citibank) is one of the rather defunct ones 
that is now partly owned by good old Uncle Sam since
it was "too big to fail." Hopefully the use of OFBiz was in no way to blame. I 
guess the use of free software (plus consulting
fees) to save money on internal procurement is not enough to overcome massive 
losses on bad loans. Of course, over 90% of the
money for those bad loans came from the Fed (ie near zero interest loans as 
part of fractional reserve banking), and much of that
money is being replaced by the Fed to prop up their balance sheets (in addition 
to the money from the US Treasury from the
bailouts)... so who really lost the money? Maybe that's a topic for a different 
forum... but anyway the point is I think we can
safely say that the failure of that business had nothing to do with OFBiz. :)

-David


On Jan 21, 2010, at 4:51 PM, Chris Snow wrote:


On a serious note David, do you know of ofbiz being used in banking or 
investments?  I expect it would most likely be seen in a
hedge fund management type company as they have usually more flexibility in 
what they build.

David E Jones wrote:

You're right, those banking and stock market management companies are sure 
having a hard time these days and they really need
some help. Free software could help their public looting and larceny operations 
be much more efficient, and of course that'll
make the banks and markets more stable so the government doesn't have to steal 
money from all of us to keep on saving them
(through taxes or through creating and loaning money through a central 
sanctioned bank). I'd love to work for free to help these
guys get the six to eight figure bonuses they deserve! Where can I sign up?

Sorry, I tried to be subtle... but I think I failed. ;)

In all fairness... maybe I misunderstood your comment. Could you elaborate?

-David


On Jan 21, 2010, at 4:04 PM, x x wrote:



hello
i want to suggest to ofbiz team to develop more finacial features like bank and 
stock market. In this way Ofbiz will be real
completed.








Re: OFBiz data load - Documentation

2010-01-21 Thread Matt Warnock
Found my aborted response, thought I'd pass it on FWIW, though belated.

On Mon, 2010-01-18 at 20:23 -0600, David E Jones wrote: 
> Matt,
> 
> It sounds like you're looking for something that a smaller company can
>  use OOTB. If that's the case, take a look at this:
> 
> http://cwiki.apache.org/confluence/display/OFBREQDES/OFBiz+EZBiz

Well, in this category, there is no such thing, really, as OOTB, though
the term gets tossed around a lot.  At least, not in the sense that a
word processor or spreadsheet is used OOTB.  

Even if the code is unchanged, databases, webapps, products, accounts,
suppliers, and customers all need to be created and/or customized.  In
most cases, where these changes are non-trivial, data also needs to be
imported from existing sources.  In many cases, they may want to import
historical data as well. (I know we do.)  Workflows will vary by
company. Still, most of the stuff may not need actual code changes from
a "standard" small business distribution.  Maybe a different ledger
account set for services vs. manufacturing vs. distribution vs. retail
(which could also include France vs. Belgium as discussed on this list
earlier).

EZBiz looks promising, but what is the proposed relationship to the
trunk code?  Is this an enhancement to OFBiz to make the user interface
and setup a bit easier?  Or is it a separate "OFBiz Lite" that strips
away some of the complexity to make it easier at first?  I'd be much
more interested in the former than the latter.  

Most Windows software, for example, has "Express Install" which most
users choose, and "Custom/Expert Install" that you can use if you need
to change the defaults.  Debian usually installs a safe (but often
nonfunctional) version of the package, which requires a heavy learning
curve to configure for practical use (e.g. exim, dhcpd, bind9, samba,
apache2).  If EZBiz created a "default" OOTB configuration suitable for
small business, perhaps with a choice of accounts generally suitable for
different types of businesses (distribution, manufacturing, services) or
different countries.  While customization and configuration would still
be required, the process of getting to a working and useful
configuration would be GREATLY reduced.  

One thing about small companies is that they can change easily,
especially to adopt "best practices" that they believe they will need
later anyway.  They would rather change the organization to meet "best
practices" than remake the software to fit what they happen to do at the
moment, which may or may not be best practices anyway.  Larger companies
are more willing/able to tweak the software to the organization, and
have more experience with best practices and more invested in their
current practice.  

So small companies don't need customization and fringe development,
NEARLY as much as support, advice, data transfer, best practices, and so
on.  But any company that uses OFBiz, is natually a potential client for
future enhancement as they grow, and as their needs change.  And once
they are committed to using OFBiz, they are more likely to accept both
the Open Source model and the idea of releasing the changes back to the
community.  And of course, adding on to the software they know and use
is a LOT more attractive than starting over.

> However, please understand that this not only may never be designed all
>  the way, it also may never be built. It is about 80% a hobby project
>  and even though I'm interested in working on it (apparently I'm
>  basically the only one), I don't have much hope of increasing personal
>  income for it and I think others feel the same way about it. People
>  need some reason to contribute to this and invest in it, and for
>  something like this people have to dig pretty deep to find a reason.

I have heard you say things like this a couple of times on this list,
and that is exactly my concern.  It sounds like you may be getting
burned out because either 1) no one wants to help, or 2) no one can (or
knows how).  There is a lot of volunteerism in the world, so I figure if
you aren't getting the help you would like, it may not be as easy to
help as it needs to be.  All the good intentions in the world can't
scale a steep learning curve. 

> OFBiz doesn't exist and isn't what it is in spite of being
>  community-driven, OFBiz exists and is what it is precisely because it
>  is community-driven. If someone wants something that they'll get for
>  free and not have to change for their business, I'm guessing they're
>  not going to find it in a community-driven open source project (they
>  may find it in a commercial product that uses open source for
>  marketing purposes).

Agreed.  And like I said, there really is no OOTB in this game.  But we
have at least a couple of forks to date to add commercial stuff to
OFBiz, which seems symptomatic of unmet needs or expectations, and
perhaps of inadequate market penetration (or community support) to
really accelerate development in the main 

Re: Apache Pivot

2010-01-21 Thread Scott Gray
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: Apache Pivot

2010-01-21 Thread Sam Hamilton
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
> 



Re: Apache Pivot

2010-01-21 Thread Scott Gray
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: calendar pop up broken?

2010-01-21 Thread Scott Gray
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


Apache Pivot

2010-01-21 Thread Sam Hamilton
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


Re: Forgot Password Error - Trunk Release 901582

2010-01-21 Thread Mridul Pathak
Its looks like a bug, the screen is broken for all the applications except
for workeffort.

-- 
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 7:29 AM, Scott.  wrote:

>
> After logging out from order manager in the trunk demo and arriving at the
> login page, if you click on forgot password, you get the following error;
>
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
> [component://common/widget/CommonScreens.xml#forgotPassword]:
> java.lang.IllegalArgumentException: Could not find screen with name
> [login-decorator] in class resource
> [component://order/widget/ordermgr/CommonScreens.xml] (Could not find
> screen
> with name [login-decorator] in class resource
> [component://order/widget/ordermgr/CommonScreens.xml])
>
> Thanks.
> --
> View this message in context:
> http://n4.nabble.com/Forgot-Password-Error-Trunk-Release-901582-tp1049771p1049771.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: bank and finacial features in ofbiz

2010-01-21 Thread David E Jones

Actually, yes. I know it is being used in at least one financial institution, 
but not for managing banking... for internal procurement (if I remember right). 
In other words, it wasn't very far out of the normal strong points for OFBiz 
and certainly not for managing account balances or investments or any sort of 
financial WMD. There is some of that functionality included in OFBiz, like 
managing balance accounts (called financial accounts in OFBiz), but AFAIK those 
are only currently used by retailers (and at least one media company) for gift 
certificates and pre-pay accounts and such.

Of course, the bank using OFBiz (Citibank) is one of the rather defunct ones 
that is now partly owned by good old Uncle Sam since it was "too big to fail." 
Hopefully the use of OFBiz was in no way to blame. I guess the use of free 
software (plus consulting fees) to save money on internal procurement is not 
enough to overcome massive losses on bad loans. Of course, over 90% of the 
money for those bad loans came from the Fed (ie near zero interest loans as 
part of fractional reserve banking), and much of that money is being replaced 
by the Fed to prop up their balance sheets (in addition to the money from the 
US Treasury from the bailouts)... so who really lost the money? Maybe that's a 
topic for a different forum... but anyway the point is I think we can safely 
say that the failure of that business had nothing to do with OFBiz. :)

-David


On Jan 21, 2010, at 4:51 PM, Chris Snow wrote:

> On a serious note David, do you know of ofbiz being used in banking or 
> investments?  I expect it would most likely be seen in a hedge fund 
> management type company as they have usually more flexibility in what they 
> build.
> 
> David E Jones wrote:
>> You're right, those banking and stock market management companies are sure 
>> having a hard time these days and they really need some help. Free software 
>> could help their public looting and larceny operations be much more 
>> efficient, and of course that'll make the banks and markets more stable so 
>> the government doesn't have to steal money from all of us to keep on saving 
>> them (through taxes or through creating and loaning money through a central 
>> sanctioned bank). I'd love to work for free to help these guys get the six 
>> to eight figure bonuses they deserve! Where can I sign up?
>> 
>> Sorry, I tried to be subtle... but I think I failed. ;)
>> 
>> In all fairness... maybe I misunderstood your comment. Could you elaborate?
>> 
>> -David
>> 
>> 
>> On Jan 21, 2010, at 4:04 PM, x x wrote:
>> 
>>  
>>> hello 
>>> i want to suggest to ofbiz team to develop more finacial features like bank 
>>> and stock market. In this way Ofbiz will be real completed.
>>> 


Re: auto-fields-service question related to tutorial

2010-01-21 Thread Scott Gray
You can also use the

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  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 
> wrote:
> 
>> 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.
>> 
>> > default-field-type="edit" map-name="person"/>
>> 
>> How can I limit the number of fields that > pulling?  Thanks
>> Patrick
>> 



smime.p7s
Description: S/MIME cryptographic signature


Re: auto-fields-service question related to tutorial

2010-01-21 Thread Mridul Pathak
Hi Patrick,

 There are two ways of doing this:
1) Don't use  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 wrote:

> 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.
>
>  default-field-type="edit" map-name="person"/>
>
> How can I limit the number of fields that  pulling?  Thanks
> Patrick
>


Re: bank and finacial features in ofbiz

2010-01-21 Thread Chris Snow
On a serious note David, do you know of ofbiz being used in banking or 
investments?  I expect it would most likely be seen in a hedge fund 
management type company as they have usually more flexibility in what 
they build.


David E Jones wrote:

You're right, those banking and stock market management companies are sure 
having a hard time these days and they really need some help. Free software 
could help their public looting and larceny operations be much more efficient, 
and of course that'll make the banks and markets more stable so the government 
doesn't have to steal money from all of us to keep on saving them (through 
taxes or through creating and loaning money through a central sanctioned bank). 
I'd love to work for free to help these guys get the six to eight figure 
bonuses they deserve! Where can I sign up?

Sorry, I tried to be subtle... but I think I failed. ;)

In all fairness... maybe I misunderstood your comment. Could you elaborate?

-David


On Jan 21, 2010, at 4:04 PM, x x wrote:

  
hello 


i want to suggest to ofbiz team to develop more finacial features like bank and 
stock market. In this way Ofbiz will be real completed.






  




Re: bank and finacial features in ofbiz

2010-01-21 Thread David E Jones

You're right, those banking and stock market management companies are sure 
having a hard time these days and they really need some help. Free software 
could help their public looting and larceny operations be much more efficient, 
and of course that'll make the banks and markets more stable so the government 
doesn't have to steal money from all of us to keep on saving them (through 
taxes or through creating and loaning money through a central sanctioned bank). 
I'd love to work for free to help these guys get the six to eight figure 
bonuses they deserve! Where can I sign up?

Sorry, I tried to be subtle... but I think I failed. ;)

In all fairness... maybe I misunderstood your comment. Could you elaborate?

-David


On Jan 21, 2010, at 4:04 PM, x x wrote:

> hello 
> 
> i want to suggest to ofbiz team to develop more finacial features like bank 
> and stock market. In this way Ofbiz will be real completed.
> 
> 
> 



bank and finacial features in ofbiz

2010-01-21 Thread x x
hello 

i want to suggest to ofbiz team to develop more finacial features like bank and 
stock market. In this way Ofbiz will be real completed.


  


multiple promo codes

2010-01-21 Thread Michael Knott

David,
The "return customer discount" works like this: if a customer buys product Y, 
they are eligible to get a $50 discount if they purchase product X in the next 
30 days.  We have a promocode rule in place using a "X product for Y discount" 
based on the action product of X.  In order to validate the eligibility of the 
previous purchase of Y, we introduced a custom service.  At time of checkout, 
the customer must input a code which was provided to them from the first 
order.  If the input code is eligible for discount, we then follow the "X 
product for Y discount" rule.
 
We also create standard promo codes we would use in print ads or email 
marketing as "input this code at time of checkout to receive <$ or %> off this 
product".  These also follow the "X product for Y discount" style rule.  The 
customer inputs code "DISCOUNT123" in the cart and the price of product x 
reduces.
 
When I apply a second unique promo code for the same base product_id, the first 
promo code gets clobbered.  So my main question is if the promo code logic 
supports two separate promo codes to provide two separate dollar off discounts 
on a single product?  If not, what is an alternate method to achieve the same 
result?  Would there be a similar conflict when having multiple products in a 
single cart, even though each has one promo code applied?  I am trying to lay 
the groundwork for supporting a cart that can handle multiple items, each with 
a unique promo code applied with a discount amount.  For the "return customer 
discount", should we apply a price rule instead?
 
Michael
 

On Jan 20, 2010, at 9:28 AM, Michael Knott wrote:
> I'm looking for a solution on using multiple promotions for a single 
> product.  I have a product configured like this:
> - base price (i.e.; $500)
> - price rules to allow personalized discounts based on the party_group of the 
> customer (i.e. if customer is a "preferred" customer, they get $25 off 
> product)
> - promotional discount based on an input promocode (i.e. input DISCOUNT-123 
> for $20 off product)
> - discount based on previous purchase of related product (user inputs 
> previous orderID of a related product and becomes eligible for $50 off this 
> product)
>  
> Which would look like this in the cart:
>  
> $500 product price
>  -$25 preferred customer
>  -$20 promotion code applied
>  -$50 return customer discount
> 
> $405 Net price
>  
> It seems that there is a limitation of one promo code in the cart for each 
> per product.  Am I reading this incorrectly?  I need to know how to configure 
> this product if a customer is eligible for all 3 discounts.  Any suggestions?
This sounds more like an issue with promotion rule conditions or actions that 
"consume" quantities of items in the cart than something to do with promo 
codes. Normally promo codes are associated with the entire cart and when a 
promotion depends on a code then it is just a check of whether a qualifying 
code is associated with the cart or not.
The item quantity "consume" issue comes into play when you have BOGO style and 
certain types of promotion conditions and actions. With these you have to keep 
track of each quantity of each item so you know if it was used to qualify for a 
promotion (the buy-one, or buy-X) or if it was used as a beneficiary of a 
promotion (the get-one, or get-Y) so that it is not used to qualify for or 
benefit from another similar type of promotion.
All of that said, there isn't enough detail in your message about how your 
price rules and/or promotions rules are setup to guess at what is actually 
happening for you. To make things more interest, the "return customer discount" 
where the user inputs an orderId sounds custom and could be doing pretty much 
anything, ie like something weird with promo codes and/or something weird with 
consuming item quantities.
-David
 
 
 


  

auto-fields-service question related to tutorial

2010-01-21 Thread Patrick
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.



How can I limit the number of fields that 

Re: binding ofbiz ports 80|443, non root, without apache

2010-01-21 Thread Whoa!

This is a little cleaner:

start script
/pathTo/ofbiz/jsvc -pidfile ofbiz.pid -user someNonRootUser $VMARGS -cp
tools.jar:commons-daemon.jar:ofbiz.jar org.ofbiz.base.start.Start
>>$OFBIZ_LOG 2>>$OFBIZ_LOG&

stop script
PID_FILE="/pathTo/ofbiz/ofbiz.pid"
/pathTo/ofbiz/jsvc -stop -pidfile $PID_FILE
org.apache.catalina.startup.Bootstrap rc_status -v

add someNonRootUser to sudoers to run jsvc, and start|stop scripts.
-- 
View this message in context: 
http://n4.nabble.com/binding-ofbiz-ports-80-443-non-root-without-apache-tp1016963p1055776.html
Sent from the OFBiz Installation mailing list archive at Nabble.com.


Re: autocomplete xml attributes using eclipse

2010-01-21 Thread David E Jones

Life is tough, isn't it?

You could look for a setting, or you might need to use a different XML editor.

-David


On Jan 21, 2010, at 11:40 AM, Chris Snow wrote:

> When developing ofbiz xml artifacts in eclipse, I am frequently using the xml 
> autocomplete.
> 
> Unfortunately, the attributes returned by autocomplete don't always seem to 
> be in the best order and I have to manually reorder them.
> 
> The eclipse returned element for if-compare:
> 
>  
> 
> The manually reordered element:
> 
>  
> 
> Is this just me who experiences this inconvenience?
> 
> Many thanks in advance,
> 
> Chris



Re: ofbiz test framework - not rolling back data

2010-01-21 Thread Scott Gray
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: ofbiz test framework - not rolling back data

2010-01-21 Thread David E Jones

In a busy system where you might have a dozen other sequenced IDs issued by the 
time your transaction is either committed or rolled back... what sorts of 
problems do you think this would introduce?

There are two categories I'm thinking of: performance and data consistency.

-David



On Jan 21, 2010, at 11: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



autocomplete xml attributes using eclipse

2010-01-21 Thread Chris Snow
When developing ofbiz xml artifacts in eclipse, I am frequently using 
the xml autocomplete.


Unfortunately, the attributes returned by autocomplete don't always seem 
to be in the best order and I have to manually reorder them.


The eclipse returned element for if-compare:

  

The manually reordered element:

  

Is this just me who experiences this inconvenience?

Many thanks in advance,

Chris


ofbiz test framework - not rolling back data

2010-01-21 Thread Chris Snow
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


Re: binding ofbiz ports 80|443, non root, without apache

2010-01-21 Thread Whoa!

The site seems to be starting and stopping fine so far, so this may be how we
implement in production.  The current start script uses this command:

  exec /pathTo/ofbiz/jsvc -pidfile ofbiz.pid -user someNonRootUser $VMARGS
-cp tools.jar:commons-daemon.jar:ofbiz.jar org.ofbiz.base.start.Start
>>$OFBIZ_LOG 2>>$OFBIZ_LOG&

To stop I'll cat ofbiz.pid as the nonRootUser and kill the pid.

-- 
View this message in context: 
http://n4.nabble.com/binding-ofbiz-ports-80-443-non-root-without-apache-tp1016963p1049908.html
Sent from the OFBiz Installation mailing list archive at Nabble.com.


Re: extending view entities

2010-01-21 Thread Mridul Pathak
Or you can define a new view using an existing view entity as member entity.

-- 
Thanks & Regards
Mridul Pathak
Hotwax Media
http://www.hotwaxmedia.com
mridul.pat...@hotwaxmedia.com
-
direct: +91 - 942.592.6892

On Wed, Jan 20, 2010 at 3:59 PM, Scott Gray wrote:

> 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
>
>


Issue with CacheClear

2010-01-21 Thread Kumaraswamy nandipati
Hi all,

I am facing a strange problem(for me) now. I am using
"product.content.rendered" UtilCache.

Whenever updates happened on Product entity, It was OK with Cache clear with
entity, entity-list, entiy-object caches. But, the product details(like
product_name, xxx_image_url, description) are cached in *
product.content.rendered* utilCache are not getting cleared.

How to fix this issue?

-- 
Thanks,
Kumaraswamy.N
91-9866805250.


Forgot Password Error - Trunk Release 901582

2010-01-21 Thread Scott.

After logging out from order manager in the trunk demo and arriving at the
login page, if you click on forgot password, you get the following error;

org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component://common/widget/CommonScreens.xml#forgotPassword]:
java.lang.IllegalArgumentException: Could not find screen with name
[login-decorator] in class resource
[component://order/widget/ordermgr/CommonScreens.xml] (Could not find screen
with name [login-decorator] in class resource
[component://order/widget/ordermgr/CommonScreens.xml])

Thanks.
-- 
View this message in context: 
http://n4.nabble.com/Forgot-Password-Error-Trunk-Release-901582-tp1049771p1049771.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: calendar pop up broken?

2010-01-21 Thread Jacques Le Roux

The footer is ok on the demo server at Release-revision : trunk-901582.
To show it in your instance run "ant svninfo". BTW, at r901711, I have put a description about that in the coresponding target of 
the main build.xml file. So now you can see it  using "ant -p".

For the AM-PM topic, hopefully someone will answer you...

Jacques

From: "Chris Snow" 

It appears to be broken on 901657.

Also, the svn revision number is not appearing in the html footer any more.

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=900950&view=rev

Please report in any cases. For the demo server we have to wait a day now...

Thanks for your help

Jacques









Re: calendar pop up broken?

2010-01-21 Thread Chris Snow

It appears to be broken on 901657.

Also, the svn revision number is not appearing in the html footer any more.

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=900950&view=rev

Please report in any cases. For the demo server we have to wait a day 
now...


Thanks for your help

Jacques






Re: Error uploading a big file

2010-01-21 Thread BJ Freeman
check the available memory when doing and large file upload,you may have
to add physical memory.
A work around is to use the ftp routines in ofbiz and make a page for
the parameters. this would also require a trigger off the ftp service.


Scott Gray sent the following on 1/20/2010 3:03 PM:
> 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.
>