Search Mailing List Archives
[protege-discussion] Unable to connect to remote protege server using Ontology rich client invoked from webprotege
Timothy Redmond
tredmond at stanford.edu
Mon Nov 16 10:14:19 PST 2009
I don't know what to make of this exception. It says that it failed
to get data at some point when trying to connect to the rmi registry.
This is the first network connection that a Protege client tries to
make when it is attempting to connect to a server. It happens before
the client starts to connect and talk to the server (the client gets
the server address from the rmiregistry). It is also potentially the
first data that the client will try to get off the network (it is not
the read after a connect - it is a read during a connect). If this
wasn't java web start and if you hadn't successfully connected with a
rich client then I would tell you that you are having a network problem.
Is the server address identical when you connect using java web start
and the Protege rich client?
-Timothy
On Nov 12, 2009, at 6:35 PM, Kai wrote:
> Tania Tudorache <tudorache <at> stanford.edu> writes:
>
>>
>>
>> Kai,
>> Please enable the Java console, as described here:https://
> trancheproject.org/users/
> console.jsp
>> and post the messages you see in the console.
>> Questions: Did you connect to the Protege server from the rich client
>> from the same machine as the web client?
>> What Java version are you using?
>> Tania
>> Kai wrote:
>>
>> Tania Tudorache <tudorache <at> stanford.edu> writes:
>>
> Tania,
>
> yes, I am using the same machine for both the rich client and the
> standalone
> Protege to connect
> to the remote server running Protege Server. Java versions are J2SE
> 5.0 32-bit,
> Java SE 6 64 Bit, J2SE 5.0 64 bit, J2SE 1.4.2 32-bit
>
> By the way, I'm on a Mac runnung Leopard 10.5.8
>
> Kai.
>
> pasting the exception:
>
> ----
> Java Web Start 1.5.0_20
> Using JRE version 1.5.0_20-b02-315 Java HotSpot(TM) Client VM
> ----
> Reading certificates from 11 http://...
> Could not set up class specific logging
> Exception configuring logger
> Could not set logger level
> Warning: IO exception getting logger. access denied (java.util.
> PropertyPermission
> protege.properties.in.user.home read)
> Nov 12, 2009 6:22:53 PM
> edu.stanford.smi.protege.plugin.PluginUtilities
> findPluginsDirectory
> WARNING: Application directory not specified
> ----
> Reading certificates from 11 http://...
> ----
> JGoodies Looks: Can't read the System property Plastic.tabStyle.
> JGoodies Looks: Can't read the System property
> Plastic.highContrastFocus.
> JGoodies Looks: Can't read the System property Plastic.defaultTheme.
> JGoodies Looks: Can't read the System property
> jgoodies.useNarrowButtons.
> JGoodies Looks: Can't read the System property
> jgoodies.tabIconsEnabled.
> JGoodies Looks: Can't read the System property jgoodies.
> popupDropShadowEnabled.
> Nov 12, 2009 6:22:53 PM
> edu.stanford.smi.protege.resource.BundleHelper <init>
> WARNING: missing bundle: protege_text
> ----
> Nov 12, 2009 6:23:18 PM edu.stanford.smi.protege.server.ServerPanel
> connectToHost
> SEVERE: java.rmi.ConnectIOException: error during JRMP connection
> establishment;
> nested exception is:
> java.io.EOFException
> at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:273)
> at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:
> 171)
> at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
> at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
> at java.rmi.Naming.lookup(Naming.java:84)
> at
> edu.stanford.smi.protege.server.ServerPanel.connectToHost(Unknown
> Source)
> at edu.stanford.smi.protege.server.ServerPanel.isValidConfiguration
> (Unknown Source)
> at edu.stanford.smi.protege.server.ServerPanel.validateContents
> (Unknown Source)
> at edu.stanford.smi.protege.util.ModalDialog.attemptClose(Unknown
> Source)
> at edu.stanford.smi.protege.util.ModalDialog$1.actionPerformed
> (Unknown Source)
> at
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:
> 1882)
> at javax.swing.AbstractButton$Handler.actionPerformed
> (AbstractButton.java:2202)
> at javax.swing.DefaultButtonModel.fireActionPerformed
> (DefaultButtonModel.java:420)
> at
> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
> (BasicButtonListener.java:236)
> at java.awt.Component.processMouseEvent(Component.java:5602)
> at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
> at java.awt.Component.processEvent(Component.java:5367)
> at java.awt.Container.processEvent(Container.java:2010)
> at java.awt.Component.dispatchEventImpl(Component.java:4068)
> at java.awt.Container.dispatchEventImpl(Container.java:2068)
> at java.awt.Component.dispatchEvent(Component.java:3903)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:
> 4256)
> at java.awt.LightweightDispatcher.processMouseEvent(Container.java:
> 3936)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
> at java.awt.Container.dispatchEventImpl(Container.java:2054)
> at java.awt.Window.dispatchEventImpl(Window.java:1801)
> at java.awt.Component.dispatchEvent(Component.java:3903)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
> at java.awt.EventDispatchThread.pumpOneEventForHierarchy
> (EventDispatchThread.java:269)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy
> (EventDispatchThread.java:190)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy
> (EventDispatchThread.java:180)
> at java.awt.Dialog$1.run(Dialog.java:535)
> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
> at java.awt.EventDispatchThread.pumpOneEventForHierarchy
> (EventDispatchThread.java:269)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy
> (EventDispatchThread.java:190)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
> 184)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
> 176)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
> Caused by: java.io.EOFException
> at java.io.DataInputStream.readByte(DataInputStream.java:243)
> at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:215)
> ... 39 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
More information about the protege-discussion
mailing list