At runtime SAT issues warning messages when it believes that a bundle is misbehaving in some fashion.
isUninstallable() and
isTransient().
> SAT Core Warning: A bundle should be transient or uninstallable, not both. > Class: <Class-Name> > Source: <Bundle-SymbolicName>
> SAT Core Warning: Failed to acquire service matching the filter <Filter>. > Service: <Service-Name> > Source: <Bundle-SymbolicName>
ManagedServiceFactoryBundleActivator, to create a
bundle that registers a
ManagedServiceFactory, the resource
META-INF/METADATA.XML must be found in the bundle.
When this resource does not exist this warning message is issued.
> SAT Core Warning: Failed to find required resource META-INF/METADATA.XML. > Source: <Bundle-SymbolicName>
> SAT Core Warning: Failed to find properties file. > Filename: <Properties-Filename> > Source: <Bundle-SymbolicName> > SAT Core Warning: Failed to find properties resource. > Resource: <Properties-Filename> > Source: <Bundle-SymbolicName>
null
the following warning message is issued:
> SAT Core Warning: Failed to get the imported service. Also check that the method getImportedServices() returns the correct service names. > Service: <Service-Name> > Source: <Bundle-SymbolicName>In additional, if the receiver is both a
BaseBundleActivator
and an implementor of IManagedServiceFactoryAdvisor, the
following warning is also issued:
> SAT Core Warning: Failed to get the imported service. The receiver of the method getImportedService(String) is a subclass of BaseBundleActivator and an implementor of IManagedServiceFactoryAdvisor, did you intend the receiver to be an IBundleActivationManager? Also check that the method getImportedServiceNames(String, Dictionary, Dictionary, IBundleActivationManager) returns the correct service names. > Service: <Service-Name> > Source: <Bundle-SymbolicName>
> SAT Core Warning: LDAP filter contains questionable whitespace - <Filter>. > Service: <Service-Name> > Source: <Bundle-SymbolicName>
requiresAllImportedServices() has been overridden to
return false it is necessary to also override the method
handleAcquiredImportedService(Object).
> SAT Core Warning: The method handleAcquiredImportedService() should have been overridden. > Service: <Service-Name> > Source: <Bundle-SymbolicName>
requiresAllImportedServices() has been overridden to
return false it is necessary to also override the method
handleReleasedImportedService().
> SAT Core Warning: The method handleReleasedImportedService() should have been overridden. > Service: <Service-Name> > Source: <Bundle-SymbolicName>
Copyright © 2001, 2007 IBM Corporation and others. All Rights Reserved.