Mon alfresco ne redemarre plus :( problème de java ?

cancel
Showing results for 
Search instead for 
Did you mean: 
totoro
Member II

Mon alfresco ne redemarre plus :( problème de java ?

Bonjour
J'ai installé Alfresco chez moi dans le but de monté un peu en compétence, il marchait bien jusqu'à se que je redémarre la machine…
Mon Alfresco est installé dans une machine virtuel debian héberger sur un serveur Proxmox. Sur la machine virtuel tout les packages sont a jour.
La version installer est la 3Stable labs (j'ai suivi ce tuto: http://wiki.alfresco.com/wiki/Installing_Labs_3_Stable_on_Debian_Etch pour l'installation, j'ai adapter pour lenny)
Tomcat me renvoi:
[codeHTTP Status 404 -

type Status report

message

description The requested resource () is not available.
Apache Tomcat/6.0.18]
Quand j'essaye d'arrêter alfresco:

Using CATALINA_BASE:   /opt/Alfresco/tomcat
Using CATALINA_HOME:   /opt/Alfresco/tomcat
Using CATALINA_TMPDIR: /opt/Alfresco/tomcat/temp
Using JRE_HOME:       /usr/lib/jvm/java-6-sun
CompilerOracle: exclude org/apache/lucene/index/IndexReader$1.doBody
CompilerOracle: exclude org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger.mergeIndexes
CompilerOracle: exclude org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger.mergeDeletions
Using CATALINA_BASE:   /opt/Alfresco/virtual-tomcat
Using CATALINA_HOME:   /opt/Alfresco/virtual-tomcat
Using CATALINA_TMPDIR: /opt/Alfresco/virtual-tomcat/temp
Using JRE_HOME:       /usr/lib/jvm/java-6-sun
Jul 5, 2010 6:52:47 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:529)
        at java.net.Socket.connect(Socket.java:478)
        at java.net.Socket.<init>(Socket.java:375)
        at java.net.Socket.<init>(Socket.java:189)
        at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:395)
        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:597)
        at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:344)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:435)

Je suppose que le problème vient de java qui semble même refuser de s'arrêter, j'ai cherché un peut dans tous les log que j'ai vue, je doute être tomber sur les bons… car j'ai pas vue d'autre erreurs …
J'ai cherche un peut sur le net sans trouver grand chose de semblable me semble t'il.
Bon après ben comme dit plus haut je cherche a apprendre Smiley Wink donc si quelqu'un a une idée, je suis preneur.

Merci de votre aide.

Totoro
7 Replies
rguinot
Customer

Re: Mon alfresco ne redemarre plus :( problème de java ?

postez le contenu propre du log de démarrage, catalina.out.
d'autre part vous ne dites rien de votre environnement, versions , etc….la boule de cristal étant en réparation,il va falloir être plus précis.
totoro
Member II

Re: Mon alfresco ne redemarre plus :( problème de java ?

Bonjour,
Voici la fin du catalina.out:
Jul 6, 2010 3:28:20 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jul 6, 2010 3:28:20 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 613 ms
Jul 6, 2010 3:28:21 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 6, 2010 3:28:21 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Jul 6, 2010 3:28:21 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive studio.war
15:28:24,889  INFO  [web.scripts.DeclarativeRegistry] Registered 67 Web Scripts (+0 failed), 71 URLs
15:28:24,892  INFO  [web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 436.41827ms)
15:29:25,886  INFO  [web.scripts.DeclarativeRegistry] Registered 101 Web Scripts (+0 failed), 105 URLs
15:29:25,889  INFO  [web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 60978.707ms)
15:29:25,966  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Framework
Jul 6, 2010 3:29:26 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
Jul 6, 2010 3:29:27 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
15:29:46,433  ERROR [transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to perform ImageMagick transformation:
Execution result:
   os:         Linux
   command:    [/usr/bin/convert, /opt/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_source_8989400873708964833.gif, /opt/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_target_2579676881669118765.png]
   succeeded:  false
   exit code:  1
   out:       
   err:        Cannot run program "/usr/bin/convert": java.io.IOException: error=12, Cannot allocate memory
15:29:47,618  WARN  [jmx.support.JmxUtils] Found more than one MBeanServer instance. Returning first from list.
15:29:49,328  INFO  [config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
15:30:23,382  ERROR [transaction.SpringAwareUserTransaction.trace] Detected first UserTransaction which is being garbage collected without a commit() or rollback()
15:30:23,406  ERROR [transaction.SpringAwareUserTransaction.trace] Logging of transaction call stack is now enabled and will affect performance
15:30:23,406  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,407  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,407  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,407  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,407  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,407  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,408  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,408  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,408  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,408  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,408  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,409  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,409  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,409  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,409  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,410  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,410  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,410  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,410  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,410  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,410  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,410  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,410  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,410  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,411  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,411  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,411  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,411  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,411  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,411  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,411  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,411  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,411  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:23,411  ERROR [transaction.SpringAwareUserTransaction.trace] UserTransaction being garbage collected without a commit() or rollback(). NOTE: Prior to transaction call stack logging.
15:30:29,948  ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'luceneIndexBackupComponent' defined in class path resource [alfresco/core-services-context.xml]: Invocation of init method failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
   at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
   at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
   at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
   at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
   at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:426)
   at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
   at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:119)
   at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57)
   at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1326)
   at org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:510)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:350)
   at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:262)
   at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:219)
   at org.alfresco.util.transaction.SpringAwareUserTransaction.begin(SpringAwareUserTransaction.java:415)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:309)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:227)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$LuceneIndexBackupComponent.afterPropertiesSet(AbstractLuceneIndexerAndSearcherFactory.java:1467)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1201)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
   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:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Failed to start database 'alf_data/derby_data/alfresco', see the next exception for details.)
   at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855)
   at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
   at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81)
   at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
   … 48 more
