Package com.sun.enterprise.connectors

Examples of com.sun.enterprise.connectors.ConnectorRuntimeException


       
  ConnectorConnectionPool connConnPool = createConnectorConnectionPool(
          adminPool);   

        if (connConnPool == null) {
      throw new ConnectorRuntimeException("Unable to create ConnectorConnectionPool"+
              "from JDBC connection pool");
  }

  //now do internal book keeping
  ConnectorRuntime runtime = ConnectorRuntime.getRuntime();
View Full Code Here


            if (!isTxSupportConfigurationSane(txSupportIntVal,
                    domainCcp.getResourceAdapterName())) {

                String i18nMsg = localStrings.getString(
                        "ccp_deployer.incorrect_tx_support");
                ConnectorRuntimeException cre = new
                        ConnectorRuntimeException(i18nMsg);

                _logger.log(Level.SEVERE, "rardeployment.incorrect_tx_support",
                        ccp.getName());
                throw cre;
View Full Code Here

  throws ConnectorRuntimeException {
   
  ConnectorRegistry _registry = ConnectorRegistry.getInstance();
        ConnectorDescriptor connectorDescriptor = _registry.getDescriptor(rarName);
        if (connectorDescriptor == null) {
            ConnectorRuntimeException cre = new ConnectorRuntimeException(
                            "Failed to get connection pool object");
            _logger.log(Level.SEVERE,
                 "rardeployment.connector_descriptor_notfound_registry",rarName);
            _logger.log(Level.SEVERE,"",cre);
            throw cre;
View Full Code Here

            ex.getMessage()});
        logger.log(Level.FINE, "Exception while trying to set " +
            prop.getName() + " and value "+ getFilteredPropValue(prop),
            ex + " on an instance of " + bean.getClass());
        throw (ConnectorRuntimeException)
        (new ConnectorRuntimeException(ex.getMessage()).initCause(ex));
    }
View Full Code Here

            activeRar = registry_.getActiveResourceAdapter(resourceAdapterMid);
        }

        if (activeRar == null) {
      String msg = "Resource adapter "+resourceAdapterMid+ " is not deployed";
      throw new ConnectorRuntimeException(msg);
        }

        if (activeRar instanceof ActiveJmsResourceAdapter) {
            ActiveJmsResourceAdapter jmsRa = (ActiveJmsResourceAdapter) activeRar;
            jmsRa.updateMDBRuntimeInfo(descriptor_,
View Full Code Here

                    logger.info("Got the thread pool for :" + threadpoolId);
                } catch (NoSuchThreadPoolException e) {
                    String msg = localStrings.getString("workmanager.threadpool_not_found");
            
                    logger.log(Level.SEVERE,msg, threadpoolId);
                    throw new ConnectorRuntimeException(e.getMessage());
                }
            }
        }
    }
View Full Code Here

            return cls;
        } catch (ClassNotFoundException e) {
            _logger.info(e.getMessage());
            _logger.log(Level.FINE, "Unable to find class while trying to read connector" +
                    "descriptor to get resource-adapter properties", e);
            ConnectorRuntimeException cre = new ConnectorRuntimeException("unable to find class : " + beanClassName);
            cre.setStackTrace(e.getStackTrace());
            throw cre;
        }
    }
View Full Code Here

            return cl;
        } catch (IOException ioe) {
            _logger.info(ioe.getMessage());
            _logger.log(Level.FINE, "IO Error while trying to read connector" +
                    "descriptor to get resource-adapter properties", ioe);
            ConnectorRuntimeException cre = new ConnectorRuntimeException("unable to read connector descriptor from : " + file);
            cre.setStackTrace(ioe.getStackTrace());
            throw cre;
        }
    }
View Full Code Here

     */
    private static void validateRARLocation(File f) throws ConnectorRuntimeException {
        if (!f.exists()) {
            String i18nMsg = localStrings.getString(
                    "rar_archive_not_found", f);
            throw new ConnectorRuntimeException(i18nMsg);
        }
    }
View Full Code Here

            });
         
            return new MQJMXConnectorInfo[]{mqjmxForServer};
        } catch (Exception e) {
            //e.printStackTrace();
            ConnectorRuntimeException cre = new ConnectorRuntimeException(e.getMessage());
            cre.initCause(e);
            throw cre;
        }
    }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.connectors.ConnectorRuntimeException

Copyright © 2018 www.massapicom. 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.