Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Bundle not starting automatically
Bundle not starting automatically [message #90291] Tue, 27 May 2008 10:06 Go to next message
Eclipse UserFriend
Originally posted by: mike.xmos.com

Hi,

I've run into a problem deploying my RAP application - when I run "ss"
from the console I'm getting the following:

Framework is launched.

id State Bundle
0 ACTIVE org.eclipse.osgi_3.4.0.v20080427-0830
1 ACTIVE org.eclipse.equinox.common_3.4.0.v20080421-2006
2 ACTIVE org.eclipse.update.configurator_3.2.200.v20080417
3 ACTIVE org.eclipse.rap.ui_1.1.0.20080520-1049
4 ACTIVE org.eclipse.equinox.http.jetty_1.1.0.v20080425
5 ACTIVE org.eclipse.equinox.app_1.1.0.v20080421-2006
6 RESOLVED org.apache.commons.logging_1.0.4.v200803061811
8 RESOLVED org.mortbay.jetty_5.1.14.v200804221617
9 <<LAZY>> com.ibm.icu_3.8.1.v20080402
10 <<LAZY>> org.eclipse.rap.ui.views_1.1.0.20080520-1049
11 ACTIVE org.eclipse.core.jobs_3.4.0.v20080310
12 RESOLVED javax.servlet_2.4.0.v200803061910
13 RESOLVED org.eclipse.equinox.http.registry_1.0.100.v20080427-0830
14 ACTIVE org.eclipse.equinox.http.servlet_1.0.100.v20080427-0830
16 RESOLVED org.eclipse.rap.jface.databinding_1.1.0.20080520-1049
18 RESOLVED org.eclipse.core.commands_3.4.0.v20080408-0800
19 RESOLVED com.xmos.ide_1.0.0
20 RESOLVED org.eclipse.equinox.launcher_1.0.100.v20080509-1800
Fragments=31
21 RESOLVED org.eclipse.rap.rwt.q07_1.1.0.20080520-1049
Master=26
22 <<LAZY>> org.eclipse.core.contenttype_3.3.0.v20080414
23 ACTIVE org.eclipse.core.runtime_3.4.0.v20080421-1805
24 <<LAZY>> org.eclipse.core.databinding_1.1.0.I20080425-1551
25 <<LAZY>> org.eclipse.core.expressions_3.4.0.v20080430-0100
26 RESOLVED org.eclipse.rap.rwt_1.1.0.20080520-1049
Fragments=21
27 ACTIVE org.eclipse.equinox.registry_3.4.0.v20080421-2006
28 RESOLVED com.xmos.ide.utils_1.0.0
29 ACTIVE org.eclipse.rap.jface_1.1.0.20080520-1049
31 RESOLVED
org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.100.v20080 509-1800
Master=20
32 RESOLVED com.xmos.ide.simulator_widget_1.1.0.200805271452
33 ACTIVE org.eclipse.rap.ui.workbench_1.1.0.20080520-1049
35 RESOLVED org.eclipse.osgi.services_3.1.200.v20071203
36 ACTIVE


Then I'm having to run "start 13" (org.eclipse.equinox.http.registry
bundle) before the server actually begins. After that it seems to run
fine but it's not starting automatically. Any ideas? My config.ini file is:

#bundles to start
osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start,org.eclipse.rap.ui@4:start,org.eclipse.equinox.http.jetty@4:start
# options for the equinox launcher
# do not run an eclipse application
eclipse.ignoreApp=true
# don't shutdown osgi after exiting (or not running) the application
osgi.noShutdown=true
# incoming port for the server
org.osgi.service.http.port=7070


And my plugins directory contains:
com.ibm.icu_3.8.1.v20080402.jar
com.xmos.ide_1.0.0.jar
com.xmos.ide.simulator_widget_1.1.0.200805271452.jar
com.xmos.ide.utils_1.0.0.jar
javax.servlet_2.4.0.v200803061910.jar
org.apache.commons.logging_1.0.4.v200803061811.jar
org.eclipse.core.commands_3.4.0.v20080408-0800.jar
org.eclipse.core.contenttype_3.3.0.v20080414.jar
org.eclipse.core.databinding_1.1.0.I20080425-1551.jar
org.eclipse.core.expressions_3.4.0.v20080430-0100.jar
org.eclipse.core.jobs_3.4.0.v20080310.jar
org.eclipse.core.runtime_3.4.0.v20080421-1805.jar
org.eclipse.equinox.app_1.1.0.v20080421-2006.jar
org.eclipse.equinox.common_3.4.0.v20080421-2006.jar
org.eclipse.equinox.http.jetty_1.1.0.v20080425.jar
org.eclipse.equinox.http.registry_1.0.100.v20080427-0830.jar
org.eclipse.equinox.http.servlet_1.0.100.v20080427-0830.jar
org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.100.v20080 509-1800
org.eclipse.equinox.preferences_3.2.200.v20080421-2006.jar
org.eclipse.equinox.registry_3.4.0.v20080421-2006.jar
org.eclipse.osgi_3.4.0.v20080427-0830.jar
org.eclipse.osgi.services_3.1.200.v20071203.jar
org.eclipse.rap.jface_1.1.0.20080520-1049.jar
org.eclipse.rap.jface.databinding_1.1.0.20080520-1049.jar
org.eclipse.rap.rwt_1.1.0.20080520-1049.jar
org.eclipse.rap.rwt.q07_1.1.0.20080520-1049
org.eclipse.rap.ui_1.1.0.20080520-1049.jar
org.eclipse.rap.ui.views_1.1.0.20080520-1049.jar
org.eclipse.rap.ui.workbench_1.1.0.20080520-1049.jar
org.eclipse.update.configurator_3.2.200.v20080417.jar
org.mortbay.jetty_5.1.14.v200804221617.jar


