6 Replies Latest reply on Feb 23, 2002 12:24 AM by davidjencks

    Specifying classes in EJB JAR manifest

    oravecz

      In JBoss RH, I am experiencing a potential bug when specifying a library in my EJB jar's manifest file. In Installer.java, the resolveLibraries method correctly parses the classpath defined in the manifest.

      In Installer.resolveLibraries, my baseURL is set to file:/E:/jboss-3.0.0alpha/deploy/billing.jar and tk is 'common.jar'. When this line is executed:

      URL lib = new URL(baseURL, tk);

      the resulting URL is file:/E:/jboss-3.0.0alpha/deploy/common.jar!? This eventually ends up throwing a FileNotFoundException in UrlWizzard. Shouldn't the resulting lib value be some sort of 'jar:' prototcol or something?

      On the tip of my brain, I think it could be something I'm doing because this use to work on earlier versions of jBoss, as far as I can remember. But to test this, I went back to 2.4 and 2.2 and both won't load the file!