Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 39857 invoked from network); 17 Apr 2009 09:47:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Apr 2009 09:47:37 -0000 Received: (qmail 80650 invoked by uid 500); 17 Apr 2009 09:47:36 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 80575 invoked by uid 500); 17 Apr 2009 09:47:36 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 80566 invoked by uid 99); 17 Apr 2009 09:47:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Apr 2009 09:47:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Apr 2009 09:47:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C1F01234C04B for ; Fri, 17 Apr 2009 02:47:15 -0700 (PDT) Message-ID: <1138232165.1239961635793.JavaMail.jira@brutus> Date: Fri, 17 Apr 2009 02:47:15 -0700 (PDT) From: "Sergey Sachkov (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCRRMI-21) RMI: Unable to register NodeTypes In-Reply-To: <1190371866.1239961514818.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCRRMI-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Sachkov updated JCRRMI-21: ---------------------------------- Attachment: JackRabbitTest.java TestCase > RMI: Unable to register NodeTypes > --------------------------------- > > Key: JCRRMI-21 > URL: https://issues.apache.org/jira/browse/JCRRMI-21 > Project: Jackrabbit JCR-RMI > Issue Type: Bug > Environment: WindowsXP > Reporter: Sergey Sachkov > Attachments: JackRabbitTest.java > > > Unable to register nodetype via RMI. When trying examples shown in Jackrabbit RMI section: > JackrabbitNodeTypeManager ntTypeMgr = (JackrabbitNodeTypeManager) ws.getNodeTypeManager(); > getting ClassCastException: > java.lang.ClassCastException: org.apache.jackrabbit.rmi.client.ClientNodeTypeManager > at JackRabbitTest.testRMINodeTypeRegister(JackRabbitTest.java:39) > at JackRabbitTest.main(JackRabbitTest.java:47) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) > java.lang.ClassCastException: org.apache.jackrabbit.rmi.client.ClientNodeTypeManager -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.