-
1. Re: HAPartition sample code?
slaboure Mar 22, 2003 10:40 AM (in response to avidrissman)check deploy/cluster-service.xml
it shows the creation of a HAPartition.
Then you use it in your code either by looking it up in JNDI or by connecting to it directly through JMX.
Cheers,
sacha -
2. Re: HAPartition sample code?
avidrissman Mar 24, 2003 2:24 PM (in response to avidrissman)Thank you!
I'm trying to follow the advice to make my own partition. In the XML file I specify:
But when I deploy I get:
13:55:41,924 INFO [ClusterPartition] Started ClusterPartition: DefaultPartition
and in the jmx console, I see that although it's attached to the name "MyClusterPartition", its name is "DefaultPartition". How should I fix this? -
3. Re: HAPartition sample code?
avidrissman Mar 24, 2003 3:07 PM (in response to avidrissman)Thank you!
I'm trying to follow the advice to make my own partition. In the XML file I specify:
But when I deploy I get:
13:55:41,924 INFO [ClusterPartition] Started ClusterPartition: DefaultPartition
and in the jmx console, I see that although it's attached to the name "MyClusterPartition", its name is "DefaultPartition". How should I fix this? -
4. Re: HAPartition sample code?
avidrissman Mar 24, 2003 3:32 PM (in response to avidrissman)Thank you!
I'm trying to follow the advice to make my own partition. In the XML file I specify:
But when I deploy I get:
13:55:41,924 INFO [ClusterPartition] Started ClusterPartition: DefaultPartition
and in the jmx console, I see that although it's attached to the name "MyClusterPartition", its name is "DefaultPartition". How should I fix this? -
5. Re: HAPartition sample code?
slaboure Mar 28, 2003 2:25 AM (in response to avidrissman)Yes, don't forget to modify the PartitionName attribute as well!
DefaultPartition
AND USE 3.0.6!!!