WebSphere Portal Server - problems with Portal JCR

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > April 2007 > problems with Portal JCR





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author problems with Portal JCR

2007-04-24, 7:22 am

I have some problems when develop a IBM internal project which need to use the Portal JCR,because it will run on Portal.

Portal JCR seems not compliant with the JSR 170 standard.

When I create a versionable node, how can I set the property in the node?
After the some version are saved, how can I retreive all the content in those versions?

I am trying to use the way how it can be implemented in JSR 170 standard, but can't work.
Here is some of my code:
node.checkout();
node.setProperty("content", value);
node.save();
node.checkin();
I got the exception: javax.jcr.nodetype.ConstraintViolationException: Property Definition not found.

Anybody know anything about this?

Thanks in advance.

2007-04-24, 7:22 am

If you need help with the portal JCR interface and you are internal to IBM you should contact the Portal JCR team in IBM to ask this question. This is a public forum.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com