Deploying Bridge.war on Tomcat [message #107755] |
Wed, 09 April 2008 01:01  |
Eclipse User |
|
|
|
Hi all,
I deployed bridge.war on Tomcat when I first type 'ss' in OSGI console it
shows the following output:
osgi> ss
Framework is launched.
id State Bundle
0 ACTIVE org.eclipse.osgi_3.3.0.200704022148
Fragments=10
1 ACTIVE org.eclipse.equinox.common_3.3.0.200704022148
2 ACTIVE org.eclipse.update.configurator_3.2.100.v20070322
3 ACTIVE
org.eclipse.equinox.http.servletbridge_1.0.0.200704022148
4 ACTIVE org.eclipse.equinox.http.registry_1.0.0.200704022148
8 ACTIVE org.eclipse.equinox.http.servlet_1.0.0.200704022148
9 ACTIVE org.eclipse.equinox.registry_3.3.0.v20070318
10 RESOLVED org.eclipse.equinox.servletbridge.extensionbundle_1.0.0
Master=0
11 RESOLVED org.eclipse.osgi.services_3.1.100.200704022148
osgi>
Then I start bundle id 11 :
osgi> start 11
osgi> ss
Framework is launched.
id State Bundle
0 ACTIVE org.eclipse.osgi_3.3.0.200704022148
Fragments=10
1 ACTIVE org.eclipse.equinox.common_3.3.0.200704022148
2 ACTIVE org.eclipse.update.configurator_3.2.100.v20070322
3 ACTIVE
org.eclipse.equinox.http.servletbridge_1.0.0.200704022148
4 ACTIVE org.eclipse.equinox.http.registry_1.0.0.200704022148
8 ACTIVE org.eclipse.equinox.http.servlet_1.0.0.200704022148
9 ACTIVE org.eclipse.equinox.registry_3.3.0.v20070318
10 RESOLVED org.eclipse.equinox.servletbridge.extensionbundle_1.0.0
Master=0
11 ACTIVE org.eclipse.osgi.services_3.1.100.200704022148
osgi>
But when I start bundle id 10 it throws exception:
osgi> start 10
org.osgi.framework.BundleException: A fragment bundle cannot be started:
update@plugins/org.eclipse.
equinox.servletbridge.extensionbundle_1.0.0.jar [10]
at
org.eclipse.osgi.framework.internal.core.BundleFragment.star tWorker(BundleFragment.java:2
24)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:260)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:252)
at
org.eclipse.osgi.framework.internal.core.FrameworkCommandPro vider._start(FrameworkCommand
Provider.java:260)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.FrameworkCommandInt erpreter.execute(FrameworkCom
mandInterpreter.java:145)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.do command(FrameworkConsole.java
:294)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.co nsole(FrameworkConsole.java:2
79)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.ru n(FrameworkConsole.java:214)
at java.lang.Thread.run(Unknown Source)
osgi>
I tried both Tomcat 5 & 6 with the same result.
What's wrong ?
Any help would be greatly appreciated.
Best Regards,
Setya
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05468 seconds