Package com.sun.messaging.jmq.util.log

Examples of com.sun.messaging.jmq.util.log.Logger.log()


                        d.store();
                        logger.log(Logger.WARNING,
                            BrokerResources.W_DST_REGENERATE,
                                    duid.getLocalizedName());
                    } catch (Exception ex) {
                        logger.log(Logger.WARNING,
                            BrokerResources.W_DST_REGENERATE_ERROR,
                                  duid, ex);
                        try {
                            if (duid.isQueue()) {
                                d = new Queue(duid);
View Full Code Here


       // retrieve stored destinations
        try {
            Destination dests[] = Globals.getStore().getAllDestinations();
            if (DEBUG)
                logger.log(Logger.DEBUG, "Loaded {0} stored destinations",
                    String.valueOf(dests.length));

            for (int i =0; i < dests.length; i ++) {
                if ( dests[i] == null)
                    continue;
View Full Code Here

            for (int i =0; i < dests.length; i ++) {
                if ( dests[i] == null)
                    continue;
                if (DEBUG)
                    logger.log(Logger.INFO, "Destination: Loading destination {0}",
                        dests[i].toString());
                if (!dests[i].isAdmin() && (dests[i].getIsDMQ() || !dests[i].isInternal())) {
                    dests[i].initialize();
                }
                if (dests[i].isAutoCreated() &&
View Full Code Here

      connections = cm.getConnectionList(s);
  } catch(Exception e)  {
            BrokerResources  rb = Globals.getBrokerResources();
      Logger logger = Globals.getLogger();

            logger.log(Logger.WARNING,
    rb.getString(rb.W_JMX_FAILED_TO_OBTAIN_CONNECTION_LIST),
    e);
  }

  return (connections);
View Full Code Here

                } else {
                    nCommitted++;
                }
            }

            logger.log(Logger.INFO, BrokerResources.I_NTRANS,
                       new Integer(transactions.size()),
                       new Integer(nRolledBack));
            Object[] args = { new Integer(transactions.size()),
                              new Integer(nPrepared)new Integer(nCommitted) };
            logger.log(Logger.INFO, BrokerResources.I_NPREPARED_TRANS, args);
View Full Code Here

      connections = cm.getConnectionList(s);
  } catch(Exception e)  {
            BrokerResources  rb = Globals.getBrokerResources();
      Logger logger = Globals.getLogger();

            logger.log(Logger.WARNING,
    rb.getString(rb.W_JMX_FAILED_TO_OBTAIN_CONNECTION_LIST),
    e);

      return (connectionInfoList);
  }
View Full Code Here

            logger.log(Logger.INFO, BrokerResources.I_NTRANS,
                       new Integer(transactions.size()),
                       new Integer(nRolledBack));
            Object[] args = { new Integer(transactions.size()),
                              new Integer(nPrepared)new Integer(nCommitted) };
            logger.log(Logger.INFO, BrokerResources.I_NPREPARED_TRANS, args);
            if (nPrepared > 0) {
                if (autorollback) {
                    logger.log(Logger.INFO,
                               BrokerResources.I_PREPARED_ROLLBACK);
                } else {
View Full Code Here

            Object[] args = { new Integer(transactions.size()),
                              new Integer(nPrepared)new Integer(nCommitted) };
            logger.log(Logger.INFO, BrokerResources.I_NPREPARED_TRANS, args);
            if (nPrepared > 0) {
                if (autorollback) {
                    logger.log(Logger.INFO,
                               BrokerResources.I_PREPARED_ROLLBACK);
                } else {
                    logger.log(Logger.INFO,
                               BrokerResources.I_PREPARED_NOROLLBACK);
                }
View Full Code Here

            if (nPrepared > 0) {
                if (autorollback) {
                    logger.log(Logger.INFO,
                               BrokerResources.I_PREPARED_ROLLBACK);
                } else {
                    logger.log(Logger.INFO,
                               BrokerResources.I_PREPARED_NOROLLBACK);
                }
            }
        }
    }
View Full Code Here

  MQAddress  addr = null;

  if (port == null)  {
      if (DEBUG)  {
          Logger logger = Globals.getLogger();
                logger.log(Logger.DEBUG, "Null port passed in to getPortMapperMQAddress()");
      }
      return (null);
  }

  try  {
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.