Sorry, we need to update the for-pay docs. I think Sacha is doing this now?
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Jon Martin > Solaas > Sent: Wednesday, June 05, 2002 9:34 AM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] JBoss 3.0 farming > > > > They don't seem to see each other, both 1. and 2. node reports > only one member in the cluster when they start up. Below is a > snip from the log when the 2. node starts. When 2. node starts > there is no activity in the log-file of the 1. node. Both > machines (w2k) are on the same subnet, though ... > > Does the message "State could not be retrieved, (must be first > member of group)" give a clue, have I forgotten to set up some > sort of group or something? > > What about the <mbean-ref-list> in cluster-service.xml mentioned > in TFM (yup, I shelled out the 10 bucks :-) ? There are no such > elements in the cluster-service.xml that's provided with the > 3.0.0 relase in the "all" configuration. Should there be a > mbean-ref-list entry like this? > > <!-- > ==================================================================== --> > <!-- Cluster Partition: defines cluster > --> > <!-- > ==================================================================== --> > > <mbean code="org.jboss.ha.framework.server.ClusterPartition" > name="jboss:service=DefaultPartition"> > <mbean-ref-list name="SynchronizedMBeans"> > > <mbean-ref-list-element>JBOSS-SYSTEM:service=HASessionState</mbean > -ref-list-element> > > <mbean-ref-list-element>JBOSS-SYSTEM:service=HAJNDI</mbean-ref-lis > t-element> > </mbean-ref-list> > </mbean> > > 8<----------8<----------8<----------8<----------8<----------8<---- > ------8<----------8<---------- > > 2002-06-05 15:11:20,742 INFO [org.jboss.deployment.MainDeployer] > Starting deployment of package: > file:/F:/local/java/jboss-3.0.0_tomcat-4.0.3/server/all/deploy/clu > ster-service.xml > 2002-06-05 15:11:20,762 DEBUG [org.jboss.deployment.MainDeployer] > Starting deployment (init step) of package at: > file:/F:/local/java/jboss-3.0.0_tomcat-4.0.3/server/all/deploy/clu > ster-service.xml > 2002-06-05 15:11:20,802 DEBUG > [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url > file:/F:/local/java/jboss-3.0.0_tomcat-4.0.3/server/all/tmp/deploy > /server/all/deploy/cluster-service.xml/51.cluster-service.xml > 2002-06-05 15:11:20,802 DEBUG > [org.jboss.mx.loading.UnifiedLoaderRepository] > UnifiedLoaderRepository adding > org.jboss.mx.loading.UnifiedClassLoader@273686{ > url=file:/F:/local/java/jboss-3.0.0_tomcat-4.0.3/server/all/tmp/de > ploy/server/all/deploy/cluster-service.xml/51.cluster-service.xml } > 2002-06-05 15:11:20,802 DEBUG [org.jboss.deployment.MainDeployer] > using deployer org.jboss.deployment.SARDeployer@31b4c3 > 2002-06-05 15:11:20,812 DEBUG [org.jboss.deployment.SARDeployer] > Found classpath element: <classpath codebase="lib" > archives="jbossha.jar" /> > 2002-06-05 15:11:20,822 DEBUG [org.jboss.deployment.SARDeployer] > Setting up classpath from raw codebase: lib > 2002-06-05 15:11:20,822 DEBUG [org.jboss.deployment.SARDeployer] > codebase is file:/F:/local/java/jboss-3.0.0_tomcat-4.0.3/server/all/lib/ > 2002-06-05 15:11:20,822 DEBUG [org.jboss.deployment.SARDeployer] > archives are jbossha.jar > 2002-06-05 15:11:20,822 DEBUG [org.jboss.deployment.SARDeployer] > deployed classes for > file:/F:/local/java/jboss-3.0.0_tomcat-4.0.3/server/all/lib/jbossha.jar > 2002-06-05 15:11:20,822 DEBUG [org.jboss.deployment.SARDeployer] > about to copy 0 local directories > 2002-06-05 15:11:20,822 DEBUG [org.jboss.deployment.MainDeployer] > found 0 subpackages of > file:/F:/local/java/jboss-3.0.0_tomcat-4.0.3/server/all/deploy/clu > ster-service.xml > 2002-06-05 15:11:20,822 DEBUG [org.jboss.deployment.MainDeployer] > Watching new file: > file:/F:/local/java/jboss-3.0.0_tomcat-4.0.3/server/all/deploy/clu > ster-service.xml > 2002-06-05 15:11:20,822 DEBUG [org.jboss.deployment.MainDeployer] > create step for deployment > file:/F:/local/java/jboss-3.0.0_tomcat-4.0.3/server/all/deploy/clu > ster-service.xml > 2002-06-05 15:11:20,822 DEBUG [org.jboss.deployment.SARDeployer] > Deploying SAR, create step: url > file:/F:/local/java/jboss-3.0.0_tomcat-4.0.3/server/all/deploy/clu > ster-service.xml > 2002-06-05 15:11:20,822 DEBUG [org.jboss.deployment.SARDeployer] > Registering service UCL=jmx.loading:UCL=2569862 > 2002-06-05 15:11:20,832 DEBUG > [org.jboss.mx.loading.UnifiedLoaderRepository] > UnifiedLoaderRepository skipping duplicate > org.jboss.mx.loading.UnifiedClassLoader@273686{ > url=file:/F:/local/java/jboss-3.0.0_tomcat-4.0.3/server/all/tmp/de > ploy/server/all/deploy/cluster-service.xml/51.cluster-service.xml } > 2002-06-05 15:11:20,832 DEBUG [org.jboss.system.ServiceCreator] > About to create bean: jboss:service=DefaultPartition > 2002-06-05 15:11:20,832 DEBUG [org.jboss.system.ServiceCreator] > code: org.jboss.ha.framework.server.ClusterPartition > 2002-06-05 15:11:20,982 DEBUG [org.jboss.system.ServiceCreator] > Created bean: jboss:service=DefaultPartition > 2002-06-05 15:11:20,982 DEBUG [org.jboss.system.ServiceCreator] > About to create bean: jboss:service=HASessionState > 2002-06-05 15:11:20,982 DEBUG [org.jboss.system.ServiceCreator] > code: org.jboss.ha.hasessionstate.server.HASessionStateService > 2002-06-05 15:11:21,112 DEBUG [org.jboss.system.ServiceCreator] > Created bean: jboss:service=HASessionState > 2002-06-05 15:11:21,112 DEBUG > [org.jboss.system.ServiceController] recording that > jboss:service=HASessionState depends on jboss:service=DefaultPartition > 2002-06-05 15:11:21,112 DEBUG > [org.jboss.system.ServiceConfigurator] considering <anonymous> > with object name jboss:service=DefaultPartition > 2002-06-05 15:11:21,112 DEBUG [org.jboss.system.ServiceCreator] > About to create bean: jboss:service=HAJNDI > 2002-06-05 15:11:21,112 DEBUG [org.jboss.system.ServiceCreator] > code: org.jboss.ha.jndi.HANamingService > 2002-06-05 15:11:21,223 DEBUG [org.jboss.system.ServiceCreator] > Created bean: jboss:service=HAJNDI > 2002-06-05 15:11:21,223 DEBUG > [org.jboss.system.ServiceController] recording that > jboss:service=HAJNDI depends on jboss:service=DefaultPartition > 2002-06-05 15:11:21,223 DEBUG > [org.jboss.system.ServiceConfigurator] considering <anonymous> > with object name jboss:service=DefaultPartition > 2002-06-05 15:11:21,223 DEBUG [org.jboss.system.ServiceCreator] > About to create bean: jboss:service=invoker,type=jrmpha > 2002-06-05 15:11:21,223 DEBUG [org.jboss.system.ServiceCreator] > code: org.jboss.invocation.jrmp.server.JRMPInvokerHA > 2002-06-05 15:11:21,353 DEBUG [org.jboss.system.ServiceCreator] > Created bean: jboss:service=invoker,type=jrmpha > 2002-06-05 15:11:21,353 INFO > [org.jboss.ha.framework.server.ClusterPartition] Creating > 2002-06-05 15:11:21,353 DEBUG > [org.jboss.ha.framework.server.ClusterPartition] Creating > JavaGroups JChannel > 2002-06-05 15:11:22,635 DEBUG > [org.jboss.ha.framework.server.ClusterPartition] Creating HAPartition > 2002-06-05 15:11:22,975 DEBUG > [org.jboss.ha.framework.server.ClusterPartition] Initing > HAPartition: org.jboss.ha.framework.server.HAPartitionImpl@2bcd4b > 2002-06-05 15:11:22,975 INFO > [org.jboss.ha.framework.server.HAPartitionImpl.DefaultPartition] > Initializing > 2002-06-05 15:11:22,975 DEBUG > [org.jboss.ha.framework.server.HAPartitionImpl.DefaultPartition] > setMembershipListener > 2002-06-05 15:11:22,975 DEBUG > [org.jboss.ha.framework.server.HAPartitionImpl.DefaultPartition] > setMessageListener > 2002-06-05 15:11:22,975 DEBUG > [org.jboss.ha.framework.server.HAPartitionImpl.DefaultPartition] > create replicant manager > 2002-06-05 15:11:23,005 DEBUG > [org.jboss.ha.framework.server.HAPartitionImpl.DefaultPartition] > init replicant manager > 2002-06-05 15:11:23,005 DEBUG [DefaultPartition:ReplicantManager] > registerRPCHandler > 2002-06-05 15:11:23,005 DEBUG [DefaultPartition:ReplicantManager] > registerMembershipListener > 2002-06-05 15:11:23,015 DEBUG > [org.jboss.ha.framework.server.HAPartitionImpl.DefaultPartition] > bind replicant manager > 2002-06-05 15:11:23,015 DEBUG > [org.jboss.ha.framework.server.HAPartitionImpl.DefaultPartition] > create distributed state > 2002-06-05 15:11:23,035 DEBUG > [org.jboss.ha.framework.server.HAPartitionImpl.DefaultPartition] > init distributed state service > 2002-06-05 15:11:23,055 DEBUG > [org.jboss.ha.framework.server.HAPartitionImpl.DefaultPartition] > bind distributed state service > 2002-06-05 15:11:23,115 DEBUG > [org.jboss.ha.framework.server.HAPartitionImpl.DefaultPartition] > creating SubcontextHAPartition > 2002-06-05 15:11:23,115 DEBUG > [org.jboss.ha.framework.server.HAPartitionImpl.DefaultPartition] > done initing. > 2002-06-05 15:11:23,115 DEBUG > [org.jboss.ha.framework.server.ClusterPartition] HAPartition initialized > 2002-06-05 15:11:23,115 INFO > [org.jboss.ha.framework.server.ClusterPartition] Created > 2002-06-05 15:11:23,115 INFO > [org.jboss.ha.hasessionstate.server.HASessionStateService] Creating > 2002-06-05 15:11:23,175 DEBUG > [org.jboss.ha.hasessionstate.server.HASessionStateImpl./HASessionS > tate/Default] creating SubcontextHASessionState > 2002-06-05 15:11:23,175 INFO > [org.jboss.ha.hasessionstate.server.HASessionStateService] Created > 2002-06-05 15:11:23,175 INFO [org.jboss.ha.jndi.HANamingService] Creating > 2002-06-05 15:11:23,205 DEBUG [org.jboss.ha.jndi.HANamingService] > Initializing HAJNDI server > 2002-06-05 15:11:23,205 DEBUG [org.jboss.ha.jndi.HANamingService] > jndi lookup of /HAPartition/DefaultPartition > 2002-06-05 15:11:23,205 DEBUG [org.jboss.ha.jndi.HANamingService] > Create remote object > 2002-06-05 15:11:23,215 DEBUG [org.jboss.ha.jndi.HANamingService] > initialize HAJNDI > 2002-06-05 15:11:23,215 DEBUG [org.jboss.ha.jndi.HAJNDI] > subscribeToStateTransferEvents > 2002-06-05 15:11:23,215 DEBUG [org.jboss.ha.jndi.HAJNDI] > registerRPCHandler > 2002-06-05 15:11:23,215 INFO [org.jboss.ha.jndi.HANamingService] Created > 2002-06-05 15:11:23,225 INFO > [org.jboss.invocation.jrmp.server.JRMPInvokerHA] creating > 2002-06-05 15:11:23,256 DEBUG > [org.jboss.invocation.jrmp.server.JRMPInvokerHA] Container > Invoker RMI Port='Anonymous' > 2002-06-05 15:11:23,256 DEBUG > [org.jboss.invocation.jrmp.server.JRMPInvokerHA] Container > Invoker Client SocketFactory='Default' > 2002-06-05 15:11:23,256 DEBUG > [org.jboss.invocation.jrmp.server.JRMPInvokerHA] Container > Invoker Server SocketFactory='Default' > 2002-06-05 15:11:23,256 DEBUG > [org.jboss.invocation.jrmp.server.JRMPInvokerHA] Container > Invoker Server SocketAddr='Default' > 2002-06-05 15:11:23,256 INFO > [org.jboss.invocation.jrmp.server.JRMPInvokerHA] created > 2002-06-05 15:11:23,276 DEBUG [org.jboss.deployment.MainDeployer] > Done with create step of deploying cluster-service.xml > 2002-06-05 15:11:23,276 DEBUG [org.jboss.deployment.MainDeployer] > start step for deployment > file:/F:/local/java/jboss-3.0.0_tomcat-4.0.3/server/all/deploy/clu > ster-service.xml > 2002-06-05 15:11:23,286 DEBUG [org.jboss.deployment.SARDeployer] > Deploying SAR, start step: url > file:/F:/local/java/jboss-3.0.0_tomcat-4.0.3/server/all/deploy/clu > ster-service.xml > 2002-06-05 15:11:23,286 INFO > [org.jboss.ha.framework.server.ClusterPartition] Starting > 2002-06-05 15:11:23,306 DEBUG > [org.jboss.ha.framework.server.ClusterPartition] Starting > ClusterPartition: DefaultPartition > 2002-06-05 15:11:23,306 INFO > [org.jboss.ha.framework.server.ClusterPartition] Connecting to channel > 2002-06-05 15:11:23,396 INFO [STDOUT] > ------------------------------------------------------- > GMS: address is bakkhos:2419 > ------------------------------------------------------- > 2002-06-05 15:11:25,599 DEBUG > [org.jboss.ha.framework.server.HAPartitionImpl.DefaultPartition] > new view accepted: 0 ([bakkhos:2419]) > 2002-06-05 15:11:25,599 DEBUG > [org.jboss.ha.framework.server.HAPartitionImpl.DefaultPartition] > ViewAccepted: initial members set > 2002-06-05 15:11:25,649 INFO > [org.jboss.ha.framework.server.ClusterPartition] Starting channel > 2002-06-05 15:11:25,649 DEBUG > [org.jboss.ha.framework.server.HAPartitionImpl.DefaultPartition] > get nodeName > 2002-06-05 15:11:25,649 DEBUG > [org.jboss.ha.framework.server.HAPartitionImpl.DefaultPartition] > Get current members > 2002-06-05 15:11:25,649 INFO > [org.jboss.ha.framework.server.HAPartitionImpl.DefaultPartition] > Number of cluster members: 1 > 2002-06-05 15:11:25,699 DEBUG > [org.jboss.ha.framework.server.HAPartitionImpl.DefaultPartition] > setState called > 2002-06-05 15:11:25,699 DEBUG > [org.jboss.ha.framework.server.HAPartitionImpl.DefaultPartition] > state is null > 2002-06-05 15:11:25,699 DEBUG > [org.jboss.ha.framework.server.HAPartitionImpl.DefaultPartition] > State could not be retrieved, (must be first member of group) > 2002-06-05 15:11:25,699 INFO [DefaultPartition:ReplicantManager] > mergemembers > 2002-06-05 15:11:25,699 DEBUG [DefaultPartition:ReplicantManager] > start MergeMembers > 2002-06-05 15:11:25,869 INFO > [org.jboss.ha.framework.server.ClusterPartition] Started > ClusterPartition: DefaultPartition > 2002-06-05 15:11:25,879 INFO > [org.jboss.ha.framework.server.ClusterPartition] Started > 2002-06-05 15:11:25,919 INFO > [org.jboss.ha.hasessionstate.server.HASessionStateService] Starting > 2002-06-05 15:11:25,949 DEBUG > [org.jboss.ha.hasessionstate.server.HASessionStateImpl./HASessionS > tate/Default] HASessionState node name : bakkhos:2419 > 2002-06-05 15:11:25,949 INFO > [org.jboss.ha.hasessionstate.server.HASessionStateService] Started > 2002-06-05 15:11:25,969 INFO [org.jboss.ha.jndi.HANamingService] Starting > 2002-06-05 15:11:25,999 DEBUG [org.jboss.ha.jndi.HANamingService] > Create HARMIServer proxy > 2002-06-05 15:11:26,250 DEBUG [DefaultPartition:ReplicantManager] > notifyKeyListeners > 2002-06-05 15:11:26,250 DEBUG [DefaultPartition:ReplicantManager] > notifying 1 listeners for key change: HAJNDI > 2002-06-05 15:11:26,250 DEBUG > [org.jboss.ha.framework.server.HATarget] replicantsChanged > 'HAJNDI' to 1 (intra-view id: 1523173687) > 2002-06-05 15:11:26,340 DEBUG [org.jboss.ha.jndi.HANamingService] > Starting listener > 2002-06-05 15:11:26,350 INFO [org.jboss.ha.jndi.HANamingService] > Listening on 0.0.0.0/0.0.0.0:1100 > 2002-06-05 15:11:26,370 INFO > [org.jboss.ha.jndi.HANamingService$AutomaticDiscovery] Listening > on 0.0.0.0/0.0.0.0:1102 > 2002-06-05 15:11:26,380 INFO [org.jboss.ha.jndi.HANamingService] Started > 2002-06-05 15:11:26,400 INFO > [org.jboss.invocation.jrmp.server.JRMPInvokerHA] Starting > 2002-06-05 15:11:26,590 INFO > [org.jboss.invocation.jrmp.server.JRMPInvokerHA] Started > 2002-06-05 15:11:26,590 DEBUG [org.jboss.deployment.MainDeployer] > Final (start) deployment step successfully completed on package: > cluster-service.xml > 2002-06-05 15:11:26,590 INFO [org.jboss.deployment.MainDeployer] > Successfully completed deployment of package: > file:/F:/local/java/jboss-3.0.0_tomcat-4.0.3/server/all/deploy/clu > ster-service.xml > 2002-06-05 15:11:26,670 DEBUG > [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL > for: > file:/F:/local/java/jboss-3.0.0_tomcat-4.0.3/server/all/deploy/clu > ster-service.xml -> > file:/F:/local/java/jboss-3.0.0_tomcat-4.0.3/server/all/deploy/clu > ster-service.xml > > 8<----------8<----------8<----------8<----------8<----------8<---- > ------8<----------8<----------8<---------- > > -- > best regards, > [EMAIL PROTECTED] > > -----Opprinnelig melding----- > Fra: Sacha Labourey [mailto:[EMAIL PROTECTED]] > Sendt: 5. juni 2002 14:17 > Til: [EMAIL PROTECTED] > Emne: RE: [JBoss-user] JBoss 3.0 farming > > > Hello, > > > No, they can be identical. > > I've just tested with 3.0Final on w2k and it works (I took your config > file). > > Are you sure both nodes see each others? What happens when you start the > second node? What is the log output whe the HAPartition starts? > > Cheers, > > Sacha > > > -----Message d'origine----- > > De : [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]De la part de Jon Martin > > Solaas > > Envoy� : mercredi, 5 juin 2002 13:27 > > � : [EMAIL PROTECTED] > > Objet : RE: [JBoss-user] JBoss 3.0 farming > > > > > > > > >> ... which also seems to deploy flawlessly, on both machines (in > > >> the default/deploy directory) > > > > > I guess it is wrong here. a new folder > > JBOSS_HOME/server/default/farm has > > > most probably been created: use this one. > > > > I figured out that one ... but still no go ... (I now also use > > the `run --configuration all` option so it's actually > > JBOSS_HOME/server/all/farm) > > > > >> java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces > > >> commented out > > > > > don't do that: in-VB JNDI resolution will no more be optimised. > > > > ok, I tried both, nothing happens on the "other" server when the > > jndi.properties has it's "factory defaults" either ... > > > > But thanks, anyway! > > > > Should the farm-service.xml be identical on the two machines, or > > are one of the xml-fields some node-identificator indicating a > > unique ID for the farm-node? > > > > -- > > [EMAIL PROTECTED] > > > > > > > > _______________________________________________________________ > > > > Don't miss the 2002 Sprint PCS Application Developer's Conference > > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
