0 Replies Latest reply on Dec 4, 2002 4:25 AM by loic

    JAR security

    loic

      When you deploy a jar on a Jboss server, everybody can acces the source code if they can directly access the server, ie the jar file.

      As a jar file is like a zip file you can give a password to it (with winzip for exemple). And so your jar is protected .... but my problem is that the password is not treated in the JBoss server and it occurs errors:

      org.jboss.deployment.DeploymentException: oversubscribed dynamic bit lengths tre
      e; - nested throwable: (java.util.zip.ZipException: oversubscribed dynamic bit l
      engths tree)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:277)
      at org.jboss.metadata.XmlFileLoader.getDocumentFromURL(XmlFileLoader.jav
      a:226)
      at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:147)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:321)


      Is there a way to treat the password on a jar file????
      Just to protect the source code from other people having access to the server....

      Loic