You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Sergey Sachkov (JIRA)" <ji...@apache.org> on 2009/04/17 11:45:14 UTC
[jira] Created: (JCRRMI-21) RMI: Unable to register NodeTypes
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.
Re: [jira] Commented: (JCRRMI-21) RMI: Unable to register NodeTypes
Posted by Torgeir Veimo <to...@pobox.com>.
Is there any chance the jira messages could go on the commit mailing list? I
assume those how follow the commit list would amount to the same people that
are interested in jira issues mails?
2009/4/17 Felix Meschberger (JIRA) <ji...@apache.org>
>
> [
> https://issues.apache.org/jira/browse/JCRRMI-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700105#action_12700105]
>
> Felix Meschberger commented on JCRRMI-21:
> -----------------------------------------
>
> I think you might want to use the
> org.apache.jackrabbit.rmi.jackrabbit.JackrabbitClientAdapterFactory instead
> of the plain ClientAdapterFactory in the requestRepository method.
>
> > 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.
>
>
--
-Tor
[jira] Commented: (JCRRMI-21) RMI: Unable to register NodeTypes
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCRRMI-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700105#action_12700105 ]
Felix Meschberger commented on JCRRMI-21:
-----------------------------------------
I think you might want to use the org.apache.jackrabbit.rmi.jackrabbit.JackrabbitClientAdapterFactory instead of the plain ClientAdapterFactory in the requestRepository method.
> 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.
[jira] Updated: (JCRRMI-21) RMI: Unable to register NodeTypes
Posted by "Sergey Sachkov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCRRMI-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Sachkov updated JCRRMI-21:
----------------------------------
Priority: Minor (was: Major)
Issue Type: Improvement (was: Bug)
> RMI: Unable to register NodeTypes
> ---------------------------------
>
> Key: JCRRMI-21
> URL: https://issues.apache.org/jira/browse/JCRRMI-21
> Project: Jackrabbit JCR-RMI
> Issue Type: Improvement
> Environment: WindowsXP
> Reporter: Sergey Sachkov
> Priority: Minor
> 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.
[jira] Updated: (JCRRMI-21) RMI: Unable to register NodeTypes
Posted by "Sergey Sachkov (JIRA)" <ji...@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.
[jira] Commented: (JCRRMI-21) RMI: Unable to register NodeTypes
Posted by "Sergey Sachkov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCRRMI-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700126#action_12700126 ]
Sergey Sachkov commented on JCRRMI-21:
---------------------------------------
Yes, you're right, but it is a bit confusing for me. As it is not so obvious as should be IMHO. My suggestion is to hide ClientRepositoryFactory() constructor to avoid such misunderstanding.
> 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.