On Wed, 2009-09-23 at 10:40 +0200, Roelof Jan Koekoek wrote:
> Hi.
> 
> I'm building a proof of concept with Magnolia and ran into a database  
> problem. I saw that the Maven WAR overlay mechanism resulted in  
> several duplicate jar version in my webapp. The default 4.1 ones from  
> the overlay and several 4.0.1 alternatives which were added as a  
> transitive dependency. After optimizing my project pom to fix this,  
> Magnolia wont boot and trows the following exception which appears to  
> be pretty severe:
> 
> 2009-09-23 10:04:22,948  
> WARN  .persistence.bundle.util.ConnectionRecoveryManager: Could not  
> connect; driver: org.apache.derby.jdbc.EmbeddedDriver url: jdbc:derby:/ 
> Users/roekoe/Developer/Magnolia/poc/webapp/repositories/magnolia/ 
> version/db;create=true user: null error: java.sql.SQLException: Failed  
> to start database '/Users/roekoe/Developer/Magnolia/poc/webapp/ 
> repositories/magnolia/version/db', see the next exception for details.
> java.sql.SQLException: Failed to start database '/Users/roekoe/ 
> Developer/Magnolia/poc/webapp/repositories/magnolia/version/db', see  
> the next exception for details.

"see the next exception for details" ... isn't there more info somewhere
around? can you post complete log file to pastebin.com or similar
service and provide link to it here?
... usually this boils down to one of the following:
- database was not shutdown, there is some other process still connected
to it running
- changes in your pom file resulted in the derby drivers in your webapp
are missing or being of wrong version

HTH,
Jan

> 
> The previous time I ran into this I did a mvn clean and wiped the  
> repository, but I'd rather not do this again. Is there a way fix this?
> 
> Best regards, Roelof Jan Koekoek
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to