Kayıtlar

Ağustos, 2010 tarihine ait yayınlar gösteriliyor

Unable to set the activation state to true for the application

A strange exception that occurs sometime while restarting servers that working perfectly since longtime. I spend my hours for resolving this exception last night until reading this post ( post link ) It works for me too, but I haven't an answer why it appears and how it is resolved. weblogic.application.ModuleException: at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:349) at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107) at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:411) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:74) Truncated. see log file for complete stacktrace weblogic.common.ResourceException: is already bound at weblogic.jdbc.common.internal.RmiDataSource.start(RmiDataSource.java:387) at weblogic.jdbc.common.interna...

local beans in ejb3.0 with weblogic

don't waste your time while looking for public jndi that belong to your sessinbean while calling it locally in weblogic environment. weblogic don't support jndi with local beans even if you type mappped name in that class like package tr.gov.ibb.core.model.session; import java.util.List; import javax.ejb.Remove; import javax.ejb.Stateful; import javax.ejb.TransactionAttribute; import javax.ejb.TransactionAttributeType; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.PersistenceContextType; import javax.persistence.Query; import tr.gov.ibb.core.model.entity.Musteri; @Stateful(name = "TestBean", mappedName = "ejb/TestBean") @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) public class TestBean implements TestRemote,TestLocal { @PersistenceContext(unitName = "CoreContextWithoutEUS", type = PersistenceContextType.EXTENDED) private EntityManager em; public List getMusteriList...