Hi All,

I am new to Magnolia CMS. 
I am using Magnolia 3.5.4. I have a web application which is deployed in
the same Tomcat 5.5 server where Magnolia 3.5.4 is deployed. I need to
connect to Magnolia from my web application. How can I get the
Repository or Workspace from Magnolia. I have downloaded the Magnolia
3.5.4 from net and I did not change the repositories.xml file. I tried
to get the repository using the code below.
        Repository websiteRepository =
ContentRepository.getRepository("magnolia");

Because I can see the repositories.xml in that repository is defined
with the name 'magnolia' and all workspaces are mapped to the
repositoryName 'magnolia'

But I couldn't able to get the connection.

Any help would be grateful.

Thanks & Regards,
Ramesh.

This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.



----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to