Re: Why is ofbiz integrated with tomcat?

2010-02-10 Thread Jacques Le Roux

To complete Scott's explanation, if needed
http://cwiki.apache.org/confluence/display/OFBTECH/Run+OFBiz+under+outside+Application+Servers

Jacques

From: "Scott Gray" 
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









Languages really used in OFBiz

2010-02-10 Thread Jacques Le Roux

Hi,

I'd like to suggest something. OOTB we show all possible languages, could we not limit the list to the languages really used in 
OFBiz? Ie those with at least one label

If you agree I will do it

Jacques 





Re: Tests Failing?

2010-02-10 Thread Sam Hamilton
Thanks Scott - that worked!

Cheers
Sam

On 11/02/2010 11:44, Scott Gray wrote:
> 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
> 



Re: Tests Failing?

2010-02-10 Thread Scott Gray
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


Tests Failing?

2010-02-10 Thread Sam Hamilton
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-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)?

2. Why would the tests fail on my local machine against an unmodified
copy of trunk but not on the buildbot?

Cheers
Sam


Re: ofbiz demo servers

2010-02-10 Thread BJ Freeman
at the end of last month resources hosted by hotwax was moved to the
apache infra. There was a few bugs that had to be worked out.
there has been considerable conversation about this both oh the user and
dev mailing list

YOu should not have any problem unless you try when they are updating
the demo site nightly



masionas sent the following on 2/10/2010 2:29 PM:
> Hi Guys,
> 
> I found recently that demo.ofbiz.org gets redirected to apache host but
> shows blank page. Am I missing something or it is really does not work
> anymore? Thanks.
> 
> P.S. I searched the forum but the only message has come up is someone was
> talking about DNS issues, but it was a week or so ago.



Re: Why is ofbiz integrated with tomcat?

2010-02-10 Thread Scott Gray
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


Why is ofbiz integrated with tomcat?

2010-02-10 Thread Ylan Segal
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





ofbiz demo servers

2010-02-10 Thread masionas

Hi Guys,

I found recently that demo.ofbiz.org gets redirected to apache host but
shows blank page. Am I missing something or it is really does not work
anymore? Thanks.

P.S. I searched the forum but the only message has come up is someone was
talking about DNS issues, but it was a week or so ago.
-- 
View this message in context: 
http://n4.nabble.com/ofbiz-demo-servers-tp1476574p1476574.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Apache / Tomcat issue

2010-02-10 Thread Steve

Using Apache for web users, proxypass set to ajp://localhost:8109/

Every so often, at seemingly random times, the web site stops  
responding, and in the Apache logs, we see this:


[Wed Feb 10 09:02:49 2010] [error] (70007)The timeout specified has  
expired: ajp_ilink_receive() can't receive header


We'll see lots of these around that time, and, eventually, after 20  
minutes or so, web site works again. Sometimes, it's during the day,  
other times, it's at low volume times at night.


I've looked at various other sites referencing that message, and tried  
some of the suggestions, to no avail. So far, that includes upping  
some thread limits and specifying retry=0 or 2 on the ajp proxypass  
directive.


Not sure if this might be a Tomcat problem since ofbiz is using an  
older 6.0.16 Tomcat. There are a lot of thread fixes since that version.


Any thoughts on how to figure out what the problem is? What might be  
causing this, and, how to get around the problem?


Steve




How to manage uom conversion

2010-02-10 Thread Juan Pablo
Hi guys.

I've been testing oum conversion funcionality.

1) I created a product P with quantityUomId = WT_g
2) I asociated P to a supplier S with quantityUomId = WT_kg
3) I created a purchase order
Supplier = S
Product = P
Quantity = 1
4) I approved and receipted the PO.

So, the item inventory generated has:
QOH = 1
ATP = 1

But, I thought that OFbiz convert 1 to 1000 when I receipted it. (table
CONVERSION_UOM)
QOH = 1000
ATP = 1000

I've seen that the table INVENTORY_ITEM not save the uom value in the field
UOM_ID but I not have seen where ofbiz save the oum in purchase order.

Finally,

Somebody knows how to manage uom conversions?.
Do I have to configure something?

Help me please?

Than you.


