Hello there,
I'm a jackrabbit newbie and have a problem with the frozen node of a version.
I tried an example at 
http://www.artima.com/lejava/articles/contentrepository3.html and failed at the 
part where the frozen nodes property "blogtext" is read.

System.out.println("Version saved on " + 
        v.getCreated().getTime().toString() + 
        " has the following message: " + 
        no.getProperty("blogtext").getString());

At this part I always get the following error:

javax.jcr.PathNotFoundException: blogtext
        at 
org.apache.jackrabbit.rmi.server.ServerObject.getRepositoryException(ServerObject.java:125)
        at 
org.apache.jackrabbit.rmi.server.ServerNode.getProperty(ServerNode.java:92)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
        at sun.rmi.transport.Transport$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown 
Source)
        at java.lang.Thread.run(Unknown Source)
        at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
        at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
        at org.apache.jackrabbit.rmi.server.ServerNode_Stub.getProperty(Unknown 
Source)
        at 
org.apache.jackrabbit.rmi.client.ClientNode.getProperty(ClientNode.java:224)
        at 
ag.ion.gca.repository.test.GetResourceTest.main(GetResourceTest.java:99)

As I understood the repository, I thought that the whole node is copied into 
the frozen node. So why is this error coming
up or why is the property not copied?

Any suggestions?

Thanks,

Markus Krüger

Reply via email to