[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [rap-dev] RAP demo application problem
|
Hi Murali,
Please use the newsgroup for these kind of questions in the future (the
mailing list is meant for technical discussions) ...
Regarding your problem: It might be a corrupt jar file. Could you try to
download the target platform once again and replace it?
Maybe you want to use the latest I-Build:
RAP 1.0 I-20070921 for Eclipse 3.2
http://www.eclipse.org/downloads/download.php?file=/technology/rap/rap-1
.0-I-incubation-target-3.2-20070921-1419.zip
or
RAP 1.0 I-20070921 for Eclipse 3.3
http://www.eclipse.org/downloads/download.php?file=/technology/rap/rap-1
.0-I-incubation-target-3.3-20070921-1419.zip
Jochen
-----Original Message-----
From: rap-dev-bounces@xxxxxxxxxxx [mailto:rap-dev-bounces@xxxxxxxxxxx]
On Behalf Of murali krishna
Sent: Tuesday, September 25, 2007 1:53 PM
To: RAP project development-related communication
Cc: jo.hiller@xxxxxxxxxxxxxx
Subject: 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.startActivato
r(BundleContextImpl.java:1018)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleC
ontextImpl.java:974)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHo
st.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBu
ndle.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.exe
cute (FrameworkCommandInterpreter.java:145)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(Fram
eworkConsole.java:291)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(
FrameworkConsole.java :276)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkC
onsole.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(BundleC
ontextImpl.java:999)
at java.security.AccessController.doPrivileged (Native
Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivato
r(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(BundleC
ontextImpl.java:999)
at java.security.AccessController.doPrivileged (Native
Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivato
r(BundleContextImpl.java:993)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleC
ontextImpl.java :974)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHo
st.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBu
ndle.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.exe
cute (FrameworkCommandInterpreter.java:145)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(Fram
eworkConsole.java:291)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(
FrameworkConsole.java :276)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkC
onsole.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(BundleC
ontextImpl.java:999)
at java.security.AccessController.doPrivileged (Native
Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivato
r(BundleContextImpl.java:993)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleC
ontextImpl.java :974)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHo
st.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBu
ndle.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.exe
cute (FrameworkCommandInterpreter.java:145)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(Fram
eworkConsole.java:291)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(
FrameworkConsole.java :276)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkC
onsole.java:218)
at java.lang.Thread.run(Unknown Source)
osgi>
"
By the way, what is the problem in it. A series of exceptions
were thrown and the jetty bundle remained 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.
Regards,
Murali krishna
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
On 9/21/07, murali krishna <murakris@xxxxxxxxx > wrote:
Hi,
I tried to run the demo application of
rap-1.0-M6-incubation-target-3.3-20070817-1525.zip
<http://www.eclipse.org/downloads/download.php?file=/technology/rap/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
<http://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
<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
<https://dev.eclipse.org/mailman/listinfo/rap-dev>
_______________________________________________
rap-dev mailing list
rap-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/rap-dev
<https://dev.eclipse.org/mailman/listinfo/rap-dev>