-- 
Juan Pablo
Cell 997204299


Re: debugging Groovy files in Eclipse

2010-02-10 Thread Brett Palmer
Kojo,

Does the Groovy plugin slowdown your eclipse environment?  I tried it a
while ago but it was continually rebuilding the projects and making eclipse
run slowly.  I finally had to uninstall the plugin.  Have the improved the
plugin with these newer releases?


Brett

On Wed, Feb 10, 2010 at 6:00 AM,  wrote:

> Hello Mike,
> I am running Eclipse 3.5.1 with Groovy plugin version 1.5.6 without any
> problem. It is important to also make sure that you are running Eclispe in
> debugging mode. Are you able to set breakpoints in Java source files?
>
> Regards,
> Kojo Gambrah
>
>
> Mike Voytovich wrote:
>
>> Hi,
>>
>> I'm trying to step through some OFBiz Groovy source files, and I'm unable
>> to set breakpoints.  When I right click in the gutter, "(Groovy) Toggle
>> Breakpoint" is an option, but it can never actually set a breakpoint.
>>
>> I'm running Eclipse 3.5.1, and the Groovy-Eclipse plugin from Codehaus,
>> version 2.0.0.
>>
>> I'm building from the command-line, and can connect to the OFBiz remote VM
>> and step through Java source just fine.
>>
>> Does anyone know of any tricks required to get Groovy debugging working
>> with OFBiz?
>>
>> Thanks in advance,
>> -mike
>>
>>
>>
>
>


Re: debugging Groovy files in Eclipse

2010-02-10 Thread kgambrah

Hello Mike,
I am running Eclipse 3.5.1 with Groovy plugin version 1.5.6 without any 
problem. It is important to also make sure that you are running Eclispe 
in debugging mode. Are you able to set breakpoints in Java source files?


Regards,
Kojo Gambrah

Mike Voytovich wrote:

Hi,

I'm trying to step through some OFBiz Groovy source files, and I'm unable to set 
breakpoints.  When I right click in the gutter, "(Groovy) Toggle Breakpoint" is 
an option, but it can never actually set a breakpoint.

I'm running Eclipse 3.5.1, and the Groovy-Eclipse plugin from Codehaus, version 
2.0.0.

I'm building from the command-line, and can connect to the OFBiz remote VM and 
step through Java source just fine.

Does anyone know of any tricks required to get Groovy debugging working with 
OFBiz?

Thanks in advance,
-mike

  




Re: Parameters in seca

2010-02-10 Thread Ramkrishna Swamy
Thanks Hans, it worked.
-- 
Thanks
Ramkrishna

On Tue, Feb 9, 2010 at 7:21 PM, Hans Bakker
wrote:

> Did you read what I wrote? the map name 'parameters' is not required
> herefurther you can only use the fieldnames which are either input-
> or output parameters of the service you would like to check.
>
> Regards,
> Hans
>
>
> On Tue, 2010-02-09 at 19:13 +0530, Ramkrishna Swamy wrote:
> > Hello Hans,
> >
> > I tried with mapname but it shows in log mapnanme 'parameters' not found
> > setting default to null, how parameters will be available to the action
> > service.
> >
> --
> Antwebsystems.com: Quality OFBiz services for competitive rates
>
> On Tue, Feb 9, 2010 at 6:58 PM, Hans Bakker
> wrote:
>
> > Hi,
> >
> > the beauty of this system is that for most things you would like to do
> > there are many examples.
> >
> > I order to find an answer to your question I went into eclipse in
> OFBiz,
> > pressed ctrl-shift-r and entered seca* to look for examples how other
> > programmers created secasone of the first files which came up was
> > applications/accounting/servicedef/secas_payment.xml
> >
> > if you look in this file there are many examples how secas should be
> > coded. I searched for a word you used very often like 'parameters' i
> > could not found one
> >
> > could it be that the mapname 'parameters' is not required here?
> all
> > variables are already in he parameters map.
> >
> > Regards.
> > Hans
> >
> > On Tue, 2010-02-09 at 16:44 +0530, Ramkrishna Swamy wrote:
> > > Hi list,
> > > How can i get parameters in a seca, i am passing parameters as
> hidden
> > from
> > > ftl and i want to get these into the seca but shows null parameters.
> > > Following is my seca: -
> > >
> > > 
> > >  > operator="is-not-empty"/>
> > >  > > operator="is-not-empty"/>
> > >  operator="is-not-empty"/>
> > >  > > operator="is-not-empty"/>
> > >  > operator="is-not-empty"/>
> > >  > operator="is-not-empty"/>
> > > 
> > > 
> > >
> > >
> > > Thanks in advance.
> > >
> > --
> > Antwebsystems.com: Quality OFBiz services for competitive rates
> >
> >
>
>
>


