Examples of RepositoryConfigurationException


Examples of org.exoplatform.services.jcr.config.RepositoryConfigurationException

            con.close();
         }
      }
      catch (final SQLException e)
      {
         throw new RepositoryConfigurationException("Database exception. " + e, e);
      }
      catch (final NamingException e)
      {
         throw new RepositoryConfigurationException("JDNI exception. " + e, e);
      }
   }
View Full Code Here

Examples of org.exoplatform.services.jcr.config.RepositoryConfigurationException

            con.close();
         }
      }
      catch (final IOException e)
      {
         throw new RepositoryConfigurationException("Configuration read exception. " + e, e);
      }
      catch (final SQLException e)
      {
         throw new RepositoryConfigurationException("Database exception. " + e, e);
      }
      catch (final NamingException e)
      {
         throw new RepositoryConfigurationException("JDNI exception. " + e, e);
      }
   }
View Full Code Here

Examples of org.exoplatform.services.jcr.config.RepositoryConfigurationException

            con.close();
         }
      }
      catch (final IOException e)
      {
         throw new RepositoryConfigurationException("Configuration read exception. " + e, e);
      }
      catch (final SQLException e)
      {
         throw new RepositoryConfigurationException("Database exception. " + e + ". SQL: " + sql, e);
      }
      catch (final NamingException e)
      {
         throw new RepositoryConfigurationException("JDNI exception. " + e, e);
      }
   }
View Full Code Here

Examples of org.exoplatform.services.jcr.config.RepositoryConfigurationException

      {
         vcas = (ValueContentAddressStorage)Class.forName(vcasType).newInstance();
      }
      catch (ClassNotFoundException e)
      {
         throw new RepositoryConfigurationException("VCAS Storage class load error " + e, e);
      }
      catch (InstantiationException e)
      {
         throw new RepositoryConfigurationException("VCAS Storage class load error " + e, e);
      }
      catch (IllegalAccessException e)
      {
         throw new RepositoryConfigurationException("VCAS Storage class load error " + e, e);
      }
      vcas.init(props);
   }
View Full Code Here

Examples of org.exoplatform.services.jcr.config.RepositoryConfigurationException

      {
         vcas = (ValueContentAddressStorage)Class.forName(vcasType).newInstance();
      }
      catch (ExceptionInInitializerError e)
      {
         throw new RepositoryConfigurationException("VCAS Storage class load error " + e, e);
      }
      catch (SecurityException e)
      {
         throw new RepositoryConfigurationException("VCAS Storage class load error " + e, e);
      }
      catch (ClassNotFoundException e)
      {
         throw new RepositoryConfigurationException("VCAS Storage class load error " + e, e);
      }
      catch (InstantiationException e)
      {
         throw new RepositoryConfigurationException("VCAS Storage class load error " + e, e);
      }
      catch (IllegalAccessException e)
      {
         throw new RepositoryConfigurationException("VCAS Storage class load error " + e, e);
      }
      vcas.init(props);
   }
View Full Code Here

Examples of org.exoplatform.services.jcr.config.RepositoryConfigurationException

                  if (!tmpf.delete())
                     LOG.warn("Storage temporary directory contains un-deletable file " + tmpf.getAbsolutePath()
                        + ". It's recommended to leave this directory for JCR External Values Storage private use.");
            }
            else
               throw new RepositoryConfigurationException("Cannot create " + TEMP_DIR_NAME
                  + " directory under External Value Storage.");
         }
         else
         {
            LOG.warn("Directory IS NOT created: " + rootDir.getAbsolutePath());
         }
      }
      else
      {
         if (!rootDir.isDirectory())
         {
            throw new RepositoryConfigurationException("File exists but is not a directory " + rootDirPath);
         }
      }
   }
View Full Code Here

Examples of org.exoplatform.services.jcr.config.RepositoryConfigurationException

               configurationPersister = configurationPersisterClass.newInstance();
               configurationPersister.init(params.getPropertiesParam("working-conf"));
            }
            catch (InstantiationException e)
            {
               throw new RepositoryConfigurationException(e.getLocalizedMessage());
            }
            catch (IllegalAccessException e)
            {
               throw new RepositoryConfigurationException(e.getLocalizedMessage());
            }
            catch (ClassNotFoundException e)
            {
               throw new RepositoryConfigurationException(e.getLocalizedMessage());
            }
         }
      }
      this.configurationService = configurationService;
   }
View Full Code Here

Examples of org.exoplatform.services.jcr.config.RepositoryConfigurationException

      {
         throw new RuntimeException(e);
      }
      catch (Exception e)
      {
         throw new RuntimeException(new RepositoryConfigurationException("Fail to init from xml! Reason: " + e, e));
      }
   }
View Full Code Here

Examples of org.exoplatform.services.jcr.config.RepositoryConfigurationException

               }
               catch (Throwable t)
               {
                  unregisterAllComponents();
                  parent.unregisterComponent(name);
                  throw new RepositoryConfigurationException("Can not register repository container " + name
                     + " in parent container.", t);
               }
               return null;
            }
         });
      }
      catch (PrivilegedActionException e)
      {
         Throwable ex = e.getCause();
         if (ex instanceof RepositoryConfigurationException)
         {
            throw (RepositoryConfigurationException)ex;
         }
         else
         {
            throw new RepositoryConfigurationException(ex.getMessage(), ex);
         }
      }
   }
View Full Code Here

Examples of org.exoplatform.services.jcr.config.RepositoryConfigurationException

   public JBossCacheWorkspaceStorageCache(ExoContainerContext ctx, WorkspaceEntry wsConfig, TransactionService transactionService,
      ConfigurationManager cfm) throws RepositoryException, RepositoryConfigurationException
   {
      if (wsConfig.getCache() == null)
      {
         throw new RepositoryConfigurationException("Cache configuration not found");
      }

      enabled = wsConfig.getCache().isEnabled();

      shareable =
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.