3 Replies Latest reply on Jan 28, 2011 3:17 AM by ktnagel

    JBoss AS6: new jbossall-client.jar and JavaWebStart

    ktnagel

      Hello all,

       

      here's another question regarding JBoss AS6:

       

      we currently use JavaWebStart to download a JBoss-Client to the user's PC.

      In the respective ".jnlp" file we simply named the jbossall-client.jar file (plus a small number of others).

       

      But now this jbossall-client.jar changed, from containing all classes that a client would use,

      to only containing references to all the other JARs in the server's client directory (~170 files).

       

      Does that mean we have to put all those files on the download list?

      If so, it makes JWS nearly unusable. (Or, the AS6 for this kind of application ;]

       

      Not only would it cost a huge performance penalty to download all those JARs to all client PCs,

      but it would also take a considerable time to transfer the ".jnlp" file and compare for changes on every load,

      plus we would have to sign all those files,

      -- out of which probably 95% to 98% never will be used by those clients.

       

      Is there a way to reduce this unwanted ammount to the needed minimum?

       

      Any hints greatly appreciated.

      Regards from germany,

      Thomas Nagel

        • 1. JBoss AS6: new jbossall-client.jar and JavaWebStart
          peterj

          My recommendation is to grab JBoss Tattletale. That will let you know which JARs in the client directory you really need. Then you can either download only the ones you need, or repackage them into a single JAR that you download. That should be much more efficient that downlaoding the old jbossall-client.jar file which probably contained more things than what the app needed.

          • 2. JBoss AS6: new jbossall-client.jar and JavaWebStart
            ktnagel

            Great advice, thank you very much.

            I got a self-contained jbossall-client.jar now.

            But now i run into the next change, the client downloaded by JavaWebStart seems not to work,

            the Remoting Classloader gets an AccessControlException...

             

            Regards from Germany,

            Thomas

            • 3. JBoss AS6: new jbossall-client.jar and JavaWebStart
              ktnagel

              Ok I got that also, after building a new jbossall-client.jar I had to sign it again.

              So, nearly all works now with JB6.

              JMX-calls are still unsolved, though.

              cheers to all readers,

              Thomas