Re: How to cancel/void an order

2009-12-22 Thread Abdullah Shaikh
I haven't worked with authorize.net or pccharge, the explanation inline is
general.

- Abdullah

On Wed, Dec 23, 2009 at 9:48 AM, Mauricio Tavares wrote:

>This is an easy question but I am completely confused: how do I
> cancel/void and order? What I have noticed is that when you select an order
> in the order manager that might have already be validated (or not), and you
> have *not* captured it yet, it will show a [Cancel] button just before an
> [Authorize] and a [Capture]. That [Cancel] button seems to call
> document.CancelOrderPaymentPreference_10011.submit().
>

To cancel/void an order, you can use the [Cancel] button which gets
displayed just before an [Authorize] and a [Capture] button.


>
> Once the capture is done, the [Cancel] and the [Authorize] buttons are
> gone. Now, there is also a [Cancel Order] button on the top of the screen
> (close enough) at all times, which then calls document.OrderCancel.submit().
> Pressing either cancel buttons does not send a void (or any transaction for
> that matters) to the payment gateway; it is only removing the selected order
> from the list shown by the order manager. That does not make sense to me.
>

Yes, once the captute is done, the [Cancel] and the [Authorize] buttons
won't be displayed as the payment is already Captured and you can't
Cancel/Void or Authorize an already Captured payment.

The [Cancel Order] button, the one at the top, should actually Cancel the
order and also send a Refund request to the payment gateway, I guess [Cancel
Order] button is displayed only once the payment is captured.

It doesn't remove the order from the list, actually the list is filtered,
you can select the filter option to display Cancel order or All orders.


> So how will the customer get his/hers/its money back? I tested that with
> authorized.net and pccharge (using the patch created by Marco Risaliti)
> and they both behave the same way.
>

The customer should get back the money in 2 ways one is Cance/Void or if
already Captured, then through Refund, as explained above.

Hope this help.

- Abdullah


<@OfbizUrl> with jSessionId

2009-12-22 Thread Christopher Snow
Is it possible to remove the jSessionId parameter that is generated by 
<@ofbizUrl> ?


Many thanks in advance,

Chris


Re: is there: running the ofbiz website under ofbiz

2009-12-22 Thread David E Jones

That's a good point. The web site couldn't be hosted on the demo site because 
anyone has admin permission to that and could easily change the content on the 
web site.

If we had a protected instance we could go for it. It might even make sense if 
we moved the cwiki stuff to run on OFBiz too.

-David


On Dec 22, 2009, at 10:44 PM, Tim Ruppert wrote:

> Good with everything other than the redirect of ofbiz.apache.org to 
> demo.ofbiz.org/ofbiz .  Once we have all of this infra migrated, I'd probably 
> still have the website up as ofbiz.apache.org - even if we ended up doing 
> some apache rewriting to make it happen.  They can all be on the same 
> instance though - we'd just need to be careful to ensure that something that 
> happened with the demo data - didn't bullocks the website - that's a major 
> concern of mine - and probably enough of a reason to NOT load the demo data 
> into the same instance.
> 
> Big +1 on the OFBiz website running on the itself!
> 
> Cheers,
> Ruppert
> --
> Tim Ruppert
> HotWax Media
> http://www.hotwaxmedia.com
> 
> o:801.649.6594
> f:801.649.6595
> 
> On Dec 22, 2009, at 8:51 PM, Hans Bakker wrote:
> 
>> We have now committed an updated ofbiz website which runs under the
>> ofbiz system
>> 
>> This website can be normally updated using our own ofbiz svn, look in
>> the special purpose directory under the name 'ofbizwebsite' To provide
>> an example for other languages a dutch site is included.
>> 
>> so we could redirect http://ofbiz.apache.org to
>> http://demo.ofbiz.org/ofbiz 
>> 
>> and ofbiz is running its own website.
>> 
>> opinions?
>> 
>> -- 
>> Antwebsystems.com: Quality OFBiz services for competitive rates
>> 
> 



Re: is there: running the ofbiz website under ofbiz

2009-12-22 Thread Tim Ruppert
Good with everything other than the redirect of ofbiz.apache.org to 
demo.ofbiz.org/ofbiz .  Once we have all of this infra migrated, I'd probably 
still have the website up as ofbiz.apache.org - even if we ended up doing some 
apache rewriting to make it happen.  They can all be on the same instance 
though - we'd just need to be careful to ensure that something that happened 
with the demo data - didn't bullocks the website - that's a major concern of 
mine - and probably enough of a reason to NOT load the demo data into the same 
instance.

