jawahar raj wrote:
> i am new to magnolia CMS. i tried deployed the magnolia code in
> tomcat5 i was not able to start the tomcat because i got the error as
> follows FAIL - Application at context path / could not be started
> ERROR info.magnolia.jackrabbit.ProviderImpl
> ProviderImpl.java(init:176) Unable to initialize repository: Cannot
> instantiate persistence manager
> org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager:
> com.mysql.jdbc.Driver javax.jcr.RepositoryException: Cannot
> instantiate persistence manager
> org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager:
> com.mysql.jdbc.Driver: com.mysql.jdbc.Driver at
> org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1033)
> Caused by: java.lang.*ClassNotFoundException: com.mysql.jdbc.Driver*
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
> ERROR info.magnolia.cms.beans.config.ContentRepository
> ContentRepository.java(loadRepositories:303) 23.03.2009 17:45:01
> System : Failed to load JCR "magnolia" Cannot instantiate persistence
> manager
> org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager:
> com.mysql.jdbc.Driver
> info.magnolia.repository.RepositoryNotInitializedException: Cannot
> instantiate persistence manager
> org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager:
> com.mysql.jdbc.Driver: Cannot instantiate persistence manager
> org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager:
> com.mysql.jdbc.Driver: com.mysql.jdbc.Driver at
> info.magnolia.jackrabbit.ProviderImpl.init(ProviderImpl.java:177) at
> info.magnolia.cms.beans.config.ContentRepository.loadRepository(ContentRepository.java:336)
> at
> info.magnolia.cms.beans.config.ContentRepository.loadRepositories(ContentRepository.java:300)
> Caused by: javax.jcr.RepositoryException: Cannot instantiate
> persistence manager
> org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager:
> com.mysql.jdbc.Driver: com.mysql.jdbc.Driver at
> org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1033)
> javax.jcr.RepositoryException: Cannot instantiate persistence manager
> org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager:
> com.mysql.jdbc.Driver: com.mysql.jdbc.Driver Executing shutdown tasks
> could anyone help me out in resloving this issue. thanks in advance
> ------------------------------------------------------------------------
> View this message in context: Unable to initialize repository: Cannot
> instantiate persistence manager
> <http://www.nabble.com/Unable-to-initialize-repository%3A-Cannot-instantiate-persistence-manager-tp22660304p22660304.html>
> Sent from the Magnolia - Dev mailing list archive
> <http://www.nabble.com/Magnolia---Dev-f650.html> at Nabble.com.

It looks like it can't find your MySQL driver jar file.  Did you place
either in Magnoloia's WEB-INF/lib directory or in tomcat's lib directory?

Note for Tomcat 5.5, the "lib" I directory mentioned is tomcat's
common/lib folder.  In tomcat 6, it's just tomcat's lib folder.

--David


----------------------------------------------------------------
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