Examples of ClusteringFault


Examples of org.apache.axis2.clustering.ClusteringFault

                }
            } catch (NotSerializableException e) {
                String message = "Could not send command message " + msg +
                                 " to group since it is not serializable.";
                log.error(message, e);
                throw new ClusteringFault(message, e);
            } catch (ChannelException e) {
                log.error("Could not send message to some members", e);
                ChannelException.FaultyMember[] faultyMembers = e.getFaultyMembers();
                for (ChannelException.FaultyMember faultyMember : faultyMembers) {
                    Member member = faultyMember.getMember();
View Full Code Here

Examples of org.apache.axis2.clustering.ClusteringFault

                         Channel.SEND_OPTIONS_USE_ACK);
            if (log.isDebugEnabled()) {
                log.debug("Sent " + msg + " to self");
            }
        } catch (Exception e) {
            throw new ClusteringFault(e);
        }
    }
View Full Code Here

Examples of org.apache.axis2.clustering.ClusteringFault

            }
        } catch (NotSerializableException e) {
            String message = "Could not send command message to " + TribesUtil.getName(member) +
                             " since it is not serializable.";
            log.error(message, e);
            throw new ClusteringFault(message, e);
        } catch (ChannelException e) {
            log.error("Could not send message to " + TribesUtil.getName(member));
            ChannelException.FaultyMember[] faultyMembers = e.getFaultyMembers();
            log.error("Member " + TribesUtil.getName(member) + " is faulty",
                      faultyMembers[0].getCause());
View Full Code Here

Examples of org.apache.axis2.clustering.ClusteringFault

                }
            } catch (NotSerializableException e) {
                String message = "Could not send command message " + msg +
                                 " to group since it is not serializable.";
                log.error(message, e);
                throw new ClusteringFault(message, e);
            } catch (ChannelException e) {
                log.error("Could not send message to some members", e);
                ChannelException.FaultyMember[] faultyMembers = e.getFaultyMembers();
                for (int i = 0; i < faultyMembers.length; i++) {
                    ChannelException.FaultyMember faultyMember = faultyMembers[i];
View Full Code Here

Examples of org.apache.axis2.clustering.ClusteringFault

                         Channel.SEND_OPTIONS_USE_ACK);
            if (log.isDebugEnabled()) {
                log.debug("Sent " + msg + " to self");
            }
        } catch (Exception e) {
            throw new ClusteringFault(e);
        }
    }
View Full Code Here

Examples of org.apache.axis2.clustering.ClusteringFault

            }
        } catch (NotSerializableException e) {
            String message = "Could not send command message to " + TribesUtil.getHost(member) +
                             " since it is not serializable.";
            log.error(message, e);
            throw new ClusteringFault(message, e);
        } catch (ChannelException e) {
            log.error("Could not send message to " + TribesUtil.getHost(member));
            ChannelException.FaultyMember[] faultyMembers = e.getFaultyMembers();
            log.error("Member " + TribesUtil.getHost(member) + " is faulty",
                      faultyMembers[0].getCause());
View Full Code Here

Examples of org.apache.axis2.clustering.ClusteringFault

        try {
            channel.start(Channel.DEFAULT);
            String localHost = TribesUtil.getLocalHost(channel);
            if (localHost.startsWith("127.0.")) {
                channel.stop(Channel.DEFAULT);
                throw new ClusteringFault("Cannot join cluster using IP " + localHost +
                                          ". Please set an IP address other than " +
                                          localHost + " in your /etc/hosts file or set the " +
                                          ClusteringConstants.LOCAL_IP_ADDRESS +
                                          " System property and retry.");
            }
        } catch (ChannelException e) {
            throw new ClusteringFault("Error starting Tribes channel", e);
        }

        // RpcChannel is a ChannelListener. When the reply to a particular request comes back, it
        // picks it up. Each RPC is given a UUID, hence can correlate the request-response pair
        rpcChannel =
View Full Code Here

Examples of org.apache.axis2.clustering.ClusteringFault

                if (log.isDebugEnabled()) {
                    log.debug("Exit: TribesClusterManager::shutdown");
                }

                throw new ClusteringFault(e);
            }
        }
        log.debug("Exit: TribesClusterManager::shutdown");
    }
View Full Code Here

Examples of org.apache.axis2.clustering.ClusteringFault

                    updateCmd.addProperty(diff);
                } else {
                    String msg =
                            "Trying to replicate non-serializable property " + key +
                            " in context " + context;
                    throw new ClusteringFault(msg);
                }
            }
        }
    }
View Full Code Here

Examples of org.apache.axis2.clustering.ClusteringFault

                tenants.add(tb);
            }
        } catch (Exception e) {
            String msg = "Cannot get Active tenants";
            log.error(msg, e);
            throw new ClusteringFault(msg, e);
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.