New to Ofbiz and Ofbiz POS

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
86 messages Options
12345
Reply | Threaded
Open this post in threaded view
|

Re: New to Ofbiz and Ofbiz POS

monica ford
But Web POS is still not in list
Reply | Threaded
Open this post in threaded view
|

Re: New to Ofbiz and Ofbiz POS

monica ford
In reply to this post by monica ford
Hi Jacques

Below is details of my terminal. For Problem with order change; see error logs

Regards

java.lang.Exception: Tx Stack Placeholder
org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(Transactio
nUtil.java:736)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:172)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:307)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
org.ofbiz.order.order.OrderChangeHelper.createReceivedPayments(OrderChangeHelper
.java:269)
org.ofbiz.order.order.OrderChangeHelper.completeOrder(OrderChangeHelper.java:116
)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1
154)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:9
17)
org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:870)
org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:371)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:209)
org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:
106)
org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:119)
net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------------------------


2014-02-25 11:02:42,279 (Thread-28) [  ServiceDispatcher.java:525:ERROR] Error i
n Service [createOrderPaymentApplication]: Error trying to begin transaction, co
uld not process method: The current transaction is marked for rollback, not begi
nning a new transaction and aborting current operation; the rollbackOnly was cau
sed by: Error in simple-method [Convert UOM values [file:/C:/ofbiz12/framework/c
ommon/script/org/ofbiz/common/CommonServices.xml#convertUom]]: ; {UOM Conversion
 Relationship Not Found}
2014-02-25 11:02:42,279 (Thread-28) [    TransactionUtil.java:384:INFO ] [Transa
ctionUtil.setRollbackOnly] transaction rollback only not set, rollback only is a
lready set.
2014-02-25 11:02:42,279 (Thread-28) [  ServiceDispatcher.java:585:INFO ] Slow sy
nc service execution detected: service [POSDispatcher/createOrderPaymentApplicat
ion] finished in [66] milliseconds
2014-02-25 11:02:42,282 (Thread-28) [    TransactionUtil.java:288:ERROR]
---- exception report ----------------------------------------------------------

Rollback Only was set when trying to commit transaction here; throwing rollbackO
nly cause exception
Exception: javax.transaction.RollbackException
Message: Unable to commit: transaction marked for rollback
---- cause ---------------------------------------------------------------------

Exception: org.apache.geronimo.transaction.manager.SetRollbackOnlyException
Message: setRollbackOnly() called.  See stacktrace for origin
---- stack trace ---------------------------------------------------------------

org.apache.geronimo.transaction.manager.SetRollbackOnlyException: setRollbackOnl
y() called.  See stacktrace for origin
org.apache.geronimo.transaction.manager.TransactionImpl.setRollbackOnly(Transact
ionImpl.java:126)
org.apache.geronimo.transaction.manager.TransactionManagerImpl.setRollbackOnly(T
ransactionManagerImpl.java:243)
org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.jav
a:381)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:320)
org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:582)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:275)
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:294)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:7
9)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:390)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:177)
org.ofbiz.minilang.method.callops.CallService.exec(CallService.java:218)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311)
org.ofbiz.minilang.method.conditional.CompareFieldCondition.exec(CompareFieldCon
dition.java:137)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311)
org.ofbiz.minilang.method.ifops.IfNotEmpty.exec(IfNotEmpty.java:61)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311)
org.ofbiz.minilang.method.conditional.EmptyCondition.exec(EmptyCondition.java:80
)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311)
org.ofbiz.minilang.method.conditional.EmptyCondition.exec(EmptyCondition.java:84
)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311)
org.ofbiz.minilang.method.conditional.EmptyCondition.exec(EmptyCondition.java:84
)
org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:117)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311)
org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:458)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:275)
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:294)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:7
9)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:390)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:177)
org.ofbiz.minilang.method.callops.CallService.exec(CallService.java:218)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311)
org.ofbiz.minilang.method.conditional.CompareCondition.exec(CompareCondition.jav
a:127)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311)
org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:458)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:275)
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:294)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:7
9)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:390)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:138)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:159)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:188)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:487)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
org.ofbiz.order.order.OrderServices.createPaymentFromPreference(OrderServices.ja
va:4513)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.ja
va:100)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:390)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
org.ofbiz.order.order.OrderChangeHelper.createReceivedPayments(OrderChangeHelper
.java:269)
org.ofbiz.order.order.OrderChangeHelper.completeOrder(OrderChangeHelper.java:116
)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1
154)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:9
17)
org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:870)
org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:371)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:209)
org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:
106)
org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:119)
net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------------------------


2014-02-25 11:02:42,283 (Thread-28) [  ServiceDispatcher.java:540:ERROR]
---- exception report ----------------------------------------------------------

Could not commit transaction for service [createPaymentFromPreference] call
Exception: org.ofbiz.entity.transaction.GenericTransactionException
Message: Roll back error, could not commit transaction, was rolled back instead
because of: Error in simple-method [Convert UOM values [file:/C:/ofbiz12/framewo
rk/common/script/org/ofbiz/common/CommonServices.xml#convertUom]]: ; {UOM Conver
sion Relationship Not Found}
---- stack trace ---------------------------------------------------------------

org.ofbiz.entity.transaction.GenericTransactionException: Roll back error, could
 not commit transaction, was rolled back instead because of: Error in simple-met
hod [Convert UOM values [file:/C:/ofbiz12/framework/common/script/org/ofbiz/comm
on/CommonServices.xml#convertUom]]: ; {UOM Conversion Relationship Not Found}
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:289)
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:253)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:536)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
org.ofbiz.order.order.OrderChangeHelper.createReceivedPayments(OrderChangeHelper
.java:269)
org.ofbiz.order.order.OrderChangeHelper.completeOrder(OrderChangeHelper.java:116
)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1
154)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:9
17)
org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:870)
org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:371)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:209)
org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:
106)
org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:119)
net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------------------------


