Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.0.0, 3.0-beta-1, 3.0-beta-2
-
Security Level: public (Regular issues)
-
None
Description
If you install the server in a folder with parenthesis characters "(" or ")", the server won't start. An exception like this:
D:\tmp\3.0-beta-2 (snapshot)\bin>geronimo run -l
Using GERONIMO_HOME: D:\tmp\3.0-beta-2 (snapshot)
Using GERONIMO_TMPDIR: D:\tmp\3.0-beta-2 (snapshot)\var\temp
Using JRE_HOME: d:\t\jdk\sunjdk6\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-17 16:02:39,572 WARN [FeaturesServiceImpl] Unable to add feat
ures repository mvn:org.apache.geronimo.framework/karaf-framework/3.0-beta-2-SNA
PSHOT/xml/features at startup
java.lang.RuntimeException: URL [mvn:org.apache.geronimo.framework/karaf-framewo
rk/3.0-beta-2-SNAPSHOT/xml/features] could not be resolved.
at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.j
ava:195)
at org.apache.karaf.features.internal.FeatureValidationUtil.validate(Fea
tureValidationUtil.java:49)
at org.apache.karaf.features.internal.FeaturesServiceImpl.validateReposi
tory(FeaturesServiceImpl.java:199)
at org.apache.karaf.features.internal.FeaturesServiceImpl.internalAddRep
ository(FeaturesServiceImpl.java:210)
at org.apache.karaf.features.internal.FeaturesServiceImpl.start(Features
ServiceImpl.java:918)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUti
ls.java:226)
at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.jav
a:824)
at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanR
ecipe.java:636)
at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRe
cipe.java:724)
at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.ja
va:64)
at org.apache.aries.blueprint.container.BlueprintRepository.createInstan
ces(BlueprintRepository.java:219)
at org.apache.aries.blueprint.container.BlueprintRepository.createAll(Bl
ueprintRepository.java:147)
at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantia
teEagerComponents(BlueprintContainerImpl.java:640)
at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(Blu
eprintContainerImpl.java:331)
at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(Bluep
rintContainerImpl.java:227)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
1)
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.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(ScheduledThreadPoolExecutor.java:206)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:662)
2012-02-17 16:02:40,038 WARN [JexlEngine] org.apache.aries.blueprint.ext.JexlEx
pressionParser.evaluate@56![0,10]: 'karaf.base;' undefined variable karaf.base
Booting Geronimo Kernel (in Java 1.6.0_29)...
Module 1/64 org.apache.geronimo.framework/j2ee-system/3.0-beta-2-SNAPSHOT/car
started in .000s
Module 2/64 org.apache.geronimo.framework/rmi-naming/3.0-beta-2-SNAPSHOT/car
Server Startup failed
org.apache.geronimo.kernel.config.LifecycleException: load of org.apache.geronim
o.framework/rmi-naming/3.0-beta-2-SNAPSHOT/car failed
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
iguration(SimpleConfigurationManager.java:316)
at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaem
on.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.fram
ework/rmi-naming/3.0-beta-2-SNAPSHOT/car] could not be resolved.
at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivi
leged(Framework.java:982)
at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.ja
va:838)
at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.ja
va:1)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Fram
ework.java:897)
at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Fram
ework.java:833)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBun
dle(BundleContextImpl.java:137)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBun
dle(BundleContextImpl.java:131)
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
iguration(SimpleConfigurationManager.java:309)
... 6 more
Caused by: java.lang.RuntimeException: URL [mvn:org.apache.geronimo.framework/rm
i-naming/3.0-beta-2-SNAPSHOT/car] could not be resolved.
at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.j
ava:195)
at org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInsta
ll.java:56)
at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivi
leged(Framework.java:930)
... 14 more
Attachments
Issue Links
- is duplicated by
-
GERONIMO-6272 server can not be started if installation path contains bracket "()"
- Closed
- is related to
-
FELIX-3383 FileInstall ConfigInstaller does not check filter syntax which will lead bundle start failure when felix installation directory including one of these characters ( )
- Resolved