Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Problem during starting Bundle
Problem during starting Bundle [message #61339] Wed, 21 November 2007 07:38 Go to next message
Steffen Peil is currently offline Steffen PeilFriend
Messages: 6
Registered: July 2009
Junior Member
That's my new Problem ! Why i can't start the Bundle com.we4it.rap ?

org.osgi.framework.BundleException: The bundle could not be resolved.
Reason: Missing Constraint: Require-Bundle: org.eclipse.rap.ui;
bundle-version="0.0.0"

The Bundle is Installed but i can't start that !

Greetz

Her is the LOG-File:

ss
08:26:03,278 INFO [STDOUT] Framework is launched.
08:26:03,278 INFO [STDOUT] id
08:26:03,278 INFO [STDOUT]
08:26:03,293 INFO [STDOUT] State Bundle
08:26:03,293 INFO [STDOUT] 0 ACTIVE
system.bundle_3.2.2.R32x_v20070118
08:26:03,293 INFO [STDOUT] Fragments=
08:26:03,293 INFO [STDOUT] 28
08:26:03,293 INFO [STDOUT] 1 ACTIVE
org.eclipse.core.commands_3.2.0.I20060605-1400
08:26:03,293 INFO [STDOUT] 2 ACTIVE
org.eclipse.core.contenttype_3.2.0.v20060603
08:26:03,293 INFO [STDOUT] 3 ACTIVE
org.eclipse.core.jobs_3.2.0.v20060603
08:26:03,293 INFO [STDOUT] 4 ACTIVE
org.eclipse.core.runtime_3.2.0.v20060603
08:26:03,293 INFO [STDOUT] 5 ACTIVE
org.eclipse.equinox.common_3.2.0.v20060603
08:26:03,293 INFO [STDOUT] 6 ACTIVE
org.eclipse.equinox.http.registry_1.0.0.200705071244
08:26:03,293 INFO [STDOUT] 7 ACTIVE
org.eclipse.equinox.http.servletbridge_1.0.0.200705071244
08:26:03,293 INFO [STDOUT] 8 ACTIVE
org.eclipse.equinox.http.servlet_1.0.0.200705071244
08:26:03,293 INFO [STDOUT] 9 ACTIVE
org.eclipse.equinox.preferences_3.2.1.R32x_v20060717
08:26:03,293 INFO [STDOUT] 10 ACTIVE
org.eclipse.equinox.registry_3.2.1.R32x_v20060814
08:26:03,293 INFO [STDOUT] 11 ACTIVE
org.eclipse.osgi.services_3.1.100.v20060601
08:26:03,293 INFO [STDOUT] 13 ACTIVE
org.eclipse.rap.jface_1.0.0.200705071244
08:26:03,293 INFO [STDOUT] 14 ACTIVE
org.eclipse.rap.rwt_1.0.0.200705071244
08:26:03,293 INFO [STDOUT] 15 ACTIVE
org.eclipse.rap.ui.workbench_1.0.0.200705071244
08:26:03,293 INFO [STDOUT] 16 ACTIVE
org.eclipse.rap.w4t_1.0.0.200705071244
08:26:03,293 INFO [STDOUT] 17 ACTIVE
org.eclipse.update.configurator_3.2.2.R32x_v20070111
08:26:03,293 INFO [STDOUT] 28 RESOLVED
org.eclipse.equinox.servletbridge.extensionbundle_1.0.0
08:26:03,293 INFO [STDOUT] Master=0
08:26:03,293 INFO [STDOUT] 37 INSTALLED com.we4it.rap_1.0.1
08:26:03,293 INFO [STDOUT]
osgi>
start 37

08:26:16,840 INFO [STDOUT] org.osgi.framework.BundleException: The bundle
could not be resolved. Reason: Missing Constraint: Require-Bundle:
org.eclipse.rap.ui; bundle-version="0.0.0"
08:26:16,840 INFO [STDOUT] at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:294)
08:26:16,840 INFO [STDOUT] at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:256)
08:26:16,840 INFO [STDOUT] at
org.eclipse.osgi.framework.internal.core.FrameworkCommandPro vider._start(FrameworkCommandProvider.java:239)
08:26:16,840 INFO [STDOUT] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
08:26:16,840 INFO [STDOUT] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
08:26:16,840 INFO [STDOUT] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
08:26:16,840 INFO [STDOUT] at
java.lang.reflect.Method.invoke(Method.java:585)
08:26:16,840 INFO [STDOUT] at
org.eclipse.osgi.framework.internal.core.FrameworkCommandInt erpreter.execute(FrameworkCommandInterpreter.java:145)
08:26:16,840 INFO [STDOUT] at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.do command(FrameworkConsole.java:293)
08:26:16,840 INFO [STDOUT] at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.co nsole(FrameworkConsole.java:278)
08:26:16,840 INFO [STDOUT] at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.ru n(FrameworkConsole.java:213)
08:26:16,840 INFO [STDOUT] at java.lang.Thread.run(Thread.java:595)
08:26:16,840 INFO [STDOUT]
Re: Problem during starting Bundle [message #61365 is a reply to message #61339] Wed, 21 November 2007 07:47 Go to previous messageGo to next message
Valer Roman is currently offline Valer RomanFriend
Messages: 36
Registered: July 2009
Member
Steffen wrote:
> That's my new Problem ! Why i can't start the Bundle com.we4it.rap ?
>
> org.osgi.framework.BundleException: The bundle could not be resolved.
> Reason: Missing Constraint: Require-Bundle: org.eclipse.rap.ui;
> bundle-version="0.0.0"
>
> The Bundle is Installed but i can't start that !
>
> Greetz
>
> Her is the LOG-File:
>
> ss
> 08:26:03,278 INFO [STDOUT] Framework is launched.
> 08:26:03,278 INFO [STDOUT] id
> 08:26:03,278 INFO [STDOUT]
> 08:26:03,293 INFO [STDOUT] State Bundle
> 08:26:03,293 INFO [STDOUT] 0 ACTIVE
> system.bundle_3.2.2.R32x_v20070118
> 08:26:03,293 INFO [STDOUT] Fragments=
> 08:26:03,293 INFO [STDOUT] 28
> 08:26:03,293 INFO [STDOUT] 1 ACTIVE
> org.eclipse.core.commands_3.2.0.I20060605-1400
> 08:26:03,293 INFO [STDOUT] 2 ACTIVE
> org.eclipse.core.contenttype_3.2.0.v20060603
> 08:26:03,293 INFO [STDOUT] 3 ACTIVE
> org.eclipse.core.jobs_3.2.0.v20060603
> 08:26:03,293 INFO [STDOUT] 4 ACTIVE
> org.eclipse.core.runtime_3.2.0.v20060603
> 08:26:03,293 INFO [STDOUT] 5 ACTIVE
> org.eclipse.equinox.common_3.2.0.v20060603
> 08:26:03,293 INFO [STDOUT] 6 ACTIVE
> org.eclipse.equinox.http.registry_1.0.0.200705071244
> 08:26:03,293 INFO [STDOUT] 7 ACTIVE
> org.eclipse.equinox.http.servletbridge_1.0.0.200705071244
> 08:26:03,293 INFO [STDOUT] 8 ACTIVE
> org.eclipse.equinox.http.servlet_1.0.0.200705071244
> 08:26:03,293 INFO [STDOUT] 9 ACTIVE
> org.eclipse.equinox.preferences_3.2.1.R32x_v20060717
> 08:26:03,293 INFO [STDOUT] 10 ACTIVE
> org.eclipse.equinox.registry_3.2.1.R32x_v20060814
> 08:26:03,293 INFO [STDOUT] 11 ACTIVE
> org.eclipse.osgi.services_3.1.100.v20060601
> 08:26:03,293 INFO [STDOUT] 13 ACTIVE
> org.eclipse.rap.jface_1.0.0.200705071244
> 08:26:03,293 INFO [STDOUT] 14 ACTIVE
> org.eclipse.rap.rwt_1.0.0.200705071244
> 08:26:03,293 INFO [STDOUT] 15 ACTIVE
> org.eclipse.rap.ui.workbench_1.0.0.200705071244
> 08:26:03,293 INFO [STDOUT] 16 ACTIVE
> org.eclipse.rap.w4t_1.0.0.200705071244
> 08:26:03,293 INFO [STDOUT] 17 ACTIVE
> org.eclipse.update.configurator_3.2.2.R32x_v20070111
> 08:26:03,293 INFO [STDOUT] 28 RESOLVED
> org.eclipse.equinox.servletbridge.extensionbundle_1.0.0
> 08:26:03,293 INFO [STDOUT] Master=0
> 08:26:03,293 INFO [STDOUT] 37 INSTALLED com.we4it.rap_1.0.1
> 08:26:03,293 INFO [STDOUT] osgi> start 37
>
> 08:26:16,840 INFO [STDOUT] org.osgi.framework.BundleException: The
> bundle could not be resolved. Reason: Missing Constraint:
> Require-Bundle: org.eclipse.rap.ui; bundle-version="0.0.0"
> 08:26:16,840 INFO [STDOUT] at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:294)
>
> 08:26:16,840 INFO [STDOUT] at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:256)
>
> 08:26:16,840 INFO [STDOUT] at
> org.eclipse.osgi.framework.internal.core.FrameworkCommandPro vider._start(FrameworkCommandProvider.java:239)
>
> 08:26:16,840 INFO [STDOUT] at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 08:26:16,840 INFO [STDOUT] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> 08:26:16,840 INFO [STDOUT] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> 08:26:16,840 INFO [STDOUT] at
> java.lang.reflect.Method.invoke(Method.java:585)
> 08:26:16,840 INFO [STDOUT] at
> org.eclipse.osgi.framework.internal.core.FrameworkCommandInt erpreter.execute(FrameworkCommandInterpreter.java:145)
>
> 08:26:16,840 INFO [STDOUT] at
> org.eclipse.osgi.framework.internal.core.FrameworkConsole.do command(FrameworkConsole.java:293)
>
> 08:26:16,840 INFO [STDOUT] at
> org.eclipse.osgi.framework.internal.core.FrameworkConsole.co nsole(FrameworkConsole.java:278)
>
> 08:26:16,840 INFO [STDOUT] at
> org.eclipse.osgi.framework.internal.core.FrameworkConsole.ru n(FrameworkConsole.java:213)
>
> 08:26:16,840 INFO [STDOUT] at java.lang.Thread.run(Thread.java:595)
> 08:26:16,840 INFO [STDOUT]

