|
|
|
|
Re: deploy my RAP-App as War-File [message #491679 is a reply to message #491664] |
Thu, 15 October 2009 13:21 |
Oliver Koch Messages: 12 Registered: July 2009 |
Junior Member |
|
|
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 12:58 |
|
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
>
>
|
|
|
|
Re: deploy my RAP-App as War-File [message #492583 is a reply to message #492452] |
Tue, 20 October 2009 20:49 |
|
Hi Oliver,
you're deploying a Jetty into Tomcat, so you have two concurrent servlet
containers running. I'm not sure about the consequences, but that
probably won't go well. You should leave out equinox.http.jetty and the
mortbay.jetty bundles.
Best regards, Ralf
Oliver Koch wrote:
> Here is the output from the ss command in the OSGI-console in Tomcat 6.x:
>
>
> id State Bundle
> 0 ACTIVE org.eclipse.osgi_3.6.0.v20090914
> Fragments=40
> 1 ACTIVE com.ibm.icu.base_4.0.1.v20090415
> 2 RESOLVED de.xyz.KomLag.nl1_1.0.0.20091012
> Master=4
> 3 RESOLVED de.xyz.KomLag.rap_1.0.0.20091012
> Master=4
> 4 ACTIVE de.xyz.KomLag_1.0.0.20091012
> Fragments=2, 3
> 5 ACTIVE de.xyz.kunden.KomLagPsb_1.0.0.20091012
> 6 RESOLVED de.xyz.maskenbasis.nl1_1.0.0.20091012
> Master=8
> 7 RESOLVED de.xyz.maskenbasis.rap_1.0.0.20091012
> Master=8
> 8 ACTIVE de.xyz.maskenbasis_1.0.0.20091012
> Fragments=6, 7
> 9 ACTIVE org.apache.commons.logging_1.0.4.v200904062259
> 10 ACTIVE org.eclipse.core.commands_3.5.0.I20090525-2000
> 11 ACTIVE org.eclipse.core.contenttype_3.4.100.v20090831
> 12 ACTIVE org.eclipse.core.databinding.beans_1.2.0.I20090525-2000
> 13 ACTIVE
> org.eclipse.core.databinding.observable_1.3.0.I20090901-0800
> 14 ACTIVE
> org.eclipse.core.databinding.property_1.2.100.I20090825-0800
> 15 ACTIVE org.eclipse.core.databinding_1.3.0.I20090825-0800
> 16 ACTIVE org.eclipse.core.expressions_3.4.100.v20090429-1800
> 17 ACTIVE org.eclipse.core.jobs_3.4.100.v20090429-1800
> 18 ACTIVE org.eclipse.core.runtime_3.5.100.v20090911
> 19 ACTIVE org.eclipse.equinox.app_1.2.0.v20090520-1800
> 20 ACTIVE org.eclipse.equinox.common_3.5.100.v20090817
> 21 ACTIVE org.eclipse.equinox.http.jetty_2.0.0.v20090520-1800
> 22 ACTIVE org.eclipse.equinox.http.registry_1.0.200.200910201527
> 23 ACTIVE
> org.eclipse.equinox.http.servletbridge_1.0.100.v20090306-190 0
> 24 ACTIVE org.eclipse.equinox.http.servlet_1.0.200.200910201527
> 25 ACTIVE org.eclipse.equinox.preferences_3.2.300.v20090520-1800
> 26 ACTIVE org.eclipse.equinox.registry_3.5.0.200910201527
> 27 ACTIVE org.eclipse.help_3.5.0.v20090729
> 28 ACTIVE org.eclipse.osgi.services_3.2.0.v20090520-1800
> 29 ACTIVE org.eclipse.rap.jface.databinding_1.3.0.20090929-1121
> 30 ACTIVE org.eclipse.rap.jface_1.3.0.20090929-1121
> 31 RESOLVED org.eclipse.rap.rwt.q07_1.3.0.20090929-1121
> Master=32
> 32 ACTIVE org.eclipse.rap.rwt_1.3.0.20090929-1121
> Fragments=31
> 33 ACTIVE org.eclipse.rap.ui.cheatsheets_1.3.0.20090929-1121
> 34 ACTIVE org.eclipse.rap.ui.forms_1.3.0.20090929-1121
> 35 ACTIVE org.eclipse.rap.ui.views_1.3.0.20090929-1121
> 36 ACTIVE org.eclipse.rap.ui.workbench_1.3.0.20090929-1121
> 37 ACTIVE org.eclipse.rap.ui_1.3.0.20090929-1121
> 38 ACTIVE org.mortbay.jetty.server_6.1.15.v200905151201
> 39 ACTIVE org.mortbay.jetty.util_6.1.15.v200905182336
> 40 RESOLVED org.eclipse.equinox.servletbridge.extensionbundle_1.0.0
> Master=0
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03796 seconds