Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Ignored plugin.xml(No EntryPoint found for the RAP Application)
Ignored plugin.xml [message #745307] Sat, 22 October 2011 18:41 Go to next message
Hans Missing name is currently offline Hans Missing nameFriend
Messages: 14
Registered: August 2010
Junior Member
Hi,

for the last few days i've tried to update our RAP project from version 1.3 to 1.4. After upgrading the dependencies I got a problem with the entry point of the application: it is not there anymore.

I guess Equinox ignores the plugin.xml in the osgi bundle that I'm building with Maven. I print some log messages in the source code when the 'createUI' method is invoked but they dont appear.

Do you know how I could solve this problem or get further information about what is going wrong? The Equinox Console does not say anything :/ The bundle was properly loaded and the plugin.xml exists in the bundle.


Many thanks in advance
Re: Ignored plugin.xml [message #746672 is a reply to message #745307] Sun, 23 October 2011 16:22 Go to previous messageGo to next message
Hans Missing name is currently offline Hans Missing nameFriend
Messages: 14
Registered: August 2010
Junior Member
Hey,

I exported the RAP DEMO as a plugin and deployed it to my Equinox Framework. It didn't registered its extension point either. Although the configuration of the framework was exactly the same as in Eclipse. Besides one exception: I use the Apache Fileinstaller to load bundles.

Here lies the problem. As I started the RAP Demo myself everything went well.

This problem didn't occur in RAP 1.3. Is this a bug or a configuration problem?


Best regards

[Updated on: Mon, 24 October 2011 12:11]

Report message to a moderator

Re: Ignored plugin.xml [message #748483 is a reply to message #746672] Mon, 24 October 2011 18:13 Go to previous messageGo to next message
Hans Missing name is currently offline Hans Missing nameFriend
Messages: 14
Registered: August 2010
Junior Member
Another update: I recognized that neither the plugin will register its extension point when i add it to the framework with the 'install' command. Everything is ok when the bundle is listed in the 'config.ini' which is automatically read by equinox.

Here the bundle that are started:

id State Bundle
0 ACTIVE org.eclipse.osgi_3.7.1.R37x_v20110808-1106
1 ACTIVE org.eclipse.core.commands_3.6.0.I20110111-0800
2 ACTIVE org.eclipse.core.databinding.property_1.4.0.I20110222-0800
3 ACTIVE org.eclipse.help_3.5.100.v20110426
4 ACTIVE org.eclipse.core.databinding_1.4.0.I20110111-0800
5 ACTIVE org.eclipse.core.contenttype_3.4.100.v20110423-0524
6 ACTIVE org.eclipse.core.databinding.beans_1.2.100.I20100824-0800
7 ACTIVE org.eclipse.core.jobs_3.5.100.v20110404
8 ACTIVE org.eclipse.equinox.common_3.6.0.v20110523
9 ACTIVE org.mortbay.jetty.util_6.1.23.v201012071420
10 ACTIVE org.eclipse.equinox.app_1.3.100.v20110321
11 ACTIVE org.eclipse.osgi.services_3.3.0.v20110513
12 ACTIVE org.eclipse.equinox.registry_3.5.101.R37x_v20110810-1611
13 ACTIVE org.eclipse.core.runtime_3.7.0.v20110110
14 ACTIVE org.eclipse.equinox.util_1.0.300.v20110502
15 ACTIVE org.eclipse.equinox.ds_1.3.100.v20110705
16 ACTIVE javax.servlet_2.5.0.v201103041518
17 ACTIVE org.eclipse.core.databinding.observable_1.4.0.I20110222-0800
18 ACTIVE org.eclipse.equinox.http.jetty_2.0.100.v20110502
19 ACTIVE org.eclipse.equinox.http.servlet_1.1.200.v20110502
20 ACTIVE org.eclipse.core.expressions_3.4.300.v20110228
21 ACTIVE org.eclipse.equinox.preferences_3.4.1.R37x_v20110725
22 ACTIVE org.eclipse.equinox.http.registry_1.1.100.v20110502
23 ACTIVE org.mortbay.jetty.server_6.1.23.v201012071420
24 ACTIVE org.eclipse.rap.jface.databinding_1.4.1.20110914-1945
25 ACTIVE org.eclipse.rap.ui.cheatsheets_1.4.1.20110914-1945
26 ACTIVE org.eclipse.rap.jface_1.4.1.20110914-1945
27 ACTIVE org.eclipse.rap.ui.workbench_1.4.1.20110914-1945
28 ACTIVE org.eclipse.rap.ui.forms_1.4.1.20110914-1945
29 ACTIVE org.eclipse.rap.ui_1.4.1.20110914-1945
30 RESOLVED org.eclipse.rap.rwt.q07_1.4.1.20110914-1945
Master=31
31 ACTIVE org.eclipse.rap.rwt_1.4.1.20110914-1945
Fragments=30
32 ACTIVE org.eclipse.rap.ui.views_1.4.1.20110914-1945
33 ACTIVE com.ibm.icu.base_4.2.1.v20100412
34 ACTIVE demo_1.0.1

The last bundle is the bundle which causes me headache. Does somebody know why equinox doesn't recognize the bundle as a plugin?

[Updated on: Mon, 24 October 2011 18:14]

Report message to a moderator

Re: Ignored plugin.xml [message #748485 is a reply to message #746672] Mon, 24 October 2011 18:13 Go to previous messageGo to next message
Hans Missing name is currently offline Hans Missing nameFriend
Messages: 14
Registered: August 2010
Junior Member
Another update: I recognized that neither the plugin will register its extension point when i add it to the framework with the 'install' command. Everything is ok when the bundle is listed in the 'config.ini' which is automatically read by equinox.

Here the bundle that are started:

id State Bundle
0 ACTIVE org.eclipse.osgi_3.7.1.R37x_v20110808-1106
1 ACTIVE org.eclipse.core.commands_3.6.0.I20110111-0800
2 ACTIVE org.eclipse.core.databinding.property_1.4.0.I20110222-0800
3 ACTIVE org.eclipse.help_3.5.100.v20110426
4 ACTIVE org.eclipse.core.databinding_1.4.0.I20110111-0800
5 ACTIVE org.eclipse.core.contenttype_3.4.100.v20110423-0524
6 ACTIVE org.eclipse.core.databinding.beans_1.2.100.I20100824-0800
7 ACTIVE org.eclipse.core.jobs_3.5.100.v20110404
8 ACTIVE org.eclipse.equinox.common_3.6.0.v20110523
9 ACTIVE org.mortbay.jetty.util_6.1.23.v201012071420
10 ACTIVE org.eclipse.equinox.app_1.3.100.v20110321
11 ACTIVE org.eclipse.osgi.services_3.3.0.v20110513
12 ACTIVE org.eclipse.equinox.registry_3.5.101.R37x_v20110810-1611
13 ACTIVE org.eclipse.core.runtime_3.7.0.v20110110
14 ACTIVE org.eclipse.equinox.util_1.0.300.v20110502
15 ACTIVE org.eclipse.equinox.ds_1.3.100.v20110705
16 ACTIVE javax.servlet_2.5.0.v201103041518
17 ACTIVE org.eclipse.core.databinding.observable_1.4.0.I20110222-0800
18 ACTIVE org.eclipse.equinox.http.jetty_2.0.100.v20110502
19 ACTIVE org.eclipse.equinox.http.servlet_1.1.200.v20110502
20 ACTIVE org.eclipse.core.expressions_3.4.300.v20110228
21 ACTIVE org.eclipse.equinox.preferences_3.4.1.R37x_v20110725
22 ACTIVE org.eclipse.equinox.http.registry_1.1.100.v20110502
23 ACTIVE org.mortbay.jetty.server_6.1.23.v201012071420
24 ACTIVE org.eclipse.rap.jface.databinding_1.4.1.20110914-1945
25 ACTIVE org.eclipse.rap.ui.cheatsheets_1.4.1.20110914-1945
26 ACTIVE org.eclipse.rap.jface_1.4.1.20110914-1945
27 ACTIVE org.eclipse.rap.ui.workbench_1.4.1.20110914-1945
28 ACTIVE org.eclipse.rap.ui.forms_1.4.1.20110914-1945
29 ACTIVE org.eclipse.rap.ui_1.4.1.20110914-1945
30 RESOLVED org.eclipse.rap.rwt.q07_1.4.1.20110914-1945
Master=31
31 ACTIVE org.eclipse.rap.rwt_1.4.1.20110914-1945
Fragments=30
32 ACTIVE org.eclipse.rap.ui.views_1.4.1.20110914-1945
33 ACTIVE com.ibm.icu.base_4.2.1.v20100412
34 ACTIVE org.eclipse.emf.common_2.7.0.v20110605-0747
35 ACTIVE org.eclipse.emf.ecore_2.7.0.v20110605-0747
36 ACTIVE org.eclipse.ocl.ecore_3.1.1.v20110823-1646
37 ACTIVE org.eclipse.ocl_3.1.0.v20110913-1213
38 ACTIVE org.eclipse.emf.ecore.xmi_2.5.0.v20100521-1846
39 ACTIVE lpg.runtime.java_2.0.17.v201004271640
40 ACTIVE org.eclipse.core.runtime.compatibility.auth_3.2.200.v20100517
41 RESOLVED de.offis.pega.exception_1.0.0
42 RESOLVED org.openhealthtools.ihe.common.cdar2.OpenHealthToolsCDAR2_1.0.0
43 ACTIVE de.offis.pega.data.model_1.0.0
44 ACTIVE de.offis.pega.databaseManipulation.service_1.0.0
45 ACTIVE demo_1.0.1

The last bundle is the bundle which causes me headache. Does somebody know why equinox doesn't recognize the bundle as a plugin?
Re: Ignored plugin.xml [message #749466 is a reply to message #748485] Tue, 25 October 2011 08:30 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Mustafa,

to analyze the problem, you should first check that the "ns" command in
the OSGi console lists your extension point. Then you can check whether
"pt extensionPointId" contains your extension.

But anyway, this sounds more like a question for the equinox forum.

Regards, Ralf

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Ignored plugin.xml [message #750231 is a reply to message #749466] Tue, 25 October 2011 17:44 Go to previous messageGo to next message
Hans Missing name is currently offline Hans Missing nameFriend
Messages: 14
Registered: August 2010
Junior Member
Hi,

thanks for your reply but I solved my problem. I told Equinox to start org.mortbay.jetty.server_6.1.23.v201012071420.jar automatically. As I removed this entry from the config.ini everthing works fine. No complications anymore. Jetty is now loaded through the Apache File Installer.

Here a list of the bundles that are loaded with Equinox:

osgi.bundles= \
startup/com.ibm.icu.base_4.4.2.v20110831.jar@start, \
startup/org.eclipse.equinox.registry_3.5.200.v20110815-1601.jar@start, \
startup/org.eclipse.equinox.util_1.0.300.v20110502.jar@start, \
startup/org.eclipse.equinox.ds_1.3.100.v20110705.jar@start, \
startup/org.eclipse.equinox.app_1.3.100.v20110321.jar@start, \
startup/org.eclipse.equinox.common_3.6.0.v20110523.jar@start, \
startup/org.eclipse.equinox.preferences_3.4.100.v20110823-1251.jar@start, \
startup/org.eclipse.osgi.services_3.3.0.v20110711-1243.jar@start, \
startup/org.eclipse.core.expressions_3.4.300.v20110228.jar@start, \
startup/org.eclipse.core.databinding.beans_1.2.100.I20100824-0800.jar@start, \
startup/org.eclipse.core.commands_3.6.0.I20110111-0800.jar@start, \
startup/org.eclipse.core.databinding_1.4.0.I20110111-0800.jar@start, \
startup/org.eclipse.core.runtime_3.7.0.v20110912-1510.jar@start, \
startup/org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar@start, \
startup/org.eclipse.core.databinding.property_1.4.0.I20110222-0800.jar@start, \
startup/org.eclipse.core.databinding.observable_1.4.0.I20110222-0800.jar@start, \
startup/org.eclipse.core.jobs_3.5.200.v20110721-1714.jar@start, \
startup/org.eclipse.help_3.5.100.v20110426.jar@start, \
startup/org.eclipse.emf.common_2.7.0.v20110605-0747.jar@start, \
startup/org.eclipse.emf.ecore_2.7.0.v20110605-0747.jar@start, \
startup/org.eclipse.ocl.ecore_3.1.1.v20110823-1646.jar@start, \
startup/org.eclipse.ocl_3.1.0.v20110913-1213@start, \
startup/xmi-2.5.0.v20100521-1846.jar@start, \
startup/java-2.0.17.v201004271640.jar@start, \
startup/auth-3.2.200.v20100517.jar@start, \
startup/org.eclipse.equinox.servletbridge.extensionbundle_1.2.0.v20100503.jar, \
startup/org.eclipse.equinox.servletbridge_1.2.100.v20110502.jar@start, \
startup/org.eclipse.equinox.http.registry_1.1.100.v20110502.jar@start, \
startup/org.eclipse.equinox.http.jetty_2.0.100.v20110502.jar@start, \
startup/org.eclipse.equinox.http.servlet_1.1.300.v20110829-1633.jar@start, \
startup/org.eclipse.equinox.http.servletbridge_1.0.200.v20100503.jar@start, \
startup/org.mortbay.jetty.util_6.1.23.v201012071420.jar@start, \
startup/javax.servlet_2.5.0.v201103041518.jar@start, \
startup/rap-1.5/org.eclipse.rap.rwt_1.5.0.20110926-1702.jar@start, \
startup/rap-1.5/org.eclipse.rap.jface_1.5.0.20110926-1702.jar@start, \
startup/rap-1.5/org.eclipse.rap.jface.databinding_1.5.0.20110926-1702.jar@start, \
startup/rap-1.5/org.eclipse.rap.rwt.osgi_1.5.0.20110926-1702.jar@start, \
startup/rap-1.5/org.eclipse.rap.ui.workbench_1.5.0.20110926-1702.jar@start, \
startup/rap-1.5/org.eclipse.rap.ui_1.5.0.20110926-1702.jar@start, \
startup/rap-1.5/org.eclipse.rap.design.example_1.5.0.20110926-1702.jar@start, \
startup/rap-1.5/org.eclipse.rap.ui.forms_1.5.0.20110926-1702.jar@start, \
startup/rap-1.5/org.eclipse.rap.ui.cheatsheets_1.5.0.20110926-1702.jar@start, \
startup/rap-1.5/org.eclipse.rap.ui.views_1.5.0.20110926-1702.jar@start, \
startup/rap-1.5/org.eclipse.rap.rwt.theme.classic_1.5.0.20110926-1702.jar@start, \
startup/org.apache.felix.fileinstall-3.1.10.jar@start



I dont know how this is related to the problems I had but it helps. It's all that counts.


Good to know that such a command like 'ns' exists Smile

Yes, I think that wasn't a RAP problem either. Sorry.


Regards
Re: Ignored plugin.xml [message #750235 is a reply to message #749466] Tue, 25 October 2011 17:44 Go to previous message
Hans Missing name is currently offline Hans Missing nameFriend
Messages: 14
Registered: August 2010
Junior Member
Hi,

thanks for your reply but I solved my problem. I told Equinox to start org.mortbay.jetty.server_6.1.23.v201012071420.jar automatically. As I removed this entry from the config.ini everthing works fine. No complications anymore. Jetty is now loaded through the Apache File Installer.

Here a list of the bundles that are loaded with Equinox:

osgi.bundles= \
startup/mailto:com.ibm.icu.base_4.4.2.v20110831.jar@start, \
startup/mailto:org.eclipse.equinox.registry_3.5.200.v20110815-1601.jar@start, \
startup/mailto:org.eclipse.equinox.util_1.0.300.v20110502.jar@start, \
startup/mailto:org.eclipse.equinox.ds_1.3.100.v20110705.jar@start, \
startup/mailto:org.eclipse.equinox.app_1.3.100.v20110321.jar@start, \
startup/mailto:org.eclipse.equinox.common_3.6.0.v20110523.jar@start, \
startup/mailto:org.eclipse.equinox.preferences_3.4.100.v20110823-1251.jar@start, \
startup/mailto:org.eclipse.osgi.services_3.3.0.v20110711-1243.jar@start, \
startup/mailto:org.eclipse.core.expressions_3.4.300.v20110228.jar@start, \
startup/mailto:org.eclipse.core.databinding.beans_1.2.100.I20100824-0800.jar@start, \
startup/mailto:org.eclipse.core.commands_3.6.0.I20110111-0800.jar@start, \
startup/mailto:org.eclipse.core.databinding_1.4.0.I20110111-0800.jar@start, \
startup/mailto:org.eclipse.core.runtime_3.7.0.v20110912-1510.jar@start, \
startup/mailto:org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar@start, \
startup/mailto:org.eclipse.core.databinding.property_1.4.0.I20110222-0800.jar@start, \
startup/mailto:org.eclipse.core.databinding.observable_1.4.0.I20110222-0800.jar@start, \
startup/mailto:org.eclipse.core.jobs_3.5.200.v20110721-1714.jar@start, \
startup/mailto:org.eclipse.help_3.5.100.v20110426.jar@start, \
startup/mailto:org.eclipse.emf.common_2.7.0.v20110605-0747.jar@start, \
startup/mailto:org.eclipse.emf.ecore_2.7.0.v20110605-0747.jar@start, \
startup/mailto:org.eclipse.ocl.ecore_3.1.1.v20110823-1646.jar@start, \
startup/mailto:org.eclipse.ocl_3.1.0.v20110913-1213@start, \
startup/mailto:xmi-2.5.0.v20100521-1846.jar@start, \
startup/mailto:java-2.0.17.v201004271640.jar@start, \
startup/mailto:auth-3.2.200.v20100517.jar@start, \
startup/org.eclipse.equinox.servletbridge.extensionbundle_1.2.0.v20100503.jar, \
startup/mailto:org.eclipse.equinox.servletbridge_1.2.100.v20110502.jar@start, \
startup/mailto:org.eclipse.equinox.http.registry_1.1.100.v20110502.jar@start, \
startup/mailto:org.eclipse.equinox.http.jetty_2.0.100.v20110502.jar@start, \
startup/mailto:org.eclipse.equinox.http.servlet_1.1.300.v20110829-1633.jar@start, \
startup/mailto:org.eclipse.equinox.http.servletbridge_1.0.200.v20100503.jar@start, \
startup/mailto:org.mortbay.jetty.util_6.1.23.v201012071420.jar@start, \
startup/mailto:javax.servlet_2.5.0.v201103041518.jar@start, \
startup/rap-1.5/mailto:org.eclipse.rap.rwt_1.5.0.20110926-1702.jar@start, \
startup/rap-1.5/mailto:org.eclipse.rap.jface_1.5.0.20110926-1702.jar@start, \
startup/rap-1.5/mailto:org.eclipse.rap.jface.databinding_1.5.0.20110926-1702.jar@start, \
startup/rap-1.5/mailto:org.eclipse.rap.rwt.osgi_1.5.0.20110926-1702.jar@start, \
startup/rap-1.5/mailto:org.eclipse.rap.ui.workbench_1.5.0.20110926-1702.jar@start, \
startup/rap-1.5/mailto:org.eclipse.rap.ui_1.5.0.20110926-1702.jar@start, \
startup/rap-1.5/mailto:org.eclipse.rap.design.example_1.5.0.20110926-1702.jar@start, \
startup/rap-1.5/mailto:org.eclipse.rap.ui.forms_1.5.0.20110926-1702.jar@start, \
startup/rap-1.5/mailto:org.eclipse.rap.ui.cheatsheets_1.5.0.20110926-1702.jar@start, \
startup/rap-1.5/mailto:org.eclipse.rap.ui.views_1.5.0.20110926-1702.jar@start, \
startup/rap-1.5/mailto:org.eclipse.rap.rwt.theme.classic_1.5.0.20110926-1702.jar@start, \
startup/mailto:org.apache.felix.fileinstall-3.1.10.jar@start



I dont know how this is related to the problems I had but it helps. It's all that counts.


Good to know that such a command like 'ns' exists :)

Yes, I think that wasn't a RAP problem either. Sorry.


Regards
Previous Topic:FormToolkit#paintBordersFor should be exists for RAP
Next Topic:how to locate a url and download a file without generating html in html and clicking it?
Goto Forum:
  


Current Time: Tue Apr 16 12:33:26 GMT 2024

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

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

Back to the top