[jboss-user] [Clustering/JBoss] - Re: change default partition name
Hi, I'm trying to set the partition name in properties-service.xml instead of using the -g startup argument. But it only works with the startup argument. Why I can't get it to work with the properties file? I.E. jboss.partition.name=myPartition vs ./run.sh -g myPartition c- all View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126608#4126608 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126608 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: change default partition name
Probably a dependency issue; i.e. the services that use jboss.partition.name have already deployed and read the value before properties-service.xml deploys. Try adding dependsjboss:type=Service,name=SystemProperties/depends to the ClusterPartition mbean in cluster-service.xml. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126631#4126631 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126631 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: change default partition name
We are using JBOSS 4.0.3SP1 . Is there a way of changing the default partition name. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4067954#4067954 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4067954 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: change default partition name
[EMAIL PROTECTED] wrote : In jboss.xml, for each clustered bean: | In the next EJB3 release, if you just use the plain @Clustered annotation (no attribute), it will default to the partition named by system property jboss.partition.name (i.e. the property that's set by the -g startup switch.) Which release of JBoss did you mean by saying In the next EJB3 release? Was that JBoss 4.2.0? Thanks in advance /K View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4060343#4060343 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4060343 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: change default partition name
Yep. JBoss 4.2.0. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4060490#4060490 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4060490 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: change default partition name
I can not find any documentation on JBoss AS 4.2. What am I doing wrong? I changed all of the DefaultPartition to MYPartition in deploy/cluster-service.xml. e.g. FROM: {jboss.partition.name:DefaultPartition} TO: {jboss.partition.name:MYPartition} and in conf/standardjboss.xml e.g. FROM: {jboss.partition.name:DefaultPartition} TO: {jboss.partition.name:MYPartition} I start the instance with this command: # /opt/jboss-4.2.0.GA/bin/run.sh -c all -b10.40.0.35 and I get this error: 13:58:21,525 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- MBeans waiting for other MBeans --- ObjectName: jboss.ha:service=HASingletonDeployer State: CONFIGURED I Depend On: jboss:service=DefaultPartition jboss.system:service=MainDeployer ObjectName: jboss:service=FarmMember,partition=DefaultPartition State: CONFIGURED I Depend On: jboss:service=DefaultPartition jboss.web:service=WebServer jboss.system:service=MainDeployer --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss:service=DefaultPartition State: NOTYETINSTALLED Depends On Me: jboss.ha:service=HASingletonDeployer jboss:service=FarmMember,partition=DefaultPartition 13:58:21,736 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-10.40.0.35-8080 13:58:21,797 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-10.40.0.35-8009 13:58:21,833 INFO [Server] JBoss (MX MicroKernel) [4.2.0.GA (build: SVNTag=JBoss_4_2_0_GA date=200705111440)] Started in 57s:637ms View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4053736#4053736 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053736 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: change default partition name
There's no need to edit the cluster-service.xml file. Start JBoss with: # /opt/jboss-4.2.0.GA/bin/run.sh -c all -b10.40.0.35 -g MYPartition View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4053742#4053742 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053742 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: change default partition name
That worked great. Thanks for the quick reply! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4053750#4053750 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053750 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: change default partition name
The solution you suggested works fine! Thank you very much! Enrico View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4027468#4027468 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4027468 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: change default partition name
In jboss.xml, for each clustered bean: | clusteredtrue/clustered | cluster-config | partition-namemypartition/partition-name | /cluster-config | This is supported, I believe, since RC9; before it wasn't. In the next EJB3 release, if you just use the plain @Clustered annotation (no attribute), it will default to the partition named by system property jboss.partition.name (i.e. the property that's set by the -g startup switch.) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4026622#4026622 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026622 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user