POS linked to remote server

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

POS linked to remote server

Gurcharan
Hello,

I've been trying to integrate POS module to a remote server and added the IP
addresss of the server to <service-location> tag in the
serviceengine.xmlfile, but the module is still not accessing the
server. Will appreciate if
anyone can provide insight how to integrate POS to a remote server.

Changes done in serviceengine.xml-

<service-location name="rita-rmi"
location="rmi://168.0.0.100:1099/RMIDispatcher"/>
        <service-location name="eedcc-test" location="
http://168.0.0.100:8080/webtools/control/httpService"/>


Regards,
Gurcharan

--
www.digitalmediainitiatives.com
Reply | Threaded
Open this post in threaded view
|

POS linked to remote server

Gurcharan
Hello,

I've changed the values of different service locations to my server IP in
serviceengine.xml but now I'm getting the error (enclosed below).

Will be very grateful if someone could provides me the steps on how to
integrate POS to a remote server.

Changes made in serviceengine.xml
--------------------------------------------------------

service-location name="main-rmi"
location="rmi://192.168.1.100:1099/RMIDispatcher"/>
        <service-location name="main-http" location="
http://192.168.1.100:8080/webtools/control/httpService"/>

        <service-location name="entity-sync-rmi"
location="rmi://192.168.1.100:1099/RMIDispatcher"/>
        <service-location name="entity-sync-http" location="
http://192.168.1.100:8080/webtools/control/httpService"/>

        <service-location name="rita-rmi"
location="rmi://192.168.1.100:1099/RMIDispatcher"/>
        <service-location name="eedcc-test" location="
http://192.168.1.100:8080/webtools/control/httpService"/>


Error Log
-------------
2007-08-05 13:39:13,656 (default-invoker-Thread-10) [
UtilXml.java:246:DEBUG] XML Read 0.016s: Internal Content
2007-08-05 13:39:13,781 (default-invoker-Thread-7) [
ServiceDispatcher.java:388:DEBUG]
[[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'JobDispatcher
/ ofbGcPurchase'
2007-08-05 13:39:13,796 (default-invoker-Thread-7) [
ServiceDispatcher.java:391:ERROR]

---- exception report
----------------------------------------------------------
Service [ofbGcPurchase] threw an unexpected exception/error
Exception: org.ofbiz.service.GenericServiceException
Message: Service target threw an unexpected exception (null)
---- stack trace
---------------------------------------------------------------
org.ofbiz.service.GenericServiceException: Service target threw an
unexpected exception (null)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:106)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:56)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:139)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224)
java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
org.ofbiz.accounting.payment.GiftCertificateServices.giftCertificatePurchase
(GiftCertificateServices.java:699)
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.java:94)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:56)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:139)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224)
java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------------------------

2007-08-05 13:39:13,875 (default-invoker-Thread-7) [
TransactionUtil.java:258:ERROR]

---- exception report
----------------------------------------------------------
[TransactionUtil.rollback]
Exception: java.lang.Exception
Message: Stack Trace
---- stack trace
---------------------------------------------------------------
java.lang.Exception: Stack Trace
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java
:257)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java
:239)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:394)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:139)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224)
java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------------------------

2007-08-05 13:39:13,921 (default-invoker-Thread-7) [
TransactionUtil.java:268:INFO
] [TransactionUtil.rollback] transaction rolled back
2007-08-05 13:39:13,921 (default-invoker-Thread-7) [
TransactionUtil.java:192:WARN
] [TransactionUtil.commit] Not committing transaction, status is
STATUS_NO_TRANSACTION
2007-08-05 13:39:13,953 (default-invoker-Thread-7) [
GenericServiceJob.java:120:ERROR]

---- exception report
----------------------------------------------------------
Async-Service failed.
Exception: org.ofbiz.service.GenericServiceException
Message: Service target threw an unexpected exception (null)
---- stack trace
---------------------------------------------------------------
org.ofbiz.service.GenericServiceException: Service target threw an
unexpected exception (null)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:106)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:56)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:139)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224)
java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
org.ofbiz.accounting.payment.GiftCertificateServices.giftCertificatePurchase
(GiftCertificateServices.java:699)
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.java:94)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:56)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:139)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224)
java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------------------------

