Geronimo
  1. Geronimo
  2. GERONIMO-4231

Build exception: java.net.MalformedURLException: no !/ in spec

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1, 2.1.1, 2.1.2, 2.2
    • Fix Version/s: 2.1.3, 2.2
    • Component/s: general
    • Security Level: public (Regular issues)
    • Labels:
      None
    • Environment:

      Linux

      Description

      When building server in Linux, the following exceptions occurs several times in the build log:

      [INFO] Started deployer: org.apache.geronimo.configs/jasper-deployer/2.1.1/car
      java.net.MalformedURLException: no !/ in spec
      at java.net.URL.(URL.java:636)
      at java.net.URL.(URL.java:499)
      at java.net.URL.(URL.java:448)
      at java.net.JarURLConnection.parseSpecs(JarURLConnection.java:181)
      at java.net.JarURLConnection.(JarURLConnection.java:164)
      at sun.net.www.protocol.jar.JarURLConnection.(JarURLConnection.java:93)
      at sun.net.www.protocol.jar.Handler.openConnection(Handler.java:42)
      at java.net.URL.openConnection(URL.java:978)
      at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:856)
      at sun.misc.URLClassPath$JarLoader.(URLClassPath.java:813)
      at sun.misc.URLClassPath$3.rtJarLoader(URLClassPath.java:588)
      at sun.misc.URLClassPath$3.run(URLClassPath.java:519)
      at java.security.AccessController.doPrivileged(AccessController.java:246)
      at sun.misc.URLClassPath.getLoader(URLClassPath.java:508)
      at sun.misc.URLClassPath.getLoader(URLClassPath.java:473)
      at sun.misc.URLClassPath.getResource(URLClassPath.java:322)
      at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1032)
      at java.security.AccessController.doPrivileged(AccessController.java:279)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:491)
      at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClassInternal(MultiParentClassLoader.java:470)
      at org.apache.geronimo.kernel.config.MultiParentClassLoader.checkParents(MultiParentClassLoader.java:498)
      at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClassInternal(MultiParentClassLoader.java:456)
      at org.apache.geronimo.kernel.config.MultiParentClassLoader.checkParents(MultiParentClassLoader.java:498)
      at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClassInternal(MultiParentClassLoader.java:456)
      at org.apache.geronimo.kernel.config.MultiParentClassLoader.checkParents(MultiParentClassLoader.java:498)
      at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass(MultiParentClassLoader.java:407)
      at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:278)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:595)
      at java.beans.Introspector.instantiate(Introspector.java:1482)
      at java.beans.PropertyEditorManager.findEditor(PropertyEditorManager.java:106)
      at org.apache.geronimo.common.propertyeditor.PropertyEditors.findEditor(PropertyEditors.java:63)
      at org.apache.geronimo.common.propertyeditor.PropertyEditors.findEditor(PropertyEditors.java:120)
      at org.apache.geronimo.deployment.service.SingleGBeanBuilder.setAttribute(SingleGBeanBuilder.java:78)
      at org.apache.geronimo.deployment.service.GBeanBuilder.addGBeanData(GBeanBuilder.java:113)
      at org.apache.geronimo.deployment.service.GBeanBuilder.build(GBeanBuilder.java:98)
      at org.apache.geronimo.deployment.NamespaceDrivenBuilderCollection.build(NamespaceDrivenBuilderCollection.java:48)
      at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.basicInitContext(AbstractWebModuleBuilder.java:367)
      at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.initContext(TomcatModuleBuilder.java:330)
      at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.initContext(SwitchingModuleBuilder.java:159)
      at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:595)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
      at sun.reflect.GeneratedMethodAccessor221.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:618)
      at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
      at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
      at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
      at org.apache.geronimo.mavenplugins.car.PackageMojo.invokeDeployer(PackageMojo.java:507)
      at org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:326)
      at org.apache.geronimo.mavenplugins.car.PackageMojo.doExecute(PackageMojo.java:228)
      at org.codehaus.mojo.pluginsupport.MojoSupport.execute(MojoSupport.java:122)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:618)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

        Activity

        Hide
        Donald Woods added a comment -

        Yep, I've seen this on Linux and MacOSX builds for awhile, but been ignoring it as it didn't cause any problems.
        I've got a minor fix that properly catches the exception and does a log.debug() in case it ever starts creating a problem that needs to be addressed.

        Show
        Donald Woods added a comment - Yep, I've seen this on Linux and MacOSX builds for awhile, but been ignoring it as it didn't cause any problems. I've got a minor fix that properly catches the exception and does a log.debug() in case it ever starts creating a problem that needs to be addressed.
        Hide
        Donald Woods added a comment -

        r683958 in branches/2.1 (2.1.3-SNAPSHOT)
        r683959 in trunk (2.2-SNAPSHOT)

        Show
        Donald Woods added a comment - r683958 in branches/2.1 (2.1.3-SNAPSHOT) r683959 in trunk (2.2-SNAPSHOT)

          People

          • Assignee:
            Donald Woods
            Reporter:
            Jack Cai
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development