Hello
Thanks for your reply.
I try re-compile openfire 3.7.1 with clustering.
But I got this error.
I’m not R&D. I don’t know why it. Can you give me a suggestion?? Thanks a lot.
[javac] Compiling 27 source files to /opt/openfire_src/work/plugins-dev/hazelcast/target/classes
[javac] /opt/openfire_src/src/plugins/hazelcast/src/java/com/jivesoftware/openfire/sess ion/RemoteSession.java:172: cannot find symbol
[javac] symbol : method getClusterNodeInfo(byte[])
[javac] location: class org.jivesoftware.util.cache.CacheFactory
[javac] ClusterNodeInfo info = CacheFactory.getClusterNodeInfo(nodeID);
[javac] ^
[javac] /opt/openfire_src/src/plugins/hazelcast/src/java/com/jivesoftware/openfire/sess ion/RemoteSession.java:189: cannot find symbol
[javac] symbol : method getClusterNodeInfo(byte[])
[javac] location: class org.jivesoftware.util.cache.CacheFactory
[javac] ClusterNodeInfo info = CacheFactory.getClusterNodeInfo(nodeID);
[javac] ^
[javac] /opt/openfire_src/src/plugins/hazelcast/src/java/com/jivesoftware/util/cache/Ca cheListener.java:67: cannot find symbol
[javac] symbol : method getBytes(java.lang.String)
[javac] location: class org.jivesoftware.util.StringUtils
[javac] NodeID nodeID = NodeID.getInstance(StringUtils.getBytes(event.getMember().getUuid()));
[javac] ^
[javac] /opt/openfire_src/src/plugins/hazelcast/src/java/com/jivesoftware/util/cache/Cl usterListener.java:417: cannot find symbol
[javac] symbol : method getBytes(java.lang.String)
[javac] location: class org.jivesoftware.util.StringUtils
[javac] byte[] nodeID = StringUtils.getBytes(event.getMember().getUuid());
[javac] ^
[javac] /opt/openfire_src/src/plugins/hazelcast/src/java/com/jivesoftware/util/cache/Cl usterListener.java:442: cannot find symbol
[javac] symbol : method getBytes(java.lang.String)
[javac] location: class org.jivesoftware.util.StringUtils
[javac] byte[] nodeID = StringUtils.getBytes(event.getMember().getUuid());
[javac] ^
[javac] /opt/openfire_src/src/plugins/hazelcast/src/java/com/jivesoftware/util/cache/Cl usterListener.java:475: cannot find symbol
[javac] symbol : method getBytes(java.lang.String)
[javac] location: class org.jivesoftware.util.StringUtils
[javac] byte[] nodeID = StringUtils.getBytes(event.getMember().getUuid());
[javac] ^
[javac] /opt/openfire_src/src/plugins/hazelcast/src/java/com/jivesoftware/util/cache/Cl usterListener.java:613: cannot find symbol
[javac] symbol : method getBytes(java.lang.String)
[javac] location: class org.jivesoftware.util.StringUtils
[javac] nodePresences.put(NodeID.getInstance(StringUtils.getBytes(event.getMember().get Uuid())),
[javac] ^
[javac] /opt/openfire_src/src/plugins/hazelcast/src/java/com/jivesoftware/util/cache/Cl usterListener.java:616: cannot find symbol
[javac] symbol : method getBytes(java.lang.String)
[javac] location: class org.jivesoftware.util.StringUtils
[javac] ClusterManager.fireJoinedCluster(StringUtils.getBytes(event.getMember().getUuid ()), true);
[javac] ^
[javac] /opt/openfire_src/src/plugins/hazelcast/src/java/com/jivesoftware/util/cache/Cl usterListener.java:623: cannot find symbol
[javac] symbol : method getBytes(java.lang.String)
[javac] location: class org.jivesoftware.util.StringUtils
[javac] byte[] nodeID = StringUtils.getBytes(event.getMember().getUuid());
[javac] ^
[javac] /opt/openfire_src/src/plugins/hazelcast/src/java/com/jivesoftware/util/cache/Cl usterExternalizableUtil.java:43: com.jivesoftware.util.cache.ClusterExternalizableUtil is not abstract and does not override abstract method readSerializableMap(java.io.DataInput,java.util.Map<java.lang.String,? extends java.io.Serializable>,java.lang.ClassLoader) in org.jivesoftware.util.cache.ExternalizableUtilStrategy
[javac] public class ClusterExternalizableUtil implements ExternalizableUtilStrategy {
[javac] ^
[javac] /opt/openfire_src/src/plugins/hazelcast/src/java/com/jivesoftware/util/cache/Cl usteredCacheFactory.java:229: cannot find symbol
[javac] symbol : method getBytes(java.lang.String)
[javac] location: class org.jivesoftware.util.StringUtils
[javac] return StringUtils.getBytes(oldest.getUuid());
[javac] ^
[javac] /opt/openfire_src/src/plugins/hazelcast/src/java/com/jivesoftware/util/cache/Cl usteredCacheFactory.java:238: cannot find symbol
[javac] symbol : method getBytes(java.lang.String)
[javac] location: class org.jivesoftware.util.StringUtils
[javac] return StringUtils.getBytes(cluster.getLocalMember().getUuid());
[javac] ^
[javac] /opt/openfire_src/src/plugins/hazelcast/src/java/com/jivesoftware/util/cache/Cl usteredCacheFactory.java:253: members is already defined in doClusterTask(org.jivesoftware.util.cache.ClusterTask)
[javac] Set members = new HashSet();
[javac] ^
[javac] /opt/openfire_src/src/plugins/hazelcast/src/java/com/jivesoftware/util/cache/Cl usteredCacheFactory.java:286: cannot find symbol
[javac] symbol : method getString(byte[])
[javac] location: class org.jivesoftware.util.StringUtils
[javac] logger.warn(“Requested node " + StringUtils.getString(nodeID) + " not found in cluster”);
[javac] ^
[javac] /opt/openfire_src/src/plugins/hazelcast/src/java/com/jivesoftware/util/cache/Cl usteredCacheFactory.java:351: cannot find symbol
[javac] symbol : method getString(byte[])
[javac] location: class org.jivesoftware.util.StringUtils
[javac] logger.warn(“Requested node " + StringUtils.getString(nodeID) + " not found in cluster”);
[javac] ^
[javac] /opt/openfire_src/src/plugins/hazelcast/src/java/com/jivesoftware/util/cache/Cl usteredCacheFactory.java:369: cannot find symbol
[javac] symbol : method getBytes(java.lang.String)
[javac] location: class org.jivesoftware.util.StringUtils
[javac] if (Arrays.equals(StringUtils.getBytes(member.getUuid()), nodeID)) {
[javac] ^
[javac] /opt/openfire_src/src/plugins/hazelcast/src/java/com/jivesoftware/util/cluster/ HazelcastClusterNodeInfo.java:48: cannot find symbol
[javac] symbol : method getBytes(java.lang.String)
[javac] location: class org.jivesoftware.util.StringUtils
[javac] nodeID = NodeID.getInstance(StringUtils.getBytes(member.getUuid()));
[javac] ^
[javac] /opt/openfire_src/src/plugins/hazelcast/src/java/com/jivesoftware/util/cluster/ HazelcastClusterNodeInfo.java:50: cannot find symbol
[javac] symbol : method getBytes(java.lang.String)
[javac] location: class org.jivesoftware.util.StringUtils
[javac] seniorMember = ClusterManager.getSeniorClusterMember().equals(StringUtils.getBytes(member.getU uid()));
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 18 errors
[trycatch] Caught exception: Compile failed; see the compiler error output for details.
[echo] Error building plugin: hazelcast. Exception:
[echo] /opt/openfire_src/build/build.xml:1310: Compile failed; see the compiler error output for details.