jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Sachkov (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCRRMI-21) RMI: Unable to register NodeTypes
Date Fri, 17 Apr 2009 09:45:14 GMT
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 


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.


Mime
View raw message