Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #34204 > unrolled thread

Ping: Roedy Green or anyone else familiar with JWS (Java Web Start)

Started byRhino <no_offline_contact@example.com>
First post2016-04-26 17:33 -0400
Last post2016-05-16 08:31 -0700
Articles 8 — 5 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Ping: Roedy Green or anyone else familiar with JWS (Java Web Start) Rhino <no_offline_contact@example.com> - 2016-04-26 17:33 -0400
    Re: Ping: Roedy Green or anyone else familiar with JWS (Java Web Start) Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2016-04-26 19:03 -0700
      Re: Ping: Roedy Green or anyone else familiar with JWS (Java Web Start) Rhino <no_offline_contact@example.com> - 2016-04-26 22:32 -0400
        Re: Ping: Roedy Green or anyone else familiar with JWS (Java Web Start) Martin Gregorie <martin@address-in-sig.invalid> - 2016-04-27 09:46 +0000
          Re: Ping: Roedy Green or anyone else familiar with JWS (Java Web Start) Rhino <no_offline_contact@example.com> - 2016-04-27 14:36 -0400
        Re: Ping: Roedy Green or anyone else familiar with JWS (Java Web Start) Eric Douglas <e.d.programmer@gmail.com> - 2016-05-02 05:34 -0700
    Re: Ping: Roedy Green or anyone else familiar with JWS (Java Web Start) Roedy Green <see_website@mindprod.com.invalid> - 2016-05-16 08:28 -0700
    Re: Ping: Roedy Green or anyone else familiar with JWS (Java Web Start) Roedy Green <see_website@mindprod.com.invalid> - 2016-05-16 08:31 -0700

#34204 — Ping: Roedy Green or anyone else familiar with JWS (Java Web Start)

FromRhino <no_offline_contact@example.com>
Date2016-04-26 17:33 -0400
SubjectPing: Roedy Green or anyone else familiar with JWS (Java Web Start)
Message-ID<nfomln$igr$1@dont-email.me>
I had a bit of experience with JWS a few years back but haven't touched 
it since then. I'm trying to get back into it but am getting stymied at 
the very beginning.

I'm trying to run the setclock.jnlp application at
http://mindprod.com/webstart/setclock.html on my laptop, running Windows 
10.

After I click on the Launch button, it starts to download and, at about 
the 3/4 point on the progress indicator, I get a modal dialog that says:
------------------------------------------------------------------------
Java Application Blocked

Application blocked by Java Security.

For security, applications must now meet the requirements for the High 
or Very  High security settings or be part of the Exception Site List, 
to be allowed to run.

Name: SetClock
Location: http://www.mindprod.com
Reason: Your security settings have blocked a self-signed application 
from running.

[OK]
-----------------------------------------------------------------------

I previously set the security level to High in the Security tab of the 
Java Control Panel, checked the "Enable Java Content in the browser" 
checkbox, and added http://www.mindprod.com to the exception list. I'm 
running a current version of Firefox.

What else do I need to do?

I found the big warning at the top of
http://mindprod.com/jgloss/javawebstart.html
but I'm not clear if that supersedes information lower on the page or 
just supplements it. Is it relevant to my problem?

I've tried running the sample applications in the Oracle tutorial about 
JWS but all it does is nag me to install a newer JRE when I already have 
the latest one. (The Java Control panel sees both 1.7.0_80 and 1.8.0_91.)

I tried asking on the Oracle community forums for Java a few days back 
but no one has chosen to answer my question.

Can you give me any information or troubleshooting steps so that I can 
get past my problem? I'm just spinning my wheels here....

-- 
Rhino

[toc] | [next] | [standalone]


#34210