2014-02-25 11:02:42,283 (Thread-28) [  OrderChangeHelper.java:123:ERROR]
---- exception report ----------------------------------------------------------

Exception: org.ofbiz.service.GenericServiceException
Message: Could not commit transaction for service [createPaymentFromPreference]
call: Roll back error, could not commit transaction, was rolled back instead bec
ause of: Error in simple-method [Convert UOM values [file:/C:/ofbiz12/framework/
common/script/org/ofbiz/common/CommonServices.xml#convertUom]]: ; {UOM Conversio
n Relationship Not Found}
---- stack trace ---------------------------------------------------------------

org.ofbiz.service.GenericServiceException: Could not commit transaction for serv
ice [createPaymentFromPreference] call: Roll back error, could not commit transa
ction, was rolled back instead because of: Error in simple-method [Convert UOM v
alues [file:/C:/ofbiz12/framework/common/script/org/ofbiz/common/CommonServices.
xml#convertUom]]: ; {UOM Conversion Relationship Not Found}
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:544)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
org.ofbiz.order.order.OrderChangeHelper.createReceivedPayments(OrderChangeHelper
.java:269)
org.ofbiz.order.order.OrderChangeHelper.completeOrder(OrderChangeHelper.java:116
)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1
154)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:9
17)
org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:870)
org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:371)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:209)
org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:
106)
org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:119)
net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------------------------


2014-02-25 11:02:42,283 (Thread-28) [     PosTransaction.java:872:ERROR]
---- exception report ----------------------------------------------------------

Exception: org.ofbiz.base.util.GeneralException
Message: Problem with order change; see error logs
---- stack trace ---------------------------------------------------------------

org.ofbiz.base.util.GeneralException: Problem with order change; see error logs
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1
157)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:9
17)
org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:870)
org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:371)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:209)
org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:
106)
org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:119)
net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------------------------


2014-02-25 11:02:42,284 (Thread-28) [      PaymentEvents.java:374:ERROR]
---- exception report ----------------------------------------------------------

Problem with order change; see error logs
Exception: org.ofbiz.base.util.GeneralException
Message: Problem with order change; see error logs
---- stack trace ---------------------------------------------------------------

org.ofbiz.base.util.GeneralException: Problem with order change; see error logs
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1
157)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:9
17)
org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:870)
org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:371)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:209)
org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:
106)
org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:119)
net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------------------------


2014-02-25 11:02:45,885 (AWT-EventQueue-0) [          PosScreen.java:363:INFO ]
Dialog closed; refreshing screen
2014-02-25 11:02:45,892 (AWT-EventQueue-0) [  Log4jLoggerWriter.java:68 :INFO ]
[POS @ pos-1 TX:10010-110150] - is Aggregated Item(6018494)
Reply | Threaded
Open this post in threaded view
|

Re: New to Ofbiz and Ofbiz POS

monica ford
why i am getting 'order change' error
Reply | Threaded
Open this post in threaded view
|

Re: New to Ofbiz and Ofbiz POS

Jacques Le Roux
Administrator
In reply to this post by monica ford
Monica,

Here is your error:

the rollbackOnly was caused by: Error in simple-method [Convert UOM values
[file:/C:/ofbiz12/framework/common/script/org/ofbiz/common/CommonServices.xml#convertUom]]: ; {UOM Conversion Relationship Not Found}


Looking in your log, from

org.ofbiz.base.util.GeneralException: Problem with order change; see error logs
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1157)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:917)
org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:870)

and this code

public Map<String, Object> processPayment(GenericValue productStore, GenericValue userLogin) throws GeneralException {
     return CheckOutHelper.processPayment(this.cart.getOrderId(), this.cart.getGrandTotal(), this.cart.getCurrency(), productStore, userLogin, false, false, dispatcher, delegator);
}

I think it could be related to the currency you are using and would not be the same than in the Store, just a bet...

HTH

Jacques


Le 25/02/2014 19:05, monica ford a écrit :

