Project: talendesb
Issue TESB-13290: A route can not be deployed if its project name contains a space
In TAC : it is possible to create 2 projects -- one with a name/label equals to "AAA"; -- one with a name/label equale to "BB B" In the Studio, for both projects you can: - create the same valid Route. - export it, - deploy it The Route from "AAA" will be deployed successfully; the Route from "BB B" will not be deployed. Deploying a route created in a project with NO space in the name 21:50:10,007 | INFO | me-V5.3.2/deploy | eployer.kar.KarArtifactInstaller 447 | 31 - org.apache.karaf.deployer.kar - 2.3.3 | Found a .kar file to deploy. 21:50:10,012 | INFO | me-V5.3.2/deploy | eployer.kar.KarArtifactInstaller 92 | 31 - org.apache.karaf.deployer.kar - 2.3.3 | Installing KAR file C:\5.3.2\Talend-Runtime-V5.3.2\Talend-Runtime-V5.3.2\deploy\RoutingSlip_0.1.kar 21:50:10,160 | INFO | me-V5.3.2/deploy | eployer.kar.KarArtifactInstaller 419 | 31 - org.apache.karaf.deployer.kar - 2.3.3 | Added feature repository 'file:/C:/5.3.2/Talend-Runtime-V5.3.2/Talend-Runtime-V5.3.2/system/esbtest/RoutingSlip/RoutingSlip-feature/0.1/RoutingSlip-0.1-feature.xml'. 21:50:18,824 | INFO | me-V5.3.2/deploy | r.internal.JobTracker$Customizer 106 | 189 - org.talend.esb.job.controller - 5.3.2 | Service with reference {routines.system.api.TalendESBRoute, routines.system.api.TalendJob}={osgi.service.blueprint.compname=route, name=RoutingSlip, type=route, service.id=395} added 21:50:19,185 | INFO | me-V5.3.2/deploy | troller.internal.JobLauncherImpl 119 | 189 - org.talend.esb.job.controller - 5.3.2 | Adding route RoutingSlip. 21:50:19,190 | INFO | pool-13-thread-1 | controller.internal.RouteAdapter 66 | 189 - org.talend.esb.job.controller - 5.3.2 | Starting route RoutingSlip 21:50:19,190 | INFO | me-V5.3.2/deploy | ultOsgiApplicationContextCreator 67 | 116 - org.springframework.osgi.extender - 1.2.1 | Discovered configurations {osgibundle:/META-INF/spring/*.xml} in bundle [RoutingSlip (esbtest.RoutingSlip)] 21:50:19,197 | INFO | ExtenderThread-9 | pport.AbstractApplicationContext 510 | 89 - org.springframework.context - 3.2.4.RELEASE | Refreshing OsgiBundleXmlApplicationContext(bundle=esbtest.RoutingSlip, config=osgibundle:/META-INF/spring/*.xml): startup date [Wed Apr 02 21:50:19 CEST 2014]; root of context hierarchy 21:50:19,198 | INFO | ExtenderThread-9 | ractOsgiBundleApplicationContext 365 | 89 - org.springframework.context - 3.2.4.RELEASE | Application Context service already unpublished 21:50:19,200 | INFO | ExtenderThread-9 | tory.xml.XmlBeanDefinitionReader 315 | 87 - org.springframework.beans - 3.2.4.RELEASE | Loading XML bean definitions from URL [bundleentry://239.fwk177822329/META-INF/spring/routingslip.xml] Deploying the SAME route created in a project with a SPACE 22:06:52,461 | INFO | me-V5.3.2/deploy | eployer.kar.KarArtifactInstaller 447 | 31 - org.apache.karaf.deployer.kar - 2.3.3 | Found a .kar file to deploy. 22:06:52,462 | INFO | me-V5.3.2/deploy | eployer.kar.KarArtifactInstaller 92 | 31 - org.apache.karaf.deployer.kar - 2.3.3 | Installing KAR file C:\5.3.2\Talend-Runtime-V5.3.2\Talend-Runtime-V5.3.2\deploy\RoutingSlipSpace_0.1.kar 22:06:52,588 | INFO | me-V5.3.2/deploy | eployer.kar.KarArtifactInstaller 419 | 31 - org.apache.karaf.deployer.kar - 2.3.3 | Added feature repository 'file:/C:/5.3.2/Talend-Runtime-V5.3.2/Talend-Runtime-V5.3.2/system/esb%20test2/RoutingSlip/RoutingSlip-feature/0.1/RoutingSlip-0.1-feature.xml'. 22:07:03,391 | WARN | me-V5.3.2/deploy | eployer.kar.KarArtifactInstaller 192 | 31 - org.apache.karaf.deployer.kar - 2.3.3 | Unable to install Kar feature RoutingSlip-feature/0.1 org.osgi.framework.BundleException: Manifest not present in the first entry of the zip mvn:esb_test2.RoutingSlip/RoutingSlip-bundle/0.1 at org.apache.karaf.features.internal.FeaturesServiceImpl.installBundleIfNeeded(FeaturesServiceImpl.java:835)[43:org.apache.karaf.features.core:2.3.3] at org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeature(FeaturesServiceImpl.java:621)[43:org.apache.karaf.features.core:2.3.3] at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:417)[43:org.apache.karaf.features.core:2.3.3] at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:405)[43:org.apache.karaf.features.core:2.3.3] at Proxya8534c82_46b7_4d21_8484_c6d5084b2cc0.installFeature(Unknown Source)[:] at org.apache.karaf.deployer.kar.KarArtifactInstaller.installFeatures(KarArtifactInstaller.java:189)[31:org.apache.karaf.deployer.kar:2.3.3] at org.apache.karaf.deployer.kar.KarArtifactInstaller.install(KarArtifactInstaller.java:134)[31:org.apache.karaf.deployer.kar:2.3.3] at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:929)[6:org.apache.felix.fileinstall:3.2.6] at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:857)[6:org.apache.felix.fileinstall:3.2.6] at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:483)[6:org.apache.felix.fileinstall:3.2.6] at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:291)[6:org.apache.felix.fileinstall:3.2.6] 22:07:21,470 | WARN | me-V5.3.2/deploy | eployer.kar.KarArtifactInstaller 212 | 31 - org.apache.karaf.deployer.kar - 2.3.3 | Unable to uninstall Kar feature RoutingSlip-feature/0.1 java.lang.Exception: Feature named 'RoutingSlip-feature' with version '0.1' is not installed at org.apache.karaf.features.internal.FeaturesServiceImpl.uninstallFeature(FeaturesServiceImpl.java:975)[43:org.apache.karaf.features.core:2.3.3] at Proxya8534c82_46b7_4d21_8484_c6d5084b2cc0.uninstallFeature(Unknown Source)[:] at org.apache.karaf.deployer.kar.KarArtifactInstaller.uninstallFeatures(KarArtifactInstaller.java:210)[31:org.apache.karaf.deployer.kar:2.3.3] at org.apache.karaf.deployer.kar.KarArtifactInstaller.uninstall(KarArtifactInstaller.java:327)[31:org.apache.karaf.deployer.kar:2.3.3] at org.apache.felix.fileinstall.internal.DirectoryWatcher.uninstall(DirectoryWatcher.java:1063)[6:org.apache.felix.fileinstall:3.2.6] at org.apache.felix.fileinstall.internal.DirectoryWatcher.uninstall(DirectoryWatcher.java:877)[6:org.apache.felix.fileinstall:3.2.6] at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:481)[6:org.apache.felix.fileinstall:3.2.6] at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:291)[6:org.apache.felix.fileinstall:3.2.6]
Story points: 1