Re: credit card authorization + capture

2010-02-10 Thread BJ Freeman
wasn't there a discussion about making Authorize capture to run under
system login.

Vivek Mishra sent the following on 2/10/2010 3:22 AM:
> Hi Mike,
> 
> Its true when authorize + capture is performed in OFBiz an accounting
> transaction gets created. Now for performing any accounting transaction
> a user must be authorized to do so. In short user must be having that
> permission. As order has been placed from front end or we can say by the
> end user of the site so it will not be feasible that we give accounting
> transaction permission to this user who is just visiting your site for
> purchasing the product.
> 
> Though I agree with the fact is that authorize + capture can be
> performed without commenting any eca of accounting.
> 
> Thanks and Regards,
> -- Vivek Mishra
> 
> Mike Voytovich wrote:
>> Thanks for the explanation Amit.
>>
>> It seems like an anonymous checkout would not unusual for an ecommerce
>> site; and, I would think that credit card authorize + capture is not
>> an uncommon method when collecting payments from anonymous customers. 
>> I understand that within OFBiz it's an accounting transaction; but, it
>> seems like anonymous authorize + capture should be supported without
>> having to comment out the accounting entries.
>>
>> Thanks again for the advice though, I'll look into alternative methods
>> for performing automated capture other than setting it up to be the
>> default credit card payment method.
>>
>> regards,
>> -mike
>>
>>
>> On Feb 5, 2010, at 9:11 PM, Amit Sharma wrote:
>>
>>  
>>> Hello Mike,
>>>
>>> In process of capture payment, OFBiz create accounting transaction
>>> entries. If you really want to process capture payment you need to
>>> comment out secas_ledger.xml and secas_olap.xml files in accounting
>>> component so that user can process capture payment without accounting
>>> entries.
>>>
>>> Anonymous user can't do payment capture process along with
>>> authorization of payment and also it should not happen because It
>>> means you are giving the authority of accounting transaction to
>>> anonymous user, a part from this anonymous user has not permission of
>>> accounting transaction. Actually in the process of  payment  capture
>>> behind the seen you are creating accounting transaction entries.
>>>
>>> Thanks and Regards,
>>>
>>> Amit Sharma
>>>
>>> Mike Voytovich wrote:
>>>
 My question is in regards to anonymous purchases on the eCommerce
 store (i.e., checkout without login).
 Regardless, it doesn't seem like one should need to change a user's
 security permissions to perform authorization+capture during
 checkout.  Furthermore, giving ACCTG_ATX_CREATE or ACCTG_ATX_ADMIN
 permissions to a user sounds like it could be a potential security
 issue?

 thanks,
 -mike


 On Feb 4, 2010, at 10:14 AM, Patrick wrote:


  
