This is due to this issue which unfortunately did not get fixed for v2.1
https://glassfish.dev.java.net/issues/show_bug.cgi?id=5408
The clusterjsp ear file sample has a hard coded value for the
replication type to "ha" instead of "replicated" and specifying this in
the admin console does not seem to override this specification in the
descriptor. Could you open the ear file and change the value to replicated?
I am hoping this will get addressed soon.
glassfish_at_javadesktop.org wrote:
> Hi,
>
> I have created one cluster in the sun java eneterprize server 9.1 enterprize profile.I have configured pesistence mechanishm as replicated for the in memory replication configuration.I have deployed one sample application given appserver samples (clusterjsp) to test the in memory replication. But when i am testing it is failed.In the server logs i am finding the below exceptions. Can any one help how to configure in-memory replication for the cluster and standalone instances.
> #|2009-01-29T14:59:33.075+0530|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=httpSSLWorkerThread-38080-0;_RequestID=d48a9a37-eafb-446f-a765-20eb925d2f2b;|
> javax.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:398)
> at javax.naming.InitialContext.lookup(InitialContext.java:392)
> 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.enterprise.ee.web.sessmgmt.HAStore.getConnectionsFromPool(HAStore.java:3404)
> at com.sun.enterprise.ee.web.sessmgmt.HAStore.valveSave(HAStore.java:2164)
> at com.sun.enterprise.ee.web.sessmgmt.HAWebEventPersistentManager.doValveSave(HAWebEventPersistentManager.java:142)
> at com.sun.enterprise.ee.web.sessmgmt.HASessionStoreValve.doPostInvoke(HASessionStoreValve.java:158)
> at com.sun.enterprise.ee.web.sessmgmt.HASessionStoreValve.postInvoke(HASessionStoreValve.java:102)
> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:645)
> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
> at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:96)
> at com.sun.enterprise.ee.web.sessmgmt.SessionLockingStandardPipeline.invoke(SessionLockingStandardPipeline.java:120)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
> at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
> at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
> at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
> at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
> at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
> at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
> at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
> at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
> at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:1
>
> thanks
> talluri
> [Message sent by forum member 'satishtalluri' (satishtalluri)]
>
> http://forums.java.net/jive/thread.jspa?messageID=328881
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>