Hi,
I have deployed an EAR consists of 2 war files and 2 jar files on Glass Fish v2.1.
The deployment was through with out any issues and when i access application i can see the below error in log file.
avax.naming.NameNotFoundException: hastore__pm not found
at com.sun.enterprise.naming.TransientContext.doLookup(TransientContext.java:216)
at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:188)
at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:192)
at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:74)
at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:111)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:409)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.sun.enterprise.ee.web.sessmgmt.ConnectionUtil.getDataSource(ConnectionUtil.java:262)
at com.sun.enterprise.ee.web.sessmgmt.ConnectionUtil.getConnectionFromPool(ConnectionUtil.java:350)
at com.sun.enterprise.ee.web.sessmgmt.ConnectionUtil.getConnectionsFromPool(ConnectionUtil.java:574)
at com.sun.ejb.ee.sfsb.store.SFSBStoreConnectionUtil.doSuperGetConnectionsFromPool(SFSBStoreConnectionUtil.java:116)
at com.sun.ejb.ee.sfsb.store.SFSBStoreConnectionUtil$PrivilegedGetConnections.run(SFSBStoreConnectionUtil.java:229)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.ejb.ee.sfsb.store.SFSBStoreConnectionUtil.getConnectionsFromPool(SFSBStoreConnectionUtil.java:182)
at com.sun.ejb.ee.sfsb.store.HAEjbStore.save(HAEjbStore.java:436)
at com.sun.ejb.ee.sfsb.store.HAEjbStore.save(HAEjbStore.java:400)
at com.sun.ejb.ee.sfsb.store.HASFSBStoreManager.checkpointSave(HASFSBStoreManager.java:537)
at com.sun.ejb.ee.sfsb.store.HASFSBStoreManager.checkpointSave(HASFSBStoreManager.java:508)
at com.sun.ejb.ee.sfsb.store.HASFSBStoreManager.checkpointSave(HASFSBStoreManager.java:344)
at com.sun.ejb.ee.sfsb.store.HaTxStoreManager.checkpointSave(HaTxStoreManager.java:75)
at com.sun.ejb.containers.SFSBTxCheckpointCoordinator.doTxCheckpoint(SFSBTxCheckpointCoordinator.java:101)
at com.sun.ejb.containers.ContainerSynchronization.afterCompletion(ContainerSynchronization.java:212)
at com.sun.enterprise.distributedtx.J2EETransaction.commit(J2EETransaction.java:500)
at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.commit(J2EETransactionManagerOpt.java:371)
at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:3817)
at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3596)
at com.sun.ejb.containers.StatefulSessionContainer.postInvokeTx(StatefulSessionContainer.java:1377)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1379)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1316)
at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:210)
at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:120)
at $Proxy25.getErrorMessages(Unknown Source)
at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:233)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152)
at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225)
The sun-web.xml file has the following declaration.
<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Servlet 2.5//EN" "
http://www.sun.com/software/appserver/dtds/sun-web-app_2_5-0.dtd">
Before migrating to Glass FIsh the application was running on SJAs version 7.
If any one had faced this issue before please provide your pointers.
Thanks in advance for the help.
[Message sent by forum member 'dsrivalli' (dsrivalli_at_gmail.com)]
http://forums.java.net/jive/thread.jspa?messageID=391457