2007-08-05 13:39:14,031 (default-invoker-Thread-7) [
SequenceUtil.java:257:INFO
] Got bank of sequenced IDs for [JobSandbox]; curSeqId=10380,
maxSeqId=10390, bankSize=10
2007-08-05 13:39:14,078 (default-invoker-Thread-8) [
ServiceDispatcher.java:388:DEBUG]
[[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'JobDispatcher
/ ofbGcPurchase'
2007-08-05 13:39:14,078 (default-invoker-Thread-10) [
ServiceDispatcher.java:388:DEBUG] [[Sync service failed...- total:0.0,since
last(Sync service fail...):0.0]] - 'JobDispatcher / ofbGcPurchase'
2007-08-05 13:39:14,078 (default-invoker-Thread-9) [
ServiceDispatcher.java:388:DEBUG]
[[Sync service failed...- total:0.0,since last(Sync service fail...):0.0]] -
'JobDispatcher / ofbGcPurchase'
2007-08-05 13:39:14,093 (default-invoker-Thread-9) [
ServiceDispatcher.java:391:ERROR]

---- exception report
----------------------------------------------------------
Service [ofbGcPurchase] threw an unexpected exception/error
Exception: org.ofbiz.service.GenericServiceException
Message: Service target threw an unexpected exception (null)
---- stack trace
---------------------------------------------------------------
org.ofbiz.service.GenericServiceException: Service target threw an
unexpected exception (null)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:106)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:56)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:139)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224)
java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
org.ofbiz.accounting.payment.GiftCertificateServices.giftCertificatePurchase
(GiftCertificateServices.java:699)
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.java:94)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:56)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:139)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224)
java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------------------------

2007-08-05 13:39:14,187 (default-invoker-Thread-9) [
TransactionUtil.java:258:ERROR]

---- exception report
----------------------------------------------------------
[TransactionUtil.rollback]
Exception: java.lang.Exception
Message: Stack Trace
---- stack trace
---------------------------------------------------------------
java.lang.Exception: Stack Trace
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java
:257)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java
:239)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:394)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:139)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224)
java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------------------------

2007-08-05 13:39:14,234 (default-invoker-Thread-9) [
TransactionUtil.java:268:INFO
] [TransactionUtil.rollback] transaction rolled back
2007-08-05 13:39:14,250 (default-invoker-Thread-7)
[PersistedServiceJob.java:205:INFO
] Persisted Job [10361] Failed Re-Scheduling : 1186306934031
2007-08-05 13:39:14,234 (default-invoker-Thread-11) [
ServiceDispatcher.java:388:DEBUG] [[Sync service failed...- total:0.156,since
last(Sync service fail...):0.156]] - 'JobDispatcher / ofbGcPurchase'
2007-08-05 13:39:14,234 (default-invoker-Thread-8) [
ServiceDispatcher.java:391:ERROR]

---- exception report
----------------------------------------------------------
Service [ofbGcPurchase] threw an unexpected exception/error
Exception: org.ofbiz.service.GenericServiceException
Message: Service target threw an unexpected exception (null)
---- stack trace
---------------------------------------------------------------
org.ofbiz.service.GenericServiceException: Service target threw an
unexpected exception (null)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:106)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:56)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:139)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224)
java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
org.ofbiz.accounting.payment.GiftCertificateServices.giftCertificatePurchase
(GiftCertificateServices.java:699)
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.java:94)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
:56)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:139)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224)
java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------------------------

2007-08-05 13:39:14,343 (default-invoker-Thread-8) [
TransactionUtil.java:258:ERROR]



Thanking you,

Gurcharan
Reply | Threaded
Open this post in threaded view
|

Re: POS linked to remote server

Jacques Le Roux
Administrator
The POS module is supposed to be synchornised with other servers.
Here is a description of how it's supposed to work OOTB.
http://www.nabble.com/POS-%27central%27-server-configuration-tf2133089.html#a5886963
And some more comments
http://www.nabble.com/Users---entity-sync-tf1779139.html#a4843573