Any ideas?
Thanks,
Mike
Re: Bundle not starting automatically [message #90593 is a reply to message #90291] Wed, 28 May 2008 18:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Hi Mike,

puh, these are the most difficult ones. To possibly get more
details, did run with -consolelog?
Just to be clear about this, I assume you are running an Equinox
server, not a WAR deployment.

Mike Wrighton wrote:
> Hi,
>
> I've run into a problem deploying my RAP application - when I run "ss"
> from the console I'm getting the following:
>
> Framework is launched.
>
> id State Bundle
> 0 ACTIVE org.eclipse.osgi_3.4.0.v20080427-0830
> 1 ACTIVE org.eclipse.equinox.common_3.4.0.v20080421-2006
> 2 ACTIVE org.eclipse.update.configurator_3.2.200.v20080417
> 3 ACTIVE org.eclipse.rap.ui_1.1.0.20080520-1049
> 4 ACTIVE org.eclipse.equinox.http.jetty_1.1.0.v20080425
> 5 ACTIVE org.eclipse.equinox.app_1.1.0.v20080421-2006
> 6 RESOLVED org.apache.commons.logging_1.0.4.v200803061811
> 8 RESOLVED org.mortbay.jetty_5.1.14.v200804221617
> 9 <<LAZY>> com.ibm.icu_3.8.1.v20080402
> 10 <<LAZY>> org.eclipse.rap.ui.views_1.1.0.20080520-1049
> 11 ACTIVE org.eclipse.core.jobs_3.4.0.v20080310
> 12 RESOLVED javax.servlet_2.4.0.v200803061910
> 13 RESOLVED
> org.eclipse.equinox.http.registry_1.0.100.v20080427-0830
> 14 ACTIVE org.eclipse.equinox.http.servlet_1.0.100.v20080427-0830
> 16 RESOLVED org.eclipse.rap.jface.databinding_1.1.0.20080520-1049
> 18 RESOLVED org.eclipse.core.commands_3.4.0.v20080408-0800
> 19 RESOLVED com.xmos.ide_1.0.0
> 20 RESOLVED org.eclipse.equinox.launcher_1.0.100.v20080509-1800
> Fragments=31
> 21 RESOLVED org.eclipse.rap.rwt.q07_1.1.0.20080520-1049
> Master=26
> 22 <<LAZY>> org.eclipse.core.contenttype_3.3.0.v20080414
> 23 ACTIVE org.eclipse.core.runtime_3.4.0.v20080421-1805
> 24 <<LAZY>> org.eclipse.core.databinding_1.1.0.I20080425-1551
> 25 <<LAZY>> org.eclipse.core.expressions_3.4.0.v20080430-0100
> 26 RESOLVED org.eclipse.rap.rwt_1.1.0.20080520-1049
> Fragments=21
> 27 ACTIVE org.eclipse.equinox.registry_3.4.0.v20080421-2006
> 28 RESOLVED com.xmos.ide.utils_1.0.0
> 29 ACTIVE org.eclipse.rap.jface_1.1.0.20080520-1049
> 31 RESOLVED
> org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.100.v20080 509-1800
> Master=20
> 32 RESOLVED com.xmos.ide.simulator_widget_1.1.0.200805271452
> 33 ACTIVE org.eclipse.rap.ui.workbench_1.1.0.20080520-1049
> 35 RESOLVED org.eclipse.osgi.services_3.1.200.v20071203
> 36 ACTIVE
>
>
> Then I'm having to run "start 13" (org.eclipse.equinox.http.registry
> bundle) before the server actually begins. After that it seems to run
> fine but it's not starting automatically. Any ideas? My config.ini file is:
>
> #bundles to start
> osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start,org.eclipse.rap.ui@4:start,org.eclipse.equinox.http.jetty@4:start
>
> # options for the equinox launcher
> # do not run an eclipse application
> eclipse.ignoreApp=true
> # don't shutdown osgi after exiting (or not running) the application
> osgi.noShutdown=true
> # incoming port for the server
> org.osgi.service.http.port=7070
>
>
> And my plugins directory contains:
> com.ibm.icu_3.8.1.v20080402.jar
> com.xmos.ide_1.0.0.jar
> com.xmos.ide.simulator_widget_1.1.0.200805271452.jar
> com.xmos.ide.utils_1.0.0.jar
> javax.servlet_2.4.0.v200803061910.jar
> org.apache.commons.logging_1.0.4.v200803061811.jar
> org.eclipse.core.commands_3.4.0.v20080408-0800.jar
> org.eclipse.core.contenttype_3.3.0.v20080414.jar
> org.eclipse.core.databinding_1.1.0.I20080425-1551.jar
> org.eclipse.core.expressions_3.4.0.v20080430-0100.jar
> org.eclipse.core.jobs_3.4.0.v20080310.jar
> org.eclipse.core.runtime_3.4.0.v20080421-1805.jar
> org.eclipse.equinox.app_1.1.0.v20080421-2006.jar
> org.eclipse.equinox.common_3.4.0.v20080421-2006.jar
> org.eclipse.equinox.http.jetty_1.1.0.v20080425.jar
> org.eclipse.equinox.http.registry_1.0.100.v20080427-0830.jar
> org.eclipse.equinox.http.servlet_1.0.100.v20080427-0830.jar
> org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
> org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.100.v20080 509-1800
> org.eclipse.equinox.preferences_3.2.200.v20080421-2006.jar
> org.eclipse.equinox.registry_3.4.0.v20080421-2006.jar
> org.eclipse.osgi_3.4.0.v20080427-0830.jar
> org.eclipse.osgi.services_3.1.200.v20071203.jar
> org.eclipse.rap.jface_1.1.0.20080520-1049.jar
> org.eclipse.rap.jface.databinding_1.1.0.20080520-1049.jar
> org.eclipse.rap.rwt_1.1.0.20080520-1049.jar
> org.eclipse.rap.rwt.q07_1.1.0.20080520-1049
> org.eclipse.rap.ui_1.1.0.20080520-1049.jar
> org.eclipse.rap.ui.views_1.1.0.20080520-1049.jar
> org.eclipse.rap.ui.workbench_1.1.0.20080520-1049.jar
> org.eclipse.update.configurator_3.2.200.v20080417.jar
> org.mortbay.jetty_5.1.14.v200804221617.jar
>
>
> Any ideas?
> Thanks,
> Mike
>
Re: Bundle not starting automatically [message #90716 is a reply to message #90593] Thu, 29 May 2008 05:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mike.xmos.com

I've just run with consoleLog but didn't get anything extra:

$ ./eclipse -console -consoleLog

osgi> May 29, 2008 10:00:19 AM org.mortbay.http.HttpServer doStart
INFO: Version Jetty/5.1.x
May 29, 2008 10:00:19 AM org.mortbay.util.Container start
INFO: Started
org.eclipse.equinox.http.jetty.internal.Servlet25Handler@7e9ffe3f
May 29, 2008 10:00:19 AM org.mortbay.util.Container start
INFO: Started HttpContext[/,/]
May 29, 2008 10:00:19 AM org.mortbay.http.SocketListener start
INFO: Started SocketListener on 0.0.0.0:7070
May 29, 2008 10:00:19 AM org.mortbay.util.Container start
INFO: Started org.mortbay.http.HttpServer@4ab122a1

osgi>


Yeah I'm just using the Jetty deployment instructions from the RAP
Insights blog. Also, I'm using the extra plugins (launcher,
update.configurator etc) from eclipse 3.4RC2 - don't know if that makes
any difference?

