[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [rap-dev] RAP demo application problem
|
Hi
When i tried to manually start the bundle , osgi runtime threw a nested exception as shown:
osgi> ss
Framework is launched.
id State Bundle
0 ACTIVE org.eclipse.osgi_3.3.0.v20070530
1 ACTIVE org.eclipse.equinox.http.registry_1.0.0.20070921-1419
2 ACTIVE org.eclipse.rap.jface.databinding_1.0.0.20070921-1419
3 ACTIVE org.eclipse.rap.demo_1.0.0.20070921-1419
4 ACTIVE
org.eclipse.rap.ui_1.0.0.20070921-1419
5 ACTIVE org.eclipse.core.jobs_3.3.0.v20070423
6 ACTIVE org.eclipse.equinox.preferences_3.2.100.v20070522
7 ACTIVE org.eclipse.core.expressions_3.3.0.v20070531-1300
8 ACTIVE org.eclipse.rap.core.databinding_1.0.0.20070921-1419
9 ACTIVE org.eclipse.equinox.app_1.0.0.v20070423
10 ACTIVE org.eclipse.equinox.common_3.3.0.v20070426
11 ACTIVE org.eclipse.core.commands_3.3.0.I20070523-1500
12 ACTIVE org.eclipse.rap.rwt_1.0.0.20070921-1419
13 ACTIVE org.eclipse.osgi.services_3.1.200.v20070531
14 ACTIVE org.eclipse.equinox.registry_3.3.0.v20070522
15 ACTIVE org.eclipse.equinox.http.servlet_1.0.100.20070921-1419
16 ACTIVE org.eclipse.rap.jface_1.0.0.20070921-1419
17 ACTIVE org.mortbay.jetty_5.1.11.20070921-1419
18 RESOLVED org.eclipse.equinox.http.jetty_1.0.100.20070921-1419
19 ACTIVE org.eclipse.core.runtime_3.3.100.v20070530
20 ACTIVE org.eclipse.rap.ui.workbench_1.0.0.20070921-1419
21 ACTIVE javax.servlet_2.4.0.20070921-1419
22 ACTIVE org.eclipse.core.contenttype_3.2.100.v20070319
23 ACTIVE org.eclipse.rap.core.databinding.beans_1.0.0.20070921-1419
24 ACTIVE org.apache.commons.logging_1.0.4.20070921-1419
osgi> start 18
org.osgi.framework.BundleException: Exception in org.eclipse.equinox.http.jetty.internal.Activator.start() of bundle org.eclipse.equinox.http.jetty
.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1018)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start
(AbstractBundle.java:252)
at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.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.FrameworkCommandInterpreter.execute
(FrameworkCommandInterpreter.java:145)
at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:291)
at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java
:276)
at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:218)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError
at org.eclipse.equinox.http.jetty.internal.HttpServerManager.updated
(Unknown Source)
at org.eclipse.equinox.http.jetty.internal.Activator.start(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
at java.security.AccessController.doPrivileged
(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
... 14 more
Nested Exception:
java.lang.NoClassDefFoundError
at org.eclipse.equinox.http.jetty.internal.HttpServerManager.updated
(Unknown Source)
at org.eclipse.equinox.http.jetty.internal.Activator.start(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
at java.security.AccessController.doPrivileged
(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java
:974)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start
(AbstractBundle.java:252)
at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.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.FrameworkCommandInterpreter.execute
(FrameworkCommandInterpreter.java:145)
at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:291)
at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java
:276)
at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:218)
at java.lang.Thread.run(Unknown Source)
Nested Exception:
java.lang.NoClassDefFoundError
at org.eclipse.equinox.http.jetty.internal.HttpServerManager.updated
(Unknown Source)
at org.eclipse.equinox.http.jetty.internal.Activator.start(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
at java.security.AccessController.doPrivileged
(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java
:974)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start
(AbstractBundle.java:252)
at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.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.FrameworkCommandInterpreter.execute
(FrameworkCommandInterpreter.java:145)
at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:291)
at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java
:276)
at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:218)
at java.lang.Thread.run(Unknown Source)
osgi>
"
by the way, what is the problem in
it.Even if try it manually, it does not work....it still remains in resolved state.
I tried the RAPExamples example and it worked.But it looked a lot more older version than the present one.Did u face a similar scenario.
Do help me in this regard.
On 9/24/07, Jochen Hiller <jo.hiller@xxxxxxxxxxxxxx> wrote:
Hi,
within OSGi startup, it may happen, that initialization goes wrong, and bundle will end in "RESOLVED" but not started state. And the originating exception will be suppressed.
Try to start bundle 24 manually
osgi> start 24
and you will probably see the raising exception, as starting from console will not suppress any throwables (probably port in use, ...).
Sometimes most easy way to understand startup problems.
Bye, Jochen
Hi,
I tried to run the demo application of
rap-1.0-M6-incubation-target-3.3-20070817-1525.zip build and followed all the steps needed to run it.
When I run the Rich Ajax Demo launch configuration sample, the osgi runtime launches successfully and when I tried to browse for the URL,
I cannot establish the desired connection.
I donot get the message " INFO: Started SocketListener on
0.0.0.0:<9090>" neither throws up an error message.
The ss command displays the following :
osgi> ss
Framework is launched.
id State Bundle
0 ACTIVE org.eclipse.osgi_3.3.0.v20070530
1 ACTIVE org.eclipse.rap.ui.workbench_1.0.0.20070817-1525
2 ACTIVE org.eclipse.rap.jface_1.0.0.20070817-1525
3 ACTIVE org.eclipse.core.jobs_3.3.0.v20070423
4 ACTIVE org.eclipse.equinox.http.servlet_1.0.0.20070817-1525
5 ACTIVE javax.servlet_2.4.0.20070817-1525
6 ACTIVE org.eclipse.equinox.registry_3.3.0.v20070522
7 ACTIVE org.eclipse.equinox.preferences_3.2.100.v20070522
8 ACTIVE org.eclipse.equinox.app_1.0.0.v20070423
9 ACTIVE org.eclipse.core.runtime_3.3.100.v20070530
10 ACTIVE org.eclipse.rap.demo.databinding_1.0.0.20070817-1525
11 ACTIVE org.eclipse.osgi.services_3.1.200.v20070531
12 ACTIVE org.eclipse.equinox.common_3.3.0.v20070426
13 ACTIVE org.eclipse.rap.jface.databinding_1.0.0.20070817-1525
14 ACTIVE org.eclipse.core.contenttype_3.2.100.v20070319
15 ACTIVE org.eclipse.rap.rwt_1.0.0.20070817-1525
16 ACTIVE org.apache.commons.logging_1.0.4.20070817-1525
17 ACTIVE org.eclipse.core.commands_3.3.0.I20070523-1500
18 ACTIVE org.eclipse.core.expressions_3.3.0.v20070531-1300
19 ACTIVE org.eclipse.equinox.http.registry_1.0.0.20070817-1525
20 ACTIVE org.eclipse.rap.core.databinding.beans_1.0.0.20070817-1525
21 ACTIVE org.eclipse.rap.ui_1.0.0.20070817-1525
22 ACTIVE org.mortbay.jetty_5.1.11.20070817-1525
23 ACTIVE org.eclipse.rap.core.databinding_1.0.0.20070817-1525
24 RESOLVED org.eclipse.equinox.http.jetty_1.0.0.20070817-1525
25 ACTIVE org.eclipse.rap.demo_1.0.0.20070817-1525
osgi>
Why is the jetty bundle in resolved state?
Is that causing the problem.
Do please tell me how to run the demo application.Will look forward for some direction to this.
Regards,
Murali Krishna G
--------------------------------------------------------------------------------
Telelogic Lifecycle Solutions:
Helping You Define, Design & Deliver Advanced Systems & Software
Learn More at
www.telelogic.com
Murali Krishna
Senior Software Engineer
Telelogic India Pvt Ltd
#58, 1- 4 HM Towers,
Brigade Road,
560 025 Bangalore
India
Phone: +91 (80) 419 95800 x106
Fax:
Mobile phone:
Murali.Krishna@xxxxxxxxxxxxx
http://www.telelogic.com
Telelogic - Requirements-Driven Innovation!
-------------------------------------------------------------
The information contained in this e-mail, including any attachment or enclosure, is intended only for the person or entity to which it is addressed and may contain confidential material. Any unauthorized use, review, retransmissions, dissemination, copying or other use of this information by persons or entities other than the intended recipient is prohibited.
_______________________________________________
rap-dev mailing list
rap-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/rap-dev
_______________________________________________
rap-dev mailing list
rap-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/rap-dev