Re: downloaded .jnlp won't open

2010-04-29 Thread Ron Johnson

On 04/27/2010 11:11 AM, Camaleón wrote:
[snip]


How about these sample files? Can you run them?

http://pscode.org/jws/api.html

I'm afraid the problem resides not in your Icewasel or Java setup but in
JNLP file itself. Try running others.



When I click on any of the Launch ... Demo buttons, it asks me to 
open the .jnlp file with /usr/lib/jvm/java-6-sun-1.6.0.20/jre


When I do so, the Java splash screen pops up, then I get an 
Application Error window saying Unable to launch application.


The base exceptions are:
java.net.SocketException: Network is unreachable
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

com.sun.deploy.net.FailedDownloadException: Unable to load resource: 
http://www.pscode.org/jws/clipserv.jnlp


--
Dissent is patriotic, remember?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4bd96f0d.9080...@cox.net



Re: downloaded .jnlp won't open

2010-04-29 Thread Camaleón
On Thu, 29 Apr 2010 06:35:41 -0500, Ron Johnson wrote:

 On 04/27/2010 11:11 AM, Camaleón wrote: [snip]

 How about these sample files? Can you run them?

 http://pscode.org/jws/api.html

 I'm afraid the problem resides not in your Icewasel or Java setup but
 in JNLP file itself. Try running others.


 When I click on any of the Launch ... Demo buttons, it asks me to open
 the .jnlp file with /usr/lib/jvm/java-6-sun-1.6.0.20/jre
 
 When I do so, the Java splash screen pops up, then I get an Application
 Error window saying Unable to launch application.

You're running Squeeze, right? In Lenny there is no problem :-)

 The base exceptions are:
 java.net.SocketException: Network is unreachable
  at java.net.PlainSocketImpl.socketConnect(Native Method) at
  java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
 
 com.sun.deploy.net.FailedDownloadException: Unable to load resource:
 http://www.pscode.org/jws/clipserv.jnlp

So you are facing the same bug the OP has with java. But I thought he 
alredy bypassed this... threads ago ;-)

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.04.29.11.42...@gmail.com



Re: downloaded .jnlp won't open

2010-04-29 Thread Ron Johnson

On 04/29/2010 06:42 AM, Camaleón wrote:

On Thu, 29 Apr 2010 06:35:41 -0500, Ron Johnson wrote:


On 04/27/2010 11:11 AM, Camaleón wrote: [snip]


How about these sample files? Can you run them?

http://pscode.org/jws/api.html

I'm afraid the problem resides not in your Icewasel or Java setup but
in JNLP file itself. Try running others.



When I click on any of the Launch ... Demo buttons, it asks me to open
the .jnlp file with /usr/lib/jvm/java-6-sun-1.6.0.20/jre

When I do so, the Java splash screen pops up, then I get an Application
Error window saying Unable to launch application.


You're running Squeeze, right? In Lenny there is no problem :-)


Sid.


The base exceptions are:
java.net.SocketException: Network is unreachable
  at java.net.PlainSocketImpl.socketConnect(Native Method) at
  java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

com.sun.deploy.net.FailedDownloadException: Unable to load resource:
http://www.pscode.org/jws/clipserv.jnlp


So you are facing the same bug the OP has with java. But I thought he
alredy bypassed this... threads ago ;-)



I should have read the complete thread.

Zeroing out /proc/sys/net/ipv6/bindv6only helped, but then I bogged 
down at the login window.


--
Dissent is patriotic, remember?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4bda2645.6090...@cox.net



Re: downloaded .jnlp won't open

2010-04-29 Thread godo

Zeroing out /proc/sys/net/ipv6/bindv6only helped, but then I bogged down
at the login window.


Hi Ron,
what exactly happened?
I just try the same from my Sid box and 
http://www.pscode.org/jws/clipserv.jnlp opened Java window Clipboard 
Service.

Here is a pic http://dobosevic.com/nix/clip.png

--
Bye,
Goran Dobosevic
Hrvatski: www.dobosevic.com
 English: www.dobosevic.com/en/
