← Back to team overview

desktop-packages team mailing list archive

[Bug 1385639] Re: OpenJava fails to initialize java application

 

** Summary changed:

- OpenJava 
+ OpenJava fails to initialize java application

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gtk+2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1385639

Title:
  OpenJava fails to initialize java application

Status in “gtk+2.0” package in Ubuntu:
  Invalid
Status in “openjdk-6” package in Ubuntu:
  New
Status in “openjdk-7” package in Ubuntu:
  New

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>

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/1385639/+subscriptions


References