You are not logged in.
Bonjour,Je souhaite installer Ametys sur un nouveau serveur à partir de sauvegardes de mon serveur actuel. J'ai installé MySQL, Apache, Tomcat, Java dans les mêmes répertoires que le serveur actuel mais ça ne fonctionne pas totalement.Je ne parviens par à accéder au CMS. Je trouve ça dans les logs :
ERROR (2013-12-04) 11:17.38:625 [org.amet] (Unknown-URI) Unknown-Thread/ThreadSafeComponentManager: Unable to initialize component javax.jcr.Repository
org.apache.avalon.framework.configuration.ConfigurationException: Cannot access configuration information at file:///C:/prod/ametys/cms/web/WEB-INF/param/repository.xml:2:13
at org.apache.cocoon.jcr.JackrabbitRepository.configure(JackrabbitRepository.java:98)
at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201)
at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:384)
at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:107)
at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:89)
at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:126)
at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:59)
at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:68)
at org.ametys.anycontent.plugins.anycontent.repository.jcr.JCRRepository.initialize(JCRRepository.java:145)
at org.ametys.anycontent.plugins.web.repository.jcr.JCRRepository.initialize(JCRRepository.java:61)
at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:392)
at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:107)
at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:89)
at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:195)
at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
at org.ametys.runtime.cocoon.TreeProcessor.compose(TreeProcessor.java:58)
at org.apache.avalon.framework.container.ContainerUtil.compose(ContainerUtil.java:173)
at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:266)
at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:524)
at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:583)
at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:345)
at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1429)
at org.ametys.runtime.servlet.RuntimeServlet.createCocoon(RuntimeServlet.java:147)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:499)
at org.ametys.runtime.servlet.RuntimeServlet.init(RuntimeServlet.java:119)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.state.db.DerbyPersistenceManager: Failed to start database 'C:\prod\ametys\cms\web\WEB-INF\data\repository/version/db', see the next exception for details.: Failed to start database 'C:\prod\ametys\cms\web\WEB-INF\data\repository/version/db', see the next exception for details.
at org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1121)
at org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:358)
at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:275)
at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:521)
at org.apache.cocoon.jcr.JackrabbitRepository.configure(JackrabbitRepository.java:93)
... 54 more
Caused by: java.sql.SQLException: Failed to start database 'C:\prod\ametys\cms\web\WEB-INF\data\repository/version/db', see the next exception for details.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown Source)
at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at org.apache.jackrabbit.core.persistence.db.SimpleDbPersistenceManager.getConnection(SimpleDbPersistenceManager.java:163)
at org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.initConnection(DatabasePersistenceManager.java:730)
at org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.init(DatabasePersistenceManager.java:196)
at org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1117)
... 58 more
Caused by: java.sql.SQLException: Container Container(0, 1024) cannot be opened; it either has been dropped or does not exist.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
... 70 more
Pouvez-vous m'aider ?
Last edited by Steph (04/12/2013 12:45:54)
Offline
Bonjour,
De quelle version d'Ametys s'agit-il ?
Raphael Franchet
Expert Ametys
Offline