Posts Tagged ‘opencms’

OpenCMS Shell Export Issues – exportResources vs exportResourcesAndUserdata

Well it has been some time since I wrote, but it has been pretty busy over at work, with one issue after another to be resolved.

We have been having an issue with OpenCMS backups on the shell, even opened up an issue on the dev mailing list (http://lists.opencms.org/pipermail/opencms-dev/2011q2/035562.html) where the backups at the shell were smaller than those from the admin panel.

While pulling out my hair, have lost a bit this year, and reading all available methods I came across exportResourcesAndUserdata which does not seem different from the default method exportResources provided in the wiki, http://opencms-wiki.org/CMS_Shell. Maybe its all the caffeine, but why had I not seen this before.

It takes the same options, and I also remembered that on the admin panel during the database export I select the option to export account data, and voila the backups from the shell and admin panel are almost the same size.

Tomorrow, I am gonna try and carry out a restore to confirm whether I can access the data.

Thats a story for another time…

Java Content Management System Woes – OpenCMS 6.2

We are working on migrating an OpenCMS website from one look to another. As expected of all development projects, this cannot be done on the production server, so we are setting up a development environment for the site within our local network.

While the basic tools have become better, Java and Tomcat seem faster than when I had a version 4 of each, it seems like OpenCMS and maybe other Java applications are still mired in the past. Setting up a PHP based CMS, Joomla or WordPress (have not used Drupal) are straight forward, migrating from one server to another is as simple as copying the files, updating the database, and poof ur off.

OpenCMS, is a totally different beast all together, it is not clear what is stored on the file system and what is stored in the database, and even when you get a strange error like

ERROR [.workplace.CmsWorkplaceManager:1288] Error reading view folder: [B@111ad13/
org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource from path "/[B@111ad13/".

You are left wondering where the hell do I find the missing file or resource for one Google is no help either. Nothing is clear with Java, and Java based applications.

The hair pulling goes on, and one wonders whether I will be bald by the time this is fixed.