Uploaded image for project: 'Lucee Development'
  1. LDEV-1749

when an extension holds a non OSGi Bundle jar it fails

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.7.49
    • Labels:
      None
    • Sprint:
      March 2018

      Description

      when an extension holds a non OSGi Bundle jar, but try to register the jar as an OSGi bundle it fails with this exception:

      "ERROR","Thread-3827","03/19/2018","16:38:26","","Extension;/Users/mic/Test/test2/temp/httpclient-4.5.3.jar (No such file or directory);lucee.runtime.exp.NativeException: /Users/mic/Test/test2/temp/httpclient-4.5.3.jar (No such file or directory)
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:220)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:150)
      	at java.util.jar.JarFile.<init>(JarFile.java:166)
      	at java.util.jar.JarFile.<init>(JarFile.java:130)
      	at lucee.runtime.osgi.BundleInfo.<init>(BundleInfo.java:91)
      	at lucee.runtime.osgi.BundleFile.<init>(BundleFile.java:42)
      	at lucee.runtime.osgi.BundleFile.<init>(BundleFile.java:38)
      	at lucee.runtime.config.XMLConfigAdmin.updateJar(XMLConfigAdmin.java:1041)
      	at lucee.runtime.config.XMLConfigAdmin.updateRHExtension(XMLConfigAdmin.java:4849)
      	at lucee.runtime.config.XMLConfigAdmin.updateRHExtension(XMLConfigAdmin.java:4796)
      	at lucee.runtime.config.XMLConfigAdmin._updateRHExtension(XMLConfigAdmin.java:4776)
      	at lucee.runtime.config.DeployHandler.deploy(DeployHandler.java:81)
      	at lucee.runtime.engine.Controler.control(Controler.java:203)
      	at lucee.runtime.engine.Controler.access$000(Controler.java:59)
      	at lucee.runtime.engine.Controler$ControlerThread.run(Controler.java:110)
      Caused by: java.io.FileNotFoundException: /Users/mic/Test/test2/temp/httpclient-4.5.3.jar (No such file or directory)
      	... 16 more
      

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              michaeloffner Michael Offner
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: