Problem with WebStart

Comments, questions, rants, etc, that are specifically about KGS go here.
Post Reply
DrStraw
Oza
Posts: 2180
Joined: Tue Apr 27, 2010 4:09 am
Rank: AGA 5d
GD Posts: 4312
Online playing schedule: Every tenth February 29th from 20:00-20:01 (if time permits)
Location: ʍoquıɐɹ ǝɥʇ ɹǝʌo 'ǝɹǝɥʍǝɯos
Has thanked: 237 times
Been thanked: 662 times
Contact:

Problem with WebStart

Post by DrStraw »

I had a disk crash recently. The new disk no longer has the .SGF association with Cgoban. I tried to run WebStart from from KGS page. It comes up with a screen which says the sigital signature has been verified so I click Run. It immediately comes back with "Failed to validate certificate". I am assuming there is some security setting I need to fix. It is my employers machine but I have amdin privileges on it.

Can anyone help?
Still officially AGA 5d but I play so irregularly these days that I am probably only 3d or 4d over the board (but hopefully still 5d in terms of knowledge, theory and the ability to contribute).
User avatar
schultz
Lives in gote
Posts: 505
Joined: Tue Apr 20, 2010 5:31 pm
GD Posts: 0
Location: Montana
Has thanked: 80 times
Been thanked: 62 times

Re: Problem with WebStart

Post by schultz »

Is it still installed? (Showing up in the "Add or Remove Programs" list?)

I had a similar problem, and after uninstalling it from there and grabbing the webstart, it started working again.
KGS: schultz [?].
DrStraw
Oza
Posts: 2180
Joined: Tue Apr 27, 2010 4:09 am
Rank: AGA 5d
GD Posts: 4312
Online playing schedule: Every tenth February 29th from 20:00-20:01 (if time permits)
Location: ʍoquıɐɹ ǝɥʇ ɹǝʌo 'ǝɹǝɥʍǝɯos
Has thanked: 237 times
Been thanked: 662 times
Contact:

Re: Problem with WebStart

Post by DrStraw »

Thanks. I basically got the same response from glue when I mailed admin. It didn't work but I have not had time to look at it again yet.
Still officially AGA 5d but I play so irregularly these days that I am probably only 3d or 4d over the board (but hopefully still 5d in terms of knowledge, theory and the ability to contribute).
Kirby
Honinbo
Posts: 9553
Joined: Wed Feb 24, 2010 6:04 pm
GD Posts: 0
KGS: Kirby
Tygem: 커비라고해
Has thanked: 1583 times
Been thanked: 1707 times

Re: Problem with WebStart

Post by Kirby »

You could try another version of Java. When I search for other people that have had similar problems on google, a common theme seems to be that "it worked with Java version X, but not with Java version Y" (where X and Y are version numbers). Here's an example:
http://bugs.sun.com/bugdatabase/view_bu ... id=5056088

So maybe you could install a different version of Java and see if it resolves the issue.
be immersed
DrStraw
Oza
Posts: 2180
Joined: Tue Apr 27, 2010 4:09 am
Rank: AGA 5d
GD Posts: 4312
Online playing schedule: Every tenth February 29th from 20:00-20:01 (if time permits)
Location: ʍoquıɐɹ ǝɥʇ ɹǝʌo 'ǝɹǝɥʍǝɯos
Has thanked: 237 times
Been thanked: 662 times
Contact:

Re: Problem with WebStart

Post by DrStraw »

Kirby wrote:You could try another version of Java. When I search for other people that have had similar problems on google, a common theme seems to be that "it worked with Java version X, but not with Java version Y" (where X and Y are version numbers). Here's an example:
http://bugs.sun.com/bugdatabase/view_bu ... id=5056088

So maybe you could install a different version of Java and see if it resolves the issue.


