1 Reply Latest reply on Jul 16, 2011 5:49 AM by Willem Jiang

    Data base connectivity is not working in FUSE

    Sankar Vinnakota Newbie

      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 , unsatisfied dependencies: Dependency on (from bean )

      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