Other Stuff


Page Contents:

Page Group:


2009: 2008:

Related Pages:

GSI-SSHTerm Features. . .  

The Past

GSI-SSHTerm installs and works just fine:

    user> java -jar gridproxyinit-run.jar
        # ...get your proxy going: this Java gizmo does the job nicely...

    user> javaws http://www.grid-support.ac.uk/files/gsissh/jws.jnlp
Select File --> New Connection and in a few seconds you are logged into your favourite X509/Grid resource.

The Present

It doesn't pigging work! The terminal starts, but File --> New Connection yields not a squeak, nothing, zip, sweet FA. . .  

So we open up the Java Console to see what's going on — start GSI-SSHTerm using javaws's -viewer option:

  javaws -viewer jws.jnlp
This opens the Java Application Cache Viewer. Click on
  Exit --> Preferences --> Advanced
then double-click on Java Console and ensure the Show Console radio button is selected; click Apply and then OK. Back in the JACV window, select GSI-SSHTerm and click Launch Online. After a few seconds you should have three windows: the JACV, a Java Console and GSI-SSHTerm.

What do we get?

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
	at uk.ac.rl.esc.browser.Browser.getProfiles(Browser.java:687)
	at uk.ac.rl.esc.browser.Browser.getBrowserList(Browser.java:940)
	at com.sshtools.sshterm.GSIAuthTab.setConnectionProfile(GSIAuthTab.java:170)
	at com.sshtools.common.ui.SshToolsConnectionPanel.setConnectionProfile(SshToolsConnectionPanel.java:133)
	at com.sshtools.common.ui.SshToolsConnectionPanel.showConnectionDialog(SshToolsConnectionPanel.java:191)
	at com.sshtools.sshterm.SshTerminalPanel.actionPerformed(SshTerminalPanel.java:882)
	at com.sshtools.common.ui.StandardAction.actionPerformed(StandardAction.java:148)
Well, that was helpful. Googling for uk.ac.rl.esc.browser.Browser.getProfiles yields nothing.

Time for the sledgehammer:

  luckywinner> strace -o open javaws jws.jnlp
  [pid 24257] open("/usr/lib", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 15
  [pid 24257] open("/root/.mozilla", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 15
  [pid 24257] open("/root/.mozilla/firefox/profiles.ini", O_RDONLY|O_LARGEFILE) = 15
  Process 24259 detached
  victim> strace -o open javaws jws.jnlp
  [pid 24376] open("/usr/lib", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 15
  [pid 24376] open("/home/simon/.mozilla", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 15
  Process 24378 detached

Firing up Firefox and shutting down, all works; rm -rf ~/.mozilla/firefox and it fails again; Firefox again and it works again.

I am writing this en-route to Rutherford. I have an axe. . .