Problem is that it is my employers computer an I need the version of Java for some of the tools on there so I do not want to risk changing it.
Still officially AGA 5d but I play so irregularly these days that I am probably only 3d or 4d over the board (but hopefully still 5d in terms of knowledge, theory and the ability to contribute).
Kirby
Honinbo
Posts: 9553
Joined: Wed Feb 24, 2010 6:04 pm
GD Posts: 0
KGS: Kirby
Tygem: 커비라고해
Has thanked: 1583 times
Been thanked: 1707 times

Re: Problem with WebStart

Post by Kirby »

DrStraw wrote:
Kirby wrote:You could try another version of Java. When I search for other people that have had similar problems on google, a common theme seems to be that "it worked with Java version X, but not with Java version Y" (where X and Y are version numbers). Here's an example:
http://bugs.sun.com/bugdatabase/view_bu ... id=5056088

So maybe you could install a different version of Java and see if it resolves the issue.


Problem is that it is my employers computer an I need the version of Java for some of the tools on there so I do not want to risk changing it.


Okay, then. If you can't change your java version, maybe you can try a hack I just made up (which seems to work for me).

First of all, are you using a Windows machine? I am assuming you're using Windows since a lot of people use Windows. I don't personally use Windows much, but here is a method that might work on Windows:

1.) Download the actual jar file (not the jnlp) from this site:
http://files.gokgs.com/javaBin/cgoban.jar

2.) Open up notepad, or another text editor.

3.) Type the following text into the editor:
java -jar cgoban.jar %1

4.) Save the file in the same directory as your cgoban.jar file. Change the file extension to be BAT instead of TXT, so that it is an executable windows bat file.

5.) Go to the Windows Control Panel.

6.) Click on the Tools menu, and then "Folder Options..."

7.) Click on the "File Types" tab.

8.) See if "SGF" is listed as a registered file type. If it is not, then click on the "New" button, type SGF for the "File Extension", click "OK", then you should see an SGF entry in the list.

9.) Click on the SGF entry, and then click the "Change..." button.

10.) In the "Open With" dialog, find the bat file you saved in step 4. Select that bat file, check the "Always use the selected program to open this kind of file" checkbox, and click "OK".

This should make the cgoban.jar file open sgf files in Windows.

It is just a hack that uses the jar file directly.

By the way, if the bat file does not work, it may be because you don't have your java home directory set in your path. You can check this by opening a command window and seeing if typing "java" successfully executes the java command. If you need help setting this up, let me know, and I can provide further explanation.
be immersed
DrStraw
Oza
Posts: 2180
Joined: Tue Apr 27, 2010 4:09 am
Rank: AGA 5d
GD Posts: 4312
Online playing schedule: Every tenth February 29th from 20:00-20:01 (if time permits)
Location: ʍoquıɐɹ ǝɥʇ ɹǝʌo 'ǝɹǝɥʍǝɯos
Has thanked: 237 times
Been thanked: 662 times
Contact:

Re: Problem with WebStart

Post by DrStraw »

Thanks Kirby. I'll give that a try when I feel I have enough time. Sounds like it will take more than a few minutes.
Still officially AGA 5d but I play so irregularly these days that I am probably only 3d or 4d over the board (but hopefully still 5d in terms of knowledge, theory and the ability to contribute).
Kirby
Honinbo
Posts: 9553
Joined: Wed Feb 24, 2010 6:04 pm
GD Posts: 0
KGS: Kirby
Tygem: 커비라고해
Has thanked: 1583 times
Been thanked: 1707 times

Re: Problem with WebStart

Post by Kirby »

DrStraw wrote:Thanks Kirby. I'll give that a try when I feel I have enough time. Sounds like it will take more than a few minutes.


Okay, cool. If it doesn't work out for you (it did for me, though), maybe we can come up with another idea.

The instructions I gave are probably not as hard as they look. The simple version is here:

1.) Make a bat file that executes cgoban.jar along with a parameter.
2.) Associate that bat file with your SGF files.

The other steps were just to explain one possible way to do this.
be immersed
Post Reply