Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-6225

IllegalArgumentException when deploying a web 2.0 sample app with space in the dojox libraries

    XMLWordPrintableJSON

Details

    Description

      1. Start geronimo server,
      2. Deploy two derby net XA data sources with attached plan files "VacationPool-plan_3.0.xml" and "DonatePool-plan_3.0.xml",
      3. Deploy the JMS resources with geronimo-activemq-ra-<version>.rar and the attached plan file "JMSResources-plan_3.0.xml",
      4. Deploy the attached EAR, then you will see an exception in the admin console:

      The application was not deployed.The application was not deployed.
      java.lang.IllegalArgumentException
      org.apache.geronimo.common.DeploymentException: java.lang.IllegalArgumentException
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:279)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      at java.lang.reflect.Method.invoke(Method.java:611)
      at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
      at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
      at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
      at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
      at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
      at java.lang.Thread.run(Thread.java:736)
      Caused by: java.lang.IllegalArgumentException
      at java.net.URI.create(URI.java:853)
      at java.net.URI.resolve(URI.java:1039)
      at org.apache.geronimo.j2ee.deployment.Module.resolve(Module.java:186)
      at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.installModule(AbstractWebModuleBuilder.java:378)
      at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.installModule(SwitchingModuleBuilder.java:162)
      at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:655)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255)
      ... 12 more
      Caused by: java.net.URISyntaxException: Illegal character in path at index 39: dojox/data/demos/geography/Commonwealth of Australia/
      at java.net.URI$Parser.fail(URI.java:2820)
      at java.net.URI$Parser.checkChars(URI.java:2993)
      at java.net.URI$Parser.parseHierarchical(URI.java:3077)
      at java.net.URI$Parser.parse(URI.java:3035)
      at java.net.URI.(URI.java:589)
      at java.net.URI.create(URI.java:851)
      ... 18 more

      Attachments

        1. cviewer-3.0.0.0_mod.war
          10 kB
          Ming Xia
        2. DonateEAR.ear
          3.65 MB
          Ming Xia
        3. DonatePool-plan_3.0.xml
          2 kB
          Ming Xia
        4. JMSResources-plan_3.0.xml
          3 kB
          Ming Xia
        5. VacationPool-plan_3.0.xml
          2 kB
          Ming Xia

        Issue Links

          Activity

            People

              xiaming Ming Xia
              xiaming Ming Xia
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: