Fw: Problems while load testing

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

Fw: Problems while load testing

Chandresh Turakhia
Team ,

Last time asking here ; what is user ML email to ask question

[hidden email] ?

Any ways ,

Can this error occur or we have made mistakes configuring ??

NOTE : I noticed this, checking  JTA code in ofbiz which does suspend

It seems ok since JTA "allows but not require" Nested Transaction , the code
does transaction.suspend  before starting another transaction , but can it
create issues.

I sense the mistake in on Our side but just wondering why and when this
error can occur

Chand

> Hi Chand,
>
> We are trying to figure out solution for a problem while load testing our
> process implemented in ofbiz framework.Also these(1st and 2nd) are not
> arising when we are testing with single request(occuring during load test
> only at about 30 TPS).Following is stack trace of the same
>
> 1.
> ---- exception
> report ----------------------------------------------------------
> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly;
> this
> stack trace shows where this is happening:
> Exception: java.lang.Exception
> Message: null
> ---- stack
> trace ---------------------------------------------------------------
> java.lang.Exception
> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil
> .java:271)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:2
> 21)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:410)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:208)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
> org.ofbiz.c2cTransaction.receiver.ChannelReceiver.processRequest(ChannelRece
> iver.java:446)
> sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
> java.lang.reflect.Method.invoke(Method.java:585)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngin
> e.java:88)
>
> 2.
> ---- 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(Transa
> ctionUtil.java:526)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:106)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:52)
> org.ofbiz.c2cTransaction.receiver.ChannelReceiver.processRequest(ChannelRece
> iver.java:314)
>
> 3.
> Calling service(export="true") as a soap service with Input and output
> parameters as java objects(other than strings).We have successfully tested
> with services having input and output parameters as strings.
>
> Regards
> Abhijit
>
>