I update the geronimo-maven-plugin so it works with karaf -- 
https://issues.apache.org/jira/browse/GERONIMO-5045

The geronimo-framework server starts ok for me with mvn clean install - Pit

However...

1. more complicated servers are not starting due to the NCDFE on a HOWL class I started seeing a day or two ago...

...
2010-01-24 13:58:29,038 INFO [DependencyManager] did not find geronimo-plugin.xml for bundle org.apache.geronimo.modules.geronimo- connector-1_6 [81] 2010-01-24 13:58:29,038 INFO [DependencyManager] did not find geronimo-plugin.xml for bundle org.apache.geronimo.components.geronimo- connector [82] 2010-01-24 13:58:29,039 INFO [DependencyManager] did not find geronimo-plugin.xml for bundle org.apache.geronimo.modules.geronimo- transaction-1_6 [83] 2010-01-24 13:58:29,039 INFO [DependencyManager] did not find geronimo-plugin.xml for bundle org.apache.servicemix.bundles.howl [84] 2010-01-24 13:58:29,192 INFO [DependencyManager] did not find geronimo-plugin.xml for bundle org.apache.geronimo.specs.geronimo- jpa_2.0_spec [85] 2010-01-24 13:58:29,696 WARN [ConfigurationUtil] Could not load gbean org.apache.geronimo.configs/transaction-1_6/3.0-SNAPSHOT/car? ServiceModule=org.apache.geronimo.configs/transaction-1_6/3.0-SNAPSHOT/ car,j2eeType=TransactionLog,name=HOWLTransactionLog
java.lang.NoClassDefFoundError: org/objectweb/howl/log/ReplayListener
       at java.lang.Class.getDeclaredMethods0(Native Method)
       at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
       at java.lang.Class.getMethod0(Class.java:2670)
       at java.lang.Class.getMethod(Class.java:1603)
at org .apache .geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribute.java:237) at org .apache .geronimo .gbean.runtime.GBeanInstance.buildAttributes(GBeanInstance.java:373) at org .apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java: 246) at org .apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.java: 360) at org .apache .geronimo .kernel .config .ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:447) at org .apache .geronimo .kernel .config .KernelConfigurationManager.start(KernelConfigurationManager.java:224) at org .apache .geronimo .kernel .config .SimpleConfigurationManager .startConfiguration(SimpleConfigurationManager.java:716) at org .apache .geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:149) at org .apache .geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:81) at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:109) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:32) Caused by: java.lang.ClassNotFoundException: org.objectweb.howl.log.ReplayListener at org .apache .felix .framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java: 779) at org.apache.felix.framework.ModuleImpl.access $100(ModuleImpl.java:61) at org.apache.felix.framework.ModuleImpl $ModuleClassLoader.loadClass(ModuleImpl.java:1698)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:402)
       ... 16 more

The server does start OK from the command line if I try again, but I haven't figured out how to duplicate this using geronimo-maven-plugin (and shouldn't have to)

2. I see some messages I don't really understand at the beginning of startup.... could these mean I haven't got enough of the karaf command line? Any other ideas?

2010-01-24 14:12:16,284 ERROR [BlueprintContainerImpl] Unable to start blueprint container for bundle org.apache.felix.karaf.shell.config org.osgi.service.blueprint.container.ComponentDefinitionException: Unsupported node namespace: http://felix.apache.org/karaf/xmlns/shell/v1.0.0 at org .apache .geronimo.blueprint.container.Parser.getNamespaceHandler(Parser.java: 1173) at org .apache .geronimo.blueprint.container.Parser.parseCustomElement(Parser.java: 1161) at org .apache.geronimo.blueprint.container.Parser.loadComponents(Parser.java: 330) at org.apache.geronimo.blueprint.container.Parser.populate(Parser.java:268) at org .apache .geronimo .blueprint .container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:259) at org .apache .geronimo .blueprint .container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:211) 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.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor $ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) 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:637)
2010-01-24 14:12:16,286 ERROR [BlueprintContainerImpl] Unable to start blueprint container for bundle org.apache.felix.karaf.shell.console org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to convert value BeanRecipe[name='#recipe-4'] to type class java.util.ArrayList at org .apache .geronimo .blueprint.di.CollectionRecipe.internalCreate(CollectionRecipe.java:82) at org .apache .geronimo.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64) at org .apache .geronimo .blueprint .container .AbstractServiceReferenceRecipe .createListeners(AbstractServiceReferenceRecipe.java:196) at org .apache .geronimo .blueprint .container.ReferenceRecipe.internalCreate(ReferenceRecipe.java:90) at org .apache .geronimo.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64) at org .apache .geronimo .blueprint .container .BlueprintRepository.createInstances(BlueprintRepository.java:212) at org .apache .geronimo .blueprint .container.BlueprintRepository.createAll(BlueprintRepository.java:140) at org .apache .geronimo .blueprint .container .BlueprintContainerImpl .instantiateEagerComponents(BlueprintContainerImpl.java:603) at org .apache .geronimo .blueprint .container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:310) at org .apache .geronimo .blueprint .container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:211) 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.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor $ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) 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:637)
Caused by: org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to convert property value from java.lang.String to boolean for injection public void org .apache.felix.karaf.shell.console.jline.ConsoleFactory.setStart(boolean) at org .apache .geronimo.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java: 613) at org .apache .geronimo.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java: 577) at org .apache .geronimo.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java: 558) at org .apache .geronimo .blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:508) at org .apache .geronimo.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64) at org .apache.geronimo.blueprint.di.RefRecipe.internalCreate(RefRecipe.java: 60) at org .apache .geronimo.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64) at org .apache .geronimo.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java: 606) at org .apache .geronimo.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java: 577) at org .apache .geronimo.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java: 558) at org .apache .geronimo .blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:508) at org .apache .geronimo.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64) at org .apache .geronimo .blueprint.di.CollectionRecipe.internalCreate(CollectionRecipe.java:80)
       ... 17 more
Caused by: java.lang.RuntimeException: Invalid boolean value: $ [karaf.startLocalConsole] at org .apache .geronimo .blueprint .container .AggregateConverter.convertFromString(AggregateConverter.java:253) at org .apache .geronimo .blueprint .container.AggregateConverter.convert(AggregateConverter.java:150) at org .apache .geronimo .blueprint .container.BlueprintRepository.convert(BlueprintRepository.java:366) at org .apache .geronimo.blueprint.di.AbstractRecipe.convert(AbstractRecipe.java:93) at org .apache .geronimo.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java: 609)
       ... 29 more

many thanks
david jencks

Reply via email to