Introducing the all-new TIBCO Community site!

For current users, please click "Sign In" to reset your password and access the enhanced features. If you're a first-time visitor, we extend a warm welcome—click "Sign Up" to become a part of the TIBCO Community!

If you're seeking alternative community sites, explore ibi, Jaspersoft, and Spotfire.

Jump to content

Application impaired: Unresolved Dependencies - ConstituentBundle


Recommended Posts

I am trying to debug a simple application launched from BW STudio.

The application is composed of:

 

A shared Java module called 'impl', which defines a simple public process

An application module called 'rest',which wraps the 'impl' module's process in a RESTful resource

An application which includes both previous modules

 

I have checked that dependencies are declared between modules, and I have defined a launch configuration to debug the application. When I start the debugger, I get the following messages:

 

10:07:03.986 INFO [main] com.tibco.bw.frwk.engine.BWEngine - TIBCO-BW-FRWK-300002: BW Engine [Main] started successfully.

10:07:07.892 INFO [Framework Event Dispatcher: Equinox Container: 607cc523-180d-0016-1e7f-9fb20a2fcc6c] com.tibco.thor.frwk.Deployer - TIBCO-THOR-FRWK-300001: Started OSGi Framework of AppNode [bWEclipseAppNode] in AppSpace [bWEclipseAppSpace] of Domain [bWEclipseDomain]

10:07:08.018 INFO [Framework Event Dispatcher: Equinox Container: 607cc523-180d-0016-1e7f-9fb20a2fcc6c] com.tibco.thor.frwk.Application - TIBCO-THOR-FRWK-300018: Deploying BW Application [tld.company.translib64.rest.application:1.0].

10:07:08.096 INFO [Thread-27] com.tibco.thor.frwk.Application - TIBCO-THOR-FRWK-300019: BW Application [tld.company.translib64.rest.application:1.0] is impaired.

10:07:08.112 INFO [Framework Event Dispatcher: Equinox Container: 607cc523-180d-0016-1e7f-9fb20a2fcc6c] com.tibco.thor.frwk.Application - Started by BusinessStudio, ignoring .enabled settings.

Using the 'la' command, I get the following output:

 

Applications:

--------------------------------------------------------

Name : tld.company.translib64.rest.application:1.0

Bundle : tld.company.translib64.rest.application_1.0.0.qualifier [228]

Bundle Id : 228

State : Impaired

ConstituentBundle(tld.company.translib64.rest_0.1)

ConfigState : InSync

Modules :

(OSGi Bundle) tld.company.translib64.impl 0.1:

Bundle Id : -1

Bundle State : UNINSTALLED

(OSGi Bundle) tld.company.translib64.rest 0.1:

Bundle Id : -1

Bundle State : UNINSTALLED

Dependencies:

ConstituentBundle(tld.company.translib64.rest_0.1)

ConstituentBundle(tld.company.translib64.impl_0.1)

EngineDep(Main=BWEngine[bW=6.3.100.004, BX=2.0.100.002, PVM=4.0.100.002, Alias=BWEclipseDomain_BWEclipseAppSpace_BWEclipseAppNode])

Unresolved Dependencies: See also 'lr' and 'dsr' commands for details

ConstituentBundle(tld.company.translib64.rest_0.1)

ConstituentBundle(tld.company.translib64.impl_0.1)

Application Properties :

Use 'lap' command

Events :

com/tibco/bw/runtime/AppStateChangedEvent: Impaired {ConstituentBundle(tld.company.translib64.rest_0.1) ConstituentBundle(tld.company.translib64.impl_0.1) }

Problems :

However, if I list the bundles with 'felix:lb translib' I get:

 

START LEVEL 6

ID|State |Level|Name

13|Resolved | 5|Translib64 Impl Module (0.1.0)

219|Resolved | 5|Translib 64 Rest Module (0.1.0)

228|Active | 5|Translib64 Rest Application (1.0.0.qualifier)

Where can the problem lie How is it possible that an application does not resolve its 'ConstituentBundle'

Link to comment
Share on other sites

  • 4 years later...
×
×
  • Create New...