-
1. Re: cluster-ha-singleton example
wdfink Jun 15, 2013 12:17 PM (in response to howardl815)Do you use the JBoss Quickstart?
As you try to deploy a HA example you need to start a *-ha configuration!
Which example do you use?
-
2. Re: cluster-ha-singleton example
erasmomarciano Jun 17, 2013 4:39 AM (in response to howardl815)Hi
How many servers are part of the group "other-server-group" ?
what it means "have a clustered set up (master/slave)," ?
Your web-app it works in mode standalone?
-
3. Re: cluster-ha-singleton example
howardl815 Jun 17, 2013 12:14 PM (in response to wdfink)Hi,
I have one logical server (server-three) that is a part of other-server-group, and two physical servers are in server-three. I have as 7.1.1 deployed on one machine as a master and deployed on another machine (two physically separate machine) as a slave. When I open admin page, I see server-one and server-two are in main-server-group and server-three is in other-server-group (full-ha profile). I deployed the app. onto the other-server-group (full-ha profile).
I'm using hasingleton example. Thank you very much for any help.
-
4. Re: cluster-ha-singleton example
howardl815 Jun 17, 2013 12:34 PM (in response to wdfink)Hi Wolf-Dieter,
I was trying the example you wrote (cluster-ha-singleton: A SingletonService deployed in a JAR started by SingletonStartup and accessed by an EJB - See more at: http://www.jboss.org/jdf/quickstarts/jboss-as-quickstart/cluster-ha-singleton/#sthash.RLLnqYIS.dpuf)
I think I've started *-ha configuration by starting the server-three which is a part of other-server-group. Am I missing something? Thank you very much for any help.
-
5. Re: cluster-ha-singleton example
wdfink Jun 17, 2013 1:37 PM (in response to howardl815)There is an incompatible change between 7.1 and 7.2
You need to change the pom dependency in the root pom of the quickstart.
This should work for 7.1.x and EAP6.0x. If not change the version for AS7.1.2/3 or use the EAP lines below that change.
@@ -50,7 +50,7 @@
<version.jboss.maven.plugin>7.3.Final</version.jboss.maven.plugin>
- <version.jboss.as>7.2.0.Final</version.jboss.as>
+ <version.jboss.as>7.1.1.Final</version.jboss.as>
<!-- Alternatively, comment out the above line, and un-comment the
-
6. Re: cluster-ha-singleton example
howardl815 Jun 20, 2013 11:39 AM (in response to wdfink)Thank you very much Wolf. I'll try it. Thanks again!