Edward Yakop wrote:
On Sat, Nov 1, 2008 at 02:48, Ittay Dror <[EMAIL PROTECTED]> wrote:
config.ini is a file used by equinox where i can use a property to tell it
where to find bundles and whether to start them or not.
Ok. I thought you're referring to some config.ini from somewhere that
includes both spring-dm and pax-wicket.
does pax runner configure bundles in any way?
Pax-runner is a tool to quickly help us running osgi application with
many OSGi containers.
I'm not sure what you meant by configure bundles. Pax-runner reads its
configuration, in this case
deploy all bundles specified by mvn url and deploy them in the default
start level.
the way i ran it, 'ss' shows all packages are active, so i think it is
something to do with
configuration, not running.
I don't think it's related. If you look at your 'ss' output
38 ACTIVE
org.ops4j.pax.wicket.samples.departmentstore.view.departmentstore-view-franchisee_0.5.4
39 ACTIVE
org.ops4j.pax.wicket.samples.departmentstore.view.departmentstore-view-application_0.5.4
40 ACTIVE
org.ops4j.pax.wicket.samples.departmentstore.departmentstore-model_0.5.4
41 ACTIVE
org.ops4j.pax.wicket.samples.departmentstore.departmentstore-service-basic_0.5.4
42 ACTIVE
org.ops4j.pax.wicket.samples.departmentstore.view.departmentstore-view-floor_0.5.4
43 ACTIVE
org.ops4j.pax.wicket.samples.departmentstore.view.departmentstore-view-about_0.5.4
44 ACTIVE org.ops4j.pax.wicket.pax-wicket-service_0.5.4
All these bundles are active.
Although I'm not sure which http service provider that u use. But if I
guess correctly
22 ACTIVE org.springframework.osgi.catalina.osgi_5.5.23.SNAPSHOT
That also says that it's active.
Perhaps I should try to run spring-dm server + pax-wicket and see how that goes.
maybe the reason is that it is not providing an HttpService instance?
below is a list of my services:
ittay
{org.osgi.service.packageadmin.PackageAdmin}={service.ranking=2147483647,
service.pid=0.org.eclipse.osgi.framework.internal.core.PackageAdminImpl,
service.vendor=Eclipse.org, service.id=1}
Registered by bundle: System Bundle [0]
Bundles using service:
System Bundle [0]
[EMAIL PROTECTED]:file:spring-osgi-extender-1.2.0-m1.jar/ [18]
{org.osgi.service.startlevel.StartLevel}={service.ranking=2147483647,
service.pid=0.org.eclipse.osgi.framework.internal.core.StartLevelManager,
service.vendor=Eclipse.org, service.id=2}
Registered by bundle: System Bundle [0]
No bundles using service.
{org.eclipse.osgi.service.debug.DebugOptions}={service.ranking=2147483647,
service.pid=0.org.eclipse.osgi.framework.debug.FrameworkDebugOptions,
service.vendor=Eclipse.org, service.id=3}
Registered by bundle: System Bundle [0]
No bundles using service.
{org.eclipse.osgi.framework.log.FrameworkLog}={service.ranking=2147483647,
service.pid=0.org.eclipse.core.runtime.adaptor.EclipseLog,
service.vendor=Eclipse.org, service.id=4}
Registered by bundle: System Bundle [0]
No bundles using service.
{org.eclipse.osgi.framework.log.FrameworkLog}={service.ranking=-2147483648,
performance=true,
service.pid=46org.eclipse.core.runtime.adaptor.EclipseLog,
service.vendor=Eclipse.org, service.id=5}
Registered by bundle: System Bundle [0]
No bundles using service.
{javax.xml.parsers.SAXParserFactory}={service.id=6}
Registered by bundle: System Bundle [0]
No bundles using service.
{javax.xml.parsers.DocumentBuilderFactory}={service.id=7}
Registered by bundle: System Bundle [0]
No bundles using service.
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.user.area,
service.id=8}
Registered by bundle: System Bundle [0]
No bundles using service.
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.instance.area,
service.id=9}
Registered by bundle: System Bundle [0]
No bundles using service.
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.configuration.area,
service.id=10}
Registered by bundle: System Bundle [0]
No bundles using service.
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.install.area,
service.id=11}
Registered by bundle: System Bundle [0]
No bundles using service.
{org.eclipse.osgi.service.urlconversion.URLConverter}={protocol=[bundleentry,bundleresource],
service.id=12}
Registered by bundle: System Bundle [0]
No bundles using service.
{org.eclipse.osgi.service.environment.EnvironmentInfo}={service.ranking=2147483647,
service.pid=0.org.eclipse.core.runtime.internal.adaptor.EclipseEnvironmentInfo,
service.vendor=Eclipse.org, service.id=13}
Registered by bundle: System Bundle [0]
No bundles using service.
{org.eclipse.osgi.service.resolver.PlatformAdmin}={service.ranking=2147483647,
service.pid=0.org.eclipse.osgi.internal.baseadaptor.StateManager,
service.vendor=Eclipse.org, service.id=14}
Registered by bundle: System Bundle [0]
No bundles using service.
{org.eclipse.osgi.service.pluginconversion.PluginConverter}={service.ranking=2147483647,
service.pid=0.org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl,
service.vendor=Eclipse.org, service.id=15}
Registered by bundle: System Bundle [0]
No bundles using service.
{org.eclipse.osgi.framework.console.CommandProvider}={service.ranking=2147483647,
service.pid=0.org.eclipse.core.runtime.internal.adaptor.EclipseCommandProvider,
service.vendor=Eclipse.org, service.id=16}
Registered by bundle: System Bundle [0]
Bundles using service:
System Bundle [0]
{org.eclipse.osgi.service.localization.BundleLocalization}={service.ranking=2147483647,
service.pid=0.org.eclipse.core.runtime.internal.adaptor.BundleLocalizationImpl,
service.vendor=Eclipse.org, service.id=17}
Registered by bundle: System Bundle [0]
No bundles using service.
{org.eclipse.osgi.internal.provisional.verifier.CertificateVerifierFactory}={service.id=18}
Registered by bundle: System Bundle [0]
No bundles using service.
{org.eclipse.osgi.framework.console.CommandProvider}={service.ranking=2147483647,
service.id=19}
Registered by bundle: System Bundle [0]
Bundles using service:
System Bundle [0]
{java.lang.Runnable}={name=splashscreen, service.id=20}
Registered by bundle: System Bundle [0]
No bundles using service.
{org.springframework.beans.factory.xml.NamespaceHand
Registered by bundl
Bundles using service:
[EMAIL PROTECTED]:file:../../../../examples/springdm/simple/ [31]
{org.xml.sax.EntityResolver}={service.id=22}
Registered by bundle:
[EMAIL PROTECTED]:file:spring-osgi-extender-1.2.0-m1.jar/ [18]
Bundles using service:
[EMAIL PROTECTED]:file:../../../../examples/springdm/simple/ [31]
{com.tikal.alm.examples.springdm.simple.service.StringReverser}={org.springframework.osgi.bean.name=stringReverser,
Bundle-SymbolicName=com.tikal.alm.examples.springdm.simple.service.reverser,
Bundle-Version=1.0, service.id=23}
Registered by bundle:
[EMAIL PROTECTED]:file:../../../../examples/springdm/simple/ [31]
No bundles using service.
{org.springframework.osgi.context.DelegatedExecutionOsgiBundleApplicationContext,
org.springframework.osgi.context.ConfigurableOsgiBundleApplicationContext,
org.springframework.context.ConfigurableApplicationContext,
org.springframework.context.ApplicationContext,
org.springframework.context.Lifecycle,
org.springframework.beans.factory.ListableBeanFactory,
org.springframework.beans.factory.HierarchicalBeanFactory, org.
Registered by bundle: [EMAIL PROTECTED]:file:../.
No bundles using service.
{org.osgi.service.url.URLStreamHandlerService}={url.handler.protocol=jndi,
service.id=35}
Registered by bundle:
[EMAIL PROTECTED]:file:catalina.start.osgi-1.0-SNAPSHOT.jar/ [21]
Bundles using service:
System Bundle [0]
{org.apache.catalina.core.StandardService, org.apache.catalina.Service,
javax.management.MBeanReg
Registered by bundle:
[EMAIL PROTECTED]:file:catalina.start.osgi-1.0-SNAPSHOT.jar/ [21]
No bundles using service.
Regards,
Edward Yakop
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general
--
Ittay Dror <[EMAIL PROTECTED]>
Tikal <http://www.tikalk.com>
Tikal Project <http://tikal.sourceforge.net>
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general