jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MARTINEZ Antonio" <Antonio.Marti...@alcatel-lucent.com>
Subject Problem binding RMI in standalone jackrabbit 1.5.2
Date Sat, 24 Jan 2009 02:24:24 GMT
Hello,

When starting jackrabbit I'm getting an error
Caused by: java.lang.ClassNotFoundException:
org.apache.jackrabbit.rmi.server.ServerRepository_Stub

The class though is there in the standalone jar
jar -tvf jackrabbit-standalone-1.5.2.jar | grep ServerRepository
  3611 Thu Jan 15 15:46:56 PST 2009
org/apache/jackrabbit/rmi/server/ServerRepository_Stub.class


Any ideas?

Thanks,
Antonio



This is the complete jackrabbit.log

23.01.2009 18:10:23 *INFO * RepositoryImpl: Starting repository...
23.01.2009 18:10:23 *INFO * LocalFileSystem: LocalFileSystem initialized
at path jackrabbit/repository
23.01.2009 18:10:24 *INFO * NodeTypeRegistry: no custom node type
definitions found
23.01.2009 18:10:24 *INFO * LocalFileSystem: LocalFileSystem initialized
at path jackrabbit/version
23.01.2009 18:10:26 *INFO * ConnectionRecoveryManager: Database: Apache
Derby / 10.2.1.6 - (452058)
23.01.2009 18:10:26 *INFO * ConnectionRecoveryManager: Driver: Apache
Derby Embedded JDBC Driver / 10.2.1.6 - (452058)
23.01.2009 18:10:27 *INFO * RepositoryImpl: initializing workspace
'default'...
23.01.2009 18:10:27 *INFO * LocalFileSystem: LocalFileSystem initialized
at path jackrabbit/workspaces/default
23.01.2009 18:10:28 *INFO * ConnectionRecoveryManager: Database: Apache
Derby / 10.2.1.6 - (452058)
23.01.2009 18:10:28 *INFO * ConnectionRecoveryManager: Driver: Apache
Derby Embedded JDBC Driver / 10.2.1.6 - (452058)
23.01.2009 18:10:29 *INFO * RepositoryImpl: workspace 'default'
initialized
23.01.2009 18:10:29 *INFO * LocalFileSystem: LocalFileSystem initialized
at path jackrabbit/repository/index
23.01.2009 18:10:30 *INFO * SearchIndex: Index initialized:
jackrabbit/repository/index Version: 3
23.01.2009 18:10:30 *INFO * LocalFileSystem: LocalFileSystem initialized
at path jackrabbit/workspaces/default/index
23.01.2009 18:10:30 *INFO * SearchIndex: Index initialized:
jackrabbit/workspaces/default/index Version: 3
23.01.2009 18:10:30 *INFO * RepositoryImpl: created system workspace:
security
23.01.2009 18:10:30 *INFO * RepositoryImpl: Repository started
23.01.2009 18:10:30 *INFO * RepositoryAccessServlet:
RepositoryAccessServlet initialized.
23.01.2009 18:10:30 *INFO * SimpleWebdavServlet: resource-path-prefix =
'/repository'
23.01.2009 18:10:30 *INFO * SimpleWebdavServlet: WWW-Authenticate header
= 'Basic realm="Jackrabbit Webdav Server"'
23.01.2009 18:10:31 *WARN * /: RMI: Failed to bind repository to RMI:
//localhost/jackrabbit.repository
java.rmi.ServerException: RemoteException occurred in server thread;
nested exception is: 
        java.rmi.UnmarshalException: error unmarshalling arguments;
nested exception is: 
        java.lang.ClassNotFoundException:
org.apache.jackrabbit.rmi.server.ServerRepository_Stub
        at
sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:396)
        at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
        at sun.rmi.transport.Transport$1.run(Transport.java:159)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
        at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.j
ava:790)
        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.ja
va:649)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecuto
r.java:885)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
va:907)
        at java.lang.Thread.run(Thread.java:619)
        at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRem
oteCall.java:255)
        at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233
)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:359)
        at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
        at java.rmi.Naming.rebind(Naming.java:160)
        at
org.apache.jackrabbit.servlet.remote.RMIRemoteBindingServlet.init(RMIRem
oteBindingServlet.java:78)
        at javax.servlet.GenericServlet.init(GenericServlet.java:241)
        at
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:4
31)
        at
org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:
643)
        at
org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
        at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1
234)
        at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517
)
        at
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:460)
        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130
)
        at
org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.ja
va:115)
        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130
)
        at org.mortbay.jetty.Server.doStart(Server.java:222)
        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.apache.jackrabbit.standalone.Main.run(Main.java:131)
        at org.apache.jackrabbit.standalone.Main.main(Main.java:54)
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments;
nested exception is: 
        java.lang.ClassNotFoundException:
org.apache.jackrabbit.rmi.server.ServerRepository_Stub
        at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
        at
sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:386)
        at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
        at sun.rmi.transport.Transport$1.run(Transport.java:159)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
        at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.j
ava:790)
        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.ja
va:649)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecuto
r.java:885)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
va:907)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException:
org.apache.jackrabbit.rmi.server.ServerRepository_Stub
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:247)
        at
sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:434)
        at
sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
        at
java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
        at
java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
        at
sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:1
97)
        at
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
        at
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
        at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732
)
        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
        at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
        ... 12 more
^




Mime
View raw message