Menu

#1025 remote operation preference doesn't prevent new instance

open
nobody
None
5
2012-11-08
2012-01-10
Anonymous
No

Hi Morten,

For some time on my computer the "remote operation preference" in jabref doesn't prevent anymore the opening of a new instance, preventing easy importation of ref from the browser. I'm running jabref 2.8 and jabref 2.6 with same error on Ubuntu 10.10 with oracle java 1.7
The first instance open just fine:
$ jabref
Jan 10, 2012 11:14:17 AM net.sf.jabref.plugin.PluginCore initialize
INFO: Found 3 plugin(s):
- net.sf.jabref.core (jar:file:/opt/JabRef-2.8b.jar!/plugins/net.sf.jabref.core/plugin.xml)
- net.sf.jabref.oo.ooplugin (jar:file:/home/cbarbu/.jabref/plugins/net.sf.jabref.oo.ooplugin-0.8.jar!/plugin.xml)
- net.sf.jabref.export.misq (jar:file:/opt/JabRef-2.8b.jar!/plugins/net.sf.jabref.export.misq/plugin.xml)

Opening: /home/cbarbu/Documents/recherche/articles/chagas.bib

But the second one open with a java error:

cbarbu@cbachille:~$ jabref
Jan 10, 2012 10:56:31 AM net.sf.jabref.plugin.PluginCore initialize
INFO: Found 3 plugin(s):
- net.sf.jabref.core (jar:file:/opt/JabRef-2.8b.jar!/plugins/net.sf.jabref.core/plugin.xml)
- net.sf.jabref.oo.ooplugin (jar:file:/home/cbarbu/.jabref/plugins/net.sf.jabref.oo.ooplugin-0.8.jar!/plugin.xml)
- net.sf.jabref.export.misq (jar:file:/opt/JabRef-2.8b.jar!/plugins/net.sf.jabref.export.misq/plugin.xml)

java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at net.sf.jabref.remote.RemoteListener.sendToActiveJabRefInstance(RemoteListener.java:155)
at net.sf.jabref.JabRef.<init>(JabRef.java:122)
at net.sf.jabref.JabRef.main(JabRef.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.sf.jabref.JabRefMain.main(Unknown Source)
Opening: /home/cbarbu/Documents/recherche/articles/chagas.bib</init></init></init>

I tried to disable the firewall but it didn't change anything.

What could I do to trace the bug better?

Thank you again for your work, the new version is thrilling.

Corentin

Discussion

  • Corentin Barbu

    Corentin Barbu - 2012-01-11

    I just noticed today that after shutting down the vpn established through a juniper client a new call to jabref can dialogue with the existing instance:
    "Arguments passed on to running JabRef instance. Shutting down."

    This only half solve my problem as I need this vpn connection most of the time on this computer. Any idea how to trace the bug?

     
  • Morten Omholt Alver

    It's possible that another application is using the same port that JabRef uses for this. In Preferences -> Advanced you can choose a different port number to see if that helps.

     

Log in to post a comment.