Setting up cache coordination with Payara [message #1769238] |
Fri, 28 July 2017 07:10 |
Vano Beridze Messages: 2 Registered: July 2017 |
Junior Member |
|
|
I have payara cluster and want to have cache coordination enabled for my application.
I followed guide, created JMS topci and factory and included properties in persistence.xml
When I try to deploy my application in a cluster it fails with the following error
Error occurred during deployment: Exception while preparing the app : Exception [EclipseLink-28019] (Eclipse Persistence Services - 2.6.4.qualifier): org.eclipse.persistence.exceptions.EntityManagerSetupException Exception Description: Deployment of PersistenceUnit [clusterunit] failed. Close all factories for this PersistenceUnit. Internal Exception: Exception [EclipseLink-22106] (Eclipse Persistence Services - 2.6.4.qualifier): org.eclipse.persistence.exceptions.RemoteCommandManagerException Exception Description: Could not create external JMS connection with Topic jms/CCTopic and Topic Factory jms/CCTopicFactory. Also, check your context properties are set correctly. Internal Exception: Exception [EclipseLink-22103] (Eclipse Persistence Services - 2.6.4.qualifier): org.eclipse.persistence.exceptions.RemoteCommandManagerException Exception Description: Could not look up remote connection under name jms/CCTopicFactory with URL null
Also in the server log I have the error
Internal Exception: javax.naming.NamingException: Lookup failed for 'jms/CCTopicFactory' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming, dedicated.connection=true} [Root exception is javax.naming.NameNotFoundException: CCTopicFactory not found]. Please see server.log for more details.]]
|
|
|
Powered by
FUDForum. Page generated in 0.03554 seconds