8 Replies Latest reply on Sep 4, 2013 11:00 AM by marcodanti

    Unable to achieve session replication in jboss as 7.1.1

    suyograj Newbie

      Hello,

      I have problem with session replication. Please any one help me to out of it..

       

      Environment

      JBoss AS 7.1.1, mod_cluster-1.2.0.Final-windows-x84-ssl.rar(containg mod_cluster/1.2.0.Final)

       

      I configured two server on different machine, one is acting as master, its name is "master" server & other is its client name as "node1".

       

      *)following is the server log of master server

      18:53:27,845 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 33) JBAS015537: Activating WebServices Extension

      18:53:28,095 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 37) JBAS013101: Activating Security Subsystem

      18:53:28,313 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 43) JBAS011800: Activating Naming Subsystem

      18:53:28,313 INFO  [org.jboss.as.jacorb] (ServerService Thread Pool -- 55) JBAS016300: Activating JacORB Subsystem

      18:53:28,345 INFO  [org.jboss.as.security] (MSC service thread 1-3) JBAS013100: Current PicketBox version=4.0.7.Final

      18:53:28,391 INFO  [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 50) JBAS010260: Activating JGroups subsystem.

      18:53:28,532 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 56) JBAS010280: Activating Infinispan subsystem.

      18:53:28,579 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 42) JBAS011940: Activating OSGi Subsystem

      18:53:28,625 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 60) JBAS016200: Activating ConfigAdmin Subsystem

      18:53:28,641 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 59) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

      18:53:28,828 INFO  [org.jboss.as.naming] (MSC service thread 1-2) JBAS011802: Starting Naming Service

      18:53:28,828 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-3) JBoss Web Services - Stack CXF Server 4.0.2.GA

      18:53:28,859 INFO  [org.jboss.jaxr] (MSC service thread 1-2) JBAS014000: Started JAXR subsystem, binding JAXR connection factory into JNDI as: java:jboss/jaxr/ConnectionFactory

      18:53:28,859 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-2) JBAS015400: Bound mail session [java:jboss/mail/Default]

      18:53:28,875 INFO  [org.jboss.as.connector] (MSC service thread 1-2) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)

      18:53:29,078 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 56) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.

      18:53:29,078 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 56) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.

      18:53:29,218 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-4) Starting Coyote HTTP/1.1 on http--192.168.1.31-8330

      18:53:29,343 INFO  [org.apache.coyote.ajp.AjpProtocol] (MSC service thread 1-1) Starting Coyote AJP/1.3 on ajp--192.168.1.31-8259

      18:53:29,437 WARN  [jacorb.codeset] (MSC service thread 1-4) Warning - unknown codeset (Cp1252) - defaulting to ISO-8859-1

      18:53:29,499 INFO  [org.jboss.as.jacorb] (MSC service thread 1-4) JBAS016330: CORBA ORB Service started

      18:53:29,608 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "ClusterApp.war"

      18:53:29,624 WARN  [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011600: AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal

      18:53:29,733 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-4) live server is starting with configuration HornetQ Configuration (clustered=true,backup=false,sharedStore=true,journalDirectory=C:\SamyakSoft\jboss-as-7.1.1.Final\domain\servers\master-three\data\messagingjournal,bindingsDirectory=C:\SamyakSoft\jboss-as-7.1.1.Final\domain\servers\master-three\data\messagingbindings,largeMessagesDirectory=C:\SamyakSoft\jboss-as-7.1.1.Final\domain\servers\master-three\data\messaginglargemessages,pagingDirectory=C:\SamyakSoft\jboss-as-7.1.1.Final\domain\servers\master-three\data\messagingpaging)

      18:53:29,733 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-4) Waiting to obtain live lock

      18:53:29,749 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on Samyak31/192.168.1.31:4697

      18:53:29,827 INFO  [org.hornetq.core.persistence.impl.journal.JournalStorageManager] (MSC service thread 1-4) Using NIO Journal

      18:53:29,936 INFO  [org.jboss.as.jacorb] (MSC service thread 1-2) JBAS016328: CORBA Naming Service started

      18:53:29,983 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]

      18:53:30,373 INFO  [org.hornetq.core.server.impl.FileLockNodeManager] (MSC service thread 1-4) Waiting to obtain live lock

      18:53:30,373 INFO  [org.hornetq.core.server.impl.FileLockNodeManager] (MSC service thread 1-4) Live Server Obtained live lock

      18:53:30,716 WARN  [org.hornetq.core.server.cluster.impl.BroadcastGroupImpl] (MSC service thread 1-4) local-bind-address specified for broadcast group but no local-bind-port specified so socket will NOT be bound to a local address/port

      18:53:30,763 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-4) Started Netty Acceptor version 3.2.5.Final-a96d88c Samyak31:5705 for CORE protocol

      18:53:30,763 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-4) Started Netty Acceptor version 3.2.5.Final-a96d88c Samyak31:5695 for CORE protocol

      18:53:30,763 INFO  [stdout] (pool-12-thread-1)

      18:53:30,778 INFO  [stdout] (pool-12-thread-1) -------------------------------------------------------------------

      18:53:30,778 INFO  [stdout] (pool-12-thread-1) GMS: address=samyak31:master-three/web, cluster=web, physical address=192.168.1.31:55450

      18:53:30,778 INFO  [stdout] (pool-12-thread-1) -------------------------------------------------------------------

       

      18:53:30,778 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-4) Server is now live

      18:53:30,778 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-4) HornetQ Server version 2.2.13.Final (HQ_2_2_13_FINAL_AS7, 122) [accf71fe-0f0b-11e3-91a5-9c3b20524153]) started

      18:53:30,778 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-2) trying to deploy queue jms.topic.testTopic

      18:53:30,841 INFO  [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011601: Bound messaging object to jndi name java:/topic/test

      18:53:30,841 INFO  [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/topic/test

      18:53:30,841 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-2) trying to deploy queue jms.queue.testQueue

      18:53:30,887 INFO  [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011601: Bound messaging object to jndi name java:/queue/test

      18:53:30,887 INFO  [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/queue/test

      18:53:30,887 INFO  [org.jboss.as.messaging] (MSC service thread 1-4) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/RemoteConnectionFactory

      18:53:30,887 INFO  [org.jboss.as.messaging] (MSC service thread 1-4) JBAS011601: Bound messaging object to jndi name java:/RemoteConnectionFactory

      18:53:30,887 INFO  [org.jboss.as.messaging] (MSC service thread 1-1) JBAS011601: Bound messaging object to jndi name java:/ConnectionFactory

      18:53:30,919 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-2) JBAS010406: Registered connection factory java:/JmsXA

      18:53:30,934 INFO  [org.hornetq.ra.HornetQResourceAdapter] (MSC service thread 1-2) HornetQ resource adaptor started

      18:53:30,934 INFO  [org.jboss.as.connector.services.ResourceAdapterActivatorService$ResourceAdapterActivator] (MSC service thread 1-2) IJ020002: Deployed: file://RaActivatorhornetq-ra

      18:53:30,934 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-4) JBAS010401: Bound JCA ConnectionFactory [java:/JmsXA]

      18:53:32,931 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-1) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.

      18:53:32,931 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-4) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.

      18:53:32,993 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-13-thread-1) ISPN000078: Starting JGroups Channel

      18:53:32,993 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-13-thread-1) ISPN000094: Received new cluster view: [samyak31:master-three/web|0] [samyak31:master-three/web]

      18:53:32,993 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-13-thread-1) ISPN000079: Cache local address is samyak31:master-three/web, physical addresses are [192.168.1.31:55450]

      18:53:32,993 INFO  [org.infinispan.factories.GlobalComponentRegistry] (pool-13-thread-1) ISPN000128: Infinispan version: Infinispan 'Brahma' 5.1.2.FINAL

      18:53:32,993 INFO  [org.infinispan.config.ConfigurationValidatingVisitor] (pool-13-thread-1) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.

      18:53:33,087 INFO  [org.infinispan.jmx.CacheJmxRegistration] (pool-13-thread-1) ISPN000031: MBeans were successfully registered to the platform mbean server.

      18:53:33,103 INFO  [org.jboss.as.clustering.infinispan] (pool-13-thread-1) JBAS010281: Started repl cache from web container

      18:53:33,118 INFO  [org.jboss.as.clustering.impl.CoreGroupCommunicationService.web] (MSC service thread 1-2) JBAS010206: Number of cluster members: 1

      18:53:33,430 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-2) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.

      18:53:33,446 INFO  [org.infinispan.config.ConfigurationValidatingVisitor] (MSC service thread 1-2) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.

      18:53:33,446 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-2) ISPN000031: MBeans were successfully registered to the platform mbean server.

      18:53:33,446 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-2) JBAS010281: Started //default-host//ClusterApp cache from web container

      18:53:33,461 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-2) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.

      18:53:33,461 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-2) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.

      18:53:33,555 INFO  [org.jboss.web] (MSC service thread 1-2) JBAS018210: Registering web context: /ClusterApp

      18:53:46,176 INFO  [org.jboss.modcluster.ModClusterService] (MSC service thread 1-3) Initializing mod_cluster 1.2.0.Final

      18:53:46,176 INFO  [org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl] (MSC service thread 1-3) Listening to proxy advertisements on 224.0.1.105:23364

      18:53:46,191 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "ClusterApp.war"

      18:53:46,191 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 23244ms - Started 214 of 345 services (130 services are passive or on-demand)

      18:55:17,374 INFO  [org.jboss.as.clustering.impl.CoreGroupCommunicationService.lifecycle.web] (Incoming-1,null) JBAS010247: New cluster view for partition web (id: 1, delta: 1, merge: false) : [samyak31:master-three/web, node1:slave-three/web]

      18:55:17,374 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (Incoming-1,null) ISPN000094: Received new cluster view: [samyak31:master-three/web|1] [samyak31:master-three/web, node1:slave-three/web]

      18:55:20,135 INFO  [org.hornetq.core.server.cluster.impl.BridgeImpl] (Thread-17 (HornetQ-server-HornetQServerImpl::serverUUID=accf71fe-0f0b-11e3-91a5-9c3b20524153-26740844)) Bridge ClusterConnectionBridge@106e5a7 [name=sf.my-cluster.ee55e261-0efc-11e3-a657-92a320524153, queue=QueueImpl[name=sf.my-cluster.ee55e261-0efc-11e3-a657-92a320524153, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=accf71fe-0f0b-11e3-91a5-9c3b20524153]]@1cf3777 targetConnector=ServerLocatorImpl (identity=(Cluster-connection-bridge::ClusterConnectionBridge@106e5a7 [name=sf.my-cluster.ee55e261-0efc-11e3-a657-92a320524153, queue=QueueImpl[name=sf.my-cluster.ee55e261-0efc-11e3-a657-92a320524153, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=accf71fe-0f0b-11e3-91a5-9c3b20524153]]@1cf3777 targetConnector=ServerLocatorImpl [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=5895&host=Samyak204-PC], discoveryGroupConfiguration=null]]::ClusterConnectionImpl@33343621[nodeUUID=accf71fe-0f0b-11e3-91a5-9c3b20524153, connector=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=5695&host=Samyak31, address=jms, server=HornetQServerImpl::serverUUID=accf71fe-0f0b-11e3-91a5-9c3b20524153])) [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=5895&host=Samyak204-PC], discoveryGroupConfiguration=null]] is connected

       

       

      *)this is the log of node1 server

       

      18:54:06,926 INFO  [org.jboss.jaxr] (MSC service thread 1-1) JBAS014000: Started JAXR subsystem, binding JAXR connection factory into JNDI as: java:jboss/jaxr/ConnectionFactory

      18:54:07,213 INFO  [org.jboss.as.connector] (MSC service thread 1-2) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)

      18:54:06,977 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-4) JBoss Web Services - Stack CXF Server 4.0.2.GA

      18:54:07,610 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-1) JBAS015400: Bound mail session [java:jboss/mail/Default]

      18:54:08,245 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 56) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.

      18:54:08,259 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 56) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.

      18:54:08,406 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Starting Coyote HTTP/1.1 on http--192.168.1.204-8530

      18:54:08,441 INFO  [org.apache.coyote.ajp.AjpProtocol] (MSC service thread 1-1) Starting Coyote AJP/1.3 on ajp--192.168.1.204-8459

      18:54:08,596 INFO  [org.jboss.modcluster.ModClusterService] (MSC service thread 1-4) Initializing mod_cluster 1.2.0.Final

      18:54:08,683 INFO  [org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl] (MSC service thread 1-4) Listening to proxy advertisements on 224.0.1.105:23364

      18:54:08,739 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "ClusterApp.war"

      18:54:08,797 WARN  [org.jboss.as.messaging] (MSC service thread 1-4) JBAS011600: AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal

      18:54:08,945 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-1) live server is starting with configuration HornetQ Configuration (clustered=true,backup=false,sharedStore=true,journalDirectory=C:\SamyakSoft\jboss-as-7.1.1.Final-test\domain\servers\slave-three\data\messagingjournal,bindingsDirectory=C:\SamyakSoft\jboss-as-7.1.1.Final-test\domain\servers\slave-three\data\messagingbindings,largeMessagesDirectory=C:\SamyakSoft\jboss-as-7.1.1.Final-test\domain\servers\slave-three\data\messaginglargemessages,pagingDirectory=C:\SamyakSoft\jboss-as-7.1.1.Final-test\domain\servers\slave-three\data\messagingpaging)

      18:54:08,958 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-1) Waiting to obtain live lock

      18:54:09,002 INFO  [org.hornetq.core.persistence.impl.journal.JournalStorageManager] (MSC service thread 1-1) Using NIO Journal

      18:54:09,124 INFO  [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on Samyak204-PC/192.168.1.204:4897

      18:54:09,296 WARN  [jacorb.codeset] (MSC service thread 1-3) Warning - unknown codeset (Cp1252) - defaulting to ISO-8859-1

      18:54:09,356 INFO  [org.jboss.as.jacorb] (MSC service thread 1-3) JBAS016330: CORBA ORB Service started

      18:54:09,397 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]

      18:54:09,580 INFO  [org.jboss.as.jacorb] (MSC service thread 1-3) JBAS016328: CORBA Naming Service started

      18:54:09,773 INFO  [org.hornetq.core.server.impl.FileLockNodeManager] (MSC service thread 1-1) Waiting to obtain live lock

      18:54:09,778 INFO  [org.hornetq.core.server.impl.FileLockNodeManager] (MSC service thread 1-1) Live Server Obtained live lock

      18:54:10,401 WARN  [org.hornetq.core.server.cluster.impl.BroadcastGroupImpl] (MSC service thread 1-1) local-bind-address specified for broadcast group but no local-bind-port specified so socket will NOT be bound to a local address/port

      18:54:10,496 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-1) Started Netty Acceptor version 3.2.5.Final-a96d88c Samyak204-PC:5895 for CORE protocol

      18:54:10,513 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-1) Started Netty Acceptor version 3.2.5.Final-a96d88c Samyak204-PC:5905 for CORE protocol

      18:54:10,531 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-1) Server is now live

      18:54:10,542 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-1) HornetQ Server version 2.2.13.Final (HQ_2_2_13_FINAL_AS7, 122) [ee55e261-0efc-11e3-a657-92a320524153]) started

      18:54:10,551 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-1) trying to deploy queue jms.topic.testTopic

      18:54:10,637 INFO  [org.jboss.as.messaging] (MSC service thread 1-1) JBAS011601: Bound messaging object to jndi name java:/topic/test

      18:54:10,639 INFO  [org.jboss.as.messaging] (MSC service thread 1-1) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/topic/test

      18:54:10,647 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-3) trying to deploy queue jms.queue.testQueue

      18:54:10,663 INFO  [org.jboss.as.messaging] (MSC service thread 1-3) JBAS011601: Bound messaging object to jndi name java:/queue/test

      18:54:10,664 INFO  [org.jboss.as.messaging] (MSC service thread 1-3) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/queue/test

      18:54:10,686 INFO  [org.jboss.as.messaging] (MSC service thread 1-4) JBAS011601: Bound messaging object to jndi name java:/ConnectionFactory

      18:54:10,689 INFO  [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/RemoteConnectionFactory

      18:54:10,691 INFO  [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011601: Bound messaging object to jndi name java:/RemoteConnectionFactory

      18:54:10,722 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-1) JBAS010406: Registered connection factory java:/JmsXA

      18:54:10,744 INFO  [org.hornetq.ra.HornetQResourceAdapter] (MSC service thread 1-1) HornetQ resource adaptor started

      18:54:10,745 INFO  [org.jboss.as.connector.services.ResourceAdapterActivatorService$ResourceAdapterActivator] (MSC service thread 1-1) IJ020002: Deployed: file://RaActivatorhornetq-ra

      18:54:10,751 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-1) JBAS010401: Bound JCA ConnectionFactory [java:/JmsXA]

      18:54:11,937 INFO  [stdout] (pool-10-thread-1)

      18:54:11,938 INFO  [stdout] (pool-10-thread-1) -------------------------------------------------------------------

      18:54:11,938 INFO  [stdout] (pool-10-thread-1) GMS: address=node1:slave-three/web, cluster=web, physical address=192.168.1.204:55650

      18:54:11,940 INFO  [stdout] (pool-10-thread-1) -------------------------------------------------------------------

       

      18:54:12,259 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-4) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.

      18:54:12,259 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-2) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.

      18:54:12,344 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-11-thread-1) ISPN000078: Starting JGroups Channel

      18:54:12,352 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-11-thread-1) ISPN000094: Received new cluster view: [samyak31:master-three/web|1] [samyak31:master-three/web, node1:slave-three/web]

      18:54:12,354 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-11-thread-1) ISPN000079: Cache local address is node1:slave-three/web, physical addresses are [192.168.1.204:55650]

      18:54:12,366 INFO  [org.infinispan.factories.GlobalComponentRegistry] (pool-11-thread-1) ISPN000128: Infinispan version: Infinispan 'Brahma' 5.1.2.FINAL

      18:54:12,367 INFO  [org.infinispan.config.ConfigurationValidatingVisitor] (pool-11-thread-1) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.

      18:54:12,483 INFO  [org.infinispan.jmx.CacheJmxRegistration] (pool-11-thread-1) ISPN000031: MBeans were successfully registered to the platform mbean server.

      18:54:12,537 INFO  [org.jboss.as.clustering.infinispan] (pool-11-thread-1) JBAS010281: Started repl cache from web container

      18:54:12,551 INFO  [org.jboss.as.clustering.impl.CoreGroupCommunicationService.web] (MSC service thread 1-3) JBAS010206: Number of cluster members: 2

      18:54:12,621 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-1) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.

      18:54:12,626 INFO  [org.infinispan.config.ConfigurationValidatingVisitor] (MSC service thread 1-1) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.

      18:54:12,650 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-1) ISPN000031: MBeans were successfully registered to the platform mbean server.

      18:54:12,671 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-1) JBAS010281: Started //default-host//ClusterApp cache from web container

      18:54:12,691 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-1) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.

      18:54:12,697 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-1) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.

      18:54:12,838 INFO  [org.jboss.web] (MSC service thread 1-1) JBAS018210: Registering web context: /ClusterApp

      18:54:12,862 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "ClusterApp.war"

      18:54:12,874 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 16216ms - Started 214 of 346 services (131 services are passive or on-demand)

      18:54:14,822 INFO  [org.hornetq.core.server.cluster.impl.BridgeImpl] (Thread-7 (HornetQ-server-HornetQServerImpl::serverUUID=ee55e261-0efc-11e3-a657-92a320524153-21422719)) Bridge ClusterConnectionBridge@7af437 [name=sf.my-cluster.accf71fe-0f0b-11e3-91a5-9c3b20524153, queue=QueueImpl[name=sf.my-cluster.accf71fe-0f0b-11e3-91a5-9c3b20524153, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=ee55e261-0efc-11e3-a657-92a320524153]]@3786b9 targetConnector=ServerLocatorImpl (identity=(Cluster-connection-bridge::ClusterConnectionBridge@7af437 [name=sf.my-cluster.accf71fe-0f0b-11e3-91a5-9c3b20524153, queue=QueueImpl[name=sf.my-cluster.accf71fe-0f0b-11e3-91a5-9c3b20524153, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=ee55e261-0efc-11e3-a657-92a320524153]]@3786b9 targetConnector=ServerLocatorImpl [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=5695&host=Samyak31], discoveryGroupConfiguration=null]]::ClusterConnectionImpl@28227156[nodeUUID=ee55e261-0efc-11e3-a657-92a320524153, connector=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=5895&host=Samyak204-PC, address=jms, server=HornetQServerImpl::serverUUID=ee55e261-0efc-11e3-a657-92a320524153])) [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=5695&host=Samyak31], discoveryGroupConfiguration=null]] is connected

       

      *)this is the apache httpd's error_log file log

       

      Starting the Apache2.2 service

      The Apache2.2 service is running.

      ] Advertise initialized for process 3528

      [Tue Aug 27 17:48:06 2013] [notice] Apache/2.2.21 (Win32) mod_cluster/1.2.0.Final configured -- resuming normal operations

      [Tue Aug 27 17:48:06 2013] [notice] Server built: Feb  9 2012 22:24:33

      [Tue Aug 27 17:48:06 2013] [notice] Parent: Created child process 4872

      [Tue Aug 27 17:48:06 2013] [notice] Child 4872: Child process is running

      [Tue Aug 27 17:48:06 2013] [notice] Child 4872: Acquired the start mutex.

      [Tue Aug 27 17:48:06 2013] [notice] Child 4872: Starting 64 worker threads.

      [Tue Aug 27 17:48:06 2013] [notice] Child 4872: Starting thread to listen on port 8686.

       

       

      *) this is code from httpd.conf file

      LoadModule proxy_module modules/mod_proxy.so

      LoadModule proxy_ajp_module modules/mod_proxy_ajp.so

      LoadModule proxy_http_module modules/mod_proxy_http.so

       

      LoadModule proxy_cluster_module modules/mod_proxy_cluster.so

       

      LoadModule manager_module modules/mod_manager.so

      LoadModule slotmem_module modules/mod_slotmem.so

      LoadModule advertise_module modules/mod_advertise.so

       

      # MOD_CLUSTER_ADDS

      # Adjust to you hostname and subnet.

      <IfModule manager_module>

        Listen 192.168.1.31:8686

        ManagerBalancerName other-server-group

        <VirtualHost 192.168.1.31:8686>

          <Location />

           Order deny,allow

           Deny from all

           Allow from 192.168.1.

          </Location>

       

          KeepAliveTimeout 300

          MaxKeepAliveRequests 0

          ServerAdvertise on http://192.168.1.31:8686

          AdvertiseFrequency 5

          #AdvertiseSecurityKey secret

          #AdvertiseGroup 224.0.1.105:23364

          EnableMCPMReceive

          AllowDisplay On

          <Location /mod_cluster_manager>

             SetHandler mod_cluster-manager

             Order deny,allow

             Deny from all

             Allow from 192.168.1.

          </Location>

       

        </VirtualHost>

       

      *) the snapshot of mod_cluster_manager window is attached with this message

       

       

      *) when I give request 192.168.1.31/ClusterApp it shows me unable to connect as response

       

      thanks in advance please any one solve it...

        • 1. Re: Unable to achieve session replication in jboss as 7.1.1
          suyograj Newbie

          Can any one know about the problem I have occurred for session failover. Please reply me to sort out...

          • 2. Re: Unable to achieve session replication in jboss as 7.1.1
            marcodanti Newbie

            From your screenshot it looks like there is no cluster-related communication between httpd and the JBoss servers.

            Could you post your full httpd configuration files and JBoss standalone-ha.xml files (I assume you are running Jboss with the -ha configuration)?

            • 3. Re: Re: Unable to achieve session replication in jboss as 7.1.1
              suyograj Newbie

              Hi marcodanti, thanks for your reply.

              I am using domain mode, so I attached domain.xml,host.xml file of host controller called node1. And also attached the host.xml of slave host called node2.

              I am migrated to JBoss EAP 6.1.0, but there I faced same problem here also. One thing is I want to tell you that I am able to see this two nodes are registered with httpd but still I am unable to get the session failover. I given request http://192.138.1.31/ClusterApp/put.jsp but browser window says "This web page is not available" refer reqeust.png file it is the response of it. I don't understand where I was done mistake. Please have look to following, and also have error_log from httpd installation, mod_cluster_manager.png is the screen shot of two node registration.

               

              *) full httpd.conf file

              #

              # This is the main Apache HTTP server configuration file.  It contains the

              # configuration directives that give the server its instructions.

              # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.

              # In particular, see

              # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>

              # for a discussion of each configuration directive.

              #

              # Do NOT simply read the instructions in here without understanding

              # what they do.  They're here only as hints or reminders.  If you are unsure

              # consult the online docs. You have been warned.

              #

              # Configuration and logfile names: If the filenames you specify for many

              # of the server's control files begin with "/" (or "drive:/" for Win32), the

              # server will use that explicit path.  If the filenames do *not* begin

              # with "/", the value of ServerRoot is prepended -- so "logs/foo_log"

              # with ServerRoot set to "C:/SamyakSoft/httpd-2.2" will be interpreted by the

              # server as "C:/SamyakSoft/httpd-2.2/logs/foo_log".

               

              #

              # ServerRoot: The top of the directory tree under which the server's

              # configuration, error, and log files are kept.

              #

              # Do not add a slash at the end of the directory path.  If you point

              # ServerRoot at a non-local disk, be sure to point the LockFile directive

              # at a local disk.  If you wish to share the same ServerRoot for multiple

              # httpd daemons, you will need to change at least LockFile and PidFile.

              #

              ServerRoot "C:/SamyakSoft/httpd-2.2"

               

              #

              # Listen: Allows you to bind Apache to specific IP addresses and/or

              # ports, instead of the default. See also the <VirtualHost>

              # directive.

              #

              # Change this to Listen on specific IP addresses as shown below to

              # prevent Apache from glomming onto all bound IP addresses.

              #

              #Listen 12.34.56.78:80

              Listen 192.168.1.31:8000

               

              #

              # Dynamic Shared Object (DSO) Support

              #

              # To be able to use the functionality of a module which was built as a DSO you

              # have to place corresponding `LoadModule' lines at this location so the

              # directives contained in it are actually available _before_ they are used.

              # Statically compiled modules (those listed by `httpd -l') do not need

              # to be loaded here.

              #

              # Example:

              # LoadModule foo_module modules/mod_foo.so

              #

              LoadModule actions_module modules/mod_actions.so

              LoadModule alias_module modules/mod_alias.so

              LoadModule asis_module modules/mod_asis.so

              LoadModule auth_basic_module modules/mod_auth_basic.so

              #LoadModule auth_digest_module modules/mod_auth_digest.so

              #LoadModule authn_alias_module modules/mod_authn_alias.so

              #LoadModule authn_anon_module modules/mod_authn_anon.so

              #LoadModule authn_dbd_module modules/mod_authn_dbd.so

              #LoadModule authn_dbm_module modules/mod_authn_dbm.so

              LoadModule authn_default_module modules/mod_authn_default.so

              LoadModule authn_file_module modules/mod_authn_file.so

              #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so

              #LoadModule authz_dbm_module modules/mod_authz_dbm.so

              LoadModule authz_default_module modules/mod_authz_default.so

              LoadModule authz_groupfile_module modules/mod_authz_groupfile.so

              LoadModule authz_host_module modules/mod_authz_host.so

              #LoadModule authz_owner_module modules/mod_authz_owner.so

              LoadModule authz_user_module modules/mod_authz_user.so

              LoadModule autoindex_module modules/mod_autoindex.so

              #LoadModule cache_module modules/mod_cache.so

              #LoadModule cern_meta_module modules/mod_cern_meta.so

              LoadModule cgi_module modules/mod_cgi.so

              #LoadModule charset_lite_module modules/mod_charset_lite.so

              #LoadModule dav_module modules/mod_dav.so

              #LoadModule dav_fs_module modules/mod_dav_fs.so

              #LoadModule dav_lock_module modules/mod_dav_lock.so

              #LoadModule dbd_module modules/mod_dbd.so

              #LoadModule deflate_module modules/mod_deflate.so

              LoadModule dir_module modules/mod_dir.so

              #LoadModule disk_cache_module modules/mod_disk_cache.so

              #LoadModule dumpio_module modules/mod_dumpio.so

              LoadModule env_module modules/mod_env.so

              #LoadModule expires_module modules/mod_expires.so

              #LoadModule ext_filter_module modules/mod_ext_filter.so

              #LoadModule file_cache_module modules/mod_file_cache.so

              #LoadModule filter_module modules/mod_filter.so

              #LoadModule headers_module modules/mod_headers.so

              #LoadModule ident_module modules/mod_ident.so

              #LoadModule imagemap_module modules/mod_imagemap.so

              LoadModule include_module modules/mod_include.so

              #LoadModule info_module modules/mod_info.so

              LoadModule isapi_module modules/mod_isapi.so

              #LoadModule ldap_module modules/mod_ldap.so

              #LoadModule logio_module modules/mod_logio.so

              LoadModule log_config_module modules/mod_log_config.so

              #LoadModule log_forensic_module modules/mod_log_forensic.so

              #LoadModule mem_cache_module modules/mod_mem_cache.so

              LoadModule mime_module modules/mod_mime.so

              #LoadModule mime_magic_module modules/mod_mime_magic.so

              LoadModule negotiation_module modules/mod_negotiation.so

              #LoadModule proxy_module modules/mod_proxy.so

              #LoadModule proxy_ajp_module modules/mod_proxy_ajp.so

              #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so

              #LoadModule proxy_connect_module modules/mod_proxy_connect.so

              #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so

              #LoadModule proxy_http_module modules/mod_proxy_http.so

              #LoadModule rewrite_module modules/mod_rewrite.so

              LoadModule setenvif_module modules/mod_setenvif.so

              #LoadModule speling_module modules/mod_speling.so

              #LoadModule ssl_module modules/mod_ssl.so

              #LoadModule status_module modules/mod_status.so

              #LoadModule substitute_module modules/mod_substitute.so

              #LoadModule unique_id_module modules/mod_unique_id.so

              #LoadModule userdir_module modules/mod_userdir.so

              #LoadModule usertrack_module modules/mod_usertrack.so

              #LoadModule version_module modules/mod_version.so

              #LoadModule vhost_alias_module modules/mod_vhost_alias.so

               

              <IfModule !mpm_netware_module>

              <IfModule !mpm_winnt_module>

              #

              # If you wish httpd to run as a different user or group, you must run

              # httpd as root initially and it will switch.

              #

              # User/Group: The name (or #number) of the user/group to run httpd as.

              # It is usually good practice to create a dedicated user and group for

              # running httpd, as with most system services.

              #

              User daemon

              Group daemon

               

              </IfModule>

              </IfModule>

               

              # 'Main' server configuration

              #

              # The directives in this section set up the values used by the 'main'

              # server, which responds to any requests that aren't handled by a

              # <VirtualHost> definition.  These values also provide defaults for

              # any <VirtualHost> containers you may define later in the file.

              #

              # All of these directives may appear inside <VirtualHost> containers,

              # in which case these default settings will be overridden for the

              # virtual host being defined.

              #

               

              #

              # ServerAdmin: Your address, where problems with the server should be

              # e-mailed.  This address appears on some server-generated pages, such

              # as error documents.  e.g. admin@your-domain.com

              #

              ServerAdmin samyak@localhost.localdomain

               

              #

              # ServerName gives the name and port that the server uses to identify itself.

              # This can often be determined automatically, but we recommend you specify

              # it explicitly to prevent problems during startup.

              #

              # If your host doesn't have a registered DNS name, enter its IP address here.

              #

              #ServerName localhost:8000

              ServerName 192.168.1.31:8000

               

              #

              # DocumentRoot: The directory out of which you will serve your

              # documents. By default, all requests are taken from this directory, but

              # symbolic links and aliases may be used to point to other locations.

              #

              DocumentRoot "C:/SamyakSoft/httpd-2.2/htdocs"

               

              #

              # Each directory to which Apache has access can be configured with respect

              # to which services and features are allowed and/or disabled in that

              # directory (and its subdirectories).

              #

              # First, we configure the "default" to be a very restrictive set of

              # features.

              #

              <Directory />

                  Options FollowSymLinks

                  AllowOverride None

                  Order deny,allow

                  Deny from all

              </Directory>

               

              #

              # Note that from this point forward you must specifically allow

              # particular features to be enabled - so if something's not working as

              # you might expect, make sure that you have specifically enabled it

              # below.

              #

               

              #

              # This should be changed to whatever you set DocumentRoot to.

              #

              <Directory "C:/SamyakSoft/httpd-2.2/htdocs">

                  #

                  # Possible values for the Options directive are "None", "All",

                  # or any combination of:

                  #  Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews

                  #

                  # Note that "MultiViews" must be named *explicitly* --- "Options All"

                  # doesn't give it to you.

                  #

                  # The Options directive is both complicated and important.  Please see

                  # http://httpd.apache.org/docs/2.2/mod/core.html#options

                  # for more information.

                  #

                  Options Indexes FollowSymLinks

               

                  #

                  # AllowOverride controls what directives may be placed in .htaccess files.

                  # It can be "All", "None", or any combination of the keywords:

                  #  Options FileInfo AuthConfig Limit

                  #

                  AllowOverride None

               

                  #

                  # Controls who can get stuff from this server.

                  #

                  Order allow,deny

                  Allow from all

               

              </Directory>

               

              #

              # DirectoryIndex: sets the file that Apache will serve if a directory

              # is requested.

              #

              <IfModule dir_module>

                  DirectoryIndex index.html

              </IfModule>

               

              #

              # The following lines prevent .htaccess and .htpasswd files from being

              # viewed by Web clients.

              #

              <FilesMatch "^\.ht">

                  Order allow,deny

                  Deny from all

                  Satisfy All

              </FilesMatch>

               

              #

              # ErrorLog: The location of the error log file.

              # If you do not specify an ErrorLog directive within a <VirtualHost>

              # container, error messages relating to that virtual host will be

              # logged here.  If you *do* define an error logfile for a <VirtualHost>

              # container, that host's errors will be logged there and not here.

              #

              ErrorLog "logs/error_log"

               

              #

              # LogLevel: Control the number of messages logged to the error_log.

              # Possible values include: debug, info, notice, warn, error, crit,

              # alert, emerg.

              #

              LogLevel warn

               

              <IfModule log_config_module>

                  #

                  # The following directives define some format nicknames for use with

                  # a CustomLog directive (see below).

                  #

                  LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined

                  LogFormat "%h %l %u %t \"%r\" %>s %b" common

               

                  <IfModule logio_module>

                    # You need to enable mod_logio.c to use %I and %O

                    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio

                  </IfModule>

               

                  #

                  # The location and format of the access logfile (Common Logfile Format).

                  # If you do not define any access logfiles within a <VirtualHost>

                  # container, they will be logged here.  Contrariwise, if you *do*

                  # define per-<VirtualHost> access logfiles, transactions will be

                  # logged therein and *not* in this file.

                  #

                  CustomLog "logs/access_log" common

               

                  #

                  # If you prefer a logfile with access, agent, and referer information

                  # (Combined Logfile Format) you can use the following directive.

                  #

                  #CustomLog "logs/access_log" combined

              </IfModule>

               

              <IfModule alias_module>

                  #

                  # Redirect: Allows you to tell clients about documents that used to

                  # exist in your server's namespace, but do not anymore. The client

                  # will make a new request for the document at its new location.

                  # Example:

                  # Redirect permanent /foo http://localhost/bar

               

                  #

                  # Alias: Maps web paths into filesystem paths and is used to

                  # access content that does not live under the DocumentRoot.

                  # Example:

                  # Alias /webpath /full/filesystem/path

                  #

                  # If you include a trailing / on /webpath then the server will

                  # require it to be present in the URL.  You will also likely

                  # need to provide a <Directory> section to allow access to

                  # the filesystem path.

               

                  #

                  # ScriptAlias: This controls which directories contain server scripts.

                  # ScriptAliases are essentially the same as Aliases, except that

                  # documents in the target directory are treated as applications and

                  # run by the server when requested rather than as documents sent to the

                  # client.  The same rules about trailing "/" apply to ScriptAlias

                  # directives as to Alias.

                  #

                  ScriptAlias /cgi-bin/ "C:/SamyakSoft/httpd-2.2/cgi-bin/"

               

              </IfModule>

               

              <IfModule cgid_module>

                  #

                  # ScriptSock: On threaded servers, designate the path to the UNIX

                  # socket used to communicate with the CGI daemon of mod_cgid.

                  #

                  #Scriptsock logs/cgisock

              </IfModule>

               

              #

              # "C:/SamyakSoft/httpd-2.2/cgi-bin" should be changed to whatever your ScriptAliased

              # CGI directory exists, if you have that configured.

              #

              <Directory "C:/SamyakSoft/httpd-2.2/cgi-bin">

                  AllowOverride None

                  Options None

                  Order allow,deny

                  Allow from all

              </Directory>

               

              #

              # DefaultType: the default MIME type the server will use for a document

              # if it cannot otherwise determine one, such as from filename extensions.

              # If your server contains mostly text or HTML documents, "text/plain" is

              # a good value.  If most of your content is binary, such as applications

              # or images, you may want to use "application/octet-stream" instead to

              # keep browsers from trying to display binary files as though they are

              # text.

              #

              DefaultType text/plain

               

              <IfModule mime_module>

                  #

                  # TypesConfig points to the file containing the list of mappings from

                  # filename extension to MIME-type.

                  #

                  TypesConfig conf/mime.types

               

                  #

                  # AddType allows you to add to or override the MIME configuration

                  # file specified in TypesConfig for specific file types.

                  #

                  #AddType application/x-gzip .tgz

                  #

                  # AddEncoding allows you to have certain browsers uncompress

                  # information on the fly. Note: Not all browsers support this.

                  #

                  #AddEncoding x-compress .Z

                  #AddEncoding x-gzip .gz .tgz

                  #

                  # If the AddEncoding directives above are commented-out, then you

                  # probably should define those extensions to indicate media types:

                  #

                  AddType application/x-compress .Z

                  AddType application/x-gzip .gz .tgz

               

                  #

                  # AddHandler allows you to map certain file extensions to "handlers":

                  # actions unrelated to filetype. These can be either built into the server

                  # or added with the Action directive (see below)

                  #

                  # To use CGI scripts outside of ScriptAliased directories:

                  # (You will also need to add "ExecCGI" to the "Options" directive.)

                  #

                  #AddHandler cgi-script .cgi

               

                  # For type maps (negotiated resources):

                  #AddHandler type-map var

               

                  #

                  # Filters allow you to process content before it is sent to the client.

                  #

                  # To parse .shtml files for server-side includes (SSI):

                  # (You will also need to add "Includes" to the "Options" directive.)

                  #

                  #AddType text/html .shtml

                  #AddOutputFilter INCLUDES .shtml

              </IfModule>

               

              #

              # The mod_mime_magic module allows the server to use various hints from the

              # contents of the file itself to determine its type.  The MIMEMagicFile

              # directive tells the module where the hint definitions are located.

              #

              #MIMEMagicFile conf/magic

               

              #

              # Customizable error responses come in three flavors:

              # 1) plain text 2) local redirects 3) external redirects

              #

              # Some examples:

              #ErrorDocument 500 "The server made a boo boo."

              #ErrorDocument 404 /missing.html

              #ErrorDocument 404 "/cgi-bin/missing_handler.pl"

              #ErrorDocument 402 http://localhost/subscription_info.html

              #

               

              #

              # MaxRanges: Maximum number of Ranges in a request before

              # returning the entire resource, or 0 for unlimited

              # Default setting is to accept 200 Ranges

              #MaxRanges 0

               

              #

              # EnableMMAP and EnableSendfile: On systems that support it,

              # memory-mapping or the sendfile syscall is used to deliver

              # files.  This usually improves server performance, but must

              # be turned off when serving from networked-mounted

              # filesystems or if support for these functions is otherwise

              # broken on your system.

              #

              #EnableMMAP off

              #EnableSendfile off

               

              # Supplemental configuration

              #

              # The configuration files in the conf/extra/ directory can be

              # included to add extra features or to modify the default configuration of

              # the server, or you may simply copy their contents here and change as

              # necessary.

               

              # Server-pool management (MPM specific)

              #Include conf/extra/httpd-mpm.conf

               

              # Multi-language error messages

              #Include conf/extra/httpd-multilang-errordoc.conf

               

              # Fancy directory listings

              #Include conf/extra/httpd-autoindex.conf

               

              # Language settings

              #Include conf/extra/httpd-languages.conf

               

              # User home directories

              #Include conf/extra/httpd-userdir.conf

               

              # Real-time info on requests and configuration

              #Include conf/extra/httpd-info.conf

               

              # Virtual hosts

              #Include conf/extra/httpd-vhosts.conf

               

              # Local access to the Apache HTTP Server Manual

              #Include conf/extra/httpd-manual.conf

               

              # Distributed authoring and versioning (WebDAV)

              #Include conf/extra/httpd-dav.conf

               

              # Various default settings

              #Include conf/extra/httpd-default.conf

               

              # Secure (SSL/TLS) connections

              #Include conf/extra/httpd-ssl.conf

              #

              # Note: The following must must be present to support

              #      starting without SSL on platforms with no /dev/random equivalent

              #      but a statically compiled-in mod_ssl.

              #

              <IfModule ssl_module>

              SSLRandomSeed startup builtin

              SSLRandomSeed connect builtin

              </IfModule>

               

              LoadModule proxy_module modules/mod_proxy.so

              LoadModule proxy_ajp_module modules/mod_proxy_ajp.so

              LoadModule proxy_http_module modules/mod_proxy_http.so

               

              LoadModule proxy_cluster_module modules/mod_proxy_cluster.so

               

              LoadModule manager_module modules/mod_manager.so

              LoadModule slotmem_module modules/mod_slotmem.so

              LoadModule advertise_module modules/mod_advertise.so

               

              # MOD_CLUSTER_ADDS

              # Adjust to you hostname and subnet.

              <IfModule manager_module>

                Listen 192.168.1.31:7676

                ManagerBalancerName other-server-group

                <VirtualHost 192.168.1.31:7676>

                  <Location />

                  Order deny,allow

                  Deny from all

                  Allow from 192.168.1.

                  </Location>

               

                  KeepAliveTimeout 300

                  MaxKeepAliveRequests 0

                  #ServerAdvertise on http://192.168.1.31:7676

                  AdvertiseFrequency 5

                  #AdvertiseSecurityKey secret

                  #AdvertiseGroup 224.0.1.105:23364

                  EnableMCPMReceive

                  AllowDisplay on

               

                  <Location /mod_cluster_manager>

                    SetHandler mod_cluster-manager

                    Order deny,allow

                    Deny from all

                    Allow from 192.168.1.

                  </Location>

               

                </VirtualHost>

              </IfModule>

               

               

              *)error_log file

              [Tue Sep 03 17:01:42 2013] [notice] Advertise initialized for process 3816

              [Tue Sep 03 17:01:42 2013] [notice] Apache/2.2.21 (Win32) mod_cluster/1.2.0.Final configured -- resuming normal operations

              [Tue Sep 03 17:01:42 2013] [notice] Server built: Feb  9 2012 22:24:33

              [Tue Sep 03 17:01:42 2013] [notice] Parent: Created child process 1204

              [Tue Sep 03 17:01:42 2013] [notice] Child 1204: Child process is running

              [Tue Sep 03 17:01:42 2013] [notice] Child 1204: Acquired the start mutex.

              [Tue Sep 03 17:01:42 2013] [notice] Child 1204: Starting 64 worker threads.

              [Tue Sep 03 17:01:42 2013] [notice] Child 1204: Starting thread to listen on port 7676.

              [Tue Sep 03 17:01:42 2013] [notice] Child 1204: Starting thread to listen on port 8000.

              [Tue Sep 03 17:03:01 2013] [error] [client 192.168.1.204] File does not exist: C:/SamyakSoft/httpd-2.2/htdocs/favicon.ico

              • 4. Re: Unable to achieve session replication in jboss as 7.1.1
                marcodanti Newbie

                I never used domain mode, so I may not be of great help....

                However there is one thing that does not look right to me: your request is http://192.138.1.31/ClusterApp/put.jsp, but your httpd.conf file says "Listen 192.168.1.31:8000".

                So if you don't have any port redirection configured somewhere else, you could try http://192.138.1.31:8000/ClusterApp/put.jsp instead.

                • 5. Re: Unable to achieve session replication in jboss as 7.1.1
                  suyograj Newbie

                  Hi marcodanti, thank you for replay again.

                  I am tried with http://192.168.1.31:8000/ClusterApp/put.jsp it gonna work. As you said "Listen 192.168.1.31:8000" in httpd.conf file, I changed it to "Listen 192.168.1.31" then I face the error indicating that "mistake in configuration must specify port no". If Again I change the configuration of Listen with port number, then how I shall access with http://192.168.1.31/ClusterApp/put.jsp. Is there any thing I was left in configuration please suggest me what to do?

                  What entries should I put in httpd.conf file.

                  • 6. Re: Unable to achieve session replication in jboss as 7.1.1
                    marcodanti Newbie

                    Well, if you want to access your application using http://192.168.1.31/ClusterApp/put.jsp then you should put "Listen 192.168.1.31:80" in httpd.conf. Port 80 is the default http port, so you don't have to specify it in the request string, but it must be explicitily defined in httpd.conf.

                    • 7. Re: Re: Unable to achieve session replication in jboss as 7.1.1
                      suyograj Newbie

                      Thank you Mr. Marchodanti for replay. I am able to do session failover with jboss. I have question regarding the datasource creation. I want to create datasource in JBoss EAP 6.1.0 using web management I unable to create it. At the last step when I click on done button then nothing is happen, & no error on console. Do you know why this is happening. I also tried with jboss-cli.bat(bold font entry is command I used),but I fails to create, have a look below. And also attached screen shot of datasources creation in web management. Please suggest me thank you.

                       

                      [domain@192.168.1.31:9999 /] /profile=full-ha/subsystem=datasources/data-source="java

                      :jboss/datasources/mypool":add(jndi-name="java:jboss/datasources/mypool",pool-name="m

                      ypool",driver-name="mssql",connection-url="jdbc:sqlserver://SAMYAK31\SQLEXPRESS:1433;

                      DatabaseName=proSamyak;",user-name="admin2")

                      'pool-name' is not found among the supported properties: [share-prepared-statements,

                      driver-class, prepared-statements-cache-size, spy, password, max-pool-size, set-tx-qu

                      ery-timeout, jndi-name, url-delimiter, enabled, blocking-timeout-wait-millis, pool-us

                      e-strict-min, validate-on-match, transaction-isolation, jta, valid-connection-checker

                      -class-name, allocation-retry-wait-millis, exception-sorter-properties, background-va

                      lidation-millis, track-statements, use-fast-fail, flush-strategy, stale-connection-ch

                      ecker-class-name, exception-sorter-class-name, background-validation, check-valid-con

                      nection-sql, reauth-plugin-class-name, allow-multiple-users, url-selector-strategy-cl

                      ass-name, user-name, use-ccm, reauth-plugin-properties, driver-name, stale-connection

                      -checker-properties, datasource-class, idle-timeout-minutes, query-timeout, use-java-

                      context, valid-connection-checker-properties, min-pool-size, allocation-retry, securi

                      ty-domain, new-connection-sql, connection-url, use-try-lock, pool-prefill]

                       

                      [domain@192.168.1.31:9999 /] /subsystem=datasources/data-source="java:jboss/datasourc

                      es/mypool":add(jndi-name="java:jboss/datasources/mypool",pool-name="mypool",driver-na

                      me="mssql",connection-url="jdbc:sqlserver://SAMYAK31\SQLEXPRESS:1433;DatabaseName=pro

                      Samyak;",user-name="admin2")

                      Failed to get the list of the operation properties: "JBAS014883: No resource definiti

                      on is registered for address [

                          ("subsystem" => "datasources"),

                          ("data-source" => "java:jboss/datasources/mypool")

                      ]"

                      [domain@192.168.1.31:9999 /]

                      • 8. Re: Re: Unable to achieve session replication in jboss as 7.1.1
                        marcodanti Newbie

                        Sorry, I don't know about data sources. It may be better for you to open a new discussion on that specific topic, so it may catch the attention of someone who can help you.