[ http://jira.jboss.com/jira/browse/JBAS-1520?page=history ] Scott M Stark reopened JBAS-1520: ---------------------------------
Assign To: Adrian Brock The comment here applies to JBAS-1521. This issue is actually a duplicate of JBAS-1501 and will be closed as such. > patched references to missing field DEFAULT_PARTITION in > org.jboss.metadata.ClusterConfigMetaData > ------------------------------------------------------------------------------------------------- > > Key: JBAS-1520 > URL: http://jira.jboss.com/jira/browse/JBAS-1520 > Project: JBoss Application Server > Type: Patch > Components: Clustering > Reporter: Marcin Mieszek > Assignee: Adrian Brock > Priority: Blocker > > > This is the first time I submit anything here.. so please be patient to me :) > Module jboss-head failed to compile as in 1.7.6.1 version of > org.jboss.metadata.ClusterConfigMetaData constant: > public final static String DEFAULT_PARTITION = "DefaultPartition"; > was replaced with default partition logic in > org.jboss.system.server.ServerConfigUtil cvs version 1.3 with method: > public static String getDefaultPartitionName() > However, there are still references to DEFAULT_PARTITION in files: > 1. org.jboss.ha.hasessionstate.server.HASessionStateImpl cvs version 1.15 at > line 54: > protected final String DEFAULT_PARTITION_JNDI_NAME = > org.jboss.metadata.ClusterConfigMetaData.DEFAULT_PARTITION; > > ^^^^^^^^^^^^^^^^^^^^^^ > I suggest changing to: > protected final String DEFAULT_PARTITION_JNDI_NAME = > org.jboss.system.server.ServerConfigUtil.getDefaultPartitionName(); > 2. org.jboss.ha.framework.server.ClusterPartition cvs version 1.36 at line 54: > protected String partitionName = > org.jboss.metadata.ClusterConfigMetaData.DEFAULT_PARTITION; > > ^^^^^^^^^^^^^^^^^^^^^^ > I suggest changing to: > protected String partitionName = > org.jboss.system.server.ServerConfigUtil.getDefaultPartitionName(); > Below are build errors: > D:\jboss\jboss-head\cluster\src\main\org\jboss\ha\framework\server\ClusterPartition.java:54: > cannot find symbol > symbol : variable DEFAULT_PARTITION > location: class org.jboss.metadata.ClusterConfigMetaData > protected String partitionName = > org.jboss.metadata.ClusterConfigMetaData.DEFAULT_PARTITION; > ^ > D:\jboss\jboss-head\cluster\src\main\org\jboss\ha\hasessionstate\server\HASessionStateImpl.java:54: > cannot find symbol > symbol : variable DEFAULT_PARTITION > location: class org.jboss.metadata.ClusterConfigMetaData > protected final String DEFAULT_PARTITION_JNDI_NAME = > org.jboss.metadata.ClusterConfigMetaData.DEFAULT_PARTITION; > > ^ > I hope it may be useful and the format of my message is readable and this is > the right place to post this piece of information. > Best regards, > Marcin Mieszek -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development