Search Mailing List Archives
[protege-discussion] Interface
Csongor Nyulas
csongor.nyulas at stanford.edu
Thu Aug 25 14:18:50 PDT 2011
Hi Karl,
The first problem you encountered was due to the inappropriate firewall
setting.
So the solution that you chose, to install to the server behind the
firewall, was one way of overcoming this problem and it seemed to have
worked for you.
The second problem you have encountered is probably related to the
incompatible Protege server and client versions.
The occurrence of the java.rmi.UnmarshalException is in most of the
cases due to incompatible server and clients.
Please make sure that you are running the same version of Protege both
on the server and the client side.
Csongor
On 8/19/2011 7:33 AM, Schulmeisters, Karl wrote:
> Ok I have another problem that I'm simply not well versed enough to sort out. When I run the Protégé Server on my personal machine -- which has direct connection to the internet via local ISP, it starts up just fine, BUT users inside of my Corpnet can only see it. When they try to load a project they end up essentially timing out while waiting for the project to load. They show up as a session connection, they just never get a loaded project.
>
> Otoh if I connect via Localhost, I get connected just fine
>
> So I hosted the Protégé server on a BehindThe Firewall VM based Windows server. Everything installed as expected. Protégé runs fine in local mode against the database and the metaProject. Except when I go to load the server I get a normal startup UNTIL it tries to load the last project. At which point I get the following error sequence. Its as though my Jave instance cannot reach the Standford server -- though why it would need to I'm not sure
>
> Anyone seen this behavior before? I'll admit, I'm a Java/Tomcat newbie
>
> SEVERE: java.rmi.ServerException: RemoteException occurred in server thread; nes
> ted exception is:
> java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
> tion is:
> java.lang.ClassNotFoundException: edu.stanford.smi.protege.server.Server
> _Stub
> at sun.rmi.server.UnicastServerRef.oldDispatch(Unknown Source)
> at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
> at sun.rmi.transport.Transport$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.rmi.transport.Transport.serviceCall(Unknown Source)
> at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Sour
> ce)
> at java.lang.Thread.run(Unknown Source)
> at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknow
> n Source)
> at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
> at sun.rmi.server.UnicastRef.invoke(Unknown Source)
> at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
> at edu.stanford.smi.protege.server.Server.bindName(Unknown Source)
> at edu.stanford.smi.protege.server.Server.startServer(Unknown Source)
> at edu.stanford.smi.protege.server.Server.main(Unknown Source)
> Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested ex
> ception is:
> java.lang.ClassNotFoundException: edu.stanford.smi.protege.server.Server
> _Stub
> at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
> at sun.rmi.server.UnicastServerRef.oldDispatch(Unknown Source)
> at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
> at sun.rmi.transport.Transport$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.rmi.transport.Transport.serviceCall(Unknown Source)
> at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Sour
> ce)
> at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.ClassNotFoundException: edu.stanford.smi.protege.server.Ser
> ver_Stub
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
> at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
> at java.rmi.server.RMIClassLoader$2.loadClass(Unknown Source)
> at java.rmi.server.RMIClassLoader.loadClass(Unknown Source)
> at sun.rmi.server.MarshalInputStream.resolveClass(Unknown Source)
> at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
> at java.io.ObjectInputStream.readClassDesc(Unknown Source)
> at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
> at java.io.ObjectInputStream.readObject0(Unknown Source)
> at java.io.ObjectInputStream.readObject(Unknown Source)
> ... 9 more
> -- Server.bindName()
> SEVERE: server startup failed -- java.rmi.ServerException: RemoteException occur
> red in server thread; nested exception is:
> java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
> tion is:
> java.lang.ClassNotFoundException: edu.stanford.smi.protege.server.Server
> _Stub
> at sun.rmi.server.UnicastServerRef.oldDispatch(Unknown Source)
> at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
> at sun.rmi.transport.Transport$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.rmi.transport.Transport.serviceCall(Unknown Source)
> at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Sour
> ce)
> at java.lang.Thread.run(Unknown Source)
> at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknow
> n Source)
> at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
> at sun.rmi.server.UnicastRef.invoke(Unknown Source)
> at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
> at edu.stanford.smi.protege.server.Server.bindName(Unknown Source)
> at edu.stanford.smi.protege.server.Server.startServer(Unknown Source)
> at edu.stanford.smi.protege.server.Server.main(Unknown Source)
> Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested ex
> ception is:
> java.lang.ClassNotFoundException: edu.stanford.smi.protege.server.Server
> _Stub
> at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
> at sun.rmi.server.UnicastServerRef.oldDispatch(Unknown Source)
> at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
> at sun.rmi.transport.Transport$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.rmi.transport.Transport.serviceCall(Unknown Source)
> at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Sour
> ce)
> at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.ClassNotFoundException: edu.stanford.smi.protege.server.Ser
> ver_Stub
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
> at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
> at java.rmi.server.RMIClassLoader$2.loadClass(Unknown Source)
> at java.rmi.server.RMIClassLoader.loadClass(Unknown Source)
> at sun.rmi.server.MarshalInputStream.resolveClass(Unknown Source)
> at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
> at java.io.ObjectInputStream.readClassDesc(Unknown Source)
> at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
> at java.io.ObjectInputStream.readObject0(Unknown Source)
> at java.io.ObjectInputStream.readObject(Unknown Source)
> ... 9 more
>
>
>
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20110825/4c53e356/attachment.html>
More information about the protege-discussion
mailing list