> Hi Jacques
>
> Below is details of my terminal. For Problem with order change; see error
> logs
>
> Regards
>
> java.lang.Exception: Tx Stack Placeholder
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(Transactio
> nUtil.java:736)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:172)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:307)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
> org.ofbiz.order.order.OrderChangeHelper.createReceivedPayments(OrderChangeHelper
> .java:269)
> org.ofbiz.order.order.OrderChangeHelper.completeOrder(OrderChangeHelper.java:116
> )
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1
> 154)
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:9
> 17)
> org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:870)
> org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:371)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown Source)
> org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:209)
> org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:
> 106)
> org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:119)
> net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
> java.lang.Thread.run(Unknown Source)
> --------------------------------------------------------------------------------
>
>
> 2014-02-25 11:02:42,279 (Thread-28) [  ServiceDispatcher.java:525:ERROR]
> Error i
> n Service [createOrderPaymentApplication]: Error trying to begin
> transaction, co
> uld not process method: The current transaction is marked for rollback, not
> begi
> nning a new transaction and aborting current operation; the rollbackOnly was
> cau
> sed by: Error in simple-method [Convert UOM values
> [file:/C:/ofbiz12/framework/c
> ommon/script/org/ofbiz/common/CommonServices.xml#convertUom]]: ; {UOM
> Conversion
>   Relationship Not Found}
> 2014-02-25 11:02:42,279 (Thread-28) [    TransactionUtil.java:384:INFO ]
> [Transa
> ctionUtil.setRollbackOnly] transaction rollback only not set, rollback only
> is a
> lready set.
> 2014-02-25 11:02:42,279 (Thread-28) [  ServiceDispatcher.java:585:INFO ]
> Slow sy
> nc service execution detected: service
> [POSDispatcher/createOrderPaymentApplicat
> ion] finished in [66] milliseconds
> 2014-02-25 11:02:42,282 (Thread-28) [    TransactionUtil.java:288:ERROR]
> ---- exception report
> ----------------------------------------------------------
>
> Rollback Only was set when trying to commit transaction here; throwing
> rollbackO
> nly cause exception
> Exception: javax.transaction.RollbackException
> Message: Unable to commit: transaction marked for rollback
> ---- cause
> ---------------------------------------------------------------------
>
> Exception: org.apache.geronimo.transaction.manager.SetRollbackOnlyException
> Message: setRollbackOnly() called.  See stacktrace for origin
> ---- stack trace
> ---------------------------------------------------------------
>
> org.apache.geronimo.transaction.manager.SetRollbackOnlyException:
> setRollbackOnl
> y() called.  See stacktrace for origin
> org.apache.geronimo.transaction.manager.TransactionImpl.setRollbackOnly(Transact
> ionImpl.java:126)
> org.apache.geronimo.transaction.manager.TransactionManagerImpl.setRollbackOnly(T
> ransactionManagerImpl.java:243)
> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.jav
> a:381)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:320)
> org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:582)
> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:275)
> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:294)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:7
> 9)
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:390)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:177)
> org.ofbiz.minilang.method.callops.CallService.exec(CallService.java:218)
> org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311)
> org.ofbiz.minilang.method.conditional.CompareFieldCondition.exec(CompareFieldCon
> dition.java:137)
> org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311)
> org.ofbiz.minilang.method.ifops.IfNotEmpty.exec(IfNotEmpty.java:61)
> org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311)
> org.ofbiz.minilang.method.conditional.EmptyCondition.exec(EmptyCondition.java:80
> )
> org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311)
> org.ofbiz.minilang.method.conditional.EmptyCondition.exec(EmptyCondition.java:84
> )
> org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311)
> org.ofbiz.minilang.method.conditional.EmptyCondition.exec(EmptyCondition.java:84
> )
> org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:117)
> org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311)
> org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:458)
> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:275)
> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:294)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:7
> 9)
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:390)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:177)
> org.ofbiz.minilang.method.callops.CallService.exec(CallService.java:218)
> org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311)
> org.ofbiz.minilang.method.conditional.CompareCondition.exec(CompareCondition.jav
> a:127)
> org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311)
> org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:458)
> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:275)
> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:294)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:7
> 9)
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:390)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:138)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:159)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:188)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:487)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
> org.ofbiz.order.order.OrderServices.createPaymentFromPreference(OrderServices.ja
> va:4513)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown Source)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.ja
> va:100)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:390)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
> org.ofbiz.order.order.OrderChangeHelper.createReceivedPayments(OrderChangeHelper
> .java:269)
> org.ofbiz.order.order.OrderChangeHelper.completeOrder(OrderChangeHelper.java:116
> )
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1
> 154)
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:9
> 17)
> org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:870)
> org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:371)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown Source)
> org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:209)
> org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:
> 106)
> org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:119)
> net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
> java.lang.Thread.run(Unknown Source)
> --------------------------------------------------------------------------------
>
>
> 2014-02-25 11:02:42,283 (Thread-28) [  ServiceDispatcher.java:540:ERROR]
> ---- exception report
> ----------------------------------------------------------
>
> Could not commit transaction for service [createPaymentFromPreference] call
> Exception: org.ofbiz.entity.transaction.GenericTransactionException
> Message: Roll back error, could not commit transaction, was rolled back
> instead
> because of: Error in simple-method [Convert UOM values
> [file:/C:/ofbiz12/framewo
> rk/common/script/org/ofbiz/common/CommonServices.xml#convertUom]]: ; {UOM
> Conver
> sion Relationship Not Found}
> ---- stack trace
> ---------------------------------------------------------------
>
> org.ofbiz.entity.transaction.GenericTransactionException: Roll back error,
> could
>   not commit transaction, was rolled back instead because of: Error in
> simple-met
> hod [Convert UOM values
> [file:/C:/ofbiz12/framework/common/script/org/ofbiz/comm
> on/CommonServices.xml#convertUom]]: ; {UOM Conversion Relationship Not
> Found}
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:289)
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:253)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:536)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
> org.ofbiz.order.order.OrderChangeHelper.createReceivedPayments(OrderChangeHelper
> .java:269)
> org.ofbiz.order.order.OrderChangeHelper.completeOrder(OrderChangeHelper.java:116
> )
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1
> 154)
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:9
> 17)
> org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:870)
> org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:371)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown Source)
> org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:209)
> org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:
> 106)
> org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:119)
> net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
> java.lang.Thread.run(Unknown Source)
> --------------------------------------------------------------------------------
>
>
> 2014-02-25 11:02:42,283 (Thread-28) [  OrderChangeHelper.java:123:ERROR]
> ---- exception report
> ----------------------------------------------------------
>
> Exception: org.ofbiz.service.GenericServiceException
> Message: Could not commit transaction for service
> [createPaymentFromPreference]
> call: Roll back error, could not commit transaction, was rolled back instead
> bec
> ause of: Error in simple-method [Convert UOM values
> [file:/C:/ofbiz12/framework/
> common/script/org/ofbiz/common/CommonServices.xml#convertUom]]: ; {UOM
> Conversio
> n Relationship Not Found}
> ---- stack trace
> ---------------------------------------------------------------
>
> org.ofbiz.service.GenericServiceException: Could not commit transaction for
> serv
> ice [createPaymentFromPreference] call: Roll back error, could not commit
> transa
> ction, was rolled back instead because of: Error in simple-method [Convert
> UOM v
> alues
> [file:/C:/ofbiz12/framework/common/script/org/ofbiz/common/CommonServices.
> xml#convertUom]]: ; {UOM Conversion Relationship Not Found}
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:544)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
> org.ofbiz.order.order.OrderChangeHelper.createReceivedPayments(OrderChangeHelper
> .java:269)
> org.ofbiz.order.order.OrderChangeHelper.completeOrder(OrderChangeHelper.java:116
> )
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1
> 154)
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:9
> 17)
> org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:870)
> org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:371)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown Source)
> org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:209)
> org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:
> 106)
> org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:119)
> net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
> java.lang.Thread.run(Unknown Source)
> --------------------------------------------------------------------------------
>
>
> 2014-02-25 11:02:42,283 (Thread-28) [     PosTransaction.java:872:ERROR]
> ---- exception report
> ----------------------------------------------------------
>
> Exception: org.ofbiz.base.util.GeneralException
> Message: Problem with order change; see error logs
> ---- stack trace
> ---------------------------------------------------------------
>
> org.ofbiz.base.util.GeneralException: Problem with order change; see error
> logs
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1
> 157)
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:9
> 17)
> org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:870)
> org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:371)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown Source)
> org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:209)
> org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:
> 106)
> org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:119)
> net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
> java.lang.Thread.run(Unknown Source)
> --------------------------------------------------------------------------------
>
>
> 2014-02-25 11:02:42,284 (Thread-28) [      PaymentEvents.java:374:ERROR]
> ---- exception report
> ----------------------------------------------------------
>
> Problem with order change; see error logs
> Exception: org.ofbiz.base.util.GeneralException
> Message: Problem with order change; see error logs
> ---- stack trace
> ---------------------------------------------------------------
>
> org.ofbiz.base.util.GeneralException: Problem with order change; see error
> logs
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1
> 157)
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:9
> 17)
> org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:870)
> org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:371)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown Source)
> org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:209)
> org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:
> 106)
> org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:119)
> net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
> java.lang.Thread.run(Unknown Source)
> --------------------------------------------------------------------------------
>
>
> 2014-02-25 11:02:45,885 (AWT-EventQueue-0) [
> PosScreen.java:363:INFO ]
> Dialog closed; refreshing screen
> 2014-02-25 11:02:45,892 (AWT-EventQueue-0) [  Log4jLoggerWriter.java:68
> :INFO ]
> [POS @ pos-1 TX:10010-110150] - is Aggregated Item(6018494)
>
>
>
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/New-to-Ofbiz-and-Ofbiz-POS-tp4647653p4648554.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: New to Ofbiz and Ofbiz POS

