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