java web start itweb-javaws help

Vlad Markov dvoich at aim.com
Mon Apr 19 15:22:39 UTC 2021


On Mon, 19 Apr 2021 10:04:51 -0500
Antonio Olivares <olivares14031 at gmail.com> wrote:

> Dear FreeBSD users,
> 
> This issue is affecting me on FreeBSD 12.2-RELEASE and on 13.0-RELEASE.
> The java web start  applet just worked, and now it does not.  I need
> help in getting it to work.
> I appreciate any pointers.
> It worked before and then it stopped working.   I do not know what changed.
> 
> Best Regards,
> 
> 
> Antonio
> 
> olivares at coolermaster:/tmp/mozilla_olivares0 $ itweb-javaws launchGradeBook.jnlp
> selected jre: /usr/local/openjdk8/jre
> Warning!, Fall back in resolve_jar to hardcoded paths:
> no
> Exception in thread "main" java.lang.ExceptionInInitializerError
>     at sun.security.ssl.ProtocolVersion.<init>(ProtocolVersion.java:153)
>     at sun.security.ssl.ProtocolVersion.<clinit>(ProtocolVersion.java:41)
>     at sun.security.ssl.SSLContextImpl$AbstractTLSContext.<clinit>(SSLContextImpl.java:557)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:264)
>     at java.security.Provider$Service.getImplClass(Provider.java:1634)
>     at java.security.Provider$Service.newInstance(Provider.java:1592)
>     at sun.security.jca.GetInstance.getInstance(GetInstance.java:236)
>     at sun.security.jca.GetInstance.getInstance(GetInstance.java:164)
>     at javax.net.ssl.SSLContext.getInstance(SSLContext.java:156)
>     at net.sourceforge.jnlp.runtime.JNLPRuntime.initialize(JNLPRuntime.java:275)
>     at net.sourceforge.jnlp.runtime.Boot.init(Boot.java:349)
>     at net.sourceforge.jnlp.runtime.JnlpBoot.run(JnlpBoot.java:58)
>     at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:270)
>     at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:63)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:210)
> Caused by: java.lang.IllegalArgumentException: Error in security
> property. Constraint unknown: KeySize <224
>     at sun.security.util.DisabledAlgorithmConstraints$Constraints.<init>(DisabledAlgorithmConstraints.java:330)
>     at sun.security.util.DisabledAlgorithmConstraints.<init>(DisabledAlgorithmConstraints.java:100)
>     at sun.security.ssl.SSLAlgorithmConstraints.<clinit>(SSLAlgorithmConstraints.java:49)
>     ... 17 more
> 
Its calling a "native" method, looks like something from openssl.

More specifically:

olivares at coolermaster:/tmp/mozilla_olivares0 $
net.sourceforge.jnlp.runtime.Boot.main(Boot.java:210)
Caused by: java.lang.IllegalArgumentException: Error in security
property. Constraint unknown: KeySize <224

I would look at two things.

1. Where is the key size constraint set? Maybe just don't set a constraint.

2. Does your java pkg require recompilation against a newer implementation of openssl installed with the FreeBSD upgrade?

Good luck

-- 



More information about the freebsd-questions mailing list