Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JWS + JCE

843802Dec 31 2003 — edited Jun 22 2004
Hi,

I am using JCE in my application and JWS to deploy the application on client machine. JRE used is 1.3. Web start version is 1.0.1. As known, for JCE to work with JWS two files local_policy.jar and US_export_policy.jar have to be copied to cache or <JRE_HOME>\lib\security with the same name.

To achive this i have created, rather copied ;), a program to transfer these files to <JRE>\lib\security directory and deployed this as an installer descriptor. This i have copied from unofficial JWS FAQ, vamphq. When i click on the main JNLP file, the installer does start and copies the file in appropriate directories and completes but the application does not start. Application terminates with following exception

An error occurred while launching/running the application.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Title: Test JCE
Vendor: ABConsultants Ltd.
Category: Launch File Error

Installation failed
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
NLPException[category: Launch File Error : Exception: null : LaunchDesc:

<jnlp spec="1.0+" codebase="http://10.21.2.80:8080/TestJCE/app/" href="http://10.21.2.80:8080/TestJCE/app/TestJCE-inst.jnlp">

<information>

<title>Crypto Installer</title>

<vendor>ABC</vendor>

<homepage href="null"/>

<description></description>

<description kind="short"></description>

<description kind="one-line"></description>

<description kind="tooltip"></description>

<offline-allowed/>

</information>

<security>

<all-permissions/>

</security>

<resources>

<j2se initial-heap-size="-1" max-heap-size="-1" version="1.3"/>

<jar href="http://10.21.2.80:8080/TestJCE/app/install.jar" download="eager" main="true"/>

</resources>

<installer-desc main-class="UnlimitedCryptoPolicyInstaller"/>

</jnlp> ]

at com.sun.javaws.Launcher.executeInstallers(Unknown Source)

at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)

at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)

at com.sun.javaws.Launcher.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Has anyone faced the same problem ? Any idea why this is happening ?

Regards,
Sachin
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 20 2004
Added on Dec 31 2003
6 comments
155 views