Registered Linux User #503414


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4bda62b0.1060...@dobosevic.com



Re: downloaded .jnlp won't open

2010-04-28 Thread Chris Bannister
On Tue, Apr 27, 2010 at 12:01:45PM -0500, Boyd Stephen Smith Jr. wrote:
 On Tuesday 27 April 2010 11:51:35 John O Laoi wrote:
   cat /proc/sys/net/ipv6/bindv6only
   if output is 1 then:
   echo 0  /proc/sys/net/ipv6/bindv6only
  
  That fixed it.
  
  Anybody know what was the problem?
 
 Default kernel settings where changed.  Java applications and some other 
 applications are now binding to IPv6 only, instead of IPv4 and IPv6.  There's 
 an open bug about it, IIRC.
 
 I think it was changed in order to allow communication to/from IPv4-embedded-
 in-IPv6 addresses over IPv6, which might be required from some environments 
 to 
 function correctly / optimally.  I'm very sketchy on the details because I 
 haven't hit the bug myself.

http://lists.debian.org/debian-devel/2010/04/threads.html#00422

-- 
Chris.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100428112749.gb18...@fischer



downloaded .jnlp won't open

2010-04-28 Thread John O Laoi
Is it possible to make this change permanent, or do I need to

echo 0  /proc/sys/net/ipv6/bindv6only

every time I restart?

John


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/v2h1f1816a91004280344ta1fa9942q9e6df5832493f...@mail.gmail.com



Re: downloaded .jnlp won't open

2010-04-28 Thread Javier Barroso
On Wed, Apr 28, 2010 at 12:44 PM, John O Laoi brianol...@gmail.com wrote:
 Is it possible to make this change permanent, or do I need to

        echo 0  /proc/sys/net/ipv6/bindv6only

 every time I restart?
Configure it in /etc/sysctl.conf or in sid in /etc/sysctl.d/bindv6only.conf

You have to add or modify to read:
net.ipv6.bindv6only = 0

Regards,


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/l2m81c921f31004280357s5537d98bp3a14320a860a7...@mail.gmail.com



downloaded .jnlp won't open

2010-04-27 Thread John O Laoi
I am using squeeze.

To join a webcast, I download a .jnlp file.  (  I  am using Iceweasel)

When it is finished downloading, a pop-up box offers me to open it
with Sun Java 6 Web Start (default).

I accept, and then I get  a number of errors, with the heading
Application error  -  unable to launch the application

When I enquired with the supplier, I was told that I need
 to have the Java Runtime Environment from www.java.com installed.

I am probably trying to open the .jnlp with the wrong Java.

Questions:
How do install the java from  www.java.com using aptitude?

How do I ensure that this is the Java that is automatically chosen
from within Iceweasel to open .jnlp file?


John


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/l2s1f1816a91004270739u398b9f3fh891bd9e4cfcf8...@mail.gmail.com



Re: downloaded .jnlp won't open

2010-04-27 Thread Camaleón
On Tue, 27 Apr 2010 15:39:20 +0100, John O Laoi wrote:

(...)
 
 Questions:
 How do install the java from  www.java.com using aptitude?

You can't.

But as per you above comment, it seems you are already using Sun's Java 
JRE.

Run update-alternatives --display java

 How do I ensure that this is the Java that is automatically chosen from
 within Iceweasel to open .jnlp file?

Type about:config in the address bar and change:

plugin.expose_full_path

to true

Then close Icewesel and open it again, and type in address bar:

about:plugins

And look for the plugin in charge of handling Java files (checkout the 
path to the file).

Note 1. Can you send the link to the file you are trying to launch?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.04.27.15.07...@gmail.com



downloaded .jnlp won't open

2010-04-27 Thread John O Laoi
Camaleón,
 Run update-alternatives --display java


# update-alternatives --display java

java - auto mode

 link currently points to /usr/lib/jvm/java-6-openjdk/jre/bin/java

/usr/bin/gij-4.3 - priority 43

/usr/bin/gij-4.4 - priority 1044