Big +1 on the OFBiz website running on the itself!

Cheers,
Ruppert
--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com

o:801.649.6594
f:801.649.6595

On Dec 22, 2009, at 8:51 PM, Hans Bakker wrote:

> We have now committed an updated ofbiz website which runs under the
> ofbiz system
> 
> This website can be normally updated using our own ofbiz svn, look in
> the special purpose directory under the name 'ofbizwebsite' To provide
> an example for other languages a dutch site is included.
> 
> so we could redirect http://ofbiz.apache.org to
> http://demo.ofbiz.org/ofbiz 
> 
> and ofbiz is running its own website.
> 
> opinions?
> 
> -- 
> Antwebsystems.com: Quality OFBiz services for competitive rates
> 



smime.p7s
Description: S/MIME cryptographic signature


How to cancel/void an order

2009-12-22 Thread Mauricio Tavares
	This is an easy question but I am completely confused: how do I 
cancel/void and order? What I have noticed is that when you select an 
order in the order manager that might have already be validated (or 
not), and you have *not* captured it yet, it will show a [Cancel] button 
just before an [Authorize] and a [Capture]. That [Cancel] button seems 
to call document.CancelOrderPaymentPreference_10011.submit().


Once the capture is done, the [Cancel] and the [Authorize] buttons are 
gone. Now, there is also a [Cancel Order] button on the top of the 
screen (close enough) at all times, which then calls 
document.OrderCancel.submit(). Pressing either cancel buttons does not 
send a void (or any transaction for that matters) to the payment 
gateway; it is only removing the selected order from the list shown by 
the order manager. That does not make sense to me.


So how will the customer get his/hers/its money back? I tested that with 
authorized.net and pccharge (using the patch created by Marco Risaliti) 
and they both behave the same way.


is there: running the ofbiz website under ofbiz

2009-12-22 Thread Hans Bakker
We have now committed an updated ofbiz website which runs under the
ofbiz system

This website can be normally updated using our own ofbiz svn, look in
the special purpose directory under the name 'ofbizwebsite' To provide
an example for other languages a dutch site is included.

so we could redirect http://ofbiz.apache.org to
http://demo.ofbiz.org/ofbiz 

and ofbiz is running its own website.

opinions?

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



Re: how to find the name of relation

2009-12-22 Thread BJ Freeman
https://localhost:8443/webtools/control/entitymaint
find your entity then click on reln(relationship)

x x sent the following on 12/22/2009 2:06 PM:
> hello 
> 
> i want to find related record by generic value object. How can i find the 
> name of the raltion  ?
> 
> 
>   
> 



Re: Service [aimCCAuth] target threw an unexpected exception (null)

2009-12-22 Thread BJ Freeman
usually a null indicates lack of data.
my guess is it has todo with authOrderPaymentPreference