> Security permissions are set in partymgr they are associated with the
> user login. Party manager is at  /partymgr/control/main
>
> On Thu, Feb 4, 2010 at 11:26 AM, Mike Voytovich
>  wrote:
>
>
>> Hi,
>>
>> I wanted to test out Authorization and Capture using the OOTB demo
>> eCommerce site.  I went into: Catalog Manager => Stores =>
>> Payments, and changed the Credit Card Payment Authorization
>> Service from "alwaysApproveCCProcessor" to
>> "alwaysApproveWithCaptureCCProcessor".
>>
>> However, now I hit the following error when the order is submitted:
>>
>> 2010-02-04 08:19:46,643 (http-0.0.0.0-8443-4) [
>> RequestHandler.java:412:ERROR] Request processpayment caused an
>> error with the following message: Error in authOrderPayments
>> service: org.ofbiz.service.GenericServiceException: Could not
>> commit transaction for service [authOrderPayments] call: Roll back
>> error, could not commit transaction, was rolled back instead
>> because of: Service [createAcctgTransAndEntries] threw an
>> unexpected exception/errororg.ofbiz.service.ServiceAuthException:
>> Security Error: To run createAcctgTransAndEntries you must have
>> the one of the following permissions: ACCTG_ATX_CREATE,
>> ACCTG_ATX_ADMIN (Security Error: To run createAcctgTransAndEntries
>> you must have the one of the following permissions:
>> ACCTG_ATX_CREATE, ACCTG_ATX_ADMIN) (Could not commit transaction
>> for service [authOrderPayments] call: Roll back error, could not
>> commit transaction, was rolled back instead because of: Service
>> [createAcctgTransAndEntries] threw an unexpected
>> exception/errororg.ofbiz.service.ServiceAuthException: Security
>> Error: To run createAcctgTransAndEntries you must have the one of
>> the following permissions: ACCTG_ATX_CREATE, ACCTG_ATX_ADMIN
>> (Security Error: To run createAcctgTransAndEntries you must have
>> the one of the following permissions: ACCTG_ATX_CREATE,
>> ACCTG_ATX_ADMIN))
>>
>>

Re: credit card authorization + capture

2010-02-10 Thread Vivek Mishra

Hi Mike,

Its true when authorize + capture is performed in OFBiz an accounting 
transaction gets created. Now for performing any accounting transaction 
a user must be authorized to do so. In short user must be having that 
permission. As order has been placed from front end or we can say by the 
end user of the site so it will not be feasible that we give accounting 
transaction permission to this user who is just visiting your site for 
purchasing the product.


Though I agree with the fact is that authorize + capture can be 
performed without commenting any eca of accounting.


Thanks and Regards,
-- Vivek Mishra

Mike Voytovich wrote:

Thanks for the explanation Amit.

It seems like an anonymous checkout would not unusual for an ecommerce site; 
and, I would think that credit card authorize + capture is not an uncommon 
method when collecting payments from anonymous customers.  I understand that 
within OFBiz it's an accounting transaction; but, it seems like anonymous 
authorize + capture should be supported without having to comment out the 
accounting entries.

Thanks again for the advice though, I'll look into alternative methods for 
performing automated capture other than setting it up to be the default credit 
card payment method.

regards,
-mike


On Feb 5, 2010, at 9:11 PM, Amit Sharma wrote:

  

Hello Mike,

In process of capture payment, OFBiz create accounting transaction 
entries. If you really want to process capture payment you need to 
comment out secas_ledger.xml and secas_olap.xml files in accounting 
component so that user can process capture payment without accounting 
entries.


Anonymous user can't do payment capture process along with authorization 
of payment and also it should not happen because It means you are giving 
the authority of accounting transaction to anonymous user, a part from 
this anonymous user has not permission of accounting transaction. 
Actually in the process of  payment  capture behind the seen you are 
creating accounting transaction entries.


Thanks and Regards,

Amit Sharma

Mike Voytovich wrote:

My question is in regards to anonymous purchases on the eCommerce store (i.e., checkout without login). 


Regardless, it doesn't seem like one should need to change a user's security 
permissions to perform authorization+capture during checkout.  Furthermore, 
giving ACCTG_ATX_CREATE or ACCTG_ATX_ADMIN permissions to a user sounds like it 
could be a potential security issue?

thanks,
-mike


On Feb 4, 2010, at 10:14 AM, Patrick wrote:


  

Security permissions are set in partymgr they are associated with the
user login. Party manager is at  /partymgr/control/main

On Thu, Feb 4, 2010 at 11:26 AM, Mike Voytovich  wrote:



Hi,

I wanted to test out Authorization and Capture using the OOTB demo eCommerce site.  I went into: Catalog 
Manager => Stores => Payments, and changed the Credit Card Payment Authorization Service from 
"alwaysApproveCCProcessor" to "alwaysApproveWithCaptureCCProcessor".

However, now I hit the following error when the order is submitted:

