Skip to content

Instantly share code, notes, and snippets.

@oeegee
Last active August 1, 2022 07:56
Show Gist options
  • Save oeegee/5632411 to your computer and use it in GitHub Desktop.
Save oeegee/5632411 to your computer and use it in GitHub Desktop.
JBoss AS7 클러스터 기동 로그 - Apache mod_cluster 와는 연동 오류.
[JBoss AS7 클러스터 기동 로그]
root@ip-10-161-5-236:/project/AA+/servers/jboss-as-7.1.1.Final/standalone-node1# ./startNode.sh
================================================
JBOSS_HOME=/project/AA+/servers/jboss-as-7.1.1.Final
SERVER_HOME=/project/AA+/servers/jboss-as-7.1.1.Final/standalone-node1
NODE_NAME=standalone-node1
JAVA_OPTS=-server -noverify -Xms256m -Xmx256m -XX:PermSize=128m -XX:MaxPermSize=128m -Xss160k -verbose:gc -Xloggc:/project/AA+/servers/jboss-as-7.1.1.Final/standalone-node1/gclog/gc.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/project/AA+/servers/jboss-as-7.1.1.Final/standalone-node1/gclog/java_pid.hprof -Djava.net.preferIPv4Stack=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -Djboss.socket.binding.port-offset=100 -Djboss.bind.address=127.0.0.1 -Djboss.bind.address.management=127.0.0.1 -Djboss.bind.address.unsecure=127.0.0.1 -DDOMAIN_IP=127.0.0.1
================================================
JAVA: /project/AA+/libs/jdk1.7.0/bin/java
JAVA_OPTS: -XX:+UseCompressedOops -XX:+TieredCompilation -server -noverify -Xms256m -Xmx256m -XX:PermSize=128m -XX:MaxPermSize=128m -Xss160k -verbose:gc -Xloggc:/project/AA+/servers/jboss-as-7.1.1.Final/standalone-node1/gclog/gc.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/project/AA+/servers/jboss-as-7.1.1.Final/standalone-node1/gclog/java_pid.hprof -Djava.net.preferIPv4Stack=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -Djboss.socket.binding.port-offset=100 -Djboss.bind.address=127.0.0.1 -Djboss.bind.address.management=127.0.0.1 -Djboss.bind.address.unsecure=127.0.0.1 -DDOMAIN_IP=127.0.0.1
MOD_CLUSTER_MGMT_PORT: 6666
=========================================================================
@@@@ background run jboss
02:22:20,600 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
02:22:21,073 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
02:22:21,163 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
02:22:23,472 INFO [org.xnio] XNIO Version 3.0.3.GA
02:22:23,509 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
02:22:23,514 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
02:22:23,535 INFO [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
02:22:23,641 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
02:22:23,650 INFO [org.jboss.as.configadmin] (ServerService Thread Pool -- 28) JBAS016200: Activating ConfigAdmin Subsystem
02:22:23,681 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 33) JBAS010280: Activating Infinispan subsystem.
02:22:23,711 INFO [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 37) JBAS010260: Activating JGroups subsystem.
02:22:23,773 INFO [org.jboss.as.osgi] (ServerService Thread Pool -- 43) JBAS011940: Activating OSGi Subsystem
02:22:23,795 INFO [org.jboss.as.connector] (MSC service thread 1-1) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
02:22:23,792 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 42) JBAS011800: Activating Naming Subsystem
02:22:23,852 INFO [org.jboss.as.security] (ServerService Thread Pool -- 48) JBAS013101: Activating Security Subsystem
02:22:23,913 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 52) JBAS015537: Activating WebServices Extension
02:22:23,928 INFO [org.jboss.as.security] (MSC service thread 1-2) JBAS013100: Current PicketBox version=4.0.7.Final
02:22:24,082 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 29) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
02:22:24,197 INFO [org.jboss.as.naming] (MSC service thread 1-2) JBAS011802: Starting Naming Service
02:22:24,562 INFO [org.apache.coyote.ajp.AjpProtocol] (MSC service thread 1-1) Starting Coyote AJP/1.3 on ajp--127.0.0.1-8109
02:22:24,615 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Starting Coyote HTTP/1.1 on http--127.0.0.1-8180
02:22:24,777 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-2) JBoss Web Services - Stack CXF Server 4.0.2.GA
02:22:24,815 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 33) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.
02:22:24,869 INFO [org.jboss.as.mail.extension] (MSC service thread 1-2) JBAS015400: Bound mail session [java:jboss/mail/Default]
02:22:24,870 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 33) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.
02:22:24,924 INFO [org.jboss.modcluster.ModClusterService] (MSC service thread 1-1) Initializing mod_cluster 1.2.0.Final
02:22:25,472 INFO [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on /127.0.0.1:10099
02:22:25,514 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) JBAS015012: Started FileSystemDeploymentService for directory /project/AA+/servers/jboss-as-7.1.1.Final/standalone-node1/deployments
02:22:25,556 INFO [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on /127.0.0.1:4547
02:22:25,623 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
02:22:25,705 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "ClusterwebApp.war"
02:22:26,764 INFO [stdout] (pool-13-thread-1)
02:22:26,767 INFO [stdout] (pool-13-thread-1) -------------------------------------------------------------------
02:22:26,768 INFO [stdout] (pool-13-thread-1) GMS: address=ip-10-161-5-236/web, cluster=web, physical address=127.0.0.1:7700
02:22:26,769 INFO [stdout] (pool-13-thread-1) -------------------------------------------------------------------
02:22:30,264 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.
02:22:30,266 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.
02:22:30,449 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-15-thread-1) ISPN000078: Starting JGroups Channel
02:22:30,462 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-15-thread-1) ISPN000094: Received new cluster view: [ip-10-161-5-236/web|0] [ip-10-161-5-236/web]
02:22:30,464 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-15-thread-1) ISPN000079: Cache local address is ip-10-161-5-236/web, physical addresses are [127.0.0.1:7700]
02:22:30,477 INFO [org.infinispan.factories.GlobalComponentRegistry] (pool-15-thread-1) ISPN000128: Infinispan version: Infinispan 'Brahma' 5.1.2.FINAL
02:22:30,484 INFO [org.infinispan.config.ConfigurationValidatingVisitor] (pool-15-thread-1) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.
02:22:30,820 INFO [org.infinispan.jmx.CacheJmxRegistration] (pool-15-thread-1) ISPN000031: MBeans were successfully registered to the platform mbean server.
02:22:30,861 INFO [org.jboss.as.clustering.infinispan] (pool-15-thread-1) JBAS010281: Started repl cache from web container
02:22:30,882 INFO [org.jboss.as.clustering.impl.CoreGroupCommunicationService.web] (MSC service thread 1-2) JBAS010206: Number of cluster members: 1
02:22:30,948 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.
02:22:30,961 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.
02:22:30,990 INFO [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-2) ISPN000031: MBeans were successfully registered to the platform mbean server.
02:22:31,000 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-2) JBAS010281: Started //default-host//ClusterwebApp cache from web container
02:22:31,017 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.
02:22:31,025 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.
02:22:31,285 INFO [org.jboss.web] (MSC service thread 1-2) JBAS018210: Registering web context: /ClusterwebApp
02:22:31,295 INFO [org.jboss.as] (MSC service thread 1-1) JBAS015951: Admin console listening on http://127.0.0.1:10090
02:22:31,312 INFO [org.jboss.as] (MSC service thread 1-1) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 11137ms - Started 175 of 305 services (129 services are passive or on-demand)
02:22:31,396 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "ClusterwebApp.war"
02:22:34,260 ERROR [org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) Error [null: null: {4}] sending command INFO to proxy localhost/127.0.0.1:6666, configuration will be reset
^C
root@ip-10-161-5-236:/project/AA+/servers/jboss-as-7.1.1.Final/standalone-node1#
root@ip-10-161-5-236:/project/AA+/servers/jboss-as-7.1.1.Final/standalone-node1#
[클러스터 성공 로그]
root@ip-10-161-5-236:/project/AA+/servers/jboss-as-7.1.1.Final/standalone-node1# wget localhost:8180/ClusterwebApp
--2013-05-23 02:22:53-- http://localhost:8180/ClusterwebApp
Resolving localhost (localhost)... 127.0.0.1, 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8180... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://localhost:8180/ClusterwebApp/ [following]
--2013-05-23 02:22:54-- http://localhost:8180/ClusterwebApp/
Reusing existing connection to localhost:8180.
HTTP request sent, awaiting response... 200 OK
Length: 933 [text/html]
Saving to: `ClusterwebApp'
100%[==================================================================================================================================>] 933 --.-K/s in 0s
2013-05-23 02:22:54 (101 MB/s) - `ClusterwebApp' saved [933/933]
root@ip-10-161-5-236:/project/AA+/servers/jboss-as-7.1.1.Final/standalone-node1#
root@ip-10-161-5-236:/project/AA+/servers/jboss-as-7.1.1.Final/standalone-node1#
root@ip-10-161-5-236:/project/AA+/servers/jboss-as-7.1.1.Final/standalone-node1# cat ClusterwebApp
<html>
<head>
<title>Session test App</title>
</head>
<body>
<center>
<h1>Session Replication test App.</h1>
<h2>Attribute "SessionKey" is set in the HttpSession</h2>
session.getAttribute("SessionKey") = SessionKeyValue Set at Thu May 23 02:22:54 UTC 2013
<BR> <BR>
session.getId() = HRBP4mEXqYeeOzBC44pBmu5+.ip-10-161-5-236
<BR> <BR>
<a href="sessionCheck.jsp">Click Here to move to nextPage sessionCheck.jsp</a>
</center>
<BR>
<BR>
<b><font color="red">NOTE:</font></b> Please check the value of HttpSession Attribute which displays the timestamp when the attribute was created & set inside the HttpSession, Which is useful to check whether it's a new HttpSession with new Attribute or the replicated HttpSession with the same attribute.
<BR>
As many times you will refresh the "index.jsp" page a new HttpSession attribute will be added with current TimeStamp.
</body>
</html>
[apache mod_cluster 연동 실패]
root@ip-10-161-5-236:/project/AA+/servers/jboss-as-7.1.1.Final/standalone-node1# tail -f log/console.log
02:25:14,322 ERROR [org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) Error [null: null: {4}] sending command INFO to proxy localhost/127.0.0.1:6666, configuration will be reset
02:25:24,326 ERROR [org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) Error [null: null: {4}] sending command INFO to proxy localhost/127.0.0.1:6666, configuration will be reset
02:25:34,328 ERROR [org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) Error [null: null: {4}] sending command INFO to proxy localhost/127.0.0.1:6666, configuration will be reset
02:25:44,331 ERROR [org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) Error [null: null: {4}] sending command INFO to proxy localhost/127.0.0.1:6666, configuration will be reset
02:25:54,334 ERROR [org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) Error [null: null: {4}] sending command INFO to proxy localhost/127.0.0.1:6666, configuration will be reset
02:26:04,337 ERROR [org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) Error [null: null: {4}] sending command INFO to proxy localhost/127.0.0.1:6666, configuration will be reset
02:26:14,339 ERROR [org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) Error [null: null: {4}] sending command INFO to proxy localhost/127.0.0.1:6666, configuration will be reset
02:26:24,345 ERROR [org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) Error [null: null: {4}] sending command INFO to proxy localhost/127.0.0.1:6666, configuration will be reset
02:26:34,348 ERROR [org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) Error [null: null: {4}] sending command INFO to proxy localhost/127.0.0.1:6666, configuration will be reset
02:26:44,353 ERROR [org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) Error [null: null: {4}] sending command INFO to proxy localhost/127.0.0.1:6666, configuration will be reset
@kingpand
Copy link

i meet the same problem ...,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment