2009-11-05 12 views
1

J'ai une application Grails qui est déployée avec succès sur une instance OC4J autonome, mais quand je tente de le déployer à la version complète via l'interface graphique, j'ai ce problème:Grails OC4J problème déployer à 10.1.3.1

[Nov 5, 2009 10:50:41 AM] Binding diploma-1.0.1 web-module for application diploma to site default-web-site under context root diploma [Nov 5, 2009 10:50:48 AM] Operation failed with error: Error creating bean with name 'messageSource': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Could not get Connection for extracting meta data; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (The database is already in use by another process: [email protected][file =D:\product\10.1.3.1\OracleAS_1\j2ee\home\prodDb.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception: java.io.IOException: The process cannot access the file because another process has locked a portion of the file : D:\product\10.1.3.1\OracleAS_1\j2ee\home\prodDb.lck)

Quelqu'un at-il une idée de ce que mon problème pourrait être?

Répondre

1

Je suppose que les informations pertinentes sont The database is already in use by another process: [email protected][file =D:\product\10.1.3.1\OracleAS_1\j2ee\home\prodDb.lck

On dirait que il y a eu un arrêt souillé de l'application ou quelque chose comme ça et la base de données HSQL n'a pas été communiqué le verrou capable. Ou l'utilisateur avec lequel l'application s'exécute n'a aucun privilège pour accéder au fichier D:\product\10.1.3.1\OracleAS_1\j2ee\home\prodDb.lck

Je vous encourage fortement à utiliser un type de base de données différent dans l'environnement de production. Les alternatives sont MySQL, PostgreSQL, Oracle, MSSQL, Derby, etc.