1 Reply Latest reply on Jun 23, 2006 8:09 AM by Bela Ban

    AutoDiscovery Not Working in RHES 4 update 3

    fmaredia Newbie

      We want to create a cluster with three nodes. We had attempted this in Windows and it worked beautifully. This is the spec that we have for Redhat:

      OS: Redhat Enterprise 4 update 3
      Firewall Disabled
      SELinux Disabled

      JBoss 4.0.4GA with EJB3.0 update 8

      The servers are on the same V-LAN and I can ping to one another using their IP Address. I disabled the firewall, selinux in hope of making it work but no such luck. JBoss is running without our application so there really is nothing there to hinder it from not finding each other. So basically it is right out of the box with EJB 3 enabled with no changes to the server.

      The following is the output from the server when we start it:

      =========================================================================
      
       JBoss Bootstrap Environment
      
       JBOSS_HOME: /usr/java/JBoss
      
       JAVA: /usr/java/jdk1.5.0_06/bin/java
      
       JAVA_OPTS: -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=run.sh
      
       CLASSPATH: /usr/java/JBoss/bin/run.jar:/usr/java/jdk1.5.0_06/lib/tools.jar
      
      =========================================================================
      
      16:10:43,943 INFO [Server] Starting JBoss (MX MicroKernel)...
      16:10:43,952 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
      16:10:43,954 INFO [Server] Home Dir: /usr/java/JBoss
      16:10:43,955 INFO [Server] Home URL: file:/usr/java/JBoss/
      16:10:43,956 INFO [Server] Patch URL: null
      16:10:43,956 INFO [Server] Server Name: all
      16:10:43,956 INFO [Server] Server Home Dir: /usr/java/JBoss/server/all
      16:10:43,957 INFO [Server] Server Home URL: file:/usr/java/JBoss/server/all/
      16:10:43,957 INFO [Server] Server Log Dir: /usr/java/JBoss/server/all/log
      16:10:43,957 INFO [Server] Server Temp Dir: /usr/java/JBoss/server/all/tmp
      16:10:43,958 INFO [Server] Root Deployment Filename: jboss-service.xml
      16:10:44,460 INFO [ServerInfo] Java version: 1.5.0_06,Sun Microsystems Inc.
      16:10:44,461 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_06-b05,Sun Microsystems Inc.
      16:10:44,461 INFO [ServerInfo] OS-System: Linux 2.6.9-34.ELsmp,i386
      16:10:45,358 INFO [Server] Core system initialized
      16:10:50,254 INFO [WebService] Using RMI server codebase: http://node2.atoms:8083/
      16:10:50,308 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
      16:10:50,952 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
      16:10:54,556 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://127.0.0.1:3873/]
      16:10:56,319 INFO [AspectDeployer] Deployed AOP: file:/usr/java/JBoss/server/all/deploy/ejb3-interceptors-aop.xml
      16:11:00,045 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDispatcher
      16:11:01,348 INFO [SnmpAgentService] SNMP agent going active
      16:11:01,497 INFO [AspectDeployer] Deployed AOP: file:/usr/java/JBoss/server/all/deploy/tc5-cluster.sar/tc5-cluster.aop
      16:11:01,798 INFO [TreeCache] setting cluster properties from xml to: UDP(down_thread=false;enable_bundling=true;ip_ttl=2;loopback=false;max_bundle_size=64000;max_bundle_timeout=30;mcast_addr=230.1.2.7;mcast_port=45577;mcast_recv_buf_size=25000000;mcast_send_buf_size=640000;ucast_recv_buf_size=20000000;ucast_send_buf_size=640000;up_thread=false;use_incoming_packet_handler=true;use_outgoing_packet_handler=true):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(down_thread=false;max_interval=100000;min_interval=20000;up_thread=false):FD(down_thread=false;max_tries=5;shun=true;timeout=2500;up_thread=false):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(discard_delivered_msgs=true;down_thread=false;gc_lag=50;max_xmit_size=60000;retransmit_timeout=100,200,300,600,1200,2400,4800;up_thread=false;use_mcast_xmit=false):UNICAST(down_thread=false;timeout=300,600,1200,2400,3600;up_thread=false):pbcast.STABLE(desired_avg_gossip=50000;down_thread=false;max_bytes=2100000;stability_delay=1000;up_thread=false):pbcast.GMS(down_thread=false;join_retry_timeout=2000;join_timeout=3000;print_local_addr=true;shun=true;up_thread=false):FC(down_thread=false;max_credits=10000000;min_threshold=0.20;up_thread=false):FRAG2(down_thread=false;frag_size=60000;up_thread=false):pbcast.STATE_TRANSFER(down_thread=false;up_thread=false)
      16:11:01,822 INFO [TreeCache] interceptor chain is:
      class org.jboss.cache.interceptors.CallInterceptor
      class org.jboss.cache.interceptors.PessimisticLockInterceptor
      class org.jboss.cache.interceptors.UnlockInterceptor
      class org.jboss.cache.interceptors.ReplicationInterceptor
      16:11:01,823 INFO [TreeCache] cache mode is REPL_ASYNC
      16:11:02,168 INFO [STDOUT]
      -------------------------------------------------------
      GMS: address is localhost:32771
      -------------------------------------------------------
      16:11:04,198 INFO [TreeCache] viewAccepted(): [localhost:32771|0] [localhost:32771]
      16:11:04,209 INFO [TreeCache] my local address is localhost:32771
      16:11:04,212 INFO [TreeCache] new cache is null (may be first member in cluster)
      16:11:04,213 INFO [TreeCache] state could not be retrieved (must be first member in group)
      16:11:04,213 INFO [TreeCache] Cache is started!!
      16:11:04,441 INFO [Embedded] Catalina naming disabled
      16:11:04,587 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
      16:11:04,612 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
      16:11:05,598 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
      16:11:05,604 INFO [Catalina] Initialization processed in 992 ms
      16:11:05,604 INFO [StandardService] Starting service jboss.web
      16:11:05,612 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.17
      16:11:05,697 INFO [StandardHost] XML validation disabled
      16:11:05,841 INFO [Catalina] Server startup in 236 ms
      16:11:06,064 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/httpha-invoker.sar/invoker.war/
      16:11:06,463 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
      16:11:07,371 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
      16:11:07,859 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp8065jbossws-exp.war/
      16:11:08,404 INFO [TomcatDeployer] deploy, ctxPath=/juddi, warUrl=.../deploy/juddi-service.sar/juddiws.war/
      16:11:08,656 INFO [RegistryServlet] Loading jUDDI configuration.
      16:11:08,940 INFO [RegistryServlet] Resources loaded from: /WEB-INF/juddi.properties
      16:11:08,941 INFO [RegistryServlet] Initializing jUDDI components.
      16:11:10,435 INFO [DefaultPartition] Initializing
      16:11:10,494 INFO [STDOUT]
      -------------------------------------------------------
      GMS: address is localhost:32774 (additional data: 14 bytes)
      -------------------------------------------------------
      16:11:12,501 INFO [DefaultPartition] Number of cluster members: 1
      16:11:12,501 INFO [DefaultPartition] Other members: 0
      16:11:12,501 INFO [DefaultPartition] New cluster view for partition DefaultPartition (id: 0, delta: 0) : [127.0.0.1:1099]
      16:11:12,501 INFO [DefaultPartition] Fetching state (will wait for 30000 milliseconds):
      16:11:12,504 INFO [DefaultPartition] I am (127.0.0.1:1099) received membershipChanged event:
      16:11:12,504 INFO [DefaultPartition] Dead members: 0 ([])
      16:11:12,504 INFO [DefaultPartition] New Members : 0 ([])
      16:11:12,504 INFO [DefaultPartition] All Members : 1 ([127.0.0.1:1099])
      16:11:12,599 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/0.0.0.0
      16:11:12,608 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on 0.0.0.0/0.0.0.0:1102, group=230.0.0.4, HA-JNDI address=127.0.0.1:1100
      16:11:13,769 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
      16:11:14,874 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=64;loopback=false;mcast_addr=228.1.2.3;mcast_port=45551;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD(down_thread=true;shun=true;up_thread=true):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=false;up_thread=false)
      16:11:14,899 INFO [TreeCache] setEvictionPolicyConfig(): [config: null]
      16:11:14,945 WARN [TreeCache] No transaction manager lookup class has been defined. Transactions cannot be used
      16:11:14,957 INFO [TreeCache] interceptor chain is:
      class org.jboss.cache.interceptors.CallInterceptor
      class org.jboss.cache.interceptors.PessimisticLockInterceptor
      class org.jboss.cache.interceptors.CacheLoaderInterceptor
      class org.jboss.cache.interceptors.UnlockInterceptor
      class org.jboss.cache.interceptors.ReplicationInterceptor
      class org.jboss.cache.interceptors.CacheStoreInterceptor
      16:11:14,977 INFO [TreeCache] cache mode is REPL_SYNC
      16:11:15,016 INFO [STDOUT]
      -------------------------------------------------------
      GMS: address is localhost:32779
      -------------------------------------------------------
      16:11:17,019 INFO [TreeCache] my local address is localhost:32779
      16:11:17,020 INFO [TreeCache] viewAccepted(): [localhost:32779|0] [localhost:32779]
      16:11:17,020 INFO [TreeCache] state could not be retrieved (must be first member in group)
      16:11:17,020 INFO [TreeCache] new cache is null (may be first member in cluster)
      16:11:17,020 INFO [LRUPolicy] Starting eviction policy using the provider: org.jboss.ejb3.cache.tree.StatefulEvictionPolicy
      16:11:17,020 INFO [LRUPolicy] Starting a eviction timer with wake up interval of (secs) 1
      16:11:17,021 INFO [TreeCache] Cache is started!!
      16:11:17,090 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=2;loopback=false;mcast_addr=228.1.2.3;mcast_port=43333;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD(down_thread=true;shun=true;up_thread=true):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=false;up_thread=false)
      16:11:17,170 INFO [TreeCache] setEvictionPolicyConfig(): [config: null]
      16:11:17,178 INFO [TreeCache] interceptor chain is:
      class org.jboss.cache.interceptors.CallInterceptor
      class org.jboss.cache.interceptors.PessimisticLockInterceptor
      class org.jboss.cache.interceptors.UnlockInterceptor
      class org.jboss.cache.interceptors.ReplicationInterceptor
      16:11:17,179 INFO [TreeCache] cache mode is REPL_SYNC
      16:11:17,194 INFO [STDOUT]
      -------------------------------------------------------
      GMS: address is localhost:32782
      -------------------------------------------------------
      16:11:19,197 INFO [TreeCache] my local address is localhost:32782
      16:11:19,198 INFO [TreeCache] viewAccepted(): [localhost:32782|0] [localhost:32782]
      16:11:19,198 INFO [TreeCache] state could not be retrieved (must be first member in group)
      16:11:19,198 INFO [TreeCache] new cache is null (may be first member in cluster)
      16:11:19,198 INFO [LRUPolicy] Starting eviction policy using the provider: org.jboss.cache.eviction.LRUPolicy
      16:11:19,198 INFO [LRUPolicy] Starting a eviction timer with wake up interval of (secs) 5
      16:11:19,199 INFO [TreeCache] Cache is started!!
      16:11:20,143 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000200000000000000D0000102000000000A3132372E302E302E31000DC8000000114A426F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000004C000000000000000100000000000000240000001C0000007E00000000000000010000000A3132372E302E302E31000DC9000000000000000000000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
      16:11:20,795 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000D0000102000000000A3132372E302E302E31000DC8000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000004C000000000000000100000000000000240000001C0000007E00000000000000010000000A3132372E302E302E31000DC9000000000000000000000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
      16:11:21,691 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
      16:11:22,990 INFO [MailService] Mail Service bound to java:/Mail
      16:11:23,261 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
      16:11:23,320 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
      16:11:23,376 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
      16:11:23,430 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
      16:11:23,580 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
      16:11:23,632 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
      16:11:23,733 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
      16:11:23,747 INFO [QuartzResourceAdapter] start quartz!!!
      16:11:23,838 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
      16:11:23,875 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
      16:11:23,882 INFO [RAMJobStore] RAMJobStore initialized.
      16:11:23,882 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'16:11:23,883 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
      16:11:23,883 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
      16:11:25,040 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      16:11:25,319 INFO [A] Bound to JNDI name: queue/A
      16:11:25,321 INFO [B] Bound to JNDI name: queue/B
      16:11:25,323 INFO [C] Bound to JNDI name: queue/C
      16:11:25,325 INFO [D] Bound to JNDI name: queue/D
      16:11:25,337 INFO [ex] Bound to JNDI name: queue/ex
      16:11:25,366 INFO [testTopic] Bound to JNDI name: topic/testTopic
      16:11:25,369 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
      16:11:25,373 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic16:11:25,377 INFO [testQueue] Bound to JNDI name: queue/testQueue
      16:11:25,451 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
      16:11:25,498 INFO [DLQ] Bound to JNDI name: queue/DLQ
      16:11:26,054 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
      16:11:26,416 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
      16:11:27,934 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
      16:11:28,554 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
      16:11:28,650 INFO [JkMain] Jk running ID=0 time=3/126 config=null
      16:11:28,770 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 44s:808ms