Mike


Rüdiger Herrmann wrote:
> Hi Mike,
>
> puh, these are the most difficult ones. To possibly get more details,
> did run with -consolelog?
> Just to be clear about this, I assume you are running an Equinox server,
> not a WAR deployment.
>
> Mike Wrighton wrote:
>> Hi,
>>
>> I've run into a problem deploying my RAP application - when I run "ss"
>> from the console I'm getting the following:
>>
>> Framework is launched.
>>
>> id State Bundle
>> 0 ACTIVE org.eclipse.osgi_3.4.0.v20080427-0830
>> 1 ACTIVE org.eclipse.equinox.common_3.4.0.v20080421-2006
>> 2 ACTIVE org.eclipse.update.configurator_3.2.200.v20080417
>> 3 ACTIVE org.eclipse.rap.ui_1.1.0.20080520-1049
>> 4 ACTIVE org.eclipse.equinox.http.jetty_1.1.0.v20080425
>> 5 ACTIVE org.eclipse.equinox.app_1.1.0.v20080421-2006
>> 6 RESOLVED org.apache.commons.logging_1.0.4.v200803061811
>> 8 RESOLVED org.mortbay.jetty_5.1.14.v200804221617
>> 9 <<LAZY>> com.ibm.icu_3.8.1.v20080402
>> 10 <<LAZY>> org.eclipse.rap.ui.views_1.1.0.20080520-1049
>> 11 ACTIVE org.eclipse.core.jobs_3.4.0.v20080310
>> 12 RESOLVED javax.servlet_2.4.0.v200803061910
>> 13 RESOLVED
>> org.eclipse.equinox.http.registry_1.0.100.v20080427-0830
>> 14 ACTIVE
>> org.eclipse.equinox.http.servlet_1.0.100.v20080427-0830
>> 16 RESOLVED org.eclipse.rap.jface.databinding_1.1.0.20080520-1049
>> 18 RESOLVED org.eclipse.core.commands_3.4.0.v20080408-0800
>> 19 RESOLVED com.xmos.ide_1.0.0
>> 20 RESOLVED org.eclipse.equinox.launcher_1.0.100.v20080509-1800
>> Fragments=31
>> 21 RESOLVED org.eclipse.rap.rwt.q07_1.1.0.20080520-1049
>> Master=26
>> 22 <<LAZY>> org.eclipse.core.contenttype_3.3.0.v20080414
>> 23 ACTIVE org.eclipse.core.runtime_3.4.0.v20080421-1805
>> 24 <<LAZY>> org.eclipse.core.databinding_1.1.0.I20080425-1551
>> 25 <<LAZY>> org.eclipse.core.expressions_3.4.0.v20080430-0100
>> 26 RESOLVED org.eclipse.rap.rwt_1.1.0.20080520-1049
>> Fragments=21
>> 27 ACTIVE org.eclipse.equinox.registry_3.4.0.v20080421-2006
>> 28 RESOLVED com.xmos.ide.utils_1.0.0
>> 29 ACTIVE org.eclipse.rap.jface_1.1.0.20080520-1049
>> 31 RESOLVED
>> org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.100.v20080 509-1800
>> Master=20
>> 32 RESOLVED com.xmos.ide.simulator_widget_1.1.0.200805271452
>> 33 ACTIVE org.eclipse.rap.ui.workbench_1.1.0.20080520-1049
>> 35 RESOLVED org.eclipse.osgi.services_3.1.200.v20071203
>> 36 ACTIVE
>>
>>
>> Then I'm having to run "start 13" (org.eclipse.equinox.http.registry
>> bundle) before the server actually begins. After that it seems to run
>> fine but it's not starting automatically. Any ideas? My config.ini
>> file is:
>>
>> #bundles to start
>> osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start,org.eclipse.rap.ui@4:start,org.eclipse.equinox.http.jetty@4:start
>>
>> # options for the equinox launcher
>> # do not run an eclipse application
>> eclipse.ignoreApp=true
>> # don't shutdown osgi after exiting (or not running) the application
>> osgi.noShutdown=true
>> # incoming port for the server
>> org.osgi.service.http.port=7070
>>
>>
>> And my plugins directory contains:
>> com.ibm.icu_3.8.1.v20080402.jar
>> com.xmos.ide_1.0.0.jar
>> com.xmos.ide.simulator_widget_1.1.0.200805271452.jar
>> com.xmos.ide.utils_1.0.0.jar
>> javax.servlet_2.4.0.v200803061910.jar
>> org.apache.commons.logging_1.0.4.v200803061811.jar
>> org.eclipse.core.commands_3.4.0.v20080408-0800.jar
>> org.eclipse.core.contenttype_3.3.0.v20080414.jar
>> org.eclipse.core.databinding_1.1.0.I20080425-1551.jar
>> org.eclipse.core.expressions_3.4.0.v20080430-0100.jar
>> org.eclipse.core.jobs_3.4.0.v20080310.jar
>> org.eclipse.core.runtime_3.4.0.v20080421-1805.jar
>> org.eclipse.equinox.app_1.1.0.v20080421-2006.jar
>> org.eclipse.equinox.common_3.4.0.v20080421-2006.jar
>> org.eclipse.equinox.http.jetty_1.1.0.v20080425.jar
>> org.eclipse.equinox.http.registry_1.0.100.v20080427-0830.jar
>> org.eclipse.equinox.http.servlet_1.0.100.v20080427-0830.jar
>> org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
>> org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.100.v20080 509-1800
>> org.eclipse.equinox.preferences_3.2.200.v20080421-2006.jar
>> org.eclipse.equinox.registry_3.4.0.v20080421-2006.jar
>> org.eclipse.osgi_3.4.0.v20080427-0830.jar
>> org.eclipse.osgi.services_3.1.200.v20071203.jar
>> org.eclipse.rap.jface_1.1.0.20080520-1049.jar
>> org.eclipse.rap.jface.databinding_1.1.0.20080520-1049.jar
>> org.eclipse.rap.rwt_1.1.0.20080520-1049.jar
>> org.eclipse.rap.rwt.q07_1.1.0.20080520-1049
>> org.eclipse.rap.ui_1.1.0.20080520-1049.jar
>> org.eclipse.rap.ui.views_1.1.0.20080520-1049.jar
>> org.eclipse.rap.ui.workbench_1.1.0.20080520-1049.jar
>> org.eclipse.update.configurator_3.2.200.v20080417.jar
>> org.mortbay.jetty_5.1.14.v200804221617.jar
>>
>>
>> Any ideas?
>> Thanks,
>> Mike
>>
Re: Bundle not starting automatically [message #90898 is a reply to message #90716] Thu, 29 May 2008 13:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Hi,

see my comments below.

Cheers,
Rüdiger

Mike Wrighton wrote:
> I've just run with consoleLog but didn't get anything extra:
>
> $ ./eclipse -console -consoleLog
>
> osgi> May 29, 2008 10:00:19 AM org.mortbay.http.HttpServer doStart
> INFO: Version Jetty/5.1.x
> May 29, 2008 10:00:19 AM org.mortbay.util.Container start
> INFO: Started
> org.eclipse.equinox.http.jetty.internal.Servlet25Handler@7e9ffe3f
> May 29, 2008 10:00:19 AM org.mortbay.util.Container start
> INFO: Started HttpContext[/,/]
> May 29, 2008 10:00:19 AM org.mortbay.http.SocketListener start
> INFO: Started SocketListener on 0.0.0.0:7070
> May 29, 2008 10:00:19 AM org.mortbay.util.Container start
> INFO: Started org.mortbay.http.HttpServer@4ab122a1
>
> osgi>
>
>
> Yeah I'm just using the Jetty deployment instructions from the RAP
> Insights blog. Also, I'm using the extra plugins (launcher,
> update.configurator etc) from eclipse 3.4RC2 - don't know if that makes
> any difference?

