The instructions you followed are for changing the persistence manager
(PM) on a new magnolia install (no existing content). When changing the
PM on an existing magnolia install, I'd recommend this:
1. Backup the existing repositories and store the resulting xml files in
their proper place in the WEB-INF/config/bootstrap folder
2. Stop magnolia
3. Make the persistence manager changes (follow instructions on the wiki
page for this)
4. Clear everything in the repositories directory /*IMPORTANT*/ -- this
eliminates a lot of headaches.
5. Start magnolia and let it bootstrap a whole new repository with the
new PM.
--David
Nathan Anderson wrote:
Thanks for the suggestion Robin. I haven't looked at them all yet, but I don't think the workspace.xml files are the problem. In this case I'm trying to get the out of the box magnolia wars modified to use mysql. So I am able to delete the entire repositories/magnolia directory for both apps [I'm going to work on migrating config and content next].
I followed the instructions from the following page for configuring the MySQL
connection:
http://www.magnolia.info/wiki/Wiki.jsp?page=DataSourcePersistenceManager
To make matters more frustrating I discovered that my magnoliaPublic instance works, but magnoliaAuthor is still getting these PathNotFoundException's.
I tried stopping tomcat deleting the repositories/magnolia folder again for
magnoliaAuthor, and now secureURIList doesn't throw the exception, but both of
the others do. :/ I'm going to keep playing with it, but any more suggestions
are appreciated.
Thanks,
Nathan
----- Original Message -----
From: "Robin Pfeffer" <[email protected]>
To: [email protected]
Sent: Wednesday, July 18, 2007 11:20:17 PM (GMT-0800) America/Los_Angeles
Subject: Re: [magnolia-user] PathNotFoundException problems
Hi Nathan,
Changing the persistence layer with Jackrabbit has one
tricky point you have to keep in mind. the
workspace.xml files (located in the workspaces,
magnolia has gor about ten i think) don't change
correctly. you have to do this by your own. check
theses files (for all workspaces) for the right
settings.
Hth
Robin
--- Nathan Anderson <[email protected]> schrieb:
Howdy folks
I'm rebuilding a Magnolia 3.0.2 server trying to
switch to MySQL for persistence. I've overcome a
few class loader problems, but now I'm getting
PathNotFoundException for secureURIList, IPConfig,
and MIMEMapping.
But since the files appear to be where the are
supposed to be I'm not sure where to go from here.
Any suggestions?
Thanks,
Nathan
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
Please note:
This message and any attachment are confidential and may be privileged or
otherwise protected from disclosure. If you are not the intended recipient,
please telephone or email the sender and delete this message and any attachment
from your system. If you are not the intended recipient you must not copy this
message or attachment or disclose the contents to any other person.
dddd
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------