02-23-2012 08:00 AM
03-07-2012 06:59 AM
03-07-2012 07:10 AM
Hello Heiko,
I have tested your CommonJ interface code on Weblogic 10.3.4 and it works fine. I created an application level workmanager, plugged it in your JobExecutor via the jndi ref, then created a process with an async service task and all is executed fine.
The thing i cannot judge though from your code is if there are any websphere specific semantics in it with regards to the way you schedule jobs for execution. Do you have an idea about this ?
thanks
03-07-2012 09:50 AM
"[STUCK] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'" waiting for lock java.lang.Object@1eac46a TIMED_WAITING
java.lang.Object.wait(Native Method)
org.activiti.engine.impl.jobexecutor.AcquireJobsRunnable.run(AcquireJobsRunnable.java:101) my.app.commonj.CommonJJobExecutor$JobAquisitionWork.run(CommonJJobExecutor.java:74)
weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
In addition to reporting STUCK for requests that simply take a very long time, the stuck thread detector can mistakenly assume a thread is stuck if the thread is in a continuous loop doing real work – for example servicing many requests in succession without ever returning to the thread pool.
03-08-2012 03:38 AM
InitialContext ic = new InitialContext();
TimerManager tm = (TimerManager)ic.lookup("java:comp/env/tm/default");
// Execute timer every 10 seconds starting immediately
tm.schedule (new MyTimerListener(), 0, 10*1000);
08-17-2012 10:48 AM
08-22-2012 04:05 AM
03-25-2013 02:25 AM
<bean id="processEngineConfiguration" class="org.activiti.cdi.CdiJtaProcessEngineConfiguration">
<property name="transactionManager" ref="transactionManager" />
<property name="dataSourceJndiName" value="XXX" />
<property name="databaseSchemaUpdate" value="false" />
<property name="databaseType" value="postgres" />
<property name="jobExecutor" ref="commonjJobExecutor" />
<property name="jobExecutorActivate" value="true" />
<property name="transactionsExternallyManaged" value="true" />
</bean>
<bean id="commonjJobExecutor" class="org.activiti.commonj.CommonjJobExecutor">
<property name="workManagerJndiName" value="java:comp/env/wm/ActivitiWM" />
</bean>Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.