cancel
Showing results for 
Search instead for 
Did you mean: 

JCR RMI Configuration

robain
Champ in-the-making
Champ in-the-making
I was trying out the JCR RMI integration but after going through the steps i am getting the following error.

16:15:55,087  ERROR [jcr.repository.JcrRmiBindingUtil] "error occured while binding JCR to RMI [java.rmi.ServerException: Ser
ver RemoteException; nested exception is:
        java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
        java.lang.ClassNotFoundException: org.apache.jackrabbit.rmi.server.ServerRepository_Stub]

I have the jdr jar files in the lib directory, also exploded the jar file in the classes directories. i know one of the jar files does have that class, any ideas on what the problem might be.

Thanks
robain
2 REPLIES 2

robain
Champ in-the-making
Champ in-the-making
Also, on the RMI console I am getting this error

Default cache directory C:\Softwares\jdk1.6.0_10\jcache not found.  JAR caching disabled.
MimeTable.load: file = C:\Softwares\jdk1.6.0_10\lib\content-types.properties, java.io.FileNotFoundException: C:\Softwares\jdk1.6.0_10\lib\content-types.pro
perties
java.io.FileNotFoundException: C:\Softwares\jdk1.6.0_10\lib\content-types.properties
        at java.io.FileInputStream.<init>(FileInputStream.java:56)
        at java.io.FileInputStream.<init>(FileInputStream.java:75)
        at sun.net.www.MimeTable.load(MimeTable.java:212)
        at sun.net.www.MimeTable.<init>(MimeTable.java:43)
        at sun.net.www.MimeTable.getDefaultTable(MimeTable.java:52)
        at sun.net.www.protocol.file.FileURLConnection.connect(Compiled Code)
        at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:162)
        at sun.net.www.protocol.http.HttpURLConnection.openConnectionCheckRedirects(Compiled Code)
        at sun.applet.AppletClassLoader.loadClass(Compiled Code)
        at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:630)
        at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:226)
        at sun.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:152)
        at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:90)
        at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:711)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:328)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:225)
        at java.io.ObjectInputStream.inputObject(Compiled Code)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:344)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:225)
        at sun.rmi.registry.RegistryImpl_Skel.dispatch(RegistryImpl_Skel.java:38)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:164)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:154)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(Compiled Code)
        at sun.rmi.transport.tcp.TCPTransport.run(Compiled Code)
        at java.lang.Thread.run(Thread.java:466)

robain
Champ in-the-making
Champ in-the-making
Has anyone used JCR on remote alfresco running on a different remote machine?? could you please share your experiences.