[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Tring to use Declarative Service in Servlet Bridge

I declared my service in OSGI-INF/providor.xml like this,

<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="MastorConsole Providor">
 Â<implementation class="provider.ConsoleManagerImpl"/>
   <provide interface="api.ConsoleManager"/>

made a reference in menifest, "Service-Component: OSGI-INF/providor.xml".

But when I redeploy and restarted Tomcat, somehow I could not see the service in the Web Console as I did otherwise using low level api in Activator. Did I missed any bundles? and also, how could I set up to collect some logs?Â

The bundle list is below .... Thanks!!

masterconsole.api ( "masterconsole.api - interfaces" [resolved, 9] 
masterconsole.providor ( "masterconsole.providor - internal service providor" [active, 12] 
masterconsole.web ( "masterconsole.web" [active, 6] 
org.apache.felix.webconsole (4.2.2.all) "Apache Felix Web Management Console (All In One)" [active, 5] 
org.eclipse.equinox.common (3.6.200.v20130402-1505) "Common Eclipse Runtime" [active, 1] 
org.eclipse.equinox.http.registry (1.1.300.v20130402-1529) "Http Service Registry Extensions" [active, 4] 
org.eclipse.equinox.http.servlet ( "Http Services Servlet" [starting, 21] 
org.eclipse.equinox.http.servlet (1.1.400.v20130418-1354) "Http Services Servlet" [active, 22] 
org.eclipse.equinox.http.servletbridge ( "Servletbridge Http Service" [active, 3] 
org.eclipse.equinox.registry (3.5.301.v20130717-1549) "Extension Registry Support" [active, 24] 
org.eclipse.equinox.servletbridge.extensionbundle (1.3.0) "Servletbridge Extension Bundle" [resolved, 25] (fragment)
org.eclipse.osgi.services (3.3.100.v20130513-1956) "OSGi Release 4.2.0 Services" [active, 27] 
org.eclipse.osgi (3.9.1.v20140110-1610) "OSGi System Bundle" [active, 0] 
org.eclipse.update.configurator (3.3.200.v20140203-1328) "Install/Update Configurator" [active, 2]