Caused by: java.sql.SQLException: Failed to start database 'alf_data/derby_data/alfresco', see the next exception for details.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.seeNextException(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.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
   at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
   at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
   at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
   at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
   at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
   at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
   at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
   … 51 more
Caused by: java.sql.SQLException: Failed to start database 'alf_data/derby_data/alfresco', see the next exception for details.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
   … 65 more
Caused by: java.sql.SQLException: Another instance of Derby may have already booted the database /opt/Alfresco/alf_data/derby_data/alfresco.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
   at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
   … 62 more
Caused by: ERROR XSDB6: Another instance of Derby may have already booted the database /opt/Alfresco/alf_data/derby_data/alfresco.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.privGetJBMSLockOnDB(Unknown Source)
   at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.getJBMSLockOnDB(Unknown Source)
   at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.boot(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
   at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
   at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
   at org.apache.derby.impl.store.raw.RawStore.boot(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
   at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
   at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
   at org.apache.derby.impl.store.access.RAMAccessManager.boot(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
   at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
   at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
   at org.apache.derby.impl.db.BasicDatabase.bootStore(Unknown Source)
   at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
   at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)
   at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
   … 62 more
Jul 6, 2010 3:30:29 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jul 6, 2010 3:30:29 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
Jul 6, 2010 3:30:31 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
15:30:34,279  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Framework
Jul 6, 2010 3:30:34 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jul 6, 2010 3:30:34 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 133721 ms
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Logs d'arrêt:
alfred:~# /etc/init.d/alfresco stop
Using CATALINA_BASE:   /opt/Alfresco/tomcat
Using CATALINA_HOME:   /opt/Alfresco/tomcat
Using CATALINA_TMPDIR: /opt/Alfresco/tomcat/temp
Using JRE_HOME:       /usr/lib/jvm/java-6-sun
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Using CATALINA_BASE:   /opt/Alfresco/virtual-tomcat
Using CATALINA_HOME:   /opt/Alfresco/virtual-tomcat
Using CATALINA_TMPDIR: /opt/Alfresco/virtual-tomcat/temp
Using JRE_HOME:       /usr/lib/jvm/java-6-sun
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Log de démarrage:
error opening security policy file /etc/X11/xserver/SecurityPolicy
(EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/base
Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list!
Could not init font path element /usr/share/fonts/X11/100dpi, removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi, removing from list!
[config/hal] couldn't initialise context: (null) ((null))
Using CATALINA_BASE:   /opt/Alfresco/tomcat
Using CATALINA_HOME:   /opt/Alfresco/tomcat
Using CATALINA_TMPDIR: /opt/Alfresco/tomcat/temp
Using JRE_HOME:       /usr/lib/jvm/java-6-sun
iptables v1.4.2: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.4.2: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Using CATALINA_BASE:   /opt/Alfresco/virtual-tomcat
Using CATALINA_HOME:   /opt/Alfresco/virtual-tomcat
Using CATALINA_TMPDIR: /opt/Alfresco/virtual-tomcat/temp
Using JRE_HOME:       /usr/lib/jvm/java-6-sun
I18N: Operating system doesn't support locale ""
I18N: Operating system doesn't support locale "en_US"
Dans mon premier message j'indiquais (bon pas très clairement je l'admet):
Le serveur une une Debian Lenny, qui est viturtualisé sur un serveur Proxmox.
La version d'Alfresco: 3Stable labs
Version de Java: 1.6.0.20
Version de swftools: 2009-02-07-1827
S'il manque quelques choses n'hésitez pas

Totoro
shouill
Member II

Re: Mon alfresco ne redemarre plus :( problème de java ?

Bonjour,

votre installation a t elle déjà fonctionné ?

J'aurais tendance à dire que le dossier "/usr/lib/jvm/java-6-sun" n'est pas le bon.

Il me semble que j'avais essayé une fois sur ce répertoire et que cela ne fonctionnait pas. J'ai du réinstallé un jdk 1.6 et je pointe maintenant vers "/etc/jdk1.6.0_20"
totoro
Member II

Re: Mon alfresco ne redemarre plus :( problème de java ?

Bonjour,

Merci de la réponse,
Oui l'installation a déjà fonctionner, j'avais commencer a mettre de données dessus etc … elle avait déjà eu quelques redémarrage…
Je verais ce soir pour tester de faire pointé le java dans une autre dossier.

Merci encore

Totoro
rguinot
Customer

Re: Mon alfresco ne redemarre plus :( problème de java ?

Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection

Caused by: java.sql.SQLException: Another instance of Derby may have already booted the database /opt/Alfresco/alf_data/derby_data/alfresco.
Semble que vous avez démarré plusieurs instances sur la même base Derby et/ou arrêter ces instances de manière impropre.

Etes vous sur que vous n'avez pas d'autres JVM "fantôme" qui tournent en même temps ?
Si vous n'êtes qu'a la phase de prototypage, je vous suggère d'utiliser plutôt MySQL ou PostgreSQL.
totoro
Member II

Re: Mon alfresco ne redemarre plus :( problème de java ?

Merci encore de la réponse,
Les logs sont ceux au lancement de la machine.
Donc je pense plus à un arrêt de manière impropre… Y a t'il moyen de corriger cela ?
Pour les JVM "fantôme" comment puis je le voire ? et comment puis je les arrêter ? en cas ?
Dans tous les cas je vais essayer de voir pour passé sous MySql ou ProsgreSql …
Mais si je pouvais relancer l'alfresco là je serais contant …

Merci de votre aide.
totoro
Member II

Re: Mon alfresco ne redemarre plus :( problème de java ?

Bonjour,
désolé de reprendre la discutions si tard.
Je viens de réinstaller alfresco avec mysql.
Je me suis rendu compte que la première fois ou je l'ai arrêté tout se passe bien, par contre à partir de la seconde fois, impossible de l'arrêter.
A chaque fois j'ai:
Using CATALINA_BASE:   /opt/Alfresco/tomcat
Using CATALINA_HOME:   /opt/Alfresco/tomcat
Using CATALINA_TMPDIR: /opt/Alfresco/tomcat/temp
Using JRE_HOME:       /usr/lib/jvm/java-6-sun
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Autrement je suis obliger de redémarrer la machine, (j'ai pas essayer de killer les processus etc ..) et là rebelote premier arrêt tout ok second la même chose …
Je suppose que c'est ça qui a force a endommager quelque chose.
Autrement j'aimerais bien essayer d'extraire les données de mon ancien Alfresco.
j'ai essayé bourinement de copier de dossier afl_data dans le nouveau Alfresco, et là ben on en revient à:
HTTP Status 404 -

type Status report

message

description The requested resource () is not available.
Apache Tomcat/6.0.18]
Donc je pense que c'est là dedans qu'il y a un hic … mais ou … y a moyen de réparer cela ? ou de récupéré quelque chose…
Dommage que l'on ne puisse pas directement accéder au fichier depuis le système … (je pense que cela doit être lier en partie a la sécurité des données mais bon …)

Merci de votre aide

Totoro