java - weblogic deployment InternalException : Transaction marked rollback or not expected transaction -
i have ear application, , when try deploy weblogic server, following error:
<[standby] executethread: '6' queue: 'weblogic.kernel.default (self-tuning)'> <<wls kernel>> <> <> <1439994186702> <bea-149078> <stack trace message 149004 weblogic.application.moduleexception: weblogic.ejb.container.internalexception: transaction marked rollback or not expected transaction status: 1 @ weblogic.application.internal.extensiblemodulewrapper.start(extensiblemodulewrapper.java:140) @ weblogic.application.internal.flow.modulelistenerinvoker.start(modulelistenerinvoker.java:124) @ weblogic.application.internal.flow.modulestatedriver$3.next(modulestatedriver.java:216) @ weblogic.application.internal.flow.modulestatedriver$3.next(modulestatedriver.java:211) @ weblogic.application.utils.statemachinedriver.nextstate(statemachinedriver.java:42) @ weblogic.application.internal.flow.modulestatedriver.start(modulestatedriver.java:73) @ weblogic.application.internal.flow.startmodulesflow.activate(startmodulesflow.java:24) @ weblogic.application.internal.basedeployment$2.next(basedeployment.java:729) @ weblogic.application.utils.statemachinedriver.nextstate(statemachinedriver.java:42) @ weblogic.application.internal.basedeployment.activate(basedeployment.java:258) @ weblogic.application.internal.eardeployment.activate(eardeployment.java:61) @ weblogic.application.internal.deploymentstatechecker.activate(deploymentstatechecker.java:165) @ weblogic.deploy.internal.targetserver.appcontainerinvoker.activate(appcontainerinvoker.java:80) @ weblogic.deploy.internal.targetserver.operations.abstractoperation.activate(abstractoperation.java:587) @ weblogic.deploy.internal.targetserver.operations.activateoperation.activatedeployment(activateoperation.java:150) @ weblogic.deploy.internal.targetserver.operations.activateoperation.docommit(activateoperation.java:116) @ weblogic.deploy.internal.targetserver.operations.abstractoperation.commit(abstractoperation.java:339) @ weblogic.deploy.internal.targetserver.deploymentmanager.handledeploymentcommit(deploymentmanager.java:846) @ weblogic.deploy.internal.targetserver.deploymentmanager.activatedeploymentlist(deploymentmanager.java:1275) @ weblogic.deploy.internal.targetserver.deploymentmanager.handlecommit(deploymentmanager.java:442) @ weblogic.deploy.internal.targetserver.deploymentservicedispatcher.commit(deploymentservicedispatcher.java:176) @ weblogic.deploy.service.internal.targetserver.deploymentreceivercallbackdeliverer.docommitcallback(deploymentreceivercallbackdeliverer.java:195) @ weblogic.deploy.service.internal.targetserver.deploymentreceivercallbackdeliverer.access$100(deploymentreceivercallbackdeliverer.java:13) @ weblogic.deploy.service.internal.targetserver.deploymentreceivercallbackdeliverer$2.run(deploymentreceivercallbackdeliverer.java:68) @ weblogic.work.selftuningworkmanagerimpl$workadapterimpl.run(selftuningworkmanagerimpl.java:548) @ weblogic.work.executethread.execute(executethread.java:311) @ weblogic.work.executethread.run(executethread.java:263) caused by: weblogic.ejb.container.internalexception: transaction marked rollback or not expected transaction status: 1 @ weblogic.ejb.container.manager.singletonsessionmanager.handlelifecyclecallbacktx(singletonsessionmanager.java:422) @ weblogic.ejb.container.manager.singletonsessionmanager.constructandinitbean(singletonsessionmanager.java:339) @ weblogic.ejb.container.manager.singletonsessionmanager.access$300(singletonsessionmanager.java:62) @ weblogic.ejb.container.manager.singletonsessionmanager$singletonlifecyclemanager.doactualinit(singletonsessionmanager.java:753) @ weblogic.ejb.container.manager.singletonsessionmanager$singletonlifecyclemanager.initinternal(singletonsessionmanager.java:701) @ weblogic.ejb.container.manager.singletonsessionmanager$singletonlifecyclemanager.init(singletonsessionmanager.java:588) @ weblogic.ejb.container.manager.singletonsessionmanager.init(singletonsessionmanager.java:255) @ weblogic.ejb.container.manager.singletonsessionmanager.perhapsinit(singletonsessionmanager.java:251) @ weblogic.ejb.container.deployer.ejbdeployer.start(ejbdeployer.java:968) @ weblogic.ejb.container.deployer.ejbmodule.start(ejbmodule.java:597) @ weblogic.application.internal.extensiblemodulewrapper$startstatechange.next(extensiblemodulewrapper.java:360) @ weblogic.application.internal.extensiblemodulewrapper$startstatechange.next(extensiblemodulewrapper.java:356) @ weblogic.application.utils.statemachinedriver.nextstate(statemachinedriver.java:42) @ weblogic.application.internal.extensiblemodulewrapper.start(extensiblemodulewrapper.java:138) @ weblogic.application.internal.flow.modulelistenerinvoker.start(modulelistenerinvoker.java:124) @ weblogic.application.internal.flow.modulestatedriver$3.next(modulestatedriver.java:216) @ weblogic.application.internal.flow.modulestatedriver$3.next(modulestatedriver.java:211) @ weblogic.application.utils.statemachinedriver.nextstate(statemachinedriver.java:42) @ weblogic.application.internal.flow.modulestatedriver.start(modulestatedriver.java:73) @ weblogic.application.internal.flow.startmodulesflow.activate(startmodulesflow.java:24) @ weblogic.application.internal.basedeployment$2.next(basedeployment.java:729) @ weblogic.application.utils.statemachinedriver.nextstate(statemachinedriver.java:42) @ weblogic.application.internal.basedeployment.activate(basedeployment.java:258) @ weblogic.application.internal.eardeployment.activate(eardeployment.java:61) @ weblogic.application.internal.deploymentstatechecker.activate(deploymentstatechecker.java:165) @ weblogic.deploy.internal.targetserver.appcontainerinvoker.activate(appcontainerinvoker.java:80) @ weblogic.deploy.internal.targetserver.operations.abstractoperation.activate(abstractoperation.java:587) @ weblogic.deploy.internal.targetserver.operations.activateoperation.activatedeployment(activateoperation.java:150) @ weblogic.deploy.internal.targetserver.operations.activateoperation.docommit(activateoperation.java:116) @ weblogic.deploy.internal.targetserver.operations.abstractoperation.commit(abstractoperation.java:339) @ weblogic.deploy.internal.targetserver.deploymentmanager.handledeploymentcommit(deploymentmanager.java:846) @ weblogic.deploy.internal.targetserver.deploymentmanager.activatedeploymentlist(deploymentmanager.java:1275) @ weblogic.deploy.internal.targetserver.deploymentmanager.handlecommit(deploymentmanager.java:442) @ weblogic.deploy.internal.targetserver.deploymentservicedispatcher.commit(deploymentservicedispatcher.java:176) @ weblogic.deploy.service.internal.targetserver.deploymentreceivercallbackdeliverer.docommitcallback(deploymentreceivercallbackdeliverer.java:195) @ weblogic.deploy.service.internal.targetserver.deploymentreceivercallbackdeliverer.access$100(deploymentreceivercallbackdeliverer.java:13) @ weblogic.deploy.service.internal.targetserver.deploymentreceivercallbackdeliverer$2.run(deploymentreceivercallbackdeliverer.java:68) @ weblogic.work.selftuningworkmanagerimpl$workadapterimpl.run(selftuningworkmanagerimpl.java:548) @ weblogic.work.executethread.execute(executethread.java:311) @ weblogic.work.executethread.run(executethread.java:263) >
i have @singleton
in application, doesn't seem problem there since it's not raised there.
i looked in internet same problem, given solutions not enough me.
any help?
thank you.
edit:
by restarting local machine (on weblogic server installed), deployment produced more detailed error info, this
javax.ejb.nosuchejbexception: singleton mysingleton(application:myear-3.0.1_c1, ejbcomponent: myejb.jar) failed initialize. caused by: javax.ejb.ejbtransactionrolledbackexception: ejb exception: caused by: javax.persistence.persistenceexception: exception [eclipselink-28019] (eclipse persistence services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.entitymanagersetupexception exception description: deployment of persistenceunit [mypu] failed. close factories persistenceunit. caused by: exception [eclipselink-28019] (eclipse persistence services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.entitymanagersetupexception exception description: deployment of persistenceunit [mypu] failed. close factories persistenceunit. caused by: exception [eclipselink-0] (eclipse persistence services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.jpqlexception exception description: syntax error parsing [select o transaction o o.internalid = :internalid , (o.validuntil nullor current_timestamp between o.validfrom , o.validuntil)]. [30, 139] expression not valid conditional expression. [139, 140] query contains malformed ending.
it seems issue error in @namedquery
, solved it, i'll leave question open, doesn't answer it: how can tell weblogic.ejb.container.internalexception
is?
Comments
Post a Comment