FromKnute Johnson <nospam@rabbitbrush.frazmtn.com>
Date2016-04-26 19:03 -0700
Message-ID<nfp6em$1sl$1@dont-email.me>
In reply to#34204
On 4/26/2016 14:33, Rhino wrote:
> I had a bit of experience with JWS a few years back but haven't touched
> it since then. I'm trying to get back into it but am getting stymied at
> the very beginning.
>
> I'm trying to run the setclock.jnlp application at
> http://mindprod.com/webstart/setclock.html on my laptop, running Windows
> 10.
>
> After I click on the Launch button, it starts to download and, at about
> the 3/4 point on the progress indicator, I get a modal dialog that says:
> ------------------------------------------------------------------------
> Java Application Blocked
>
> Application blocked by Java Security.
>
> For security, applications must now meet the requirements for the High
> or Very  High security settings or be part of the Exception Site List,
> to be allowed to run.
>
> Name: SetClock
> Location: http://www.mindprod.com
> Reason: Your security settings have blocked a self-signed application
> from running.
>
> [OK]
> -----------------------------------------------------------------------
>
> I previously set the security level to High in the Security tab of the
> Java Control Panel, checked the "Enable Java Content in the browser"
> checkbox, and added http://www.mindprod.com to the exception list. I'm
> running a current version of Firefox.
>
> What else do I need to do?
>
> I found the big warning at the top of
> http://mindprod.com/jgloss/javawebstart.html
> but I'm not clear if that supersedes information lower on the page or
> just supplements it. Is it relevant to my problem?
>
> I've tried running the sample applications in the Oracle tutorial about
> JWS but all it does is nag me to install a newer JRE when I already have
> the latest one. (The Java Control panel sees both 1.7.0_80 and 1.8.0_91.)
>
> I tried asking on the Oracle community forums for Java a few days back
> but no one has chosen to answer my question.
>
> Can you give me any information or troubleshooting steps so that I can
> get past my problem? I'm just spinning my wheels here....
>

You can probably put an exception into the Java Control Panel Security 
Tab and get it to run.  The problem is that there will be all sorts of 
warnings.  I had a real cert a couple of years ago and did some tests 
but I think that JavaWS is basically dead because of all the security 
issues.  Even with the cert there are a lot of warnings.

-- 

Knute Johnson

[toc] | [prev] | [next] | [standalone]


#34211

FromRhino <no_offline_contact@example.com>
Date2016-04-26 22:32 -0400
Message-ID<nfp85k$6vp$1@dont-email.me>
In reply to#34210
On 2016-04-26 10:03 PM, Knute Johnson wrote:
> On 4/26/2016 14:33, Rhino wrote:
>> I had a bit of experience with JWS a few years back but haven't touched
>> it since then. I'm trying to get back into it but am getting stymied at
>> the very beginning.
>>
>> I'm trying to run the setclock.jnlp application at
>> http://mindprod.com/webstart/setclock.html on my laptop, running Windows
>> 10.
>>
>> After I click on the Launch button, it starts to download and, at about
>> the 3/4 point on the progress indicator, I get a modal dialog that says:
>> ------------------------------------------------------------------------
>> Java Application Blocked
>>
>> Application blocked by Java Security.
>>
>> For security, applications must now meet the requirements for the High
>> or Very  High security settings or be part of the Exception Site List,
>> to be allowed to run.
>>
>> Name: SetClock
>> Location: http://www.mindprod.com
>> Reason: Your security settings have blocked a self-signed application
>> from running.
>>
>> [OK]
>> -----------------------------------------------------------------------
>>
>> I previously set the security level to High in the Security tab of the
>> Java Control Panel, checked the "Enable Java Content in the browser"
>> checkbox, and added http://www.mindprod.com to the exception list. I'm
>> running a current version of Firefox.
>>
>> What else do I need to do?
>>
>> I found the big warning at the top of
>> http://mindprod.com/jgloss/javawebstart.html
>> but I'm not clear if that supersedes information lower on the page or
>> just supplements it. Is it relevant to my problem?
>>
>> I've tried running the sample applications in the Oracle tutorial about
>> JWS but all it does is nag me to install a newer JRE when I already have
>> the latest one. (The Java Control panel sees both 1.7.0_80 and 1.8.0_91.)
>>
>> I tried asking on the Oracle community forums for Java a few days back
>> but no one has chosen to answer my question.
>>
>> Can you give me any information or troubleshooting steps so that I can
>> get past my problem? I'm just spinning my wheels here....
>>
>
> You can probably put an exception into the Java Control Panel Security
> Tab and get it to run.  The problem is that there will be all sorts of
> warnings.  I had a real cert a couple of years ago and did some tests
> but I think that JavaWS is basically dead because of all the security
> issues.  Even with the cert there are a lot of warnings.
>
I haven't been keeping up to date with JavaWS. If it is effectively 
dead, what is the best way to create an app that I can share with other 
users?