What version of RAP are you using? RAP 1.1 RC2 comes with the
Eclipse 3.4 RC2 base bundels, but with older versions of RAP, this
mixture of versions could cause trouble.


>
> Mike
>
>
> Rüdiger Herrmann wrote:
>> Hi Mike,
>>
>> puh, these are the most difficult ones. To possibly get more details,
>> did run with -consolelog?
>> Just to be clear about this, I assume you are running an Equinox
>> server, not a WAR deployment.
>>
>> Mike Wrighton wrote:
>>> Hi,
>>>
>>> I've run into a problem deploying my RAP application - when I run
>>> "ss" from the console I'm getting the following:
>>>
>>> Framework is launched.
>>>
>>> id State Bundle
>>> 0 ACTIVE org.eclipse.osgi_3.4.0.v20080427-0830
>>> 1 ACTIVE org.eclipse.equinox.common_3.4.0.v20080421-2006
>>> 2 ACTIVE org.eclipse.update.configurator_3.2.200.v20080417
>>> 3 ACTIVE org.eclipse.rap.ui_1.1.0.20080520-1049
>>> 4 ACTIVE org.eclipse.equinox.http.jetty_1.1.0.v20080425
>>> 5 ACTIVE org.eclipse.equinox.app_1.1.0.v20080421-2006
>>> 6 RESOLVED org.apache.commons.logging_1.0.4.v200803061811
>>> 8 RESOLVED org.mortbay.jetty_5.1.14.v200804221617
>>> 9 <<LAZY>> com.ibm.icu_3.8.1.v20080402
>>> 10 <<LAZY>> org.eclipse.rap.ui.views_1.1.0.20080520-1049
>>> 11 ACTIVE org.eclipse.core.jobs_3.4.0.v20080310
>>> 12 RESOLVED javax.servlet_2.4.0.v200803061910
>>> 13 RESOLVED
>>> org.eclipse.equinox.http.registry_1.0.100.v20080427-0830
>>> 14 ACTIVE
>>> org.eclipse.equinox.http.servlet_1.0.100.v20080427-0830
>>> 16 RESOLVED
>>> org.eclipse.rap.jface.databinding_1.1.0.20080520-1049
>>> 18 RESOLVED org.eclipse.core.commands_3.4.0.v20080408-0800
>>> 19 RESOLVED com.xmos.ide_1.0.0
>>> 20 RESOLVED org.eclipse.equinox.launcher_1.0.100.v20080509-1800
>>> Fragments=31
>>> 21 RESOLVED org.eclipse.rap.rwt.q07_1.1.0.20080520-1049
>>> Master=26
>>> 22 <<LAZY>> org.eclipse.core.contenttype_3.3.0.v20080414
>>> 23 ACTIVE org.eclipse.core.runtime_3.4.0.v20080421-1805
>>> 24 <<LAZY>> org.eclipse.core.databinding_1.1.0.I20080425-1551
>>> 25 <<LAZY>> org.eclipse.core.expressions_3.4.0.v20080430-0100
>>> 26 RESOLVED org.eclipse.rap.rwt_1.1.0.20080520-1049
>>> Fragments=21
>>> 27 ACTIVE org.eclipse.equinox.registry_3.4.0.v20080421-2006
>>> 28 RESOLVED com.xmos.ide.utils_1.0.0
>>> 29 ACTIVE org.eclipse.rap.jface_1.1.0.20080520-1049
>>> 31 RESOLVED
>>> org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.100.v20080 509-1800
>>> Master=20
>>> 32 RESOLVED com.xmos.ide.simulator_widget_1.1.0.200805271452
>>> 33 ACTIVE org.eclipse.rap.ui.workbench_1.1.0.20080520-1049
>>> 35 RESOLVED org.eclipse.osgi.services_3.1.200.v20071203
>>> 36 ACTIVE
>>>
>>>
>>> Then I'm having to run "start 13" (org.eclipse.equinox.http.registry
>>> bundle) before the server actually begins. After that it seems to run
>>> fine but it's not starting automatically. Any ideas? My config.ini
>>> file is:
>>>
>>> #bundles to start
>>> osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start,org.eclipse.rap.ui@4:start,org.eclipse.equinox.http.jetty@4:start
>>>
>>> # options for the equinox launcher
>>> # do not run an eclipse application
>>> eclipse.ignoreApp=true
>>> # don't shutdown osgi after exiting (or not running) the application
>>> osgi.noShutdown=true
>>> # incoming port for the server
>>> org.osgi.service.http.port=7070
>>>
>>>
>>> And my plugins directory contains:
>>> com.ibm.icu_3.8.1.v20080402.jar
>>> com.xmos.ide_1.0.0.jar
>>> com.xmos.ide.simulator_widget_1.1.0.200805271452.jar
>>> com.xmos.ide.utils_1.0.0.jar
>>> javax.servlet_2.4.0.v200803061910.jar
>>> org.apache.commons.logging_1.0.4.v200803061811.jar
>>> org.eclipse.core.commands_3.4.0.v20080408-0800.jar
>>> org.eclipse.core.contenttype_3.3.0.v20080414.jar
>>> org.eclipse.core.databinding_1.1.0.I20080425-1551.jar
>>> org.eclipse.core.expressions_3.4.0.v20080430-0100.jar
>>> org.eclipse.core.jobs_3.4.0.v20080310.jar
>>> org.eclipse.core.runtime_3.4.0.v20080421-1805.jar
>>> org.eclipse.equinox.app_1.1.0.v20080421-2006.jar
>>> org.eclipse.equinox.common_3.4.0.v20080421-2006.jar
>>> org.eclipse.equinox.http.jetty_1.1.0.v20080425.jar
>>> org.eclipse.equinox.http.registry_1.0.100.v20080427-0830.jar
>>> org.eclipse.equinox.http.servlet_1.0.100.v20080427-0830.jar
>>> org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
>>> org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.100.v20080 509-1800
>>> org.eclipse.equinox.preferences_3.2.200.v20080421-2006.jar
>>> org.eclipse.equinox.registry_3.4.0.v20080421-2006.jar
>>> org.eclipse.osgi_3.4.0.v20080427-0830.jar
>>> org.eclipse.osgi.services_3.1.200.v20071203.jar
>>> org.eclipse.rap.jface_1.1.0.20080520-1049.jar
>>> org.eclipse.rap.jface.databinding_1.1.0.20080520-1049.jar
>>> org.eclipse.rap.rwt_1.1.0.20080520-1049.jar
>>> org.eclipse.rap.rwt.q07_1.1.0.20080520-1049
>>> org.eclipse.rap.ui_1.1.0.20080520-1049.jar
>>> org.eclipse.rap.ui.views_1.1.0.20080520-1049.jar
>>> org.eclipse.rap.ui.workbench_1.1.0.20080520-1049.jar
>>> org.eclipse.update.configurator_3.2.200.v20080417.jar
>>> org.mortbay.jetty_5.1.14.v200804221617.jar
>>>
>>>
>>> Any ideas?
>>> Thanks,
>>> Mike
>>>
Re: Bundle not starting automatically [message #90990 is a reply to message #90898] Fri, 30 May 2008 10:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mike.xmos.com

Rüdiger Herrmann wrote:
> Hi,
>
> see my comments below.
>
> Cheers,
> Rüdiger
>
> Mike Wrighton wrote:
>> I've just run with consoleLog but didn't get anything extra:
>>
>> $ ./eclipse -console -consoleLog
>>
>> osgi> May 29, 2008 10:00:19 AM org.mortbay.http.HttpServer doStart
>> INFO: Version Jetty/5.1.x
>> May 29, 2008 10:00:19 AM org.mortbay.util.Container start
>> INFO: Started
>> org.eclipse.equinox.http.jetty.internal.Servlet25Handler@7e9ffe3f
>> May 29, 2008 10:00:19 AM org.mortbay.util.Container start
>> INFO: Started HttpContext[/,/]
>> May 29, 2008 10:00:19 AM org.mortbay.http.SocketListener start
>> INFO: Started SocketListener on 0.0.0.0:7070
>> May 29, 2008 10:00:19 AM org.mortbay.util.Container start
>> INFO: Started org.mortbay.http.HttpServer@4ab122a1
>>
>> osgi>
>>
>>
>> Yeah I'm just using the Jetty deployment instructions from the RAP
>> Insights blog. Also, I'm using the extra plugins (launcher,
>> update.configurator etc) from eclipse 3.4RC2 - don't know if that
>> makes any difference?
>
> What version of RAP are you using? RAP 1.1 RC2 comes with the Eclipse
> 3.4 RC2 base bundels, but with older versions of RAP, this mixture of
> versions could cause trouble.
>
>
>>
>> Mike
>>
>>
>> Rüdiger Herrmann wrote:
>>> Hi Mike,
>>>
>>> puh, these are the most difficult ones. To possibly get more details,
>>> did run with -consolelog?
>>> Just to be clear about this, I assume you are running an Equinox
>>> server, not a WAR deployment.
>>>
>>> Mike Wrighton wrote:
>>>> Hi,
>>>>
>>>> I've run into a problem deploying my RAP application - when I run
>>>> "ss" from the console I'm getting the following:
>>>>
>>>> Framework is launched.
>>>>
>>>> id State Bundle
>>>> 0 ACTIVE org.eclipse.osgi_3.4.0.v20080427-0830
>>>> 1 ACTIVE org.eclipse.equinox.common_3.4.0.v20080421-2006
>>>> 2 ACTIVE org.eclipse.update.configurator_3.2.200.v20080417
>>>> 3 ACTIVE org.eclipse.rap.ui_1.1.0.20080520-1049
>>>> 4 ACTIVE org.eclipse.equinox.http.jetty_1.1.0.v20080425
>>>> 5 ACTIVE org.eclipse.equinox.app_1.1.0.v20080421-2006
>>>> 6 RESOLVED org.apache.commons.logging_1.0.4.v200803061811
>>>> 8 RESOLVED org.mortbay.jetty_5.1.14.v200804221617
>>>> 9 <<LAZY>> com.ibm.icu_3.8.1.v20080402
>>>> 10 <<LAZY>> org.eclipse.rap.ui.views_1.1.0.20080520-1049
>>>> 11 ACTIVE org.eclipse.core.jobs_3.4.0.v20080310
>>>> 12 RESOLVED javax.servlet_2.4.0.v200803061910
>>>> 13 RESOLVED
>>>> org.eclipse.equinox.http.registry_1.0.100.v20080427-0830
>>>> 14 ACTIVE
>>>> org.eclipse.equinox.http.servlet_1.0.100.v20080427-0830
>>>> 16 RESOLVED
>>>> org.eclipse.rap.jface.databinding_1.1.0.20080520-1049
>>>> 18 RESOLVED org.eclipse.core.commands_3.4.0.v20080408-0800
>>>> 19 RESOLVED com.xmos.ide_1.0.0
>>>> 20 RESOLVED org.eclipse.equinox.launcher_1.0.100.v20080509-1800
>>>> Fragments=31
>>>> 21 RESOLVED org.eclipse.rap.rwt.q07_1.1.0.20080520-1049
>>>> Master=26
>>>> 22 <<LAZY>> org.eclipse.core.contenttype_3.3.0.v20080414
>>>> 23 ACTIVE org.eclipse.core.runtime_3.4.0.v20080421-1805
>>>> 24 <<LAZY>> org.eclipse.core.databinding_1.1.0.I20080425-1551
>>>> 25 <<LAZY>> org.eclipse.core.expressions_3.4.0.v20080430-0100
>>>> 26 RESOLVED org.eclipse.rap.rwt_1.1.0.20080520-1049
>>>> Fragments=21
>>>> 27 ACTIVE org.eclipse.equinox.registry_3.4.0.v20080421-2006
>>>> 28 RESOLVED com.xmos.ide.utils_1.0.0
>>>> 29 ACTIVE org.eclipse.rap.jface_1.1.0.20080520-1049
>>>> 31 RESOLVED
>>>> org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.100.v20080 509-1800
>>>> Master=20
>>>> 32 RESOLVED com.xmos.ide.simulator_widget_1.1.0.200805271452
>>>> 33 ACTIVE org.eclipse.rap.ui.workbench_1.1.0.20080520-1049
>>>> 35 RESOLVED org.eclipse.osgi.services_3.1.200.v20071203
>>>> 36 ACTIVE
>>>>
>>>>
>>>> Then I'm having to run "start 13" (org.eclipse.equinox.http.registry
>>>> bundle) before the server actually begins. After that it seems to
>>>> run fine but it's not starting automatically. Any ideas? My
>>>> config.ini file is:
>>>>
>>>> #bundles to start
>>>> osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start,org.eclipse.rap.ui@4:start,org.eclipse.equinox.http.jetty@4:start
>>>>
>>>> # options for the equinox launcher
>>>> # do not run an eclipse application
>>>> eclipse.ignoreApp=true
>>>> # don't shutdown osgi after exiting (or not running) the application
>>>> osgi.noShutdown=true
>>>> # incoming port for the server
>>>> org.osgi.service.http.port=7070
>>>>
>>>>
>>>> And my plugins directory contains:
>>>> com.ibm.icu_3.8.1.v20080402.jar
>>>> com.xmos.ide_1.0.0.jar
>>>> com.xmos.ide.simulator_widget_1.1.0.200805271452.jar
>>>> com.xmos.ide.utils_1.0.0.jar
>>>> javax.servlet_2.4.0.v200803061910.jar
>>>> org.apache.commons.logging_1.0.4.v200803061811.jar
>>>> org.eclipse.core.commands_3.4.0.v20080408-0800.jar
>>>> org.eclipse.core.contenttype_3.3.0.v20080414.jar
>>>> org.eclipse.core.databinding_1.1.0.I20080425-1551.jar
>>>> org.eclipse.core.expressions_3.4.0.v20080430-0100.jar
>>>> org.eclipse.core.jobs_3.4.0.v20080310.jar
>>>> org.eclipse.core.runtime_3.4.0.v20080421-1805.jar
>>>> org.eclipse.equinox.app_1.1.0.v20080421-2006.jar
>>>> org.eclipse.equinox.common_3.4.0.v20080421-2006.jar
>>>> org.eclipse.equinox.http.jetty_1.1.0.v20080425.jar
>>>> org.eclipse.equinox.http.registry_1.0.100.v20080427-0830.jar
>>>> org.eclipse.equinox.http.servlet_1.0.100.v20080427-0830.jar
>>>> org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
>>>> org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.100.v20080 509-1800
>>>> org.eclipse.equinox.preferences_3.2.200.v20080421-2006.jar
>>>> org.eclipse.equinox.registry_3.4.0.v20080421-2006.jar
>>>> org.eclipse.osgi_3.4.0.v20080427-0830.jar
>>>> org.eclipse.osgi.services_3.1.200.v20071203.jar
>>>> org.eclipse.rap.jface_1.1.0.20080520-1049.jar
>>>> org.eclipse.rap.jface.databinding_1.1.0.20080520-1049.jar
>>>> org.eclipse.rap.rwt_1.1.0.20080520-1049.jar
>>>> org.eclipse.rap.rwt.q07_1.1.0.20080520-1049
>>>> org.eclipse.rap.ui_1.1.0.20080520-1049.jar
>>>> org.eclipse.rap.ui.views_1.1.0.20080520-1049.jar
>>>> org.eclipse.rap.ui.workbench_1.1.0.20080520-1049.jar
>>>> org.eclipse.update.configurator_3.2.200.v20080417.jar
>>>> org.mortbay.jetty_5.1.14.v200804221617.jar
>>>>
>>>>
>>>> Any ideas?
>>>> Thanks,
>>>> Mike
>>>>

