jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julio Castillo" <jcasti...@edgenuity.com>
Subject RE: First time deployment of Jackrabbit 1.4.1
Date Tue, 04 Mar 2008 23:59:34 GMT
Thanks for the reference.
I still would like to try the Bundle Persistence Manager (MySQL) per the
PersistenceManagerFAQ on the wiki.
So along those lines, how do I use it so that it also bootstraps and creates
the necessary schema upon startup? Can I use a similar line to Derby?
"<param name="url" value="jdbc:derby:${wsp.home}/db;create=true"/>".

Also, I never got my question answered regarding the absence of the a
repository.xml in the templates directory (of the war file). Is this an
omission or by design?

thanks again

-----Original Message-----
From: CHUN KI SHIN [mailto:ckshin0121@hotmail.com] 
Sent: Friday, February 29, 2008 11:50 AM
To: users@jackrabbit.apache.org
Subject: RE: First time deployment of Jackrabbit 1.4.1


Regarding PM,  I've used SimpleDbPsersistenceManager to connect Jackrabbit
to MySQL 5.x.
I think this page will help you configure PM:


> From: jcastillo@edgenuity.com
> To: users@jackrabbit.apache.org
> Subject: First time deployment of Jackrabbit 1.4.1
> Date: Fri, 29 Feb 2008 10:05:27 -0800
> I have cruised through the documentation, through the mailing lists 
> and for the life of me I can't find the how to.
> My objective is simple. Deploy Jackrabbit using Model 3 using MySQL > as a
> 1) Deployed jcr1.0.jar file and the jackrabbit-webapp-1.4.war file.
> 2) I started tomcat with no other changes and it failed after 
> opening up the war file.
> "28.02.2008 17:43:05 *ERROR* RepositoryStartupServlet: Repository 
> startup configuration is not valid but a bootstrap config is 
> specified.(RepositoryStartupServlet.java, line 366)"
> It appears to be looking for the repository.xml which is not in the 
> war file even though comments on the documentation state that both 
> the bootstrap.properties file and a repository.xml files are in 
> the templates directory (only the bootstrap.properties file was  
> there). Did I miss something here?
> 3) Moving on. I did find a sample repository.xml in the web.
> I changed the PM on the sample file I found from using 
> db.DerbyPersistanceManager to bundle.MySqlPersistenceManager
> - I couldn't find documentation on how to configure the
> repository.xml file.
> I found some samples, so I went ahead and changed the value of the
> "url" parameter. Where/how do I specify the user-name/password?
> - Also what is the difference between using a "bundle" version vs a
> "db" version of the persistence manager?
> Hints or pointers to documentation are appreciated.
> Regards

View raw message