Jacques


----- Message d'origine -----
De : "Gurcharan Singh" <[hidden email]>
À : <[hidden email]>
Envoyé : dimanche 5 août 2007 11:54
Objet : POS linked to remote server


> Hello,
>
> I've changed the values of different service locations to my server IP in
> serviceengine.xml but now I'm getting the error (enclosed below).
>
> Will be very grateful if someone could provides me the steps on how to
> integrate POS to a remote server.
>
> Changes made in serviceengine.xml
> --------------------------------------------------------
>
> service-location name="main-rmi"
> location="rmi://192.168.1.100:1099/RMIDispatcher"/>
>         <service-location name="main-http" location="
> http://192.168.1.100:8080/webtools/control/httpService"/>
>
>         <service-location name="entity-sync-rmi"
> location="rmi://192.168.1.100:1099/RMIDispatcher"/>
>         <service-location name="entity-sync-http" location="
> http://192.168.1.100:8080/webtools/control/httpService"/>
>
>         <service-location name="rita-rmi"
> location="rmi://192.168.1.100:1099/RMIDispatcher"/>
>         <service-location name="eedcc-test" location="
> http://192.168.1.100:8080/webtools/control/httpService"/>
>
>
> Error Log
> -------------
> 2007-08-05 13:39:13,656 (default-invoker-Thread-10) [
> UtilXml.java:246:DEBUG] XML Read 0.016s: Internal Content
> 2007-08-05 13:39:13,781 (default-invoker-Thread-7) [
> ServiceDispatcher.java:388:DEBUG]
> [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'JobDispatcher
> / ofbGcPurchase'
> 2007-08-05 13:39:13,796 (default-invoker-Thread-7) [
> ServiceDispatcher.java:391:ERROR]
>
> ---- exception report
> ----------------------------------------------------------
> Service [ofbGcPurchase] threw an unexpected exception/error
> Exception: org.ofbiz.service.GenericServiceException
> Message: Service target threw an unexpected exception (null)
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException: Service target threw an
> unexpected exception (null)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
> StandardJavaEngine.java:106)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
> :56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:139)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224)
> java.lang.Thread.run(Unknown Source)
> java.lang.NullPointerException
> org.ofbiz.accounting.payment.GiftCertificateServices.giftCertificatePurchase
> (GiftCertificateServices.java:699)
> 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.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
> :56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:139)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224)
> java.lang.Thread.run(Unknown Source)
> --------------------------------------------------------------------------------
>
> 2007-08-05 13:39:13,875 (default-invoker-Thread-7) [
> TransactionUtil.java:258:ERROR]
>
> ---- exception report
> ----------------------------------------------------------
> [TransactionUtil.rollback]
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java
> :257)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java
> :239)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:394)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:139)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224)
> java.lang.Thread.run(Unknown Source)
> --------------------------------------------------------------------------------
>
> 2007-08-05 13:39:13,921 (default-invoker-Thread-7) [
> TransactionUtil.java:268:INFO
> ] [TransactionUtil.rollback] transaction rolled back
> 2007-08-05 13:39:13,921 (default-invoker-Thread-7) [
> TransactionUtil.java:192:WARN
> ] [TransactionUtil.commit] Not committing transaction, status is
> STATUS_NO_TRANSACTION
> 2007-08-05 13:39:13,953 (default-invoker-Thread-7) [
> GenericServiceJob.java:120:ERROR]
>
> ---- exception report
> ----------------------------------------------------------
> Async-Service failed.
> Exception: org.ofbiz.service.GenericServiceException
> Message: Service target threw an unexpected exception (null)
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException: Service target threw an
> unexpected exception (null)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
> StandardJavaEngine.java:106)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
> :56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:139)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224)
> java.lang.Thread.run(Unknown Source)
> java.lang.NullPointerException
> org.ofbiz.accounting.payment.GiftCertificateServices.giftCertificatePurchase
> (GiftCertificateServices.java:699)
> 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.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
> :56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:139)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224)
> java.lang.Thread.run(Unknown Source)
> --------------------------------------------------------------------------------
>
> 2007-08-05 13:39:14,031 (default-invoker-Thread-7) [
> SequenceUtil.java:257:INFO
> ] Got bank of sequenced IDs for [JobSandbox]; curSeqId=10380,
> maxSeqId=10390, bankSize=10
> 2007-08-05 13:39:14,078 (default-invoker-Thread-8) [
> ServiceDispatcher.java:388:DEBUG]
> [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'JobDispatcher
> / ofbGcPurchase'
> 2007-08-05 13:39:14,078 (default-invoker-Thread-10) [
> ServiceDispatcher.java:388:DEBUG] [[Sync service failed...- total:0.0,since
> last(Sync service fail...):0.0]] - 'JobDispatcher / ofbGcPurchase'
> 2007-08-05 13:39:14,078 (default-invoker-Thread-9) [
> ServiceDispatcher.java:388:DEBUG]
> [[Sync service failed...- total:0.0,since last(Sync service fail...):0.0]] -
> 'JobDispatcher / ofbGcPurchase'
> 2007-08-05 13:39:14,093 (default-invoker-Thread-9) [
> ServiceDispatcher.java:391:ERROR]
>
> ---- exception report
> ----------------------------------------------------------
> Service [ofbGcPurchase] threw an unexpected exception/error
> Exception: org.ofbiz.service.GenericServiceException
> Message: Service target threw an unexpected exception (null)
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException: Service target threw an
> unexpected exception (null)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
> StandardJavaEngine.java:106)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
> :56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:139)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224)
> java.lang.Thread.run(Unknown Source)
> java.lang.NullPointerException
> org.ofbiz.accounting.payment.GiftCertificateServices.giftCertificatePurchase
> (GiftCertificateServices.java:699)
> 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.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
> :56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:139)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224)
> java.lang.Thread.run(Unknown Source)
> --------------------------------------------------------------------------------
>
> 2007-08-05 13:39:14,187 (default-invoker-Thread-9) [
> TransactionUtil.java:258:ERROR]
>
> ---- exception report
> ----------------------------------------------------------
> [TransactionUtil.rollback]
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java
> :257)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java
> :239)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:394)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:139)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224)
> java.lang.Thread.run(Unknown Source)
> --------------------------------------------------------------------------------
>
> 2007-08-05 13:39:14,234 (default-invoker-Thread-9) [
> TransactionUtil.java:268:INFO
> ] [TransactionUtil.rollback] transaction rolled back
> 2007-08-05 13:39:14,250 (default-invoker-Thread-7)
> [PersistedServiceJob.java:205:INFO
> ] Persisted Job [10361] Failed Re-Scheduling : 1186306934031
> 2007-08-05 13:39:14,234 (default-invoker-Thread-11) [
> ServiceDispatcher.java:388:DEBUG] [[Sync service failed...- total:0.156,since
> last(Sync service fail...):0.156]] - 'JobDispatcher / ofbGcPurchase'
> 2007-08-05 13:39:14,234 (default-invoker-Thread-8) [
> ServiceDispatcher.java:391:ERROR]
>
> ---- exception report
> ----------------------------------------------------------
> Service [ofbGcPurchase] threw an unexpected exception/error
> Exception: org.ofbiz.service.GenericServiceException
> Message: Service target threw an unexpected exception (null)
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException: Service target threw an
> unexpected exception (null)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
> StandardJavaEngine.java:106)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
> :56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:139)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224)
> java.lang.Thread.run(Unknown Source)
> java.lang.NullPointerException
> org.ofbiz.accounting.payment.GiftCertificateServices.giftCertificatePurchase
> (GiftCertificateServices.java:699)
> 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.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java
> :56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:139)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224)
> java.lang.Thread.run(Unknown Source)
> --------------------------------------------------------------------------------
>
> 2007-08-05 13:39:14,343 (default-invoker-Thread-8) [
> TransactionUtil.java:258:ERROR]
>
>
>
> Thanking you,
>
> Gurcharan
>