Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] Protege client-server [WAS: Interface)

Tania Tudorache tudorache at stanford.edu
Fri Aug 19 16:29:29 PDT 2011


Ralf,

You replied to the wrong thread. Please use your own threads, to make 
the discussion useful also for others. I moved the discussion to this 
new thread.

To fix the exception that you get, you need to edit the 
run_protege_server.bat file and add the right location for the CODEBASE_URL.

Basically, edit this line and fix it to match the path to protege.jar 
from your Protege installation directory (this is a URL, so use forward 
slashes):

set CODEBASE_URL=file:/c:/program%%20files/protege_3.4.7/protege.jar

(space is represented as %20, I don't think double % is necessary, but 
you need to try it out)

Related to the other problem, of the clients timing out, see if the 
above fix works for them, too.

If not, you need to configure the server to use the firewall [1], and 
make sure you open on your Windows Firewall (the machine where the 
Protege server is hosted) the two ports used by the Protege server.

If this still fails, then it is something related to your specific 
network setup. In order to help further, we need to know your network 
setup and the Protege server configuration.

Tania

[1]: 
http://protegewiki.stanford.edu/wiki/Protege_Client_Server_Tutorial_Advanced#Working_with_Firewalls



-------- Original Message --------
Subject: 	Re: [protege-discussion] Interface
Date: 	Fri, 19 Aug 2011 09:33:29 -0500
From: 	Schulmeisters, Karl <Karl.Schulmeisters at unisys.com>
Reply-To: 	User support for Core Protege and the Protege-Frames editor 
<protege-discussion at lists.stanford.edu>
To: 	User support for Core Protege and the Protege-Frames editor 
<protege-discussion at lists.stanford.edu>



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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20110819/69d08f67/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Attached Message Part
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20110819/69d08f67/attachment.ksh>


More information about the protege-discussion mailing list