[Datasource Configuration] - IJ000453: Unable to get managed connection for
by Jose Cruz
Jose Cruz [https://community.jboss.org/people/joselopesdacruz] created the discussion
"IJ000453: Unable to get managed connection for"
To view the discussion, visit: https://community.jboss.org/message/772363#772363
--------------------------------------------------------------
Hello,
I'm migrating weblogic apps to jboss. Everything was working fine until I started some tests using datasources to Oracle.
I make 3-5 calls do database in 7-10 second interval and the error its always the same:
IJ000453: Unable to get managed connection for java:/mydatasource
I've searched web, foruns for a while and it seems to indicate a jboss bug?
please help, its a stopper problem!
My datasource config below
<datasource jta="false" jndi-name="java:/provisioning2DS" pool-name="provisioning2DS" enabled="true" use-ccm="false">
<connection-url>jdbc:oracle:thin:@10.131.196.168:1523/qcibof</connection-url>
<driver-class>oracle.jdbc.OracleDriver</driver-class>
<driver>OracleJDBCDriver</driver>
<pool>
<min-pool-size>10</min-pool-size>
<max-pool-size>30</max-pool-size>
<prefill>true</prefill>
<use-strict-min>false</use-strict-min>
</pool>
<timeout>
<idle-timeout-minutes>30000</idle-timeout-minutes>
</timeout>
<security>
<user-name>provisioning2</user-name>
<password>provisioning2#01</password>
</security>
<validation>
<validate-on-match>false</validate-on-match>
<background-validation>false</background-validation>
</validation>
<statement>
<share-prepared-statements>false</share-prepared-statements>
</statement>
</datasource>
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/772363#772363]
Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 1 month
[jBPM] - Unable to complete tasks after calling ksession.dispose
by sreeramk82
sreeramk82 [https://community.jboss.org/people/sreeramk82] created the discussion
"Unable to complete tasks after calling ksession.dispose"
To view the discussion, visit: https://community.jboss.org/message/772744#772744
--------------------------------------------------------------
Hi,
I am unable to complete a task after disposing a knowledge sesion which created the owning process of the task.
I am using jBPM 5.4 version.
Please find below the stacktrace.
java.lang.IllegalStateException: Illegal method call. This session was previously disposed.
org.drools.reteoo.DisposedReteooWorkingMemory.getWorkItemManager(DisposedReteooWorkingMemory.java:386)
org.drools.impl.StatefulKnowledgeSessionImpl.getWorkItemManager(StatefulKnowledgeSessionImpl.java:311)
org.drools.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:69)
org.drools.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:32)
org.drools.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36)
org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:367)
org.drools.command.impl.CommandBasedStatefulKnowledgeSession$1.completeWorkItem(CommandBasedStatefulKnowledgeSession.java:150)
org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler$TaskCompletedHandler.handleCompletedTask(GenericHTWorkItemHandler.java:221)
org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler$TaskCompletedHandler.execute(GenericHTWorkItemHandler.java:182)
org.jbpm.task.service.local.LocalTaskService$SimpleEventTransport.trigger(LocalTaskService.java:307)
org.jbpm.task.event.MessagingTaskEventListener.taskCompleted(MessagingTaskEventListener.java:73)
#org.jbpm.task.event.TaskEventSupport.fireTaskCompleted(TaskEventSupport.java:46)
#org.jbpm.task.service.TaskServiceSession.postTaskCompleteOperation(TaskServiceSession.java:502)
org.jbpm.task.service.TaskServiceSession.taskOperation(TaskServiceSession.java:468)
org.jbpm.task.service.local.LocalTaskService.complete(LocalTaskService.java:80)
#com.sample.ProcessCompleteTest.main(ProcessCompleteTest.java:86)]
Let me know of nay possible solution for this .Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/772744#772744]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 1 month