Hi,
after many (... and many) tests, I have realised that I was using a Postgres data base. I used to install Fedora-Commons with Postgres and it used to work very well. But I realised that the configuration has changed: I use now a single database for all the applications in my project and the separation between the various applications was made with various schemas. So my Fedora-Commons uses a Postgres data base with a schema that is not default. When I install FC, the test of connexion is correct. But when I launch the TOMCAT server (and the FC application), the initialiszation fails. I have tested another install with a "normal" postgres data base... and it works!

Well, I don't know if you are interested with my problem. Anyway, I will use a "normal" data base for my tests, but if the developpers want more informations about my configuration, don't hesitate to contact me.
Greatings
Pierre-Yves

Le 07/12/2011 13:57, Pierre-Yves JALLUD a écrit :
Hi all,
I'm trying desperatly to install the last release of FedoraCommons (3.5) on LINUX (Linux myLinux 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux). I'm using the last release of the JDK6 (java version "1.6.0_29", Java(TM) SE Runtime Environment (build 1.6.0_29-b11), Java HotSpot(TM) Server VM (build 20.4-b02, mixed mode)). The installation took place well, but when I lunch the TOMCAT, I have this exception in the fedora.log:

...
INFO 2011-12-07 12:42:05.810 [main] (Server) Post-Initializing org.fcrepo.server.security.DefaultBackendSecurity INFO 2011-12-07 12:42:05.812 [main] (Server) Post-Initializing org.fcrepo.server.storage.DefaultDOManager

ERROR 2011-12-07 12:42:06.084 [main] (Server) Fatal error while starting server
java.lang.RuntimeException: Error loading cModel deployment cach
at org.fcrepo.server.storage.DefaultDOManager.initializeCModelDeploymentCache(DefaultDOManager.java:423) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.storage.DefaultDOManager.postInitModule(DefaultDOManager.java:383) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.Server.<init>(Server.java:644) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.BasicServer.<init>(BasicServer.java:41) [fcrepo-server-3.5.jar:na]
...
        at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_29]
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) [bootstrap.jar:6.0.29] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) [bootstrap.jar:6.0.29] Caused by: org.postgresql.util.PSQLException: ERROR: relation "modeldeploymentmap" does not exist
  Position: 40
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102) [postgresql-9.0-801.jdbc4.jar:na] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835) [postgresql-9.0-801.jdbc4.jar:na] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257) [postgresql-9.0-801.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500) [postgresql-9.0-801.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388) [postgresql-9.0-801.jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:273) [postgresql-9.0-801.jdbc4.jar:na] at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92) [commons-dbcp-1.2.1.jar:1.2.1] at org.fcrepo.server.storage.DefaultDOManager.initializeCModelDeploymentCache(DefaultDOManager.java:409) [fcrepo-server-3.5.jar:na]
        ... 36 common frames omitted
INFO 2011-12-07 12:42:06.085 [main] (Server) Shutting down server
INFO 2011-12-07 12:42:06.096 [main] (Module) Shutting down org.fcrepo.server.storage.DefaultExternalContentManager INFO 2011-12-07 12:42:06.096 [main] (Module) Shutting down org.fcrepo.server.validation.DOValidatorModule
...

The TOMCAT is responding: the "admin" interface is accessible, but when I want to connect to the repository, the message is "Could not connect to repository at http://myServer.fr:8080/fedora";

I'm using a postgresql database and the legacy-fs "Low Level Storage", and I have choose to not "Enable FeSL AuthN".
Does anyone has a suggestion to solve the problem?

Thanks ans good afternoon
Pierre-Yves


------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/


_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

<<attachment: pierre-yves_jallud.vcf>>

Attachment: smime.p7s
Description: Signature cryptographique S/MIME

------------------------------------------------------------------------------
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity 
while improving strategic productivity.  Learn More! 
http://www.accelacomm.com/jaw/sdnl/114/51507609/
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to