Mauricio Tavares sent the following on 12/22/2009 12:35 PM:
> What is ofbiz trying to tell me when it sends out that error code?
> 
> 2009-12-22 15:27:08,738 (http-0.0.0.0-8443-5) [
> RequestHandler.java:629:INFO ] Ran Event
> [java:org.ofbiz.order.shoppingcart.CheckOutEvents#processPayment] from
> [request], result is [error]
> 2009-12-22 15:27:08,739 (http-0.0.0.0-8443-5) [
> 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:
> Error in Service [authOrderPaymentPreference]: Error processing
> payment authorization: org.ofbiz.base.util.GeneralException: Problems
> invoking payment processor! Will retry later. Order ID is: [WSCO10020
> (Service [aimCCAuth] target threw an unexpected exception (null))
> (Could not commit transaction for service [authOrderPayments] call:
> Roll back error, could not commit transaction, was rolled back instead
> because of: Error in Service [authOrderPaymentPreference]: Error
> processing payment authorization:
> org.ofbiz.base.util.GeneralException: Problems invoking payment
> processor! Will retry later. Order ID is: [WSCO10020 (Service
> [aimCCAuth] target threw an unexpected exception (null)))
> 



Re: how to find the name of relation

2009-12-22 Thread Cimballi
In the entity XML definition file. Most of the time it's the name of
the related entity, and when there is a title you have to concatenate
the title and the relation name, like MainProduct in ProductAssoc.

Cimballi


On Tue, Dec 22, 2009 at 5:06 PM, x x  wrote:
> hello
>
> i want to find related record by generic value object. How can i find the 
> name of the raltion  ?
>
>
>
>


how to find the name of relation

2009-12-22 Thread x x
hello 

i want to find related record by generic value object. How can i find the name 
of the raltion  ?


  


Re: Service [aimCCAuth] target threw an unexpected exception (null)

2009-12-22 Thread Vince Clark
There should be additional information regarding the source of the error higher 
up in the log file. Use View Log in webtools.

- Original Message -
From: "Mauricio Tavares" 
To: user@ofbiz.apache.org
Sent: Tuesday, December 22, 2009 1:35:19 PM GMT -07:00 US/Canada Mountain
Subject: Service [aimCCAuth] target threw an unexpected exception (null)

What is ofbiz trying to tell me when it sends out that error code?

2009-12-22 15:27:08,738 (http-0.0.0.0-8443-5) [
RequestHandler.java:629:INFO ] Ran Event
[java:org.ofbiz.order.shoppingcart.CheckOutEvents#processPayment] from
[request], result is [error]
2009-12-22 15:27:08,739 (http-0.0.0.0-8443-5) [
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:
Error in Service [authOrderPaymentPreference]: Error processing
payment authorization: org.ofbiz.base.util.GeneralException: Problems
invoking payment processor! Will retry later. Order ID is: [WSCO10020
(Service [aimCCAuth] target threw an unexpected exception (null))
(Could not commit transaction for service [authOrderPayments] call:
Roll back error, could not commit transaction, was rolled back instead
because of: Error in Service [authOrderPaymentPreference]: Error
processing payment authorization:
org.ofbiz.base.util.GeneralException: Problems invoking payment
processor! Will retry later. Order ID is: [WSCO10020 (Service
[aimCCAuth] target threw an unexpected exception (null)))


Service [aimCCAuth] target threw an unexpected exception (null)

2009-12-22 Thread Mauricio Tavares
What is ofbiz trying to tell me when it sends out that error code?

2009-12-22 15:27:08,738 (http-0.0.0.0-8443-5) [
RequestHandler.java:629:INFO ] Ran Event
[java:org.ofbiz.order.shoppingcart.CheckOutEvents#processPayment] from
[request], result is [error]
2009-12-22 15:27:08,739 (http-0.0.0.0-8443-5) [
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:
Error in Service [authOrderPaymentPreference]: Error processing
payment authorization: org.ofbiz.base.util.GeneralException: Problems
invoking payment processor! Will retry later. Order ID is: [WSCO10020
(Service [aimCCAuth] target threw an unexpected exception (null))
(Could not commit transaction for service [authOrderPayments] call:
Roll back error, could not commit transaction, was rolled back instead
because of: Error in Service [authOrderPaymentPreference]: Error
processing payment authorization:
org.ofbiz.base.util.GeneralException: Problems invoking payment
processor! Will retry later. Order ID is: [WSCO10020 (Service
[aimCCAuth] target threw an unexpected exception (null)))


Re: ofbiz committer mentoring/buddy scheme

2009-12-22 Thread BJ Freeman
yes it is in the
http://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Contributors+Best+Practices
you may want to expand on it so it is more clear.

Christopher Snow sent the following on 12/22/2009 7:28 AM:
> Has the ofbiz community ever considered a mentoring/buddy scheme?
> 
> The main objective would be guiding developers to become committers.
> 
> 



Re: Method to tie into the ofbiz shutdown process

2009-12-22 Thread Brett Palmer
David,

Thanks for the information.  A simple container would fit our needs.

Thanks,


Brett

On Tue, Dec 22, 2009 at 10:02 AM, David E Jones  wrote:

>
> Any container defined in the ofbiz-containers.xml file (or other containers
> file, depending on your configuration) can have a tear down method.
> Basically the containers are started up in the order they appear in the
> *containers.xml file, and then the tear down or cleanup is done in reverse
> order when the app server shuts down.
>
> There are many other ways to do this, but this is the lowest-level or most
> basic way.
>
> -David
>
>
> On Dec 22, 2009, at 10:12 AM, Brett Palmer wrote:
>
> > We need to perform a clean up operation for some custom caching we are
> doing
> > with our ofbiz servers.  Is there a convenient way to tie into the ofbiz
> > shutdown process for this type of cleanup?
> >
> > Another approach would be for us to write a custom servlet and implement
> the
> > "init" and "destroy" methods to seed the cache and then clean it up when
> the
> > server shuts down.  We would then include this servlet in the ofbiz
> web.xml
> > file.
> >
> > If there is an easier method to do this please share.
> >
> > Thanks,
> >
> >
> > Brett
>
>


Re: Method to tie into the ofbiz shutdown process

2009-12-22 Thread David E Jones

Any container defined in the ofbiz-containers.xml file (or other containers 
file, depending on your configuration) can have a tear down method. Basically 
the containers are started up in the order they appear in the *containers.xml 
file, and then the tear down or cleanup is done in reverse order when the app 
server shuts down.

There are many other ways to do this, but this is the lowest-level or most 
basic way.

-David


On Dec 22, 2009, at 10:12 AM, Brett Palmer wrote:

> We need to perform a clean up operation for some custom caching we are doing
> with our ofbiz servers.  Is there a convenient way to tie into the ofbiz
> shutdown process for this type of cleanup?
> 
> Another approach would be for us to write a custom servlet and implement the
> "init" and "destroy" methods to seed the cache and then clean it up when the
> server shuts down.  We would then include this servlet in the ofbiz web.xml
> file.
> 
> If there is an easier method to do this please share.
> 
> Thanks,
> 
> 
> Brett



Re: How to assign JobSandbox jobs to specific application server?

2009-12-22 Thread David E Jones

Yes, that's the general idea. In your example the worker1 thread-pool would be 
in the serviceengine.xml file on server 1, and the worker2 thread-pool would be 
there on server 2.

-David


On Dec 22, 2009, at 8:53 AM, Brett Palmer wrote:

> I discovered some posting on this subject where users were setting up
> different service "ThreadPools" to handle specific requests.  Is this still
> the preferred approach to assigning jobs to specific application servers?
> 
> For Example we could configure our service engine to have a worker1 pool for
> app server 1 and worker2 pool for app server 2:
> 
> 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">
>
>
> 
> 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">
>
>
> 
> 
> Brett
> 
> On Tue, Dec 22, 2009 at 7:30 AM, Brett Palmer wrote:
> 
>> We run multiple ofbiz application servers against the same ofbiz database.
>> We would like to have specific application servers execute scheduled batch
>> services through the JobSandbox.  For example, server 1 executes service 1,
>> server 2 executes service 2, etc.
>> 
>> The default behavior is that each application server polls the JobSandbox
>> for jobs that need to be serviced and the assignment of the job is
>> completely random.
>> 
>> Is there a way to assign jobs to servers and if so what is the recommended
>> approach?
>> 
>> 
>> Brett
>> 



Method to tie into the ofbiz shutdown process

2009-12-22 Thread Brett Palmer
We need to perform a clean up operation for some custom caching we are doing
with our ofbiz servers.  Is there a convenient way to tie into the ofbiz
shutdown process for this type of cleanup?

Another approach would be for us to write a custom servlet and implement the
"init" and "destroy" methods to seed the cache and then clean it up when the
server shuts down.  We would then include this servlet in the ofbiz web.xml
file.

If there is an easier method to do this please share.

Thanks,


Brett


Re: Entity names of 'Category' and 'From Date'

2009-12-22 Thread Cimballi
Not 100% sure, but I think it's ProductCategory and fromDate in
ProductCategoryMember.

Cimballi


On Tue, Dec 22, 2009 at 6:19 AM, Terence Ng  wrote:
>
> Hi,
>
> What are the Entity Names of 'Category' and 'From Date' in Catalog Manager >
> Categories?
>
> Regards,
> Terence
> --
> View this message in context: 
> http://n4.nabble.com/Entity-names-of-Category-and-From-Date-tp976886p976886.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


ofbiz committer mentoring/buddy scheme

2009-12-22 Thread Christopher Snow

Has the ofbiz community ever considered a mentoring/buddy scheme?

The main objective would be guiding developers to become committers.



Re: How to assign JobSandbox jobs to specific application server?

2009-12-22 Thread Brett Palmer
I discovered some posting on this subject where users were setting up
different service "ThreadPools" to handle specific requests.  Is this still
the preferred approach to assigning jobs to specific application servers?

For Example we could configure our service engine to have a worker1 pool for
app server 1 and worker2 pool for app server 2:










Brett

On Tue, Dec 22, 2009 at 7:30 AM, Brett Palmer wrote:

> We run multiple ofbiz application servers against the same ofbiz database.
>  We would like to have specific application servers execute scheduled batch
> services through the JobSandbox.  For example, server 1 executes service 1,
> server 2 executes service 2, etc.
>
> The default behavior is that each application server polls the JobSandbox
> for jobs that need to be serviced and the assignment of the job is
> completely random.
>
> Is there a way to assign jobs to servers and if so what is the recommended
> approach?
>
>
> Brett
>


How to assign JobSandbox jobs to specific application server?

2009-12-22 Thread Brett Palmer
We run multiple ofbiz application servers against the same ofbiz database.
 We would like to have specific application servers execute scheduled batch
services through the JobSandbox.  For example, server 1 executes service 1,
server 2 executes service 2, etc.

The default behavior is that each application server polls the JobSandbox
for jobs that need to be serviced and the assignment of the job is
completely random.

Is there a way to assign jobs to servers and if so what is the recommended
approach?


Brett


Fw: How can we get OFBiz specific changes in email [was: Fwd: [CONF] Confluence Changes in the last 24 hours]

2009-12-22 Thread Jacques Le Roux

Forwarded,

This was intended to user ML

Jacques

From: "Jacques Le Roux" 

Hi Ashish,

Another mean to have an history of recent changes is to use the My dashboard.
http://cwiki.apache.org/confluence/dashboard.action?spacesSelectedTab=my
There you see the last changes and can choice to see more of less of them using 
the + and - button

HTH

Jacques

From: "Ashish Vijaywargiya" 

Thanks Jacques!

--
Ashish

On Mon, Dec 21, 2009 at 4:34 PM, Jacques Le Roux
 wrote:


Ashish,

Yes, simply check "Space Watches" in Watches, they should be there. You get the notifications in "'real time" not as summaries 
every days, supportable so far.


Jacques

- Original Message -
From: Ashish Vijaywargiya
To: user@ofbiz.apache.org ; Jacques Le Roux
Sent: Monday, December 21, 2009 10:51 AM
Subject: Re: How can we get OFBiz specific changes in email [was: Fwd: [CONF] 
Confluence Changes in the last 24 hours]
Hello Jacques,

I hope you are doing good.
Thanks for your comment on this. It makes perfect sense.

One quick question: From the link shown below if I add root link of OFBiz space in my favorite list then should I get 
notification of the changes that are being done on the child page of those main links.


http://cwiki.apache.org/confluence/dashboard.action

Additional details on my above comment:

I have selected few of the links and made them my favorite one & those links 
are:

-- http://cwiki.apache.org/confluence/display/OFBIZ
-- http://cwiki.apache.org/confluence/display/OFBENDUSER
-- http://cwiki.apache.org/confluence/display/OFBADMIN
-- http://cwiki.apache.org/confluence/display/OFBREQDES
-- http://cwiki.apache.org/confluence/display/OFBTECH

Should I get any changes done in the child page of above links in the email 
notification?
I guess your answer would be "YES" but I would like to confirm this from you.

--
Ashish





On Mon, Dec 21, 2009 at 3:02 PM, Jacques Le Roux  
wrote:


Hi Ashish,

Last sentence at 
http://cwiki.apache.org/confluence/display/OFBADMIN/Mailing+Lists
Also remove Subscribe to daily updates at http://cwiki.apache.org/confluence/users/editemailpreferences.action 
(Preferences/Watches "email preferences" link)


HTH

Jacques

From: "Ashish Vijaywargiya" 


Any idea for getting only OFBiz specific changes in Confluence email
notification?

--
Ashish

-- Forwarded message --
From: 
Date: Mon, Dec 21, 2009 at 5:31 AM
Subject: [CONF] Confluence Changes in the last 24 hours
To: vijaywargiya.ash...@gmail.com


Apache ActiveMQ CPP 
Pages
Index 
edited by Timothy
Bish  [12:58 PM] (view
changes)











Entity names of 'Category' and 'From Date'

2009-12-22 Thread Terence Ng

Hi,

What are the Entity Names of 'Category' and 'From Date' in Catalog Manager >
Categories?

Regards,
Terence
-- 
View this message in context: 
http://n4.nabble.com/Entity-names-of-Category-and-From-Date-tp976886p976886.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


job_sandbox information and configuration !

2009-12-22 Thread Prashant Punekar
Hi,

Where can I find some information on the job_sandbox configurations and details?
I guess when we call a service asynchronously it first store the service 
details into sandbox so that on failure it keeps trying again.

So where I find this configuration of retry , and after what time should it 
retry?

Regards,
Prashant



http://www.mindtree.com/email/disclaimer.html