[ 
https://issues.apache.org/jira/browse/GERONIMO-6272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Forrest Xia closed GERONIMO-6272.
---------------------------------

    Resolution: Duplicate
    
> server can not be started if installation path contains bracket "()"
> --------------------------------------------------------------------
>
>                 Key: GERONIMO-6272
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6272
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 3.0-beta-1
>         Environment: win7 64bit,oracle jdk 1.6.0_26
>            Reporter: Saphen Qiu
>              Labels: bracket, startup
>
> I install geronimo on this path c:\New folder (x), I can not start server 
> with any commands, and get the following errors.
> But if I rename the folder to "New folder" without "()", then the server can 
> be started successfully.
> ***********************************************************
> C:\New folder (x)\bin>geronimo.bat run -c
> Using GERONIMO_HOME:   C:\New folder (x)
> Using GERONIMO_TMPDIR: C:\New folder (x)\var\temp
> Using JRE_HOME:        C:\Program\Java\jdk1.6.0_26\jre
>      ______                       _
>     / ____/___  _________  ____  (_)____ ___  ____
>    / / __ / _ \/ ___/ __ \/ __ \/ // __ `__ \/ __ \
>   / /_/ //  __/ /  / /_/ / / / / // / / / / / /_/ /
>   \____/ \___/_/   \____/_/ /_/_//_/ /_/ /_/\____/
>   Apache Geronimo (3.0-beta-2-SNAPSHOT)
> Hit '<tab>' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Geronimo.
> geronimo> 2012-02-14 15:39:27,135 WARN  [FeaturesServiceImpl] Unable to add 
> features repository mvn:org.apache.geronimo.
> framework/karaf-framework/3.0-beta-2-SNAPSHOT/xml/features at startup
> java.lang.RuntimeException: URL 
> [mvn:org.apache.geronimo.framework/karaf-framework/3.0-beta-2-SNAPSHOT/xml/features]
>  cou
> ld not be resolved.
>         at 
> org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:195)
>         at 
> org.apache.karaf.features.internal.FeatureValidationUtil.validate(FeatureValidationUtil.java:49)
>         at 
> org.apache.karaf.features.internal.FeaturesServiceImpl.validateRepository(FeaturesServiceImpl.java:199)
>         at 
> org.apache.karaf.features.internal.FeaturesServiceImpl.internalAddRepository(FeaturesServiceImpl.java:210)
>         at 
> org.apache.karaf.features.internal.FeaturesServiceImpl.start(FeaturesServiceImpl.java:918)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at 
> org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:226)
>         at 
> org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:824)
>         at 
> org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:636)
>         at 
> org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:724)
>         at 
> org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64)
>         at 
> org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:219)
>         at 
> org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:147)
>         at 
> org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl
> .java:640)
>         at 
> org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:331)
>         at 
> org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:227)
>         at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.j
> ava:98)
>         at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206
> )
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> 2012-02-14 15:39:27,830 WARN  [JexlEngine] 
> org.apache.aries.blueprint.ext.JexlExpressionParser.evaluate@56![0,10]: 'kara
> f.base;' undefined variable karaf.base
> Booting Geronimo Kernel (in Java 1.6.0_26)...
> Starting Geronimo Application Server v3.0-beta-2-SNAPSHOT
> [**                                      ]   6%   1s Startup failed
> org.apache.geronimo.kernel.config.LifecycleException: load of 
> org.apache.geronimo.framework/rmi-naming/3.0-beta-2-SNAPSH
> OT/car failed
>         at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.jav
> a:316)
>         at 
> org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:209)
>         at 
> org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:93)
>         at 
> org.apache.geronimo.system.osgi.BootActivator$1.execute(BootActivator.java:107)
>         at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:65)
>         at 
> org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
>         at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:32)
> Caused by: org.osgi.framework.BundleException: URL 
> [mvn:org.apache.geronimo.framework/rmi-naming/3.0-beta-2-SNAPSHOT/car
> ] could not be resolved.
>         at 
> org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:982)
>         at 
> org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:838)
>         at 
> org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:1)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at 
> org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:897)
>         at 
> org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:833)
>         at 
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:137)
>         at 
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:131)
>         at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.jav
> a:309)
>         ... 6 more
> Caused by: java.lang.RuntimeException: URL 
> [mvn:org.apache.geronimo.framework/rmi-naming/3.0-beta-2-SNAPSHOT/car] could
> not be resolved.
>         at 
> org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:195)
>         at 
> org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:56)
>         at 
> org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:930)
>         ... 14 more
> [**                                      ]   6%   1s Startup failed

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to