Search Mailing List Archives
[protege-discussion] Interface
Csongor Nyulas
csongor.nyulas at stanford.edu
Fri Aug 26 12:28:07 PDT 2011
Thanks for letting us know. There is always something to learn.
For others, interested in this thread, here is the wiki page that Karl
has referred to:
http://protegewiki.stanford.edu/wiki/Troubleshooting_Client_Server_Connections
Csongor
On 8/25/2011 6:19 PM, Schulmeisters, Karl wrote:
>
> So in the end what it turned out to be was a lack of documentation in
> the Protégé Server deployment for Windows -- which they have now
> corrected. Turns out that there is an environment variable setting
> in the Run_Protege_server.bat file that assumes out of the box that
> you are running the Protégé Server out of "c:\program
> files\Protege_3.4.xxx" But with Windows Server 2008 onwards, 32-bit
> executables get placed in "C:\program files (x86)\Protege_3.4.xxx"
> and you need to manually go in and fixup the
>
> CODEBASE_URL
>
> Environment setting to the proper path. The reason it worked on my
> laptop is that while I'm running Windows 7, it's the 32 bit version of
> Win 7 and thus has no 64bit capability and no need to differentiate
> the executables.
>
> *Karl *
>
> *From:*protege-discussion-bounces at lists.stanford.edu
> [mailto:protege-discussion-bounces at lists.stanford.edu] *On Behalf Of
> *Csongor Nyulas
> *Sent:* Thursday, August 25, 2011 2:19 PM
> *To:* protege-discussion at lists.stanford.edu
> *Subject:* Re: [protege-discussion] Interface
>
> 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 <mailto: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
>
>
>
> _______________________________________________
> 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/20110826/338a26d7/attachment.html>
More information about the protege-discussion
mailing list