monica ford
I checked lots of things. But no luck.
Reply | Threaded
Open this post in threaded view
|

Re: New to Ofbiz and Ofbiz POS

monica ford
I checked lots of things. But no luck.



--
View this message in context: http://ofbiz.135035.n4.nabble.com/New-to-Ofbiz-and-Ofbiz-POS-tp4647653p4648587.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: New to Ofbiz and Ofbiz POS

monica ford
Hi,
I tried Ofbiz POS with demo data, I used USD currency. It Worked.
So seems problem raised if we change Default Currency.
seems no clear solution for this. "Problem with order change"

Also if POS is working with default currency, complete transaction. but not able to print receipt on my printers, I found some help for Epson TM88III, which is no longer in market i believe.
I have Samsung Bixolon SRP-350 and generic one.

Regards
M Ford
Reply | Threaded
Open this post in threaded view
|

Re: New to Ofbiz and Ofbiz POS

Jacques Le Roux
Administrator

Le 28/02/2014 02:49, monica ford a écrit :
> Hi,
> I tried Ofbiz POS with demo data, I used USD currency. It Worked.
> So seems problem raised if we change Default Currency.
> seems no clear solution for this. "Problem with order change"

Which currency did you use?
>
> Also if POS is working with default currency, complete transaction. but not
> able to print receipt on my printers, I found some help for Epson TM88III,
> which is no longer in market i believe.
> I have Samsung Bixolon SRP-350 and generic one.

