Re: datasource configuration

Michel Romy <[email protected]>
Newsgroups gmane.comp.cms.jahia.install
Message-ID <[email protected]>
Hi Tom,

are you sure the database settings are correct ? it seems like Jahia cannot 
access the DB.
A larger portion of you log at Jahia startup would be helpful to find what 
the issue is.

Best regards,
Michel


>Hi,
>
>We are using jahia404 build5822 (we cannot upgrade due to
>customizations), and would like to configure a datasource. So I set
>the value of datasource.name in the jahia.properties file.
>
>When jahia initializes, the datasource is retrieved correctly:
>=2005-05-18 10:30:08,284 INFO  database.ConnectionDispenser
>init                      - Datasource retrieved from context
>
>Some other things initialise, then I get the following error:
>
>=2005-05-18 10:30:18,003 DEBUG
>registries.JahiaContainerDefinitionsRegistry <init>
>- Starting ContainerDefinitions Registry
>=2005-05-18 10:30:18,081 ERROR containers.JahiaContainerDefinitionsDB
>db_load_container_definition - Error in db_load_container_definition
>: Invalid operation: result set closed -> BAILING OUT
>=2005-05-18 10:30:18,097 ERROR bin.Jahia
>init                      - Error during initialization of Jahia
>=2005-05-18 10:30:18,097 DEBUG exceptions.JahiaException
>init                      - (PrintWriter s) called.
>=2005-05-18 10:30:18,097 DEBUG exceptions.JahiaException
>init                      - called.
>org.jahia.exceptions.JahiaException: Cannot load fields from the
>database, Error in db_load_container_definition : Invalid operation:
>result set closed -> BAILING OUT
>        at 
> org.jahia.services.containers.JahiaContainerDefinitionsDB.db_load_container_definition(JahiaContainerDefinitionsDB.java:136)
>        at 
> org.jahia.services.containers.JahiaContainersBaseService.loadContainerDefinition(JahiaContainersBaseService.java:1998)
>        at 
> org.jahia.registries.JahiaContainerDefinitionsRegistry.loadAllDefinitions(JahiaContainerDefinitionsRegistry.java:104)
>        at 
> org.jahia.registries.JahiaContainerDefinitionsRegistry.init(JahiaContainerDefinitionsRegistry.java:80)
>        at org.jahia.bin.Jahia.init(Jahia.java:461)
>
>The datasource connection is tested. There is no error logging in the
>database logs.
>
>Any idea why this happens?
>
>Thanks!
>Tom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.