deploy my RAP-App as War-File [message #491434] |
Wed, 14 October 2009 10:51  |
Eclipse User |
|
|
|
Hi everybody.
I want to deploy my RAP-Application as war-File and get the Following Error:
eclipse.core.runtime.compatibility.registry_0.0.0 failed to resolve.:Host plug-in org.eclipse.equinox.registry_[3.3.0,3.5.0) has not been found.
I don't understand the error, becaus the target- and the eclipse-version contains "org.eclipse.equinox.registry_3.5.0.v20090911.jar"
I'm using Eclipse Galileo Build id: 20090920-1017 and the RAP Target 1.3 M2 (with some Birt Plugins).
Thank you in advance
Olli
|
|
|
|
|
|
Re: deploy my RAP-App as War-File [message #491679 is a reply to message #491664] |
Thu, 15 October 2009 09:21   |
Eclipse User |
|
|
|
Okay....
I checked it all and it seem to be okay, but the errors continued to exist. Then I noticed that in the Run-Configuration my "*.rap" and "*.nl1" fragments are configured with "AutoStart=false".
I changed the config.ini in this way (delete "@start") and it works right away. Never read something like this in the newsgroup or the help...
Here is my config.ini:
#Eclipse Runtime Configuration File
osgi.bundles= com.ibm.icu.base@start,\
com.ibm.icu@start,\
de.xyz.KomLag.nl1,\
de.xyz.KomLag.rap,\
de.xyz.KomLag@start,\
de.xyz.kunden.KomLag@start,\
de.xyz.maskenbasis.nl1,\
de.xyz.maskenbasis.rap,\
de.xyz.maskenbasis@start,\
org.eclipse.core.commands@start,\
...
org.eclipse.equinox.servletbridge.extensionbundle
osgi.bundles.defaultStartLevel=4
The problems seem to be solved .
Thank you anyway for your help Ivan.
Regards
Olli
|
|
|
|
|
|
|
|
|
Re: deploy my RAP-App as War-File [message #492447 is a reply to message #492424] |
Tue, 20 October 2009 08:58   |
Eclipse User |
|
|
|
Oliver,
those paths look good. If all images (including theme images) are
missing then I suppose that your problem is somehow related to resource
registration. Could you please post the output of the ss command in your
OSGi console? You should also enable the -consolelog parameter in your
web.xml to track errors.
Regards, Ralf
Oliver Koch wrote:
> I use the images in Labels:
>
> lbl_Splash = new PSB_Label(cmp_Middle, SWT.CENTER);
> Image splash = Activator.getImageDescriptor("splash.bmp").createImage();
> lbl_Splash.setImage(splash);
>
> In ToolItems:
>
> ToolItem clearSearch = new ToolItem(toolBar, SWT.PUSH);
> clearSearch.setImage(Activator.getImageDescriptor(IKomLagIma ges.ICO_CROSS).createImage());
>
>
> or my own Extensions for Actions
>
> <!-- plugin.xml -->
> ..
> <RefreshAction
> Icon="resources/icons/arrow_refresh.png"
> name="Refresh">
> ..
> </RefreshAction>
> ..
>
> etc...
>
> I used Firebug, as you have recommended.
> All HTTP-Request for Images results in 404 Errors. The URL's of the
> Requests are for example:
>
>
> http://127.0.0.1:8080/KomLag/rwt-resources/4.fwk6658066/reso urces/img/splash_300x225.png
>
> --------------------
> http://127.0.0.1:8080/KomLag/rwt-resources/themes/Custom_1/w idgets/tree/start_minus.gif
>
>
>
> pffff...... :?
> Benjamin Muskalla wrote on Tue, 20 October 2009 07:23
>> But how do you use the images? In SWT widgets (eg. Buttons, Toolbars,
>> ...) or do you use them in another context like in a SWT Browser
>> widget or in the branding?
>>
>> Another thing you could check is what happens on the client side. For
>> example you could use FireBug [getfirebug.com] to see what happens
>> with the HTTP requests for the images.
>>
>> Regards,
>> Ben
>
>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.10100 seconds