Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4373569

Fails with long JNLP files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • jaws-1.0
    • jaws-0.9-ea
    • deploy
    • None
    • 1.0-beta
    • x86
    • windows_nt
    • Verified

       
      Problem reported by:
      ###@###.###
       
      This JNLP file demonstrates this problem -- works as a file but not as a
      URL. If you remove the last 5 properties then it works both ways.

      Any help you can provide on this would be much appreciated as we are trying
      to use JWS for an alpha release of a new internal product.


      <?xml version="1.0" encoding="utf-8"?>
      <!-- JNLP File for SwingSet2 Demo Application -->
      <jnlp
        spec="0.1"
        codebase="http://www.fi.gs.com/~yangj/WebStart/demo/codebase"
        href="demo.jnlp">
        <information>
          <title>WebStart Demo Application</title>
          <vendor>Goldman Sachs, Co.</vendor>
          <homepage href="docs/help.html"/>
          <description>SwingSet2 Demo Application</description>
          <description kind="short">A demo of the capabilities of Web
      Start.</description>
          <icon href="images/open.gif"/>
          <offline/>
        </information>
        <jre version="1.3">
        </jre>
        <security>
          <unrestricted/>
        </security>
        <resources>
          <jar href="lib/demo.jar"/>
          <jar href="lib/foo.jar"/>
          <property name="prop1" value="hello"/>
          <property name="prop2" value="hello"/>
          <property name="prop3" value="hello"/>
          <property name="prop4" value="hello"/>
          <property name="prop5" value="hello"/>
          <property name="prop6" value="hello"/>
          <property name="prop7" value="hello"/>
          <property name="prop8" value="hello"/>
          <property name="prop9" value="hello"/>
          <property name="prop10" value="hello"/>
          <property name="prop11" value="hello"/>
          <property name="prop12" value="hello"/>
          <property name="prop13" value="hello"/>
          <property name="prop14" value="hello"/>
          <property name="prop15" value="hello"/>
          <property name="prop16" value="hello"/>
          <property name="prop17" value="hello"/>
          <property name="prop18" value="hello"/>
          <property name="prop19" value="hello"/>
          <property name="prop20" value="hello"/>
          <property name="prop21" value="hello"/>
          <property name="prop22" value="hello"/>
          <property name="prop23" value="hello"/>
          <property name="prop24" value="hello"/>
          <property name="prop25" value="hello"/>
          <property name="prop26" value="hello"/>
          <property name="prop27" value="hello"/>
          <property name="prop28" value="hello"/>
          <property name="prop29" value="hello"/>
          <property name="prop30" value="hello"/>
          <property name="prop31" value="hello"/>
          <property name="prop32" value="hello"/>
          <property name="prop33" value="hello"/>
          <property name="prop34" value="hello"/>
          <property name="prop35" value="hello"/>
        </resources>
        <application-desc main-class="Position"/>
      </jnlp>


      >
      > I am currently trying to call JWS from the command line with a URL. While
      > this works with small JNLP files, it doesn't work with larger ones. I get
      > spurious XML parsing errors. However, if I copy the JNLP file locally it
      > works perfectly.
      >
      > Any idea what the problem might be? Is this an appropriate usage of JWS?
      >
      > Thanks for your help.

            herrick Andy Herrick (Inactive)
            rschmidtsunw Rene Schmidt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: