-
Patch
-
Resolution: Duplicate
-
Blocker
-
None
-
None
-
None
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
- duplicates
-
JBAS-1501 ClusterConfigMetaData should check for the new partition name system property
- Closed