2010-02-04 08:19:46,643 (http-0.0.0.0-8443-4) [ 
RequestHandler.java:412:ERROR] Request processpayment caused an error with the 
following message: Error in authOrderPayments service: 
org.ofbiz.service.GenericServiceException: Could not commit transaction for 
service [authOrderPayments] call: Roll back error, could not commit 
transaction, was rolled back instead because of: Service 
[createAcctgTransAndEntries] threw an unexpected 
exception/errororg.ofbiz.service.ServiceAuthException: Security Error: To run 
createAcctgTransAndEntries you must have the one of the following permissions: 
ACCTG_ATX_CREATE, ACCTG_ATX_ADMIN (Security Error: To run 
createAcctgTransAndEntries you must have the one of the following permissions: 
ACCTG_ATX_CREATE, ACCTG_ATX_ADMIN) (Could not commit transaction for service 
[authOrderPayments] call: Roll back error, could not commit transaction, was 
rolled back instead because of: Service [createAcctgTransAndEntries] threw an 
unexpected exception/errororg.ofbiz.service.ServiceAuthException: Security 
Error: To run createAcctgTransAndEntries you must have the one of the following 
permissions: ACCTG_ATX_CREATE, ACCTG_ATX_ADMIN (Security Error: To run 
createAcctgTransAndEntries you must have the one of the following permissions: 
ACCTG_ATX_CREATE, ACCTG_ATX_ADMIN))


I have 2 questions:

1) Is it reasonable to set up authorization + capture in this way?
2) If so, what is the proper way to fix the permissions issue - is it something along the 
lines of adding accounting permissions to the "system" party?


Thanks for your help!

regards,
-mike



  
  



  




debugging Groovy files in Eclipse

2010-02-10 Thread Mike Voytovich
Hi,

I'm trying to step through some OFBiz Groovy source files, and I'm unable to 
set breakpoints.  When I right click in the gutter, "(Groovy) Toggle 
Breakpoint" is an option, but it can never actually set a breakpoint.

I'm running Eclipse 3.5.1, and the Groovy-Eclipse plugin from Codehaus, version 
2.0.0.

I'm building from the command-line, and can connect to the OFBiz remote VM and 
step through Java source just fine.

Does anyone know of any tricks required to get Groovy debugging working with 
OFBiz?

Thanks in advance,
-mike



Re: credit card authorization + capture

2010-02-10 Thread Mike Voytovich
Thanks for the explanation Amit.

It seems like an anonymous checkout would not unusual for an ecommerce site; 
and, I would think that credit card authorize + capture is not an uncommon 
method when collecting payments from anonymous customers.  I understand that 
within OFBiz it's an accounting transaction; but, it seems like anonymous 
authorize + capture should be supported without having to comment out the 
accounting entries.

Thanks again for the advice though, I'll look into alternative methods for 
performing automated capture other than setting it up to be the default credit 
card payment method.

regards,
-mike


On Feb 5, 2010, at 9:11 PM, Amit Sharma wrote:

