I am having simple FUSE application without data base connectivity. Later I have added data base connectivity. From that point onwards, i am not able to start the bundle(able to install the bundle successfully).
When I tried to start, initially it is showing as Waiting later it failed with below error.
ERROR | Timer-0 | WaiterApplicationContextExecutor | WaiterApplicationContextExecutor 424 | 59 - org.springframework.osgi.extender - 1.2.1 | Unable to create application context for
TestApp, unsatisfied dependencies: Dependency on
http://(&(org.springframework.osgi.bean.name=dataSourceOLTP)(objectClass=javax.sql.DataSource)) (from bean
&dataSourceOLTP)
org.springframework.context.ApplicationContextException: Application context initialization for 'TestApp' has timed out
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454)
59:org.springframework.osgi.extender:1.2.1
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50)
59:org.springframework.osgi.extender:1.2.1
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105)
59:org.springframework.osgi.extender:1.2.1
at java.util.TimerThread.mainLoop(Timer.java:512)
:1.6.0_21
at java.util.TimerThread.run(Timer.java:462)
:1.6.0_21
10:58:51,464 | ERROR | Timer-0 | ContextLoaderListener | BundleApplicationContextListener 50 | 59 - org.springframework.osgi.extender - 1.2.1 | Application context refresh failed (OsgiBundleXmlApplicationContext(bundle=TestApp, config=osgibundle:/META-INF/spring/*.xml))
org.springframework.context.ApplicationContextException: Application context initialization for 'TestApp' has timed out
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454)
59:org.springframework.osgi.extender:1.2.1
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50)
59:org.springframework.osgi.extender:1.2.1
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105)
59:org.springframework.osgi.extender:1.2.1
at java.util.TimerThread.mainLoop(Timer.java:512)
:1.6.0_21
at java.util.TimerThread.run(Timer.java:462)
:1.6.0_21
Can you please tell me the Artifacts need to add as dependencies in order to implement Database connectivity