[
https://issues.apache.org/jira/browse/KARAF-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144797#comment-13144797
]
Susan Javurek commented on KARAF-311:
-------------------------------------
Hi,
I will be out of the office until Thursday November 10, 2011. If you
need immediate assistance please contact [email protected].
Otherwise, I will respond to you when I return.
Kindest regards,
--
Susan Javurek
FuseSource
Email: [email protected]
Web: fusesource.com
Twitter: http://twitter.com/fusenews
> Deploying a sample application in the User's Guide is missing a command
> -----------------------------------------------------------------------
>
> Key: KARAF-311
> URL: https://issues.apache.org/jira/browse/KARAF-311
> Project: Karaf
> Issue Type: Bug
> Components: karaf-documentation
> Reporter: Susan Javurek
> Assignee: Jean-Baptiste Onofré
> Priority: Minor
> Fix For: 2.2.0
>
>
> The "Apache Karaf Users' Guide" details deploying a sample application on
> page 8 and page 9. The same information is also available from the following
> URL:
>
> http://karaf.apache.org/2-quick-start.html#2.QuickStart-Deployasampleapplication
> The documentation denotes to run a list of commands. After running the last
> command:
> karaf@root> osgi:install -s mvn:org.apache.camel/camel-example-osgi/1.4.0
> Bundle ID: 195
> I receive the following error:
> karaf@root> osgi:list |grep exampleException in thread
> "SpringOsgiExtenderThread-9" java.lang.IllegalStateException: BeanFactory not
> initialized or already closed - call 'refresh' before accessing beans via the
> ApplicationContext
> at
> org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:171)
> at
> org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.close(DependencyWaiterApplicationContextExecutor.java:345)
> at
> org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.fail(DependencyWaiterApplicationContextExecutor.java:401)
> at
> org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:287)
> at
> org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:175)
> at
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175)
> at
> org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListener.java:718)
> at java.lang.Thread.run(Thread.java:680)
> An additional step is required:
> features:install examples-camel-osgi
> After this command is executed, the demo works as expected.
> I'm new to Karaf but I also understand some of the other commands listed may
> not be required, e.g. "features:install spring-dm". One of my colleagues
> thought this was old.
--
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