OpenJDK fails to initialize java application

Bug #1385639 reported by Mr.Ronnie D. Marlow III
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk+2.0 (Ubuntu)
Invalid
Undecided
Unassigned
openjdk-6 (Ubuntu)
New
Undecided
Unassigned
openjdk-7 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Dear UbuntuCommunity,
      While I was trying to run a program app of Scottrade for live surveillance on real time stock quotes and trading! I click on the downloaded program and a few seconds later it come's up with this error!

"net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize application.
 at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:778)
 at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:552)
 at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:889)
Caused by: net.sourceforge.jnlp.LaunchException: Fatal: Application Error: Cannot grant permissions to unsigned jars. Application requested security permissions, but jars are not signed.
 at net.sourceforge.jnlp.runtime.JNLPClassLoader.setSecurity(JNLPClassLoader.java:289)
 at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:209)
 at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:323)
 at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:770)
 ... 2 more
Caused by:
net.sourceforge.jnlp.LaunchException: Fatal: Application Error: Cannot grant permissions to unsigned jars. Application requested security permissions, but jars are not signed.
 at net.sourceforge.jnlp.runtime.JNLPClassLoader.setSecurity(JNLPClassLoader.java:289)
 at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:209)
 at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:323)
 at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:770)
 at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:552)
 at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:889)

Usally it opens corectly but recent updates have failed to run the program! I think there seems to be an update toward the OpenJava course! Toward fixing this issue! The extension type is .jnlp! I don;t know how to fix this error, but if you know
how to fix this issue! Ubuntu 12.04 Version and up to date on updates! Thanks!

Here is the data code for the downloaded program for the Scottrade App for live data quotes!

<jnlp spec="1.0+" codebase="https://trading.scottrade.com/Scottrader/">
  <information>
    <title>Scottrader Streaming Quotes</title>
    <vendor>Scottrade</vendor>
    <homepage href="https://www.scottrade.com"/>
    <description>Scottrader JNLP launcher</description>
  </information>
  <security>
    <all-permissions/>
  </security>
  <update check="timeout" policy="always"/>
  <resources>
    <java max-heap-size="512m" href="http://java.sun.com/products/autodl/j2se" version="1.6.0_13+"/>
 <jar href="guava-13.0.1.jar"/><jar href="poi-3.7.jar"/><jar href="aspectjrt.jar"/><jar href="jviews-util-lib_u26.jar"/><jar href="jviews-chart_u26.jar"/><jar href="ta-lib.jar"/><jar href="xstream-1.3.1.jar"/><jar href="jackson-databind-2.2.0.jar"/><jar href="jackson-core-2.2.0.jar"/><jar href="jackson-annotations-2.2.0.jar"/><jar href="Scottrader-5.12.4.2.jar"/>
  </resources>
  <application-desc main-class="com.scottrade.scottrader.ScottraderMain">
    <argument>46905de260b017cf6a60468b8f3a889acf68178faedc1a5776307e147b1421c6bcf6ff89bd2c71d9933d63d6ad2888a2aa3dd44a96b406f3d280e39c312e4ad1403f7b22f2c487b1985fbdf87682f7b6ba2351448e425a5ccdd323323e710f1bccc22608</argument>
    <argument>8f34cd7e-3212-4ef5-9af4-5b433caa331e</argument>
    <argument>https://qdatascot.scottrade.com/UserAuthenticationService/UserAuthenticationService.svc/TokenService/JSON/V1/</argument>
    <argument>https://qdatascot.scottrade.com/FrontEndPlatformService/LayoutServiceV1.svc/LayoutService/JSON/</argument>

  </application-desc>
</jnlp>

Revision history for this message
Mr.Ronnie D. Marlow III (ronniemarlow) wrote :
Revision history for this message
Thomas Ward (teward) wrote :

This doesn't appear to be a bug against the GTK package at all, but rather an issue with OpenJava. As well, it does not appear to be valid against OpenJava either. This is based on the following error lines:

Caused by: net.sourceforge.jnlp.LaunchException: Fatal: Application Error: Cannot grant permissions to unsigned jars. Application requested security permissions, but jars are not signed.
...
net.sourceforge.jnlp.LaunchException: Fatal: Application Error: Cannot grant permissions to unsigned jars. Application requested security permissions, but jars are not signed.

This seems to suggest that this issue is related to the fact the Java application is unsigned, and the security settings for OpenJava appear to be such that the software is requesting security permissions but is unsigned. Therefore, I don't think this is a bug, but rather an issue of the security settings you have set for Java runtime in OpenJava.

Thomas Ward (teward)
summary: - OpenJava
+ OpenJava fails to initialize java application
Revision history for this message
Thomas Ward (teward) wrote : Re: OpenJava fails to initialize java application

I've marked this as Invalid against GTK because it's not really a GTK issue based on the error logs.

Having said this, there are two Open Java versions in precise, and no details on which, so I have marked this as affecting the Open Java packages that are actually in precise.

I do not know whether this is a bug or not, per my prior comment (see comment number 2), and this needs further research and review before deciding whether it is also Invalid against Open Java.

Changed in gtk+2.0 (Ubuntu):
status: New → Invalid
summary: - OpenJava fails to initialize java application
+ OpenJDK fails to initialize java application
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.