Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 May 2009 08:58:31 +0800
From:      =?utf-8?B?5byg6Ie7?= <windforce150@vip.qq.com>
To:        freebsd-questions@freebsd.org
Subject:   About javaws
Message-ID:  <20090501005831.GA30180@my.cn>

next in thread | raw e-mail | index | archive | help

--mYCpIKhGyMATD0i+
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

Hello, everybody. I have installed diablo-jdk16 on my FreeBSD 7.1 system. However, when I run the TopCoder Competition Arena, it failed to validate the certificate. And the details out put are below
	java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
	at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:59)
	at sun.security.validator.Validator.getInstance(Validator.java:161)
	at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(TrustDecider.java:335)
	at com.sun.javaws.security.AppPolicy.grantUnrestrictedAccess(AppPolicy.java:217)
	at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(LaunchDownload.java:1240)
	at com.sun.javaws.LaunchDownload.checkSignedResources(LaunchDownload.java:1077)
	at com.sun.javaws.Launcher.prepareLaunchFile(Launcher.java:704)
	at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:175)
	at com.sun.javaws.Launcher.launch(Launcher.java:95)
	at com.sun.javaws.Main.launchApp(Main.java:300)
	at com.sun.javaws.Main.continueInSecureThread(Main.java:210)
	at com.sun.javaws.Main$1.run(Main.java:107)
	at java.lang.Thread.run(Thread.java:619)
	Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
	at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:183)
	at java.security.cert.PKIXParameters.<init>(PKIXParameters.java:103)
	at java.security.cert.PKIXBuilderParameters.<init>(PKIXBuilderParameters.java:87)
	at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:57)
	... 12 more
	And this is my pkg_info output:
		 %pkg_info |grep jdk
		 diablo-jdk-1.6.0.07.02 Java Development Kit 1.6.0_07.02
Can anyone help to man the TopCoder Competition Arena run ok? It is in the attachement.

-- 
####################################
#         欢迎访问我的小站         #
#    http://zhangzhen.czm.cn       #
####################################

--mYCpIKhGyMATD0i+--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090501005831.GA30180>