I have only worked with Epson's and nobody contributed anything else yet.
You will have to got the same way I did with them. Javapos printers are very specific. If it's an USB printer you may follow
https://cwiki.apache.org/confluence/display/OFBIZ/JavaPOS+USB+For+EPSON+TM-U220D+Printer+Device+Service

Jacques

>
> Regards
> M Ford
>
>
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/New-to-Ofbiz-and-Ofbiz-POS-tp4647653p4648626.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: New to Ofbiz and Ofbiz POS

monica ford
To Canadian CAD
Reply | Threaded
Open this post in threaded view
|

Re: New to Ofbiz and Ofbiz POS

Jacques Le Roux
Administrator
Did you set you store to use Canadian dollar (Default Currency Uom Id)?
Are you products prices in Canadian dollar?

Jacques

Le 28/02/2014 21:18, monica ford a écrit :
> To Canadian CAD
>
>
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/New-to-Ofbiz-and-Ofbiz-POS-tp4647653p4648644.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: New to Ofbiz and Ofbiz POS

monica ford
Is this a Currency field in Initial setup for Organization.
Reply | Threaded
Open this post in threaded view
|

Re: New to Ofbiz and Ofbiz POS

monica ford
Also for SRP-350 Printer.

POS not loading with below changes.

i try to add in jpos.xml. Also i am adding line to pos-containers.xml  
<property name="Receipt" value="BIXOLON SRP-350"/>

to jpos.xml

<JposEntry logicalName="BIXOLON SRP-350">
        <creation factoryClass="com.bixolon.jpos.services.create.BixolonJposServiceInstanceFactory" serviceClass="com.bixolon.jpos.services.printers.BIXOLONPrinterService"/>
        <vendor name="BIXOLON" url="http://www.bixolon.com"/>
        <jpos category="POSPrinter" version="1.12"/>
        <product description="BIXOLON Standard Printer Device Service" name="BIXOLON Service for JavaPOS(TM) Standard" url="http://www.bixolon.com"/>

       
        <prop name="MapMode" type="String" value="1"/>
        <prop name="CoverOpen" type="String" value="false"/>
        <prop name="CapRecEmptySensor" type="String" value="true"/>
        <prop name="FontTypefaceList" type="String" value="FontA,FontB"/>
        <prop name="DeviceServiceVersion" type="String" value="1013000"/>
        <prop name="RecBarCodeRotationList" type="String" value="0,180"/>
        <prop name="CapRecPageMode" type="String" value="true"/>
        <prop name="PNP_NAME" type="String" value="SAMSUNG SRP-350"/>
        <prop name="OutputID" type="String" value="0"/>
        <prop name="NAME" type="String" value="BIXOLON SRP-350"/>
        <prop name="RecLineHeight" type="String" value="24"/>
        <prop name="ErrorStation" type="String" value="2"/>
        <prop name="PageModePrintDirection" type="String" value="1"/>
        <prop name="RecBitmapRotationList" type="String" value="0,180"/>
        <prop name="CapRecDwide" type="String" value="true"/>
        <prop name="ServiceDescription" type="String" value="SRP-350 Printer UnifiedPOS Compatible Service Driver, (C) 2006-2012 BIXOLON"/>
        <prop name="CapCharacterSet" type="String" value="998"/>
        <prop name="PageModeArea" type="String" value="512,1662"/>
        <prop name="CapRecColor" type="String" value="1"/>
        <prop name="PageModeVerticalPosition" type="String" value="0"/>
        <prop name="CapRecMarkFeed" type="String" value="0"/>
        <prop name="CartridgeNotify" type="String" value="0"/>
        <prop name="PhysicalDeviceDescription" type="String" value="BIXOLON SRP-350 Thermal Printer"/>
        <prop name="CapRecBitmap" type="String" value="true"/>
        <prop name="CapRecDhigh" type="String" value="true"/>
        <prop name="RecLetterQuality" type="String" value="false"/>
        <prop name="MapCharacterSet" type="String" value="true"/>
        <prop name="CheckHealthText" type="String" value=""/>
        <prop name="CapTransaction" type="String" value="true"/>
        <prop name="CapRecBarCode" type="String" value="true"/>
        <prop name="RecLineWidth" type="String" value="512"/>
        <prop name="DownloadableBitmapSize" type="String" value="12288"/>
        <prop name="CapStatisticsReporting" type="String" value="false"/>
        <prop name="RecLineSpacing" type="String" value="30"/>
        <prop name="CapConcurrentJrnSlp" type="String" value="false"/>
        <prop name="CapRec2Color" type="String" value="false"/>
        <prop name="PageModeDescriptor" type="String" value="16"/>
        <prop name="RecLineChars" type="String" value="42"/>
        <prop name="PageModeHorizontalPosition" type="String" value="0"/>
        <prop name="RecSidewaysMaxChars" type="String" value="0"/>
        <prop name="PowerState" type="String" value="2000"/>
        <prop name="CapRecItalic" type="String" value="false"/>
        <prop name="RecEmpty" type="String" value="false"/>
        <prop name="deviceBus" type="String" value="USB"/>
        <prop name="RecCurrentCartridge" type="String" value="0"/>
        <prop name="CharacterSetList" type="String" value="437,1,850,860,863,865,858,255"/>
        <prop name="RecSidewaysMaxLines" type="String" value="0"/>
        <prop name="CapCompareFirmwareVersion" type="String" value="false"/>
        <prop name="CapRecCartridgeSensor" type="String" value="0"/>
        <prop name="TransactionControl" type="String" value="12"/>
        <prop name="CapUpdateStatistics" type="String" value="false"/>
        <prop name="MaxBitmapNumber" type="String" value="20"/>
        <prop name="FreezeEvents" type="String" value="false"/>
        <prop name="PageModeStation" type="String" value="0"/>
        <prop name="RotateSpecial" type="String" value="1"/>
        <prop name="FlagWhenIdle" type="String" value="false"/>
        <prop name="PowerNotify" type="String" value="1"/>
        <prop name="DeviceEnabled" type="String" value="false"/>
        <prop name="CapRecDwideDhigh" type="String" value="true"/>
        <prop name="CapConcurrentJrnRec" type="String" value="false"/>
        <prop name="PrinterType" type="String" value="2"/>
        <prop name="vid" type="String" value="vid_0419"/>
        <prop name="AutoDisable" type="String" value="false"/>
        <prop name="PagemodeControl" type="String" value="3"/>
        <prop name="DataCount" type="String" value="0"/>
        <prop name="CapPowerReporting" type="String" value="1"/>
        <prop name="TransactionErrorResponse" type="String" value="11"/>
        <prop name="AsyncMode" type="String" value="false"/>
        <prop name="linkedPrinter" type="String" value="15"/>
        <prop name="ErrorLevel" type="String" value="1"/>
        <prop name="RecCartridgeState" type="String" value="0"/>
        <prop name="ErrorString" type="String" value=""/>
        <prop name="DataEventEnabled" type="String" value="false"/>
        <prop name="CapRecRotate180" type="String" value="true"/>
        <prop name="CapMapCharacterSet" type="String" value="true"/>
        <prop name="RecLinesToPaperCut" type="String" value="5"/>
        <prop name="CapRecBold" type="String" value="true"/>
        <prop name="CapRecLeft90" type="String" value="false"/>
        <prop name="PageModePrintArea" type="String" value="0,0,0,0"/>
        <prop name="CharacterSet" type="String" value="437"/>
        <prop name="ControlDescription" type="String" value="POS Printer UnifiedPOS Compatible Control, (C) 2006-2012 BIXOLON"/>
        <prop name="CapCoverSensor" type="String" value="true"/>
        <prop name="CapRecPresent" type="String" value="true"/>
        <prop name="CapRecNearEndSensor" type="String" value="true"/>
        <prop name="RecNearEnd" type="String" value="false"/>
        <prop name="CapConcurrentRecSlp" type="String" value="false"/>
        <prop name="CapRecRight90" type="String" value="false"/>
        <prop name="pid" type="String" value="pid_3c00"/>
        <prop name="CapRecPapercut" type="String" value="true"/>
        <prop name="DeviceControlVersion" type="String" value="1013000"/>
        <prop name="RecLineCharsList" type="String" value="42,56"/>
        <prop name="CapUpdateFirmware" type="String" value="false"/>
        <prop name="Claimed" type="String" value="false"/>
        <prop name="CapRecUnderline" type="String" value="true"/>
        <prop name="State" type="String" value="1"/>
        <prop name="CapRecStamp" type="String" value="false"/>