To be more specific, my current app needs to run on recent versions of 
Windows and will be reading/storing/inserting/updating/deleting 
information on a DB2 database (or maybe MySQL). It uses Java FX and FXML 
for its GUI. An applet or application or web page would all be 
acceptable ways for the users to run the program. I don't anticipate 
using it on a phone or a non-Windows OS.

I can picture putting a separate local database on each user's machine 
and then merging the updates together in some fashion but I'd strongly 
prefer to have everyone sharing the same database.

-- 
Rhino

[toc] | [prev] | [next] | [standalone]


#34212

FromMartin Gregorie <martin@address-in-sig.invalid>
Date2016-04-27 09:46 +0000
Message-ID<nfq1pl$flr$1@dont-email.me>
In reply to#34211
On Tue, 26 Apr 2016 22:32:29 -0400, Rhino wrote:

> I haven't been keeping up to date with JavaWS. If it is effectively
> dead, what is the best way to create an app that I can share with other
> users?
>
Distributing a Java app that connects to a central database is certainly 
easy enough to do - provided the users have a suitable JRE installed you 
can set things up so you only distribute a singe jar file: its simple 
enough to keep configuration data in the jar, if yoyu prefer that, along 
with a tool that can set up the config for the individual user.

> To be more specific, my current app needs to run on recent versions of
> Windows and will be reading/storing/inserting/updating/deleting
> information on a DB2 database (or maybe MySQL).
>
My preference would be for a single central DB, but of course it should 
use individual logins for each user and preferably would also use an 
encrypted connection.

Two more databases to consider: MariaDB and PostgreSQL. I use the latter 
and am extremely impressed with its reliability and almost total lack of 
routine maintenance apart from periodic backups. And, if you want to be 
100% Java there's always Derby.

> It uses Java FX and FXML
> for its GUI. An applet or application or web page would all be
> acceptable ways for the users to run the program. I don't anticipate
> using it on a phone or a non-Windows OS.
> 
Using a web pages as your interface will probably give you better 
security depending on how you secure the server and will certainly make 
maintenance easier because all code and configuration will be kept in 
house.

> I can picture putting a separate local database on each user's machine
> and then merging the updates together in some fashion but I'd strongly
> prefer to have everyone sharing the same database.
>
+1


-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

[toc] | [prev] | [next] | [standalone]


#34213

FromRhino <no_offline_contact@example.com>
Date2016-04-27 14:36 -0400
Message-ID<nfr0m0$fhe$1@dont-email.me>
In reply to#34212
On 2016-04-27 5:46 AM, Martin Gregorie wrote:
> On Tue, 26 Apr 2016 22:32:29 -0400, Rhino wrote:
>
>> I haven't been keeping up to date with JavaWS. If it is effectively
>> dead, what is the best way to create an app that I can share with other
>> users?
>>
> Distributing a Java app that connects to a central database is certainly
> easy enough to do - provided the users have a suitable JRE installed you
> can set things up so you only distribute a singe jar file: its simple
> enough to keep configuration data in the jar, if yoyu prefer that, along
> with a tool that can set up the config for the individual user.
>
>> To be more specific, my current app needs to run on recent versions of
>> Windows and will be reading/storing/inserting/updating/deleting
>> information on a DB2 database (or maybe MySQL).
>>
> My preference would be for a single central DB, but of course it should
> use individual logins for each user and preferably would also use an
> encrypted connection.
>
> Two more databases to consider: MariaDB and PostgreSQL. I use the latter
> and am extremely impressed with its reliability and almost total lack of
> routine maintenance apart from periodic backups. And, if you want to be
> 100% Java there's always Derby.
>
The application is 98% done and works on my laptop using a standalone 
copy of DB2. Unfortunately, this project is on a very limited budget and 
I don't have a dedicated server so I expect I'll use the database on one 
of the free webhosting services. Those always seem to use MySQL and I 
already have some familiarity with it so that's probably how it'll go.