> Hello Mike,
> 
> In process of capture payment, OFBiz create accounting transaction 
> entries. If you really want to process capture payment you need to 
> comment out secas_ledger.xml and secas_olap.xml files in accounting 
> component so that user can process capture payment without accounting 
> entries.
> 
> Anonymous user can't do payment capture process along with authorization 
> of payment and also it should not happen because It means you are giving 
> the authority of accounting transaction to anonymous user, a part from 
> this anonymous user has not permission of accounting transaction. 
> Actually in the process of  payment  capture behind the seen you are 
> creating accounting transaction entries.
> 
> Thanks and Regards,
> 
> Amit Sharma
> 
> Mike Voytovich wrote:
>> My question is in regards to anonymous purchases on the eCommerce store 
>> (i.e., checkout without login). 
>> 
>> Regardless, it doesn't seem like one should need to change a user's security 
>> permissions to perform authorization+capture during checkout.  Furthermore, 
>> giving ACCTG_ATX_CREATE or ACCTG_ATX_ADMIN permissions to a user sounds like 
>> it could be a potential security issue?
>> 
>> thanks,
>> -mike
>> 
>> 
>> On Feb 4, 2010, at 10:14 AM, Patrick wrote:
>> 
>> 
>>> Security permissions are set in partymgr they are associated with the
>>> user login. Party manager is at  /partymgr/control/main
>>> 
>>> On Thu, Feb 4, 2010 at 11:26 AM, Mike Voytovich  
>>> wrote:
>>> 
 Hi,
 
 I wanted to test out Authorization and Capture using the OOTB demo 
 eCommerce site.  I went into: Catalog Manager => Stores => Payments, and 
 changed the Credit Card Payment Authorization Service from 
 "alwaysApproveCCProcessor" to "alwaysApproveWithCaptureCCProcessor".
 
 However, now I hit the following error when the order is submitted:
 
 2010-02-04 08:19:46,643 (http-0.0.0.0-8443-4) [ 
 RequestHandler.java:412:ERROR] Request processpayment caused an error with 
 the following message: Error in authOrderPayments service: 
 org.ofbiz.service.GenericServiceException: Could not commit transaction 
 for service [authOrderPayments] call: Roll back error, could not commit 
 transaction, was rolled back instead because of: Service 
 [createAcctgTransAndEntries] threw an unexpected 
 exception/errororg.ofbiz.service.ServiceAuthException: Security Error: To 
 run createAcctgTransAndEntries you must have the one of the following 
 permissions: ACCTG_ATX_CREATE, ACCTG_ATX_ADMIN (Security Error: To run 
 createAcctgTransAndEntries you must have the one of the following 
 permissions: ACCTG_ATX_CREATE, ACCTG_ATX_ADMIN) (Could not commit 
 transaction for service [authOrderPayments] call: Roll back error, could 
 not commit transaction, was rolled back instead because of: Service 
 [createAcctgTransAndEntries] threw an unexpected 
 exception/errororg.ofbiz.service.ServiceAuthException: Security Error: To 
 run createAcctgTransAndEntries you must have the one of the following 
 permissions: ACCTG_ATX_CREATE, ACCTG_ATX_ADMIN (Security Error: To run 
 createAcctgTransAndEntries you must have the one of the following 
 permissions: ACCTG_ATX_CREATE, ACCTG_ATX_ADMIN))
 
 
 I have 2 questions:
 
 1) Is it reasonable to set up authorization + capture in this way?
 2) If so, what is the proper way to fix the permissions issue - is it 
 something along the lines of adding accounting permissions to the "system" 
 party?
 
 
 Thanks for your help!
 
 regards,
 -mike
 
 
 
>> 
>> 
> 
> 



Re: Linking contact list to data source

2010-02-10 Thread Hans Bakker
Good point James, your suggestion is Committed revision 908342

regards,
Hans

-- 
Antwebsystems.com: Quality OFBiz services for competitive rates

On Tue, 2010-02-09 at 19:41 -0800, james_sg wrote:
> Hi Hans,
> 
> Thanks for the reply.
> 
> Since the functionality is not yet implemented in OFBiz, shouldn't it be
> make known in the help screen and also the OFBiz Official Documentation?
> 
> Regards,
> James
> 
> 
> Hans Bakker-2 wrote:
> > 
> > Hi James,
> > 
> > These descriptions we did as the result of a request from a customer.
> > 
> > The functionality you referring to is currently not yet contained in the
> > system. It is a kind of reporting mechanism to make a party selection
> > based on party information, data source and/or classification which
> > should result in a contact list.
> > 
> > Regards,
> > Hans
> > 
> > On Mon, 2010-02-08 at 19:35 -0800, james_sg wrote:
> >> Hi all,
> >> 
> >> I would like to have clarification on the following:
> >> 
> >> >From the Marketing help screen, it says:
> >> "A contact list can be created using the parties related to a dataSource
> >> or
> >> marketing segment
> >> classification and referring back to the marketing campaign"
> >> 
> >> It seems that when I create a contact list, there is no field to link to
> >> a
> >> data source or a segment.
> >> Neither does the marketing campaign has a field to link to datasource or
> >> segment.
> >> 
> >> Regards,
> >> James
> > -- 
> > Antwebsystems.com: Quality OFBiz services for competitive rates
> > 
> > 
> > 
> 
-- 
Antwebsystems.com: Quality OFBiz services for competitive rates