</JposEntry>
Reply | Threaded
Open this post in threaded view
|

Re: New to Ofbiz and Ofbiz POS

Jacques Le Roux
Administrator
In reply to this post by monica ford
 >Is this a Currency field in Initial setup for Organization.

I don't think so. You mean you loaded only seed data and then get to the Setup application? I must say I don't use much this application.

Anyway, you can then use the backend UI to change that.
Get to edit your store (something like https://localhost:8443/catalog/control/EditProductStore?productStoreId=9100)
For prices of your products, use something like https://localhost:8443/catalog/control/EditProductPrices?productId=GZ-1000
You will find the "Default Currency Uom Id" field in both screens

If you have too much products then better to create xml data files for prices to import from webtools

Note that you can run both the POS and the web UIs using "ant start-both" in OFBiz root dir cmd line (use "ant -p" to know more)

HTH

Jacques

Le 03/03/2014 04:14, monica ford a écrit :
> Is this a Currency field in Initial setup for Organization.
>
>
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/New-to-Ofbiz-and-Ofbiz-POS-tp4647653p4648697.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: New to Ofbiz and Ofbiz POS

Jacques Le Roux
Administrator
In reply to this post by monica ford
Sorry I have not enough time to help you this

I guess you followed?
http://www.bixolon.com/html/en/download/download_category.xhtml?ca_id=99&large_cd=0010&small_cd=0003

Some persons add to call a JavaPOS specialist for this part,  you could consider it...

Jacques

Le 03/03/2014 04:18, monica ford a écrit :

> Also for SRP-350 Printer.
>
> POS not loading with below changes.
>
> i try to add in jpos.xml. Also i am adding line to pos-containers.xml
> <property name="Receipt" value="BIXOLON SRP-350"/>
>
> to jpos.xml
>
> <JposEntry logicalName="BIXOLON SRP-350">
>          <creation
> factoryClass="com.bixolon.jpos.services.create.BixolonJposServiceInstanceFactory"
> serviceClass="com.bixolon.jpos.services.printers.BIXOLONPrinterService"/>
>          <vendor name="BIXOLON" url="http://www.bixolon.com"/>
>          <jpos category="POSPrinter" version="1.12"/>
>          <product description="BIXOLON Standard Printer Device Service"
> name="BIXOLON Service for JavaPOS(TM) Standard"
> url="http://www.bixolon.com"/>
>
>          
>          <prop name="MapMode" type="String" value="1"/>
>          <prop name="CoverOpen" type="String" value="false"/>
>          <prop name="CapRecEmptySensor" type="String" value="true"/>
>          <prop name="FontTypefaceList" type="String" value="FontA,FontB"/>
>          <prop name="DeviceServiceVersion" type="String" value="1013000"/>
>          <prop name="RecBarCodeRotationList" type="String" value="0,180"/>
>          <prop name="CapRecPageMode" type="String" value="true"/>
>          <prop name="PNP_NAME" type="String" value="SAMSUNG SRP-350"/>
>          <prop name="OutputID" type="String" value="0"/>
>          <prop name="NAME" type="String" value="BIXOLON SRP-350"/>
>          <prop name="RecLineHeight" type="String" value="24"/>
>          <prop name="ErrorStation" type="String" value="2"/>
>          <prop name="PageModePrintDirection" type="String" value="1"/>
>          <prop name="RecBitmapRotationList" type="String" value="0,180"/>
>          <prop name="CapRecDwide" type="String" value="true"/>
>          <prop name="ServiceDescription" type="String" value="SRP-350 Printer
> UnifiedPOS Compatible Service Driver, (C) 2006-2012 BIXOLON"/>
>          <prop name="CapCharacterSet" type="String" value="998"/>
>          <prop name="PageModeArea" type="String" value="512,1662"/>
>          <prop name="CapRecColor" type="String" value="1"/>
>          <prop name="PageModeVerticalPosition" type="String" value="0"/>
>          <prop name="CapRecMarkFeed" type="String" value="0"/>
>          <prop name="CartridgeNotify" type="String" value="0"/>
>          <prop name="PhysicalDeviceDescription" type="String" value="BIXOLON
> SRP-350 Thermal Printer"/>
>          <prop name="CapRecBitmap" type="String" value="true"/>
>          <prop name="CapRecDhigh" type="String" value="true"/>
>          <prop name="RecLetterQuality" type="String" value="false"/>
>          <prop name="MapCharacterSet" type="String" value="true"/>
>          <prop name="CheckHealthText" type="String" value=""/>
>          <prop name="CapTransaction" type="String" value="true"/>
>          <prop name="CapRecBarCode" type="String" value="true"/>
>          <prop name="RecLineWidth" type="String" value="512"/>
>          <prop name="DownloadableBitmapSize" type="String" value="12288"/>
>          <prop name="CapStatisticsReporting" type="String" value="false"/>
>          <prop name="RecLineSpacing" type="String" value="30"/>
>          <prop name="CapConcurrentJrnSlp" type="String" value="false"/>
>          <prop name="CapRec2Color" type="String" value="false"/>
>          <prop name="PageModeDescriptor" type="String" value="16"/>
>          <prop name="RecLineChars" type="String" value="42"/>
>          <prop name="PageModeHorizontalPosition" type="String" value="0"/>
>          <prop name="RecSidewaysMaxChars" type="String" value="0"/>
>          <prop name="PowerState" type="String" value="2000"/>
>          <prop name="CapRecItalic" type="String" value="false"/>
>          <prop name="RecEmpty" type="String" value="false"/>
>          <prop name="deviceBus" type="String" value="USB"/>
>          <prop name="RecCurrentCartridge" type="String" value="0"/>
>          <prop name="CharacterSetList" type="String"
> value="437,1,850,860,863,865,858,255"/>
>          <prop name="RecSidewaysMaxLines" type="String" value="0"/>
>          <prop name="CapCompareFirmwareVersion" type="String" value="false"/>
>          <prop name="CapRecCartridgeSensor" type="String" value="0"/>
>          <prop name="TransactionControl" type="String" value="12"/>
>          <prop name="CapUpdateStatistics" type="String" value="false"/>
>          <prop name="MaxBitmapNumber" type="String" value="20"/>
>          <prop name="FreezeEvents" type="String" value="false"/>
>          <prop name="PageModeStation" type="String" value="0"/>
>          <prop name="RotateSpecial" type="String" value="1"/>
>          <prop name="FlagWhenIdle" type="String" value="false"/>
>          <prop name="PowerNotify" type="String" value="1"/>
>          <prop name="DeviceEnabled" type="String" value="false"/>
>          <prop name="CapRecDwideDhigh" type="String" value="true"/>
>          <prop name="CapConcurrentJrnRec" type="String" value="false"/>
>          <prop name="PrinterType" type="String" value="2"/>
>          <prop name="vid" type="String" value="vid_0419"/>
>          <prop name="AutoDisable" type="String" value="false"/>
>          <prop name="PagemodeControl" type="String" value="3"/>
>          <prop name="DataCount" type="String" value="0"/>
>          <prop name="CapPowerReporting" type="String" value="1"/>
>          <prop name="TransactionErrorResponse" type="String" value="11"/>
>          <prop name="AsyncMode" type="String" value="false"/>
>          <prop name="linkedPrinter" type="String" value="15"/>
>          <prop name="ErrorLevel" type="String" value="1"/>
>          <prop name="RecCartridgeState" type="String" value="0"/>
>          <prop name="ErrorString" type="String" value=""/>
>          <prop name="DataEventEnabled" type="String" value="false"/>
>          <prop name="CapRecRotate180" type="String" value="true"/>
>          <prop name="CapMapCharacterSet" type="String" value="true"/>
>          <prop name="RecLinesToPaperCut" type="String" value="5"/>
>          <prop name="CapRecBold" type="String" value="true"/>
>          <prop name="CapRecLeft90" type="String" value="false"/>
>          <prop name="PageModePrintArea" type="String" value="0,0,0,0"/>
>          <prop name="CharacterSet" type="String" value="437"/>
>          <prop name="ControlDescription" type="String" value="POS Printer
> UnifiedPOS Compatible Control, (C) 2006-2012 BIXOLON"/>
>          <prop name="CapCoverSensor" type="String" value="true"/>
>          <prop name="CapRecPresent" type="String" value="true"/>
>          <prop name="CapRecNearEndSensor" type="String" value="true"/>
>          <prop name="RecNearEnd" type="String" value="false"/>
>          <prop name="CapConcurrentRecSlp" type="String" value="false"/>
>          <prop name="CapRecRight90" type="String" value="false"/>
>          <prop name="pid" type="String" value="pid_3c00"/>
>          <prop name="CapRecPapercut" type="String" value="true"/>
>          <prop name="DeviceControlVersion" type="String" value="1013000"/>
>          <prop name="RecLineCharsList" type="String" value="42,56"/>
>          <prop name="CapUpdateFirmware" type="String" value="false"/>
>          <prop name="Claimed" type="String" value="false"/>
>          <prop name="CapRecUnderline" type="String" value="true"/>
>          <prop name="State" type="String" value="1"/>
>          <prop name="CapRecStamp" type="String" value="false"/>
> </JposEntry>
>
>
>
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/New-to-Ofbiz-and-Ofbiz-POS-tp4647653p4648698.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: New to Ofbiz and Ofbiz POS

monica ford
Hi Jacques,
So any Epson Receipt printer will work.
Thanks for your great comments really helpfull.
Monica
Reply | Threaded
Open this post in threaded view
|

Re: New to Ofbiz and Ofbiz POS

monica ford
So i am able to run POS and all with changed currency.
Now time to move towards printer.

God bless MH370.
Regards
Reply | Threaded
Open this post in threaded view
|

Re: New to Ofbiz and Ofbiz POS

mandeepmavi
Hi, i am able to find working JavaPOS for samsung and other printer i have. But its not working with ofbiz.
I edit Jpos in specialpurpose\pos\config and moved all lib files to specialpurpose\pos\lib. than changed NullRecipt with logical printer name. But POS do not load

Mavi
Reply | Threaded
Open this post in threaded view
|

Re: New to Ofbiz and Ofbiz POS

monica ford
i have idea where to change NullReceipt. well my POS is working. but no luck with printer. need more help.
Reply | Threaded
Open this post in threaded view
|

Re: New to Ofbiz and Ofbiz POS

monica ford
Hi jacques,

need help here.
This is current drop-down we have for Catalog.
I want to change in List. Confused where i am doing mistake. below is what i want to do. but for link its giving hard time.

 <div class="screenlet-body">
    <form name="choosecatalogform" method="post" action="<@ofbizUrl>main</@ofbizUrl>">
      <select name='CURRENT_CATALOG_ID' class='selectBox' onchange="submit()">
        <option value='${currentCatalogId}'>${currentCatalogName}</option>
        <option value='${currentCatalogId}'></option>
        <#list catalogCol as catalogId>
          <#assign thisCatalogName = Static["org.ofbiz.product.catalog.CatalogWorker"].getCatalogName(request, catalogId)>
          <option value='${catalogId}'>${thisCatalogName}</option>
        </#list>
      </select>
    </form>
  </div> 
 
This what i am trying to do.

    <div class="screenlet-body">
    <form name="choosecatalogform" method="post" action="<@ofbizUrl>main</@ofbizUrl>">
    <ul  name='CURRENT_CATALOG_ID' class='selectBox' onclick="submit()">
    <#list catalogCol as catalogId>
    <#assign thisCatalogName = Static["org.ofbiz.product.catalog.CatalogWorker"].getCatalogName(request, catalogId)>
      <li><a href="<@ofbizUrl>main</@ofbizUrl>" id='${catalogId}'>${thisCatalogName}</li>
    </#list>
    </ul>
    </form>
  </div> 

Regards
Monica
Reply | Threaded
Open this post in threaded view
|

Re: New to Ofbiz and Ofbiz POS

monica ford
  <div class="screenlet-body">
    <form name="choosecatalogform" method="post" action="<@ofbizUrl>main</@ofbizUrl>">
    <ul name='CURRENT_CATALOG_ID' class='selectBox' onclick="submit()">
    <#list catalogCol as catalogId>
    <#assign thisCatalogName = Static["org.ofbiz.product.catalog.CatalogWorker"].getCatalogName(request, catalogId)>
      <li value='${catalogId}'>${thisCatalogName}</li>
    </#list>
    </ul>
    </form>
  </div>
12345