From jackrabbit-dev-return-2674-apmail-incubator-jackrabbit-dev-archive=www.apache.org@incubator.apache.org Wed Jul 06 21:01:40 2005 Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 3348 invoked from network); 6 Jul 2005 21:01:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jul 2005 21:01:40 -0000 Received: (qmail 39734 invoked by uid 500); 6 Jul 2005 21:01:34 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 39626 invoked by uid 99); 6 Jul 2005 21:01:34 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2005 14:01:21 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 5207815 for ; Wed, 6 Jul 2005 23:01:18 +0200 (CEST) Message-ID: <548022141.1120683678334.JavaMail.jira@ajax.apache.org> Date: Wed, 6 Jul 2005 23:01:18 +0200 (CEST) From: "Jukka Zitting (JIRA)" To: jackrabbit-dev@incubator.apache.org Subject: [jira] Resolved: (JCR-159) JCR-RMI UnmarshalException when calling getProperty() In-Reply-To: <1890166455.1120560551407.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JCR-159?page=all ] Jukka Zitting resolved JCR-159: ------------------------------- Resolution: Fixed OK, I think the problem was caused by a name collision in the o.a.j.value package. I renamed the package to o.a.j.rmi.value in revision 209511, and the issue should now be fully fixed. Please comment if the problem still appears. > JCR-RMI UnmarshalException when calling getProperty() > ----------------------------------------------------- > > Key: JCR-159 > URL: http://issues.apache.org/jira/browse/JCR-159 > Project: Jackrabbit > Type: Bug > Components: core > Environment: Windows XP, j2se 1.4.2_07 > Reporter: Richard Osbaldeston > Assignee: Jukka Zitting > > I've been trying to get the JCR-RMI adaptors going to talk to my noddy test repository. It seems I can successfully login and traverse the nodes (getNode etc..) but whenever I try to get something from a nt:resource (actually I've subclassed nt:resource to add our own properties) I get the following exception: > org.apache.jackrabbit.rmi.client.RemoteRepositoryException: error unmarshalling return; nested exception is: > java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.jackrabbit.value.BinaryValue: error unmarshalling return; nested exception is: > java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.jackrabbit.value.BinaryValue > at org.apache.jackrabbit.rmi.client.ClientProperty.getValue(ClientProperty.java:139) > at org.apache.jackrabbit.rmi.client.ClientProperty.getString(ClientProperty.java:131) > at ClientTest.main(ClientTest.java:20) > Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested exception is: > java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.jackrabbit.value.BinaryValue > at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:164) > at org.apache.jackrabbit.rmi.server.ServerProperty_Stub.getValue(Unknown Source) > at org.apache.jackrabbit.rmi.client.ClientProperty.getValue(ClientProperty.java:137) > ... 2 more > My svn is up-to-date as of this morning 2005/7/5 although the maven builds don't inspire much confidence as it falls over with Jelly exceptions at various points and there's a couple of dozen unit tests that fail. Don't know if this is the norm, the maven reports on the jackrabbit main site reports suggest not? But calling the same code with an in-process repository works fine. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira