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"/>
   <service>
      <provide interface="api.ConsoleManager"/>
   </service>
</scr:component>

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 (1.0.0.201407181403) "masterconsole.api -
interfaces" [resolved, 9]
masterconsole.providor (1.0.0.201407181515) "masterconsole.providor -
internal service providor" [active, 12]
masterconsole.web (1.0.1.201407181403) "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 (1.0.0.200704022148) "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 (1.0.0.200704022148)
"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]
_______________________________________________
equinox-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to