>> It uses Java FX and FXML
>> for its GUI. An applet or application or web page would all be
>> acceptable ways for the users to run the program. I don't anticipate
>> using it on a phone or a non-Windows OS.
>>
> Using a web pages as your interface will probably give you better
> security depending on how you secure the server and will certainly make
> maintenance easier because all code and configuration will be kept in
> house.
>
How do I put a JavaFX app on a webpage? I had assumed I needed to have 
either an applet or JWS to accomplish that. I've been away from Java for 
a few years and may be unaware of other options.

>> I can picture putting a separate local database on each user's machine
>> and then merging the updates together in some fashion but I'd strongly
>> prefer to have everyone sharing the same database.
>>
> +1
>
I'm VERY glad to hear that a single shared database is possible. I 
really didn't want to get into separate databases/files that had to be 
merged.

-- 
Rhino

[toc] | [prev] | [next] | [standalone]


#34231

FromEric Douglas <e.d.programmer@gmail.com>
Date2016-05-02 05:34 -0700
Message-ID<f838f4e9-c44b-42e5-a962-0f22303c2785@googlegroups.com>
In reply to#34211
On Tuesday, April 26, 2016 at 10:32:44 PM UTC-4, Rhino wrote:
> I haven't been keeping up to date with JavaWS. If it is effectively 
> dead, what is the best way to create an app that I can share with other 
> users?
> 
> To be more specific, my current app needs to run on recent versions of 
> Windows and will be reading/storing/inserting/updating/deleting 
> information on a DB2 database (or maybe MySQL). It uses Java FX and FXML 
> for its GUI. An applet or application or web page would all be 
> acceptable ways for the users to run the program. I don't anticipate 
> using it on a phone or a non-Windows OS.
> 
> I can picture putting a separate local database on each user's machine 
> and then merging the updates together in some fashion but I'd strongly 
> prefer to have everyone sharing the same database.
> 
> -- 
> Rhino

Webstart is certainly not dead, I use it every day.  I have my own application with a self sign certificate, but we only run it on the local network.  The link you provide does not run on mine, with that block message saying it's self signed.  If you try one of the links from the Oracle samples you get a warn window instead, with a button marked "Run" to continue, and a check box to "never see this warning again for this publisher".
http://docs.oracle.com/javase/tutorial/uiswing/examples/components/index.html

The only way you should be able to get a self signed webstart to work over the internet is to go into your Java Control Panel under security and add it to exception site list.

[toc] | [prev] | [next] | [standalone]


#34306

FromRoedy Green <see_website@mindprod.com.invalid>
Date2016-05-16 08:28 -0700
Message-ID<tkpjjbta0cfohv9n4r2m0nsb22d5q9q5jt@4ax.com>
In reply to#34204
On Tue, 26 Apr 2016 17:33:53 -0400, Rhino
<no_offline_contact@example.com> wrote, quoted or indirectly quoted
someone who said :

>I had a bit of experience with JWS a few years back but haven't touched 
>it since then. I'm trying to get back into it but am getting stymied at 
>the very beginning.

windows and Java have been conspiring to destroy JWS and Applets. I
suspect if I bought a real cert instead of using a self-signed one I
might be able to resurrect my signed applets and JWS.

I tried to buy one a year ago, but the process collapsed. I could not
prove my identity.
-- 
Roedy Green Canadian Mind Products http://mindprod.com
Incorrect documentation is often worse than no documentation.
~ Bertrand Meyer (born:1950 age 65)

[toc] | [prev] | [next] | [standalone]


#34307

FromRoedy Green <see_website@mindprod.com.invalid>
Date2016-05-16 08:31 -0700
Message-ID<mppjjbhpu1a1fm8j8sar7d57n0h9k3qli6@4ax.com>
In reply to#34204
On Tue, 26 Apr 2016 17:33:53 -0400, Rhino
<no_offline_contact@example.com> wrote, quoted or indirectly quoted
someone who said :

>I had a bit of experience with JWS a few years back but haven't touched 
>it since then. I'm trying to get back into it but am getting stymied at 
>the very beginning.

If you are just trying to set your clock, there is now a much better
way to do it, using NTP instead of SNTP

See http://mindprod.com/windows10.html#NTPCLOCK

My clock is now bang on with my radio-synched watch.
-- 
Roedy Green Canadian Mind Products http://mindprod.com
Incorrect documentation is often worse than no documentation.
~ Bertrand Meyer (born:1950 age 65)

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web