4 Replies Latest reply on Dec 1, 2008 4:15 AM by Ramazan Pekin

    newbie question, jgroups udp multicast

    Ramazan Pekin Newbie

      I have tried to start jboss cache with default configs and I have been taken this error:

      
      [11/28/08 8:43:38:637 EET] 00000026 WebApp E Exception caught while initializing context
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: ETopUp] Unable to build EntityManagerFactory
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
       at java.security.AccessController.doPrivileged(AccessController.java:219)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
       at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:880)
       at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:596)
       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:365)
       at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
       at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
       at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
       at com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:645)
       at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:319)
       at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:290)
       at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:90)
       at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
       at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:665)
       at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:618)
       at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:335)
       at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:551)
       at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1303)
       at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1138)
       at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:569)
       at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:817)
       at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:949)
       at com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1486)
       at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4042)
       at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4139)
       at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:245)
       at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1491)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:618)
       at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:62)
       at sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:618)
       at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:265)
       at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1090)
       at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:971)
       at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:231)
       at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:238)
       at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833)
       at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802)
       at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1081)
       at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
       at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:974)
       at com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:139)
       at sun.reflect.GeneratedMethodAccessor139.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:618)
       at com.ibm.ws.management.connector.soap.SOAPConnector.invoke(SOAPConnector.java:351)
       at com.ibm.ws.management.connector.soap.SOAPConnector.service(SOAPConnector.java:207)
       at com.ibm.ws.management.connector.soap.SOAPConnection.handleRequest(SOAPConnection.java:55)
       at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:680)
       at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:484)
       at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: ETopUp] Unable to build EntityManagerFactory
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
       at java.security.AccessController.doPrivileged(AccessController.java:219)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
       at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:308)
       at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:270)
       at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:122)
       at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:78)
       at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
       at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:97)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1326)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
       ... 61 more
      Caused by: javax.persistence.PersistenceException: [PersistenceUnit: ETopUp] Unable to build EntityManagerFactory
       at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:677)
       at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)
       at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:224)
       at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:291)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
       ... 78 more
      Caused by: org.hibernate.cache.CacheException: Unable to start region factory
       at org.hibernate.cache.jbc2.builder.MultiplexingCacheInstanceManager.start(MultiplexingCacheInstanceManager.java:381)
       at org.hibernate.cache.jbc2.JBossCacheRegionFactory.start(JBossCacheRegionFactory.java:106)
       at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:215)
       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
       at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
       at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
       ... 83 more
      Caused by: org.jboss.cache.CacheException: Unable to invoke method public void org.jboss.cache.RPCManagerImpl.start() on object instance org.jboss.cache.RPCManagerImpl@57b457b4
       at org.jboss.cache.util.reflect.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:127)
       at org.jboss.cache.factories.ComponentRegistry$PrioritizedMethod.invoke(ComponentRegistry.java:932)
       at org.jboss.cache.factories.ComponentRegistry.internalStart(ComponentRegistry.java:718)
       at org.jboss.cache.factories.ComponentRegistry.start(ComponentRegistry.java:582)
       at org.jboss.cache.invocation.CacheInvocationDelegate.start(CacheInvocationDelegate.java:279)
       at org.hibernate.cache.jbc2.builder.MultiplexingCacheInstanceManager.start(MultiplexingCacheInstanceManager.java:314)
       ... 88 more
      Caused by: java.lang.reflect.InvocationTargetException
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:618)
       at org.jboss.cache.util.reflect.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:123)
       ... 93 more
      Caused by: org.jboss.cache.CacheException: Unable to connect to JGroups channel
       at org.jboss.cache.RPCManagerImpl.start(RPCManagerImpl.java:179)
       ... 98 more
      Caused by: org.jgroups.ChannelException: failed to start protocol stack
       at org.jgroups.JChannel.startStack(JChannel.java:1550)
       at org.jgroups.JChannel.connect(JChannel.java:365)
       at org.jgroups.mux.Multiplexer.connect(Multiplexer.java:557)
       at org.jgroups.mux.MuxChannel.connect(MuxChannel.java:167)
       at org.jboss.cache.RPCManagerImpl.start(RPCManagerImpl.java:175)
       ... 98 more
      Caused by: java.lang.Exception: problem creating sockets (bind_addr=etapt1/172.31.60.69, mcast_addr=228.10.10.10:45588)
       at org.jgroups.protocols.UDP.start(UDP.java:379)
       at org.jgroups.stack.Configurator.startProtocolStack(Configurator.java:124)
       at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:392)
       at org.jgroups.JChannel.startStack(JChannel.java:1547)
       ... 102 more
      Caused by: java.net.SocketException: The socket name is not available on this system.
       at java.net.PlainDatagramSocketImpl.setOption(PlainDatagramSocketImpl.java:347)
       at java.net.MulticastSocket.setInterface(MulticastSocket.java:432)
       at org.jgroups.protocols.UDP.createSockets(UDP.java:517)
       at org.jgroups.protocols.UDP.start(UDP.java:375)
       ... 105 more
      
      


      my persistence.xml

      <?xml version="1.0" encoding="UTF-8"?>
      <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
       <persistence-unit name="ETopUp" transaction-type="JTA">
       <provider>org.hibernate.ejb.HibernatePersistence</provider>
       <properties>
      
       <property name="hibernate.hbm2ddl.auto" value="validate"/>
       <property name="hibernate.format_sql" value="true"/>
      
       <property name="hibernate.cache.use_second_level_cache" value="true"/>
       <property name="hibernate.cache.use_query_cache" value="true"/>
       <property name="hibernate.cache.region.factory_class" value="org.hibernate.cache.jbc2.MultiplexedJBossCacheRegionFactory"/>
      
       <property name="hibernate.cache.region.jbc2.configs" value="/META-INF/jbc2-configs.xml"/>
       <property name="hibernate.cache.region.jbc2.cfg.multiplexer.stacks" value="/META-INF/jgroups-stacks.xml"/>
       <property name="hibernate.cache.region.jbc2.cfg.entity" value="optimistic-entity"/>
       <!-- property name="hibernate.cache.region.jbc2.cfg.collection" value=""/ -->
       <property name="hibernate.cache.region.jbc2.cfg.ts" value="timestamps-cache"/>
       <property name="hibernate.cache.region.jbc2.cfg.query" value="local-query"/>
       <property name="hibernate.cache.region.jbc2.query.localonly" value="true"/>
      
       </properties>
       </persistence-unit>
      </persistence>
      


        • 1. Re: newbie question, jgroups udp multicast
          Ramazan Pekin Newbie

          I run this command; netstat -na | grep 45588
          and the result is:
          udp 0 0 *.45588 *.*

          • 2. Re: newbie question, jgroups udp multicast
            Ramazan Pekin Newbie

            I have get over it by "-Djava.net.preferIPv4Stack=true" jvm parameter but now I am taking different exceptions.

            [11/28/08 15:30:23:181 EET] 0000002e viewhandler E Error Rendering View[/pages/error_before_login.xhtml]
             javax.faces.FacesException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.UnsupportedOperationException
             at javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1536)
             at com.sun.faces.renderkit.RenderKitUtils.hasPassThruAttributes(RenderKitUtils.java:372)
             at com.sun.faces.renderkit.RenderKitUtils.renderPassThruAttributes(RenderKitUtils.java:441)
             at com.sun.faces.renderkit.RenderKitUtils.renderPassThruAttributes(RenderKitUtils.java:405)
             at com.sun.faces.renderkit.html_basic.ImageRenderer.encodeEnd(ImageRenderer.java:147)
             at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:847)
             at com.sun.faces.renderkit.html_basic.OutputLinkRenderer.encodeChildren(OutputLinkRenderer.java:180.java:4173)
             at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:245)
             at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1491)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
             at java.lang.reflect.Method.invoke(Method.java:618)
             at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:62)
             at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
             at java.lang.reflect.Method.invoke(Method.java:618)
             at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:265)
             at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1092)
             at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:973)
             at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:231)
             at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:238)
             at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833)
             at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802)
             at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1082)
             at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
             at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:975)
             at com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:139)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
             at java.lang.reflect.Method.invoke(Method.java:618)
             at com.ibm.ws.management.connector.soap.SOAPConnector.invoke(SOAPConnector.java:351)
             at com.ibm.ws.management.connector.soap.SOAPConnector.service(SOAPConnector.java:207)
             at com.ibm.ws.management.connector.soap.SOAPConnection.handleRequest(SOAPConnection.java:55)
             at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:680)
             at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:484)
             ... 1 more
            Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.UnsupportedOperationException
             at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
             at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
             at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
             at java.security.AccessController.doPrivileged(AccessController.java:219)
             at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
             at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
             at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
             at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
             at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
             at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
             at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:308)
             at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:270)
             at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:122)
             at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:78)
             at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
             at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:97)
             at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1326)
             at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
             ... 62 more
            Caused by: java.lang.UnsupportedOperationException
             at org.hibernate.transaction.WebSphereExtendedJTATransactionLookup$TransactionManagerAdapter.suspend(WebSphereExtendedJTATransactionLookup.java:175)
             at org.hibernate.cache.jbc2.BasicRegionAdapter.suspend(BasicRegionAdapter.java:334)
             at org.hibernate.cache.jbc2.BasicRegionAdapter.activateLocalClusterNode(BasicRegionAdapter.java:92)
             at org.hibernate.cache.jbc2.BasicRegionAdapter.<init>(BasicRegionAdapter.java:80)
             at org.hibernate.cache.jbc2.TransactionalDataRegionAdapter.<init>(TransactionalDataRegionAdapter.java:41)
             at org.hibernate.cache.jbc2.timestamp.TimestampsRegionImpl.<init>(TimestampsRegionImpl.java:75)
             at org.hibernate.cache.jbc2.JBossCacheRegionFactory.buildTimestampsRegion(JBossCacheRegionFactory.java:143)
             at org.hibernate.cache.UpdateTimestampsCache.<init>(UpdateTimestampsCache.java:58)
             at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:369)
             at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
             at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
             at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
             at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)
             at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:224)
             at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:291)
             at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
             at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
             ... 79 more
            


            • 3. Re: newbie question, jgroups udp multicast
              Brian Stansberry Master

              Looks like that's a problem with your transaction manager. The thing that's failing with an UnsupportedOperationException is a call to javax.transaction.TransactionManager.suspend(). The javadocs for that method don't say anything about that being an optional method.

              • 4. Re: newbie question, jgroups udp multicast
                Ramazan Pekin Newbie

                I have changed some jpa properties of my entityManagerFactory, and everything looks like ok...

                 <property name="jpaPropertyMap">
                 <map>
                 <entry key="hibernate.current_session_context_class" value="jta"/>
                 <!-- entry key="hibernate.transaction.factory_class" value="org.hibernate.transaction.JTATransactionFactory"/ -->
                 <entry key="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.WebSphereTransactionManagerLookup"/>
                 </map>
                 </property>
                


                Now the next step watching jboss cache statistics. Thanks for your helps...