Version 1

    Hello to all.


    I am totally desperate and confused so you are my hope to have some sleep tonight. I jave simple page in Seam (JBOSS) and I am loading an applet into.


    I have JNLP file like this


    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="" href="">
            <title>Game Client</title>
            <!-- Application Resources -->
            <j2se version="1.6+"
                  href="" />
            <jar href="/client/MmorpgClient.jar" main="true" />


             name="Game Client"
         <update check="background"/>


    and then page like this


    <s:div styleClass="centerAligned">
          <script src=""></script>
                var attributes = { code:'cz.mmorpg.client.ClientMain',  width:1024, height:768} ;
                var parameters = {jnlp_href: 'gameClient.jnlp'} ;
                deployJava.runApplet(attributes, parameters, '1.6');


    Then I have appropriate .jar archive in my web/client directory and problem is that browser cannot load that applet and I see in console this error


    Unable to load resource: http://localhost/client/MmorpgClient.jar  BUT if I paste this URL into browser then server returns me the correct jar archive.

    Another error in console says that confusing info : invalid entry size (expected 1358954496 but got 76 bytes).


    It seems to be a problem .. but I really dont know what could it mean because I think that I have done everything well because I can download jar file from URL which is mentioned in the exception as a source of my applet