/usr/lib/jvm/java-6-openjdk/jre/bin/java - priority 1061

 slave java.1.gz: /usr/lib/jvm/java-6-openjdk/jre/man/man1/java.1.gz

/usr/lib/jvm/java-6-sun/jre/bin/java - priority 63

 slave java.1.gz: /usr/lib/jvm/java-6-sun/jre/man/man1/java.1.gz

/usr/lib/jvm/java-gcj/jre/bin/java - priority 1043

 slave java.1.gz: /usr/lib/jvm/java-gcj/man/man1/java.1.gz

Current `best' version is /usr/lib/jvm/java-6-openjdk/jre/bin/java.




 about:plugins

 And look for the plugin in charge of handling Java files (checkout the
 path to the file).


Java(TM) Plug-in 1.6.0_16
File name: /usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/i386/libnpjp2.so
The next generation Java plug-in for Mozilla browsers.
MIME Type
Description
Suffixes
Enabled
application/x-java-vm
Java™ Plug-in

Yes
application/x-java-applet
Java™ Plug-in Applet

Yes
application/x-java-applet;version=1.1
Java™ Plug-in

Yes
application/x-java-applet;version=1.1.1
Java™ Plug-in

Yes
application/x-java-applet;version=1.1.2
Java™ Plug-in

Yes
application/x-java-applet;version=1.1.3
Java™ Plug-in

Yes
application/x-java-applet;version=1.2
Java™ Plug-in

Yes
application/x-java-applet;version=1.2.1
Java™ Plug-in

Yes
application/x-java-applet;version=1.2.2
Java™ Plug-in

Yes
application/x-java-applet;version=1.3
Java™ Plug-in

Yes
application/x-java-applet;version=1.3.1
Java™ Plug-in

Yes
application/x-java-applet;version=1.4
Java™ Plug-in

Yes
application/x-java-applet;version=1.4.1
Java™ Plug-in

Yes
application/x-java-applet;version=1.4.2
Java™ Plug-in

Yes
application/x-java-applet;version=1.5
Java™ Plug-in

Yes
application/x-java-applet;version=1.6
Java™ Plug-in

Yes
application/x-java-applet;jpi-version=1.6.0_16
Java™ Plug-in

Yes
application/x-java-bean
Java™ Plug-in JavaBeans

Yes
application/x-java-bean;version=1.1
Java™ Plug-in

Yes
application/x-java-bean;version=1.1.1
Java™ Plug-in

Yes
application/x-java-bean;version=1.1.2
Java™ Plug-in

Yes
application/x-java-bean;version=1.1.3
Java™ Plug-in

Yes
application/x-java-bean;version=1.2
Java™ Plug-in

Yes
application/x-java-bean;version=1.2.1
Java™ Plug-in

Yes
application/x-java-bean;version=1.2.2
Java™ Plug-in

Yes
application/x-java-bean;version=1.3
Java™ Plug-in

Yes
application/x-java-bean;version=1.3.1
Java™ Plug-in

Yes
application/x-java-bean;version=1.4
Java™ Plug-in

Yes
application/x-java-bean;version=1.4.1
Java™ Plug-in

Yes
application/x-java-bean;version=1.4.2
Java™ Plug-in

Yes
application/x-java-bean;version=1.5
Java™ Plug-in

Yes
application/x-java-bean;version=1.6
Java™ Plug-in

Yes
application/x-java-bean;jpi-version=1.6.0_16
Java™ Plug-in

Yes



 Note 1. Can you send the link to the file you are trying to launch?



the link that I am trying to launch is at
https://www.sans.org/webcasts/archive/

You need to create an account with sans.org before launching a webcast.


Thanks

John


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/v2n1f1816a91004270822iae8ea182kdabf62481d338...@mail.gmail.com



Re: downloaded .jnlp won't open

2010-04-27 Thread Camaleón
On Tue, 27 Apr 2010 16:22:37 +0100, John O Laoi wrote:

 Camaleón,
 Run update-alternatives --display java


 # update-alternatives --display java
 
 java - auto mode
 
  link currently points to /usr/lib/jvm/java-6-openjdk/jre/bin/java

That is not the Sun's Java but let's keep that way.


 about:plugins

 And look for the plugin in charge of handling Java files (checkout the
 path to the file).


 Java(TM) Plug-in 1.6.0_16
 File name: /usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/i386/libnpjp2.so The

That's o.k.

Icewasel is pointing to the Sun's java plugin.

 Note 1. Can you send the link to the file you are trying to launch?


 
 the link that I am trying to launch is at
 https://www.sans.org/webcasts/archive/
 
 You need to create an account with sans.org before launching a webcast.

How about these sample files? Can you run them?

http://pscode.org/jws/api.html

I'm afraid the problem resides not in your Icewasel or Java setup but in 
JNLP file itself. Try running others.

Tip: jnlp fiels are just xml plain text files so you can download the 
file to your desktop and then open it with any text editor to grab the 
full .jar source path and try to load it directly, without using the 
webstart launcher.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.04.27.16.11...@gmail.com



Re: downloaded .jnlp won't open

2010-04-27 Thread godo

On 04/27/2010 04:39 PM, John O Laoi wrote:

I am using squeeze.

To join a webcast, I download a .jnlp file.  (  I  am using Iceweasel)

When it is finished downloading, a pop-up box offers me to open it
with Sun Java 6 Web Start (default).

I accept, and then I get  a number of errors, with the heading
Application error  -  unable to launch the application

When I enquired with the supplier, I was told that I need
  to have the Java Runtime Environment from www.java.com installed.

I am probably trying to open the .jnlp with the wrong Java.

Questions:
How do install the java from  www.java.com using aptitude?

How do I ensure that this is the Java that is automatically chosen
from within Iceweasel to open .jnlp file?


John



Does some of this errors sad something like there is no network?

--
Bye,
Goran Dobosevic
Hrvatski: www.dobosevic.com
 English: www.dobosevic.com/en/
Registered Linux User #503414


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4bd70eeb.1000...@dobosevic.com



downloaded .jnlp won't open

2010-04-27 Thread John O Laoi
 How about these sample files? Can you run them?

 http://pscode.org/jws/api.html

These would not run either.
they gave the same type of error.
The following are the details.

com.sun.deploy.net.FailedDownloadException: Unable to load resource:
http://www.pscode.org/jws/basicserv.jnlp
at 
com.sun.deploy.net.DownloadEngine.actionDownload(DownloadEngine.java:1347)
at 
com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1487)
at 
com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1465)
at 
com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1568)
at 
com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1496)
at 
com.sun.deploy.net.DownloadEngine.getResource(DownloadEngine.java:217)
at 
com.sun.deploy.net.DownloadEngine.getResource(DownloadEngine.java:201)
at com.sun.javaws.Launcher.updateFinalLaunchDesc(Launcher.java:447)
at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:232)
at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:183)
at com.sun.javaws.Launcher.launch(Launcher.java:104)
at com.sun.javaws.Main.launchApp(Main.java:403)
at com.sun.javaws.Main.continueInSecureThread(Main.java:250)
at com.sun.javaws.Main$1.run(Main.java:111)
at java.lang.Thread.run(Thread.java:619)


I did as you said, using gedit,  and used  wget to get for example
http://www.pscode.org/jws/basicserv.jar

But when I right click on it, and ask for it to be opened with Sun
Java 6 Runtime, nothing happens.

John


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/m2q1f1816a91004270929ie2260eect9b7d00a62dd54...@mail.gmail.com



downloaded .jnlp won't open

2010-04-27 Thread John O Laoi
 Does some of this errors sad something like there is no network?

Yes, they always say
Unable to load resource:


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/n2s1f1816a91004270936ye8b9ad89o717fab10ff8fc...@mail.gmail.com



Re: downloaded .jnlp won't open

2010-04-27 Thread godo

On 04/27/2010 06:36 PM, John O Laoi wrote:

Does some of this errors sad something like there is no network?


Yes, they always say
Unable to load resource:



cat /proc/sys/net/ipv6/bindv6only
if output is 1 then:
echo 0  /proc/sys/net/ipv6/bindv6only
--
Bye,
Goran Dobosevic
Hrvatski: www.dobosevic.com
 English: www.dobosevic.com/en/
Registered Linux User #503414


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4bd71346.7020...@dobosevic.com



downloaded .jnlp won't open

2010-04-27 Thread John O Laoi
 cat /proc/sys/net/ipv6/bindv6only
 if output is 1 then:
 echo 0  /proc/sys/net/ipv6/bindv6only
 --

Thanks Goran.
That fixed it.


Anybody know what was the problem?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/n2g1f1816a91004270951mb5bcfd94p13b23eed96558...@mail.gmail.com



Re: downloaded .jnlp won't open

2010-04-27 Thread Boyd Stephen Smith Jr.
On Tuesday 27 April 2010 11:51:35 John O Laoi wrote:
  cat /proc/sys/net/ipv6/bindv6only
  if output is 1 then:
  echo 0  /proc/sys/net/ipv6/bindv6only
 
 That fixed it.
 
 Anybody know what was the problem?

Default kernel settings where changed.  Java applications and some other 
applications are now binding to IPv6 only, instead of IPv4 and IPv6.  There's 
an open bug about it, IIRC.

I think it was changed in order to allow communication to/from IPv4-embedded-
in-IPv6 addresses over IPv6, which might be required from some environments to 
function correctly / optimally.  I'm very sketchy on the details because I 
haven't hit the bug myself.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.


Re: downloaded .jnlp won't open

2010-04-27 Thread godo

On 04/27/2010 06:51 PM, John O Laoi wrote:

cat /proc/sys/net/ipv6/bindv6only
if output is 1 then:
echo 0  /proc/sys/net/ipv6/bindv6only
--


Thanks Goran.
That fixed it.


Anybody know what was the problem?



Sorry for off list mail, wrong button.
I'm glad that you solved the problem.

--
Bye,
Goran Dobosevic
Hrvatski: www.dobosevic.com
 English: www.dobosevic.com/en/
Registered Linux User #503414


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4bd720c5.3020...@dobosevic.com



Re: downloaded .jnlp won't open

2010-04-27 Thread Hugo Vanwoerkom

Camaleón wrote:

On Tue, 27 Apr 2010 16:22:37 +0100, John O Laoi wrote:


Camaleón,

Run update-alternatives --display java



# update-alternatives --display java

java - auto mode

 link currently points to /usr/lib/jvm/java-6-openjdk/jre/bin/java


That is not the Sun's Java but let's keep that way.



about:plugins

And look for the plugin in charge of handling Java files (checkout the
path to the file).



Java(TM) Plug-in 1.6.0_16
File name: /usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/i386/libnpjp2.so The


That's o.k.

Icewasel is pointing to the Sun's java plugin.


Note 1. Can you send the link to the file you are trying to launch?



the link that I am trying to launch is at
https://www.sans.org/webcasts/archive/

You need to create an account with sans.org before launching a webcast.


How about these sample files? Can you run them?

http://pscode.org/jws/api.html

I'm afraid the problem resides not in your Icewasel or Java setup but in 
JNLP file itself. Try running others.


Tip: jnlp fiels are just xml plain text files so you can download the 
file to your desktop and then open it with any text editor to grab the 
full .jar source path and try to load it directly, without using the 
webstart launcher.




Not bad. Thanks.

Hugo


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/hr7g7n$sd...@dough.gmane.org



Re: downloaded .jnlp won't open

2010-04-27 Thread Hugo Vanwoerkom

godo wrote:

On 04/27/2010 06:36 PM, John O Laoi wrote:

Does some of this errors sad something like there is no network?


Yes, they always say
Unable to load resource:



cat /proc/sys/net/ipv6/bindv6only
if output is 1 then:
echo 0  /proc/sys/net/ipv6/bindv6only


That's not bad either ;-)

Hugo


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/hr7gao$sd...@dough.gmane.org