Service parameter timeout=10(ms).
But, adjust your SO,
Ex: Windows System default timeout of system is 60seconds(60.000 ms).
       Linux Systems (red hat) 50seconds.





2008/1/4, Jose Diaz <[EMAIL PROTECTED]>:
>
> Hello:
>
> We are having the problem of timeout yet.
> For example, we are scheduling a job in webtools
> But in some seconds the transaction is not active and the rollback is
> executed.
> I see in the log these messages:   (The question is Where I must set the
> timeout?? any properties??
>
> 2007-12-29 09:57:55,630 (invoker-Thread-8) [ GenericEntity.java:394:WARN ]
> In entity field [AgingReportAux.payment] set the value passed in [
> java.math.BigDecimal] is not compatible with the Java type of the field
> [Double]
> 2007-12-29 09:57:55,631 (invoker-Thread-8) [ AccountsServices.java:113:INFO
> ] cont = 2505
> 2007-12-29 09:57:55,631 (JotmBatch) [ TransactionImpl.java:765:INFO ] set
> rollback only (tx=bb14:38:0:0113c9cd0e63b4c25d...18f865:)
> 2007-12-29 09:57:55,632 (invoker-Thread-8) [ AccountsServices.java:114:INFO
> ] invoiceid=WTS246552, amount = 238.16,
> 2007-12-29 09:57:55,632 (invoker-Thread-8) [ AccountsHelper.java:355:INFO
> ] getPaymentNotApplied...
> 2007-12-29 09:57:55,633 (invoker-Thread-8) [ AccountsHelper.java:356:INFO
> ] partyId=4468
> 2007-12-29 09:57:55,633 (invoker-Thread-8) [ AccountsHelper.java:357:INFO
> ] billingAccountId=7617070039
> 2007-12-29 09:57:55,634 (invoker-Thread-8) [ TransactionUtil.java:77 :WARN
> ]
> ---- exception report
> ----------------------------------------------------------
> [TransactionUtil.begin] active transaction marked for rollback in place,
> so no transaction begun; this stack trace shows when the exception began:
> Exception: java.lang.Exception
> Message: Tx Stack Placeholder
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.Exception: Tx Stack Placeholder
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(
> TransactionUtil.java:535)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java
> :111)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:285)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:216)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:123)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:80)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:226)
> java.lang.Thread.run(Thread.java:534)
>
>

Reply via email to