You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-user@ws.apache.org by "Kam K. Yee" <op...@gmail.com> on 2007/10/22 23:53:15 UTC

Problems running osgi wsn-producer sample

Is anyone else having problems running the osgi wsn-producer sample on 2.2.0?

When I do "ant run" the project compiles correctly but the startup fails:

run:
     [echo] Launching OSGi framework...

     [java] osgi> Host org.apache.axiom.api;version="1.2.0" Bundle
org.apache.axiom.dom
     [java] Host org.apache.axiom.api;version="1.2.0" Bundle
org.apache.axiom.impl
     [java] Host org.apache.axis2;bundle-version="1.1.0" Bundle
org.eclipse.corona.axis2.util

The log file shows:

!SESSION 2007-10-22 17:45:54.593
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_12
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -console -clean

!ENTRY org.eclipse.osgi 4 0 2007-10-22 17:45:55.187
!MESSAGE Error starting bundle:
initial@reference:file:org.apache.axiom.dom_1.2.0/
!STACK 0
org.osgi.framework.BundleException: A fragment bundle cannot be started:
initial@reference:file:org.apache.axiom.dom_1.2.0/ [6]
	at
org.eclipse.osgi.framework.internal.core.BundleFragment.startWorker(BundleFragment.java:224)
	at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.startBundles(EclipseStarter.java:1094)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:657)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:305)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:173)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:150)

!ENTRY org.eclipse.osgi 4 0 2007-10-22 17:45:55.187
!MESSAGE Error starting bundle:
initial@reference:file:org.apache.axiom.impl_1.2.0/
!STACK 0
org.osgi.framework.BundleException: A fragment bundle cannot be started:
initial@reference:file:org.apache.axiom.impl_1.2.0/ [7]
	at
org.eclipse.osgi.framework.internal.core.BundleFragment.startWorker(BundleFragment.java:224)
	at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.startBundles(EclipseStarter.java:1094)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:657)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:305)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:173)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:150)

!ENTRY org.eclipse.osgi 4 0 2007-10-22 17:45:55.203
!MESSAGE Error starting bundle:
initial@reference:file:org.eclipse.corona.soa.provider.axis2.util/
!STACK 0
org.osgi.framework.BundleException: A fragment bundle cannot be started:
initial@reference:file:org.eclipse.corona.soa.provider.axis2.util/ [22]
	at
org.eclipse.osgi.framework.internal.core.BundleFragment.startWorker(BundleFragment.java:224)
	at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.startBundles(EclipseStarter.java:1094)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:657)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:305)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:173)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:150)

!ENTRY org.eclipse.osgi 4 0 2007-10-22 17:45:56.734
!MESSAGE Bundle initial@reference:file:org.apache.axiom.dom_1.2.0/ [6] is
not active.

!ENTRY org.eclipse.osgi 4 0 2007-10-22 17:45:56.734
!MESSAGE Bundle initial@reference:file:org.apache.axiom.impl_1.2.0/ [7] is
not active.

!ENTRY org.eclipse.osgi 4 0 2007-10-22 17:45:56.750
!MESSAGE Bundle
initial@reference:file:org.eclipse.corona.soa.provider.axis2.util/ [22] is
not active.

Is anyone else seeing this problem and/or know the cause?  I'll be trying to
swap my JDK versions next (from 1.5 to 1.4) to see if that's the problem.
-- 
View this message in context: http://www.nabble.com/Problems-running-osgi-wsn-producer-sample-tf4673910.html#a13353355
Sent from the Muse User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-user-help@ws.apache.org