Alfresco 3.4.0 Trial y Oracle 10g R2

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

Alfresco 3.4.0 Trial y Oracle 10g R2

Hola,

Aunque había un hilo iniciado, he preferido empezar uno nuevo para arreglar este problema. Estoy intentando integrar mi versión de Alfresco con mi base de datos Oracle, ambas en máquians diferente. He modificado el alfresco-global.properties y añadido el JAR a tomcat/lib. Pero los errores que obtengo son los siguientes:


org.springframework.beans.factory.BeanCreationException:
   Error creating bean with name 'RepoServerMgmt' defined in class path resource [alfresco/core-services-context.xml]:
      Cannot resolve reference to bean 'transactionService' while setting bean property 'transactionService';
         nested exception is org.springframework.beans.factory.BeanCreationException:
            Error creating bean with name 'transactionService' defined in class path resource [alfresco/core-services-context.xml]:
               Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager';
                  nested exception is org.springframework.beans.factory.BeanCreationException:
                     Error creating bean with name 'transactionManager' defined in class path resource [alfresco/hibernate-context.xml]:
                        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' defined in class path resource [alfresco/hibernate-context.xml]:
                                 Invocation of init method failed; nested exception is java.lang.NullPointerException
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
        …

Y así continúa la cascada. ¿Alguien más ha tenido este problema? Gracias.
1 Reply
tremalnaik
Member II

Re: Alfresco 3.4.0 Trial y Oracle 10g R2

Ya lo he arreglado. Simplemente he modificado uno de los parámetros de alfresco-global.properties

db.name=alfresco
db.username=alfresco
db.password=alfresco
db.host=192.0.0.1
db.port=1521
db.driver=oracle.jdbc.OracleDriver
db.url=jdbcSmiley Surprisedracle:thin:@(DESCRIPTION=(ADDRESS = (PROTOCOL = TCP)(HOST = 192.0.0.1)(PORT = 1521))(CONNECT_DATA =(SERVER = DEDICATED)(SID = SID_Name)))
db.pool.validate.query=SELECT 1 FROM DUAL

En lugar de poner la url clásica de Oracle, ésta ha tenido mejor resultado.