[jBPM] - Use JBPM 5 in a session bean with injected EntityManager
by Carlos Ramirez
Carlos Ramirez [http://community.jboss.org/people/crramirez] created the discussion
"Use JBPM 5 in a session bean with injected EntityManager"
To view the discussion, visit: http://community.jboss.org/message/607560#607560
--------------------------------------------------------------
Hello I was able to use JBPM 5 with an injected EntityManager, but I had to search in source code and finally I reached to:
/**
* Session Bean implementation class WorkflowServiceBean
*/
@Stateful(name = IWorkflowService.+SERVICE_NAME+)
@Remote(IWorkflowService.*class*)
@Local(IWorkflowServiceLocal.*class*)
*public* *class* WorkflowServiceBean *implements* IWorkflowService,
IWorkflowServiceLocal {
@Resource
*private* EJBContext context;
@PersistenceContext(unitName = "org.jbpm.persistence.jpa")
EntityManager entityManager;
KnowledgeBase knowledgeBase;
*private* StatefulKnowledgeSession ksession;
/**
* Default constructor.
*/
*public* WorkflowServiceBean() {
// *TODO* Auto-generated constructor stub
}
/**
* {@inheritDoc}
*/
*public* *void* init(*byte*[] processData) {
*try* {
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory
.+newKnowledgeBuilder+();
kbuilder.add(ResourceFactory.+newByteArrayResource+(processData),
ResourceType.+BPMN2+);
*this*.knowledgeBase = kbuilder.newKnowledgeBase();
Environment env = KnowledgeBaseFactory.+newEnvironment+();
MyPersistenceContextManager persistenceContextManager = *new* MyPersistenceContextManager();
env = KnowledgeBaseFactory.+newEnvironment+();
env.set(EnvironmentName.+PERSISTENCE_CONTEXT_MANAGER+,
persistenceContextManager);
env.set(EnvironmentName.+TRANSACTION_MANAGER+,
*new* JtaTransactionManager(*null*, *null*, *null*));
*this*.ksession = JPAKnowledgeService
.+newStatefulKnowledgeSession+(knowledgeBase, *null*,
env);
*int* sessionId = ksession.getId();
} *catch* (Exception e) {
// *TODO* Auto-generated catch block
e.printStackTrace();
}
}
@Remove
*void* remove() {
ksession.dispose();
}
*class* MyPersistenceContextManager *implements* PersistenceContextManager,
ProcessPersistenceContextManager {
*public* org.drools.persistence.PersistenceContext getApplicationScopedPersistenceContext() {
*return* *new* JpaPersistenceContext(entityManager);
}
*public* org.drools.persistence.PersistenceContext getCommandScopedPersistenceContext() {
// *TODO* Auto-generated method stub
*return* *null*;
}
*public* *void* beginCommandScopedEntityManager() {
// *TODO* Auto-generated method stub
}
*public* *void* endCommandScopedEntityManager() {
// *TODO* Auto-generated method stub
}
*public* *void* dispose() {
// *TODO* Auto-generated method stub
}
*public* ProcessPersistenceContext getProcessPersistenceContext() {
*return* *new* JpaProcessPersistenceContext(entityManager);
}
}
*public* *void* startProcess(String processName) {
ksession.startProcess(processName);
}
}
My question is there is no way to make it simpler? I didn’t find anything in documentation, and just I am including it into a JBoss 5.1 application server. If I use the Jpa approach that is included in documentation, it creates two EntityManager, initializaes twice hibernate and it complains that the database conections were closed by hibernate instead of me
Regards,
Carlos
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/607560#607560]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 11 months
[JBoss Web Services] - how to build Document/Literal (Wrapped)
by everson .
everson . [http://community.jboss.org/people/everjava] created the discussion
"how to build Document/Literal (Wrapped)"
To view the discussion, visit: http://community.jboss.org/message/607508#607508
--------------------------------------------------------------
I didn't understand very well the example from docs. My doubt is about @RequestWrapper and @ResponseWrapper. How is the SubmitPO and SubmitPOResponde implementation ?
@WebService
*public* *class* DocWrappedServiceImpl
{
@WebMethod
@RequestWrapper (className="org.somepackage.SubmitPO")
@ResponseWrapper (className="org.somepackage.SubmitPOResponse")
*public* String submitPO(String product, *int* quantity)
{
...
}
}
I have this code below. I'm using jboss 5.1 + esb4.9 + jbossws native 3.1.2.GA. But I got the error
"*Endpoint .... does not contain operation meta data for ...*"
myMethod(object param) gets an array from client written in php
@WebService(name="PessoaWS" ,targetNamespace=" http://scxx http://scxx" )
@SOAPBinding(style = Style.DOCUMENT, use=Use.LITERAL, parameterStyle=ParameterStyle.WRAPPED)
public class PessoaWS {
@WebMethod
public void myMethod( Object param){
try {
Message esbMessage = SOAPProcessor.getMessage();
String soap = esbMessage.getBody().get().toString();
System.out.println(soap);
} catch (Exception e) {
e.printStackTrace();
}
}
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/607508#607508]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 11 months
[JBoss Messaging] - EJB3s in JBoss cluster affected by clustered messaging setup
by stupormundi
stupormundi [http://community.jboss.org/people/stupormundi] created the discussion
"EJB3s in JBoss cluster affected by clustered messaging setup"
To view the discussion, visit: http://community.jboss.org/message/607501#607501
--------------------------------------------------------------
Hi Group!
I'm struggling with messaging setup for an (existing) JBoss cluster.
Our project has, so far without problems, been using various EJB3s on a cluster.
So far, our project hadn't used messaging, and the datasource defined in the /server/all/deploy/ as DefaultDS was HSQLDB (hsqldb-ds.xml).
After experimenting with messaging / datasource setup a bit I've now set up a new postgres datasource used for messaging alone, called it "MessagingDS", leaving in place the existing "DefaultDS", and have configured the default queues (DLQ etc.) as clustered, configured some additional clustered queues, and set up a clustered PostOffice.
I've added the additional attributes (for clustering) for DataChannelConfig and ControlChannelConfig into
/server/all/deploy/messaging/postgresql-persistence-service.xml , as described in the messaging / clustering docs.
Now, the clustered messaging works fine, BUT, those of our EJBs annotated like this:
@Service
@Depends({"jboss.ha:service=HASingletonDeployer,type=Barrier"})
(to ensure a true Singleton on the cluster)
... have stopped working. More specifically, they now fail when they (or rather, a stateless ejb invoked by them) try to access data on hibernate, like so:
javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.type.SerializationException: could not deserialize
at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:77)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
...
Caused by: javax.persistence.PersistenceException: org.hibernate.type.SerializationException: could not deserialize
at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)
at org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:202)
at org.jboss.jpa.tx.TransactionScopedEntityManager.find(TransactionScopedEntityManager.java:176)
at org.example.myproj.SingletonServices.ejb3.MyStateLessBean.doHibernateStuff(MyStateLessBean.java:42)
They used to work just fine before. Evidently, my additional setup for clustered messaging has screwed things up for those EJBs, but I don't understand how since I've left the DefaultDS as it was configured before.
Any Ideas?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/607501#607501]
Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 11 months
[jBPM] - Problem about define domain specific processes with enum parameter
by Francesco Pietrobelli
Francesco Pietrobelli [http://community.jboss.org/people/francesco.pietrobelli] created the discussion
"Problem about define domain specific processes with enum parameter"
To view the discussion, visit: http://community.jboss.org/message/601207#601207
--------------------------------------------------------------
Hi all,
i'm trying to implement a domain specific task using following work definition
import org.drools.process.core.datatype.impl.type.EnumDataType;
[
[
"name" : "patientDataHandler",
"displayName" : "Patient data",
"parameters" : [
"Operation" : new EnumDataType("careMgmt.domainSpecificTask.PatientDataOperations"),
],
//"icon" : "icons/notification.gif"
]
]
but when i try to modify Operation's parameter in the properties of a patientDataHandler service task in the eclipse bpmn editor i have following error:
java.lang.IllegalArgumentException: Could not find data type careMgmt.domainSpecificTask.PatientDataOperations
at org.drools.process.core.datatype.impl.type.EnumDataType.getValueMap(EnumDataType.java:105)
at org.drools.process.core.datatype.impl.type.EnumDataType.readValue(EnumDataType.java:70)
at org.drools.eclipse.flow.ruleflow.core.WorkItemWrapper.setPropertyValue(WorkItemWrapper.java:172)
at org.eclipse.gef.ui.properties.SetValueCommand.execute(SetValueCommand.java:60)
at org.eclipse.gef.commands.CompoundCommand.execute(CompoundCommand.java:111)
at org.eclipse.gef.commands.CompoundCommand.execute(CompoundCommand.java:111)
at org.eclipse.gef.commands.CommandStack.execute(CommandStack.java:197)
at org.eclipse.gef.ui.properties.UndoablePropertySheetEntry.valueChanged(UndoablePropertySheetEntry.java:147)
at org.eclipse.gef.ui.properties.UndoablePropertySheetEntry.valueChanged(UndoablePropertySheetEntry.java:124)
at org.eclipse.ui.views.properties.PropertySheetEntry.setValue(PropertySheetEntry.java:723)
at org.eclipse.ui.views.properties.PropertySheetEntry.applyEditorValue(PropertySheetEntry.java:146)
at org.eclipse.ui.views.properties.PropertySheetEntry$1.applyEditorValue(PropertySheetEntry.java:103)
at org.eclipse.jface.viewers.CellEditor$1.run(CellEditor.java:333)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.CellEditor.fireApplyEditorValue(CellEditor.java:331)
at org.eclipse.jface.viewers.TextCellEditor.handleDefaultSelection(TextCellEditor.java:293)
at org.eclipse.jface.viewers.TextCellEditor$1.widgetDefaultSelected(TextCellEditor.java:148)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:119)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3552)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3171)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
i don't know because the editor can't find PatientDataOperations, in any project files i can use it.
does anyone know how to define a work item that accept as parameter a enum?
i have put in META-INF directory drools.rulebase.conf and patientDataHandler.conf which i attached.
i attach also the file that define enum
Thanks,
Francesco
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/601207#601207]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 11 months
Recovery from deadlocks on JBoss 5.1.0
by Jari Juslin
Hello,
everyone. We recently switched from JBoss 4 to JBoss 5, and consequently
started migrating our EJB2.1 beans to EJB3. Now the deployment EAR is a
mix of both, and recovery from deadlocks has been found to be broken.
What happens is that first we have a regular deadlock, where transaction
fails as it should. All is well here (on JBoss and MySQL side, that is).
Example of a deadlock:
23.05 10:27:31,008 ERROR
[org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBC30GeneratedKeysCreateCommand.TripEvent]
(NioProcessor-2:VTD_65/FORM) Could not create entity
com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException:
Deadlock found when trying to get lock; try restarting transaction
at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
at com.mysql.jdbc.Util.getInstance(Util.java:382)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1064)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3603)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3535)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1989)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2150)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
at
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2415)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2333)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2318)
at
com.mysql.jdbc.jdbc2.optional.PreparedStatementWrapper.executeUpdate(PreparedStatementWrapper.java:875)
at
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:365)
at
org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBC30GeneratedKeysCreateCommand.executeInsert(JDBC30GeneratedKeysCreateCommand.java:87)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.performInsert(JDBCAbstractCreateCommand.java:322)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.execute(JDBCAbstractCreateCommand.java:151)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager.java:587)
at
org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:237)
at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:223)
at
org.jboss.ejb.EntityContainer.createLocalHome(EntityContainer.java:638)
at sun.reflect.GeneratedMethodAccessor400.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
at
org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1139)
at
org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:106)
at
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:203)
at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:187)
at
org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:106)
at
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:137)
at
org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:76)
at
org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:45)
at
org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:56)
at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125)
at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161)
at
org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:230)
at
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:205)
at
org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:99)
at
org.jboss.ejb.plugins.security.PreSecurityInterceptor.invokeHome(PreSecurityInterceptor.java:88)
at
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
at
org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:527)
at org.jboss.ejb.Container.invoke(Container.java:1046)
at
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:362)
at
org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:133)
at $Proxy637.create(Unknown Source)
However, after the deadlock random other transactions start to fail like
this:
42521[state=NORMAL
mc=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@7fd1ae77
handles=1 lastUse=1306160850834 permit=true trackByTx=true
mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@3427
6ff3
context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@926d545
xaResource=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@7fd1ae77
txSync=null]
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications
link failure
The last packet successfully received from the server was 485
milliseconds ago. The last packet sent successfully to the server was
447 milliseconds ago.
at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
at
com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3092)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2978)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3526)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1989)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2150)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
at
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2415)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2333)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2318)
at
com.mysql.jdbc.jdbc2.optional.PreparedStatementWrapper.executeUpdate(PreparedStatementWrapper.java:875)
at
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:365)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.execute(JDBCStoreEntityCommand.java:150)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.storeEntity(JDBCStoreManager.java:666)
at
org.jboss.ejb.plugins.CMPPersistenceManager.storeEntity(CMPPersistenceManager.java:428)
at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.storeEntity(CachedConnectionInterceptor.java:271)
at
org.jboss.ejb.EntityContainer.storeEntity(EntityContainer.java:769)
at
org.jboss.ejb.GlobalTxEntityMap$2.synchronize(GlobalTxEntityMap.java:158)
at
org.jboss.ejb.GlobalTxEntityMap$GlobalTxSynchronization.synchronize(GlobalTxEntityMap.java:328)
at
org.jboss.ejb.GlobalTxEntityMap.synchronizeEntities(GlobalTxEntityMap.java:241)
at
org.jboss.ejb.EntityContainer.synchronizeEntitiesWithinTransaction(EntityContainer.java:138)
at
org.jboss.ejb.EntityContainer.findLocal(EntityContainer.java:671)
at sun.reflect.GeneratedMethodAccessor381.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
at
org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1139)
at
org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:106)
at
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:203)
at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:187)
at
org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:106)
at
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:137)
at
org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:76)
at
org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:45)
at
org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:56)
at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125)
at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161)
at
org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:230)
at
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:205)
at
org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:99)
at
org.jboss.ejb.plugins.security.PreSecurityInterceptor.invokeHome(PreSecurityInterceptor.java:88)
at
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
at
org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:527)
at org.jboss.ejb.Container.invoke(Container.java:1046)
at
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:362)
at
org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:133)
at $Proxy649.findAlert(Unknown Source)
at
com.ecolane.mpk.alert.beans.AlertBackendBean.resolveAlerts(AlertBackendBean.java:696)
---
Caused by: java.io.EOFException: Can not read response from server.
Expected to read 4 bytes, read 0 bytes before connection was
unexpectedly lost.
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2539)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2989)
... 232 more
And:
The last packet successfully received from the server was 257
milliseconds ago. The last packet sent successfully to the server was
257 milliseconds ago.
23.05 10:27:31,507 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
com.mysql.jdbc.jdbc2.optional.MysqlXAConnection.mapXAExceptionFromSQLException(MysqlXAConnection.java:605)
23.05 10:27:31,507 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
com.mysql.jdbc.jdbc2.optional.MysqlXAConnection.dispatchCommand(MysqlXAConnection.java:584)
23.05 10:27:31,507 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
com.mysql.jdbc.jdbc2.optional.MysqlXAConnection.start(MysqlXAConnection.java:524)
23.05 10:27:31,507 ERROR [org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil]
(NioProcessor-2:VTD_65/FORM) SQL error
java.lang.NullPointerException
at
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection.fireStatementEvent(JDBC4MysqlXAConnection.java:94)
at
com.mysql.jdbc.jdbc2.optional.JDBC4PreparedStatementWrapper.close(JDBC4PreparedStatementWrapper.java:84)
at
org.jboss.resource.adapter.jdbc.WrappedStatement.internalClose(WrappedStatement.java:881)
at
org.jboss.resource.adapter.jdbc.WrappedStatement.close(WrappedStatement.java:79)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil.safeClose(JDBCUtil.java:107)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.execute(JDBCStoreEntityCommand.java:162)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.storeEntity(JDBCStoreManager.java:666)
at
org.jboss.ejb.plugins.CMPPersistenceManager.storeEntity(CMPPersistenceManager.java:428)
at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.storeEntity(CachedConnectionInterceptor.java:271)
at
org.jboss.ejb.EntityContainer.storeEntity(EntityContainer.java:769)
at
org.jboss.ejb.GlobalTxEntityMap$2.synchronize(GlobalTxEntityMap.java:158)
at
org.jboss.ejb.GlobalTxEntityMap$GlobalTxSynchronization.synchronize(GlobalTxEntityMap.java:328)
at
org.jboss.ejb.GlobalTxEntityMap.synchronizeEntities(GlobalTxEntityMap.java:241)
at
org.jboss.ejb.EntityContainer.synchronizeEntitiesWithinTransaction(EntityContainer.java:138)
at
org.jboss.ejb.EntityContainer.findLocal(EntityContainer.java:671)
at sun.reflect.GeneratedMethodAccessor381.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
at
org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1139)
at
org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:106)
at
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:203)
at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:187)
at
org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:106)
at
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:137)
at
org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:76)
at
org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:45)
at
org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:56)
at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125)
at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161)
at
org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:230)
at
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:205)
at
org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:99)
at
org.jboss.ejb.plugins.security.PreSecurityInterceptor.invokeHome(PreSecurityInterceptor.java:88)
at
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
at
org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:527)
at org.jboss.ejb.Container.invoke(Container.java:1046)
at
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:362)
at
org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:133)
at $Proxy649.findAlert(Unknown Source)
And:
23.05 10:27:31,507 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:213)
23.05 10:27:31,509 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:799)
23.05 10:27:31,509 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:510)
23.05 10:27:31,509 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.enlist(TxConnectionManager.java:908)
23.05 10:27:31,509 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:662)
23.05 10:27:31,509 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:403)
23.05 10:27:31,509 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:625)
23.05 10:27:31,509 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:499)
23.05 10:27:31,509 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
23.05 10:27:31,509 ERROR [org.jboss.ejb.plugins.LogInterceptor]
(NioProcessor-2:VTD_65/FORM) TransactionRolledbackLocalException in
method: public abstract java.util.Collection
com.ecolane.mpk.db.interfaces.AlertLocalHome.findAlert(java.lang.Integer,java.lang.Integer)
throws javax.ejb.FinderException, causedBy:
org.jboss.util.NestedSQLException: Error
at
org.jboss.resource.adapter.jdbc.WrappedConnection.checkException(WrappedConnection.java:873)
at
org.jboss.resource.adapter.jdbc.WrappedStatement.checkException(WrappedStatement.java:852)
at
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:369)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.execute(JDBCStoreEntityCommand.java:150)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.storeEntity(JDBCStoreManager.java:666)
at
org.jboss.ejb.plugins.CMPPersistenceManager.storeEntity(CMPPersistenceManager.java:428)
at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.storeEntity(CachedConnectionInterceptor.java:271)
at
org.jboss.ejb.EntityContainer.storeEntity(EntityContainer.java:769)
at
org.jboss.ejb.GlobalTxEntityMap$2.synchronize(GlobalTxEntityMap.java:158)
at
org.jboss.ejb.GlobalTxEntityMap$GlobalTxSynchronization.synchronize(GlobalTxEntityMap.java:328)
at
org.jboss.ejb.GlobalTxEntityMap.synchronizeEntities(GlobalTxEntityMap.java:241)
at
org.jboss.ejb.EntityContainer.synchronizeEntitiesWithinTransaction(EntityContainer.java:138)
at
org.jboss.ejb.EntityContainer.findLocal(EntityContainer.java:671)
at sun.reflect.GeneratedMethodAccessor381.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
at
org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1139)
at
org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:106)
at
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:203)
at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:187)
at
org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:106)
at
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:137)
at
org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:76)
at
org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:45)
at
org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:56)
at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125)
at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161)
at
org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:230)
at
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:205)
at
org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:99)
at
org.jboss.ejb.plugins.security.PreSecurityInterceptor.invokeHome(PreSecurityInterceptor.java:88)
at
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
at
org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:527)
at org.jboss.ejb.Container.invoke(Container.java:1046)
at
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:362)
at
org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:133)
at $Proxy649.findAlert(Unknown Source)
And:
23.05 10:27:31,509 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
23.05 10:27:31,510 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:160)
23.05 10:27:31,510 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:88)
23.05 10:27:31,510 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadEntity(JDBCStoreManager.java:646)
23.05 10:27:31,510 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadEntity(JDBCStoreManager.java:628)
23.05 10:27:31,510 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.ejb.plugins.CMPPersistenceManager.loadEntity(CMPPersistenceManager.java:406)
23.05 10:27:31,510 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.loadEntity(CachedConnectionInterceptor.java:250)
23.05 10:27:31,510 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:243)
23.05 10:27:31,510 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156)
23.05 10:27:31,510 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:126)
23.05 10:27:31,510 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:279)
23.05 10:27:31,510 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:104)
23.05 10:27:31,510 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:76)
23.05 10:27:31,510 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
23.05 10:27:31,511 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
23.05 10:27:31,511 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
23.05 10:27:31,511 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
23.05 10:27:31,511 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)
23.05 10:27:31,511 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)
23.05 10:27:31,511 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:97)
23.05 10:27:31,511 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java:81)
23.05 10:27:31,511 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
23.05 10:27:31,511 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
23.05 10:27:31,511 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:533)
23.05 10:27:31,511 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at org.jboss.ejb.Container.invoke(Container.java:1029)
23.05 10:27:31,511 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:436)
23.05 10:27:31,511 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:65)
23.05 10:27:31,511 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at $Proxy686.getControllingSystem(Unknown Source)
23.05 10:27:31,511 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
com.ecolane.mpk.routing.data.CandidateRouteFormer.runAvailable(CandidateRouteFormer.java:2756)
23.05 10:27:31,511 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
com.ecolane.mpk.routing.data.CandidateRouteFormer.formCombiningCandidates(CandidateRouteFormer.java:354)
23.05 10:27:31,511 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
com.ecolane.mpk.routing.data.CandidateRouteFormer.access$200(CandidateRouteFormer.java:82)
23.05 10:27:31,511 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
com.ecolane.mpk.routing.data.CandidateRouteFormer$ConcurrentCombiningCandidateFormer.process(CandidateRouteFormer.java:6258)
23.05 10:27:31,511 ERROR [STDERR] (k3-ProcessingThread-crf-1:Tcrf-1
11832 23513) at
com.ecolane.mpk.routing.data.ProcessingThread.run(ProcessingThread.java:95)
So, after the deadlock DB connections go all bonkers, and the server
does not do much else than throw various kinds of exceptions at very
high rate.
My question is: What can I do to fix the situation? What happened before
(with JBoss 5 and all EJB2.1 beans) was that on deadlock the transaction
leading to it was rolled back, and the server continued to work normally
after it. Now the server is as good as dead after the first deadlock.
How do I get into similar situation with JBoss 5 and mixed bag of EJB2.1
and EJB3 beans?
-Jari
12 years, 11 months