RAP 1.5 M3 RWT-OSGi integration bundle [message #761953] |
Wed, 07 December 2011 05:39  |
Eclipse User |
|
|
|
Hi,
i use RAP 1.5 M3 to develop a RWT standalone application. The runtime environment is Apache Karaf.
But when i try to start the RWT-OSGI integration bundle i get an error message because the integration bundle imports the package org.osgi.service.http;version="[1.2.1,2.0.0)
Apache Karaf uses Pax Web for this service. Pax web exports this package with the version 1.2. In the "OSGi Service Platform Enterprise Specification,Release 4, Version 4.2" is following example: Import-Package: org.osgi.service.http; version="[1.2,2.0)
Is the version in the RWT-OSGI integration bundle wrong?
Greetings
Peter
|
|
|
|
|
|
|
|
Re: RAP 1.5 M3 RWT-OSGi integration bundle [message #831752 is a reply to message #831692] |
Thu, 29 March 2012 05:39   |
Eclipse User |
|
|
|
Hi Rüdiger,
this is really a bug in pax-web. There is a JIRA for this problem: PAXWEB-303
In Karaf 3.0.0-SNAPSHOT is a newer version of pax-web contained, where this bug is fixed.
But when i call my application only a empty page is displayed. How is the IEntryPoint.createUI() called? In the source of the page i see :
if( discoverAjax() ) {
// rap runtime application
org.eclipse.rwt.protocol.Processor.processMessage( {
"meta": {},
"operations": [ [ "create", "w1", "rwt.Display" ], [ "call", "w1", "init", {
"rootId": "w1",
"url": "reach"
} ] ]
} );
Should this javascript snippet do the call? My Browser is chrome
Regards
Peter
|
|
|
Re: RAP 1.5 M3 RWT-OSGi integration bundle [message #832133 is a reply to message #831752] |
Thu, 29 March 2012 16:24   |
Eclipse User |
|
|
|
Peter,
an entry point must be registered with
ApplicationConfiguration#addEntryPoint(). Is your entry point is
executed at all?
Rüdiger
On 29.03.2012 11:39, Peter Kilian wrote:
> Hi Rüdiger,
>
> this is really a bug in pax-web. There is a JIRA for this problem:
> PAXWEB-303
> In Karaf 3.0.0-SNAPSHOT is a newer version of pax-web contained, where
> this bug is fixed.
> But when i call my application only a empty page is displayed. How is
> the IEntryPoint.createUI() called? In the source of the page i see :
>
>
> if( discoverAjax() ) {
> // rap runtime application
> org.eclipse.rwt.protocol.Processor.processMessage( {
> "meta": {},
> "operations": [ [ "create", "w1", "rwt.Display" ], [ "call", "w1",
> "init", {
> "rootId": "w1",
> "url": "reach"
> } ] ]
> } );
>
> Should this javascript snippet do the call? My Browser is chrome
>
> Regards Peter
--
Rüdiger Herrmann
http://codeaffine.com
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08430 seconds