Hi

In your active bundles I can not see org.eclipse.rap.ui bundle, I can
only see org.eclipse.rap.ui.workbench. I think u will bve fine adding
org.eclipse.rap.ui bundle.

Regards,
Val
Re: Problem during starting Bundle [message #61389 is a reply to message #61365] Wed, 21 November 2007 08:20 Go to previous messageGo to next message
Steffen Peil is currently offline Steffen PeilFriend
Messages: 6
Registered: July 2009
Junior Member
Thank's for that. Now the Bundle ist ACTIVE, but why i can't start that on

http://localhost:8080/we4it/start

The deployed WAR File called "we4it.war" and com.we4it.rap_1.0.1 have an
EntryPoint called "start". Any Idea?

Greetz


HTTP Status 404 - ProxyServlet: /we4it/start
------------------------------------------------------------ --------------------
type Status report
message ProxyServlet: /rapdemo/start
description The requested resource (ProxyServlet: /rapdemo/start) is not
available.
------------------------------------------------------------ --------------------
Apache Tomcat/5.5.20

LOG:

osgi>
ss
09:06:52,309 INFO [STDOUT] Framework is launched.
09:06:52,309 INFO [STDOUT] id
09:06:52,309 INFO [STDOUT]
09:06:52,309 INFO [STDOUT] State Bundle
09:06:52,309 INFO [STDOUT] 0 ACTIVE
system.bundle_3.2.2.R32x_v20070118
09:06:52,309 INFO [STDOUT] Fragments=
09:06:52,309 INFO [STDOUT] 28
09:06:52,309 INFO [STDOUT] 1 ACTIVE
org.eclipse.core.commands_3.2.0.I20060605-1400
09:06:52,309 INFO [STDOUT] 2 ACTIVE
org.eclipse.core.contenttype_3.2.0.v20060603
09:06:52,309 INFO [STDOUT] 3 ACTIVE
org.eclipse.core.jobs_3.2.0.v20060603
09:06:52,309 INFO [STDOUT] 4 ACTIVE
org.eclipse.core.runtime_3.2.0.v20060603
09:06:52,309 INFO [STDOUT] 5 ACTIVE
org.eclipse.equinox.common_3.2.0.v20060603
09:06:52,309 INFO [STDOUT] 6 ACTIVE
org.eclipse.equinox.http.registry_1.0.0.200705071244
09:06:52,309 INFO [STDOUT] 7 ACTIVE
org.eclipse.equinox.http.servletbridge_1.0.0.200705071244
09:06:52,309 INFO [STDOUT] 8 ACTIVE
org.eclipse.equinox.http.servlet_1.0.0.200705071244
09:06:52,309 INFO [STDOUT] 9 ACTIVE
org.eclipse.equinox.preferences_3.2.1.R32x_v20060717
09:06:52,309 INFO [STDOUT] 10 ACTIVE
org.eclipse.equinox.registry_3.2.1.R32x_v20060814
09:06:52,309 INFO [STDOUT] 11 ACTIVE
org.eclipse.osgi.services_3.1.100.v20060601
09:06:52,309 INFO [STDOUT] 13 ACTIVE
org.eclipse.rap.jface_1.0.0.200705071244
09:06:52,309 INFO [STDOUT] 14 ACTIVE
org.eclipse.rap.rwt_1.0.0.200705071244
09:06:52,309 INFO [STDOUT] 15 ACTIVE
org.eclipse.rap.ui.workbench_1.0.0.200705071244
09:06:52,309 INFO [STDOUT] 16 ACTIVE
org.eclipse.rap.w4t_1.0.0.200705071244
09:06:52,309 INFO [STDOUT] 17 ACTIVE
org.eclipse.update.configurator_3.2.2.R32x_v20070111
09:06:52,309 INFO [STDOUT] 28 INSTALLED
org.eclipse.equinox.servletbridge.extensionbundle_1.0.0
09:06:52,309 INFO [STDOUT] 37 ACTIVE com.we4it.rap_1.0.1
09:06:52,309 INFO [STDOUT] 73 ACTIVE
org.eclipse.rap.ui_1.0.0.20071010-2241
09:06:52,309 INFO [STDOUT] 78 ACTIVE
org.eclipse.core.expressions_3.3.0.v20070606-0010
09:06:52,309 INFO [STDOUT]
osgi>
Re: Problem during starting Bundle [message #61413 is a reply to message #61389] Wed, 21 November 2007 08:38 Go to previous messageGo to next message
Valer Roman is currently offline Valer RomanFriend
Messages: 36
Registered: July 2009
Member
Try with http://localhost:8080/we4it/rap?startup=start

Steffen wrote:
> Thank's for that. Now the Bundle ist ACTIVE, but why i can't start that on
>
> http://localhost:8080/we4it/start
>
> The deployed WAR File called "we4it.war" and com.we4it.rap_1.0.1 have an
> EntryPoint called "start". Any Idea?
>
> Greetz
>
>
> HTTP Status 404 - ProxyServlet: /we4it/start
> ------------------------------------------------------------ --------------------
>
> type Status report
> message ProxyServlet: /rapdemo/start
> description The requested resource (ProxyServlet: /rapdemo/start) is not
> available.
> ------------------------------------------------------------ --------------------
>
> Apache Tomcat/5.5.20
>
> LOG:
>
> osgi> ss
> 09:06:52,309 INFO [STDOUT] Framework is launched.
> 09:06:52,309 INFO [STDOUT] id
> 09:06:52,309 INFO [STDOUT]
> 09:06:52,309 INFO [STDOUT] State Bundle
> 09:06:52,309 INFO [STDOUT] 0 ACTIVE
> system.bundle_3.2.2.R32x_v20070118
> 09:06:52,309 INFO [STDOUT] Fragments=
> 09:06:52,309 INFO [STDOUT] 28
> 09:06:52,309 INFO [STDOUT] 1 ACTIVE
> org.eclipse.core.commands_3.2.0.I20060605-1400
> 09:06:52,309 INFO [STDOUT] 2 ACTIVE
> org.eclipse.core.contenttype_3.2.0.v20060603
> 09:06:52,309 INFO [STDOUT] 3 ACTIVE
> org.eclipse.core.jobs_3.2.0.v20060603
> 09:06:52,309 INFO [STDOUT] 4 ACTIVE
> org.eclipse.core.runtime_3.2.0.v20060603
> 09:06:52,309 INFO [STDOUT] 5 ACTIVE
> org.eclipse.equinox.common_3.2.0.v20060603
> 09:06:52,309 INFO [STDOUT] 6 ACTIVE
> org.eclipse.equinox.http.registry_1.0.0.200705071244
> 09:06:52,309 INFO [STDOUT] 7 ACTIVE
> org.eclipse.equinox.http.servletbridge_1.0.0.200705071244
> 09:06:52,309 INFO [STDOUT] 8 ACTIVE
> org.eclipse.equinox.http.servlet_1.0.0.200705071244
> 09:06:52,309 INFO [STDOUT] 9 ACTIVE
> org.eclipse.equinox.preferences_3.2.1.R32x_v20060717
> 09:06:52,309 INFO [STDOUT] 10 ACTIVE
> org.eclipse.equinox.registry_3.2.1.R32x_v20060814
> 09:06:52,309 INFO [STDOUT] 11 ACTIVE
> org.eclipse.osgi.services_3.1.100.v20060601
> 09:06:52,309 INFO [STDOUT] 13 ACTIVE
> org.eclipse.rap.jface_1.0.0.200705071244
> 09:06:52,309 INFO [STDOUT] 14 ACTIVE
> org.eclipse.rap.rwt_1.0.0.200705071244
> 09:06:52,309 INFO [STDOUT] 15 ACTIVE
> org.eclipse.rap.ui.workbench_1.0.0.200705071244
> 09:06:52,309 INFO [STDOUT] 16 ACTIVE
> org.eclipse.rap.w4t_1.0.0.200705071244
> 09:06:52,309 INFO [STDOUT] 17 ACTIVE
> org.eclipse.update.configurator_3.2.2.R32x_v20070111
> 09:06:52,309 INFO [STDOUT] 28 INSTALLED
> org.eclipse.equinox.servletbridge.extensionbundle_1.0.0
> 09:06:52,309 INFO [STDOUT] 37 ACTIVE com.we4it.rap_1.0.1
> 09:06:52,309 INFO [STDOUT] 73 ACTIVE
> org.eclipse.rap.ui_1.0.0.20071010-2241
> 09:06:52,309 INFO [STDOUT] 78 ACTIVE
> org.eclipse.core.expressions_3.3.0.v20070606-0010
> 09:06:52,309 INFO [STDOUT] osgi>
Re: Problem during starting Bundle [message #61437 is a reply to message #61413] Wed, 21 November 2007 08:41 Go to previous message
Steffen Peil is currently offline Steffen PeilFriend
Messages: 6
Registered: July 2009
Junior Member
Thank's a lot. Now my RAP own Project work's fine!

Greetz
Previous Topic:getColumnImage
Next Topic:How to download file from RAP
Goto Forum:
  


Current Time: Wed Jul 03 03:50:45 GMT 2024

Powered by FUDForum. Page generated in 0.06750 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top