I downloaded the latest version of RAP via software update yesterday
(1.1.0.20080527-1123) so I guess this uses RC2 base bundles.

Is there a way I can modify my config.ini to start the
org.eclipse.equinox.http.registry automatically?

Mike
Re: Bundle not starting automatically [message #91283 is a reply to message #90990] Tue, 03 June 2008 00:32 Go to previous message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

don't use the update configurator. Create your own config.ini to start
every bundle. How to do this is described in the deployment tutorial of
the latest RC 2 Tooling release (regarding the config.ini it doesn't
matter that the tutorial describes the deployment to a servlet
container). You can use and adapt the ConfigIniCreator class of the
org.eclipse.rap.demo.feature available in CVS to create your config.ini.
It is a little bit rudimentary so if you are using fragments besides the
q07 fragment for example, you have to remove the start flag.


Ciao
Frank

-----Ursprüngliche Nachricht-----
Von: Mike Wrighton [mailto:mike@xmos.com]
Bereitgestellt: Freitag, 30. Mai 2008 16:43
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: Bundle not starting automatically
Betreff: Re: Bundle not starting automatically


Rüdiger Herrmann wrote:
> Hi,
>
> see my comments below.
>
> Cheers,
> Rüdiger
>
> Mike Wrighton wrote:
>> I've just run with consoleLog but didn't get anything extra:
>>
>> $ ./eclipse -console -consoleLog
>>
>> osgi> May 29, 2008 10:00:19 AM org.mortbay.http.HttpServer doStart
>> INFO: Version Jetty/5.1.x
>> May 29, 2008 10:00:19 AM org.mortbay.util.Container start
>> INFO: Started
>> org.eclipse.equinox.http.jetty.internal.Servlet25Handler@7e9ffe3f
>> May 29, 2008 10:00:19 AM org.mortbay.util.Container start
>> INFO: Started HttpContext[/,/]
>> May 29, 2008 10:00:19 AM org.mortbay.http.SocketListener start
>> INFO: Started SocketListener on 0.0.0.0:7070 May 29, 2008 10:00:19 AM

>> org.mortbay.util.Container start
>> INFO: Started org.mortbay.http.HttpServer@4ab122a1
>>
>> osgi>
>>
>>
>> Yeah I'm just using the Jetty deployment instructions from the RAP
>> Insights blog. Also, I'm using the extra plugins (launcher,
>> update.configurator etc) from eclipse 3.4RC2 - don't know if that
>> makes any difference?
>
> What version of RAP are you using? RAP 1.1 RC2 comes with the Eclipse
> 3.4 RC2 base bundels, but with older versions of RAP, this mixture of
> versions could cause trouble.
>
>
>>
>> Mike
>>
>>
>> Rüdiger Herrmann wrote:
>>> Hi Mike,
>>>
>>> puh, these are the most difficult ones. To possibly get more
>>> details, did run with -consolelog?
>>> Just to be clear about this, I assume you are running an Equinox
>>> server, not a WAR deployment.
>>>
>>> Mike Wrighton wrote:
>>>> Hi,
>>>>
>>>> I've run into a problem deploying my RAP application - when I run
>>>> "ss" from the console I'm getting the following:
>>>>
>>>> Framework is launched.
>>>>
>>>> id State Bundle
>>>> 0 ACTIVE org.eclipse.osgi_3.4.0.v20080427-0830
>>>> 1 ACTIVE org.eclipse.equinox.common_3.4.0.v20080421-2006
>>>> 2 ACTIVE
org.eclipse.update.configurator_3.2.200.v20080417
>>>> 3 ACTIVE org.eclipse.rap.ui_1.1.0.20080520-1049
>>>> 4 ACTIVE org.eclipse.equinox.http.jetty_1.1.0.v20080425
>>>> 5 ACTIVE org.eclipse.equinox.app_1.1.0.v20080421-2006
>>>> 6 RESOLVED org.apache.commons.logging_1.0.4.v200803061811
>>>> 8 RESOLVED org.mortbay.jetty_5.1.14.v200804221617
>>>> 9 <<LAZY>> com.ibm.icu_3.8.1.v20080402
>>>> 10 <<LAZY>> org.eclipse.rap.ui.views_1.1.0.20080520-1049
>>>> 11 ACTIVE org.eclipse.core.jobs_3.4.0.v20080310
>>>> 12 RESOLVED javax.servlet_2.4.0.v200803061910
>>>> 13 RESOLVED
>>>> org.eclipse.equinox.http.registry_1.0.100.v20080427-0830
>>>> 14 ACTIVE
>>>> org.eclipse.equinox.http.servlet_1.0.100.v20080427-0830
>>>> 16 RESOLVED
>>>> org.eclipse.rap.jface.databinding_1.1.0.20080520-1049
>>>> 18 RESOLVED org.eclipse.core.commands_3.4.0.v20080408-0800
>>>> 19 RESOLVED com.xmos.ide_1.0.0
>>>> 20 RESOLVED
org.eclipse.equinox.launcher_1.0.100.v20080509-1800
>>>> Fragments=31
>>>> 21 RESOLVED org.eclipse.rap.rwt.q07_1.1.0.20080520-1049
>>>> Master=26
>>>> 22 <<LAZY>> org.eclipse.core.contenttype_3.3.0.v20080414
>>>> 23 ACTIVE org.eclipse.core.runtime_3.4.0.v20080421-1805
>>>> 24 <<LAZY>>
org.eclipse.core.databinding_1.1.0.I20080425-1551
>>>> 25 <<LAZY>>
org.eclipse.core.expressions_3.4.0.v20080430-0100
>>>> 26 RESOLVED org.eclipse.rap.rwt_1.1.0.20080520-1049
>>>> Fragments=21
>>>> 27 ACTIVE
org.eclipse.equinox.registry_3.4.0.v20080421-2006
>>>> 28 RESOLVED com.xmos.ide.utils_1.0.0
>>>> 29 ACTIVE org.eclipse.rap.jface_1.1.0.20080520-1049
>>>> 31 RESOLVED
>>>>
org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.100.v20080 509-1800
>>>> Master=20
>>>> 32 RESOLVED
com.xmos.ide.simulator_widget_1.1.0.200805271452
>>>> 33 ACTIVE
org.eclipse.rap.ui.workbench_1.1.0.20080520-1049
>>>> 35 RESOLVED org.eclipse.osgi.services_3.1.200.v20071203
>>>> 36 ACTIVE
>>>>
>>>>
>>>> Then I'm having to run "start 13"
>>>> (org.eclipse.equinox.http.registry
>>>> bundle) before the server actually begins. After that it seems to
>>>> run fine but it's not starting automatically. Any ideas? My
>>>> config.ini file is:
>>>>
>>>> #bundles to start
>>>> osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.update.
>>>> configurator@3:start,org.eclipse.rap.ui@4:start,org.eclipse.equinox
>>>> .http.jetty@4:start
>>>>
>>>> # options for the equinox launcher
>>>> # do not run an eclipse application eclipse.ignoreApp=true # don't
>>>> shutdown osgi after exiting (or not running) the application
>>>> osgi.noShutdown=true # incoming port for the server
>>>> org.osgi.service.http.port=7070
>>>>
>>>>
>>>> And my plugins directory contains:
>>>> com.ibm.icu_3.8.1.v20080402.jar
>>>> com.xmos.ide_1.0.0.jar
>>>> com.xmos.ide.simulator_widget_1.1.0.200805271452.jar
>>>> com.xmos.ide.utils_1.0.0.jar
>>>> javax.servlet_2.4.0.v200803061910.jar
>>>> org.apache.commons.logging_1.0.4.v200803061811.jar
>>>> org.eclipse.core.commands_3.4.0.v20080408-0800.jar
>>>> org.eclipse.core.contenttype_3.3.0.v20080414.jar
>>>> org.eclipse.core.databinding_1.1.0.I20080425-1551.jar
>>>> org.eclipse.core.expressions_3.4.0.v20080430-0100.jar
>>>> org.eclipse.core.jobs_3.4.0.v20080310.jar
>>>> org.eclipse.core.runtime_3.4.0.v20080421-1805.jar
>>>> org.eclipse.equinox.app_1.1.0.v20080421-2006.jar
>>>> org.eclipse.equinox.common_3.4.0.v20080421-2006.jar
>>>> org.eclipse.equinox.http.jetty_1.1.0.v20080425.jar
>>>> org.eclipse.equinox.http.registry_1.0.100.v20080427-0830.jar
>>>> org.eclipse.equinox.http.servlet_1.0.100.v20080427-0830.jar
>>>> org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
>>>> org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.100.v20080 509-180
>>>> 0 org.eclipse.equinox.preferences_3.2.200.v20080421-2006.jar
>>>> org.eclipse.equinox.registry_3.4.0.v20080421-2006.jar
>>>> org.eclipse.osgi_3.4.0.v20080427-0830.jar
>>>> org.eclipse.osgi.services_3.1.200.v20071203.jar
>>>> org.eclipse.rap.jface_1.1.0.20080520-1049.jar
>>>> org.eclipse.rap.jface.databinding_1.1.0.20080520-1049.jar
>>>> org.eclipse.rap.rwt_1.1.0.20080520-1049.jar
>>>> org.eclipse.rap.rwt.q07_1.1.0.20080520-1049
>>>> org.eclipse.rap.ui_1.1.0.20080520-1049.jar
>>>> org.eclipse.rap.ui.views_1.1.0.20080520-1049.jar
>>>> org.eclipse.rap.ui.workbench_1.1.0.20080520-1049.jar
>>>> org.eclipse.update.configurator_3.2.200.v20080417.jar
>>>> org.mortbay.jetty_5.1.14.v200804221617.jar
>>>>
>>>>
>>>> Any ideas?
>>>> Thanks,
>>>> Mike
>>>>

I downloaded the latest version of RAP via software update yesterday
(1.1.0.20080527-1123) so I guess this uses RC2 base bundles.

Is there a way I can modify my config.ini to start the
org.eclipse.equinox.http.registry automatically?

Mike
Previous Topic:exchanging data via http requests
Next Topic:[ANN] RAP 1.1 RC2 released
Goto Forum:
  


Current Time: Sun Jun 08 07:24:36 EDT 2025

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

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

Back to the top