Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP and fragment
RAP and fragment [message #908435] Wed, 05 September 2012 11:36 Go to next message
Gianluca Chiodaroli is currently offline Gianluca ChiodaroliFriend
Messages: 7
Registered: September 2012
Junior Member
Hello to all,
i have a problem with a rap application.
I have a fragment that is not resolved at runtime and i always got ClassNotFounExcption className that is in my fragment.

I use the export war in warproduct configuration panel.

Any advice?

Thanks

Gianluca
Re: RAP and fragment [message #908881 is a reply to message #908435] Thu, 06 September 2012 07:01 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 1872
Registered: July 2009
Senior Member
Hi,
did you check that the fragment is included in the exported warproduct/war?
Best,
Ivan

On 9/5/2012 2:36 PM, Gianluca Chiodaroli wrote:
> Hello to all,
> i have a problem with a rap application. I have a fragment that is not
> resolved at runtime and i always got ClassNotFounExcption className
> that is in my fragment.
>
> I use the export war in warproduct configuration panel.
>
> Any advice?
>
> Thanks
>
> Gianluca
>

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP and fragment [message #908885 is a reply to message #908881] Thu, 06 September 2012 07:15 Go to previous messageGo to next message
Gianluca Chiodaroli is currently offline Gianluca ChiodaroliFriend
Messages: 7
Registered: September 2012
Junior Member
Yes, i find it under \WEB-INF\plugins

Bye
Gianluca
Re: RAP and fragment [message #908896 is a reply to message #908885] Thu, 06 September 2012 07:32 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 1872
Registered: July 2009
Senior Member
Try to enable the OSGi console in your web.xml and list the state of the
bundles with "ss" command. Post the command output back here.
Best,
Ivan

On 9/6/2012 10:15 AM, Gianluca Chiodaroli wrote:
> Yes, i find it under \WEB-INF\plugins
>
> Bye
> Gianluca

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP and fragment [message #908927 is a reply to message #908896] Thu, 06 September 2012 08:37 Go to previous messageGo to next message
Gianluca Chiodaroli is currently offline Gianluca ChiodaroliFriend
Messages: 7
Registered: September 2012
Junior Member
The result of "ss"
id      State       Bundle
0       ACTIVE      org.eclipse.osgi_3.8.0.v20120529-1548
                    Fragments=35
1       ACTIVE      com.ibm.icu.base_4.4.2.v20110831
12      ACTIVE      org.apache.commons.fileupload_1.2.2.v20111214-1400
13      ACTIVE      org.apache.commons.io_2.0.1.v201105210651
14      ACTIVE      org.apache.felix.gogo.command_0.8.0.v201108120515
15      ACTIVE      org.apache.felix.gogo.runtime_0.8.0.v201108120515
16      ACTIVE      org.apache.felix.gogo.shell_0.8.0.v201110170705
17      ACTIVE      org.eclipse.core.commands_3.6.1.v20120521-2329
18      ACTIVE      org.eclipse.core.contenttype_3.4.200.v20120523-2004
19      ACTIVE      org.eclipse.core.databinding_1.4.1.v20120521-2329
20      ACTIVE      org.eclipse.core.databinding.beans_1.2.200.v20120523-1955
21      ACTIVE      org.eclipse.core.databinding.observable_1.4.1.v20120521-2329
22      ACTIVE      org.eclipse.core.databinding.property_1.4.100.v20120523-1955
23      ACTIVE      org.eclipse.core.expressions_3.4.400.v20120523-2004
24      ACTIVE      org.eclipse.core.jobs_3.5.200.v20120521-2346
25      ACTIVE      org.eclipse.core.runtime_3.8.0.v20120521-2346
26      ACTIVE      org.eclipse.equinox.app_1.3.100.v20120522-1841
27      ACTIVE      org.eclipse.equinox.common_3.6.100.v20120522-1841
28      ACTIVE      org.eclipse.equinox.console_1.0.0.v20120522-1841
29      ACTIVE      org.eclipse.equinox.ds_1.4.0.v20120522-1841
30      ACTIVE      org.eclipse.equinox.http.registry_1.1.200.v20120522-2049
31      ACTIVE      org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841
32      ACTIVE      org.eclipse.equinox.http.servletbridge_1.0.300.v20120522-2049
33      ACTIVE      org.eclipse.equinox.preferences_3.5.0.v20120522-1841
34      ACTIVE      org.eclipse.equinox.registry_3.5.200.v20120522-1841
35      RESOLVED    org.eclipse.equinox.servletbridge.extensionbundle_1.2.100.v20120522-2049
                    Master=0
36      ACTIVE      org.eclipse.equinox.util_1.0.400.v20120522-2049
37      ACTIVE      org.eclipse.help_3.6.0.v20120521-2344
38      ACTIVE      org.eclipse.jdt.junit.runtime_3.4.300.v20120523-1257
39      INSTALLED   org.eclipse.jetty.continuation_8.1.3.v20120522
40      INSTALLED   org.eclipse.jetty.http_8.1.3.v20120522
41      INSTALLED   org.eclipse.jetty.io_8.1.3.v20120522
42      INSTALLED   org.eclipse.jetty.security_8.1.3.v20120522
43      INSTALLED   org.eclipse.jetty.server_8.1.3.v20120522
44      INSTALLED   org.eclipse.jetty.servlet_8.1.3.v20120522
45      INSTALLED   org.eclipse.jetty.util_8.1.3.v20120522
46      ACTIVE      org.eclipse.osgi.services_3.3.100.v20120522-1822
47      ACTIVE      org.eclipse.rap.jface_1.5.0.20120612-1458
48      ACTIVE      org.eclipse.rap.jface.databinding_1.5.0.20120612-1458
49      ACTIVE      org.eclipse.rap.rwt_1.5.0.20120612-1458
50      ACTIVE      org.eclipse.rap.rwt.osgi_1.5.0.20120612-1458
51      ACTIVE      org.eclipse.rap.rwt.supplemental.filedialog_1.5.0.20120220-1720
52      ACTIVE      org.eclipse.rap.rwt.supplemental.fileupload_1.5.0.20120220-1720
53      ACTIVE      org.eclipse.rap.ui_1.5.0.20120612-1458
54      ACTIVE      org.eclipse.rap.ui.forms_1.5.0.20120612-1458
55      ACTIVE      org.eclipse.rap.ui.views_1.5.0.20120612-1458
56      ACTIVE      org.eclipse.rap.ui.workbench_1.5.0.20120612-1458
57      ACTIVE      org.junit_3.8.2.v3_8_2_v20100427-1100
148     RESOLVED    platform_1.0.0.201208061223
156     ACTIVE      dependency.commons_1.0.0.201208081317
157     ACTIVE      dependency.dbdriver_1.0.0.201208081317
158     ACTIVE      dependency.file_1.0.0.201208081317
159     ACTIVE      dependency.hibernate_1.0.0.201208081317
160     ACTIVE      dependency.logging_1.0.0.201208081317
161     ACTIVE      dependency.mail_1.0.0.201208081317
162     ACTIVE      dependency.network_1.0.0.201208081317
163     ACTIVE      dependency.pdf_1.0.0.201208081317
191     INSTALLED   feature.assist_1.0.0.201209051218
192     ACTIVE      objectmodel_1.0.0.201209051218
193     ACTIVE      platform.compatibility_1.0.0.201209051218
194     ACTIVE      platform.resources_1.0.0.201209051218
195     ACTIVE      platform.ui_1.0.0.201209051218
196     ACTIVE      platform.ui.rap.theme_1.0.0.201209051218
197     ACTIVE      product.rap_1.0.0.201209051218
198     ACTIVE      session_1.0.0.201209051218
199     INSTALLED   session.rap_1.0.0.201209051218

My fragment is session.rap

Thanks
Gianluca
Re: RAP and fragment [message #908954 is a reply to message #908927] Thu, 06 September 2012 09:42 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 1872
Registered: July 2009
Senior Member
....and what the "diag 199" returns?

On 9/6/2012 11:37 AM, Gianluca Chiodaroli wrote:
> The result of "ss"
>
> id State Bundle
> 0 ACTIVE org.eclipse.osgi_3.8.0.v20120529-1548
> Fragments=35
> 1 ACTIVE com.ibm.icu.base_4.4.2.v20110831
> 12 ACTIVE org.apache.commons.fileupload_1.2.2.v20111214-1400
> 13 ACTIVE org.apache.commons.io_2.0.1.v201105210651
> 14 ACTIVE org.apache.felix.gogo.command_0.8.0.v201108120515
> 15 ACTIVE org.apache.felix.gogo.runtime_0.8.0.v201108120515
> 16 ACTIVE org.apache.felix.gogo.shell_0.8.0.v201110170705
> 17 ACTIVE org.eclipse.core.commands_3.6.1.v20120521-2329
> 18 ACTIVE org.eclipse.core.contenttype_3.4.200.v20120523-2004
> 19 ACTIVE org.eclipse.core.databinding_1.4.1.v20120521-2329
> 20 ACTIVE org.eclipse.core.databinding.beans_1.2.200.v20120523-1955
> 21 ACTIVE
> org.eclipse.core.databinding.observable_1.4.1.v20120521-2329
> 22 ACTIVE
> org.eclipse.core.databinding.property_1.4.100.v20120523-1955
> 23 ACTIVE org.eclipse.core.expressions_3.4.400.v20120523-2004
> 24 ACTIVE org.eclipse.core.jobs_3.5.200.v20120521-2346
> 25 ACTIVE org.eclipse.core.runtime_3.8.0.v20120521-2346
> 26 ACTIVE org.eclipse.equinox.app_1.3.100.v20120522-1841
> 27 ACTIVE org.eclipse.equinox.common_3.6.100.v20120522-1841
> 28 ACTIVE org.eclipse.equinox.console_1.0.0.v20120522-1841
> 29 ACTIVE org.eclipse.equinox.ds_1.4.0.v20120522-1841
> 30 ACTIVE org.eclipse.equinox.http.registry_1.1.200.v20120522-2049
> 31 ACTIVE org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841
> 32 ACTIVE
> org.eclipse.equinox.http.servletbridge_1.0.300.v20120522-2049
> 33 ACTIVE org.eclipse.equinox.preferences_3.5.0.v20120522-1841
> 34 ACTIVE org.eclipse.equinox.registry_3.5.200.v20120522-1841
> 35 RESOLVED
> org.eclipse.equinox.servletbridge.extensionbundle_1.2.100.v20120522-2049
> Master=0
> 36 ACTIVE org.eclipse.equinox.util_1.0.400.v20120522-2049
> 37 ACTIVE org.eclipse.help_3.6.0.v20120521-2344
> 38 ACTIVE org.eclipse.jdt.junit.runtime_3.4.300.v20120523-1257
> 39 INSTALLED org.eclipse.jetty.continuation_8.1.3.v20120522
> 40 INSTALLED org.eclipse.jetty.http_8.1.3.v20120522
> 41 INSTALLED org.eclipse.jetty.io_8.1.3.v20120522
> 42 INSTALLED org.eclipse.jetty.security_8.1.3.v20120522
> 43 INSTALLED org.eclipse.jetty.server_8.1.3.v20120522
> 44 INSTALLED org.eclipse.jetty.servlet_8.1.3.v20120522
> 45 INSTALLED org.eclipse.jetty.util_8.1.3.v20120522
> 46 ACTIVE org.eclipse.osgi.services_3.3.100.v20120522-1822
> 47 ACTIVE org.eclipse.rap.jface_1.5.0.20120612-1458
> 48 ACTIVE org.eclipse.rap.jface.databinding_1.5.0.20120612-1458
> 49 ACTIVE org.eclipse.rap.rwt_1.5.0.20120612-1458
> 50 ACTIVE org.eclipse.rap.rwt.osgi_1.5.0.20120612-1458
> 51 ACTIVE
> org.eclipse.rap.rwt.supplemental.filedialog_1.5.0.20120220-1720
> 52 ACTIVE
> org.eclipse.rap.rwt.supplemental.fileupload_1.5.0.20120220-1720
> 53 ACTIVE org.eclipse.rap.ui_1.5.0.20120612-1458
> 54 ACTIVE org.eclipse.rap.ui.forms_1.5.0.20120612-1458
> 55 ACTIVE org.eclipse.rap.ui.views_1.5.0.20120612-1458
> 56 ACTIVE org.eclipse.rap.ui.workbench_1.5.0.20120612-1458
> 57 ACTIVE org.junit_3.8.2.v3_8_2_v20100427-1100
> 148 RESOLVED platform_1.0.0.201208061223
> 156 ACTIVE dependency.commons_1.0.0.201208081317
> 157 ACTIVE dependency.dbdriver_1.0.0.201208081317
> 158 ACTIVE dependency.file_1.0.0.201208081317
> 159 ACTIVE dependency.hibernate_1.0.0.201208081317
> 160 ACTIVE dependency.logging_1.0.0.201208081317
> 161 ACTIVE dependency.mail_1.0.0.201208081317
> 162 ACTIVE dependency.network_1.0.0.201208081317
> 163 ACTIVE dependency.pdf_1.0.0.201208081317
> 191 INSTALLED feature.assist_1.0.0.201209051218
> 192 ACTIVE objectmodel_1.0.0.201209051218
> 193 ACTIVE platform.compatibility_1.0.0.201209051218
> 194 ACTIVE platform.resources_1.0.0.201209051218
> 195 ACTIVE platform.ui_1.0.0.201209051218
> 196 ACTIVE platform.ui.rap.theme_1.0.0.201209051218
> 197 ACTIVE product.rap_1.0.0.201209051218
> 198 ACTIVE session_1.0.0.201209051218
> 199 INSTALLED session.rap_1.0.0.201209051218
>
> My fragment is session.rap
>
> Thanks Gianluca

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP and fragment [message #909017 is a reply to message #908954] Thu, 06 September 2012 12:30 Go to previous message
Gianluca Chiodaroli is currently offline Gianluca ChiodaroliFriend
Messages: 7
Registered: September 2012
Junior Member
Diag command is really usefull.
I fixed varius problem and now is another plugin that don't work.

"Framework is launched."


id      State       Bundle
0       ACTIVE      org.eclipse.osgi_3.8.0.v20120529-1548
                    Fragments=37
1       ACTIVE      com.ibm.icu.base_4.4.2.v20110831
2       ACTIVE      dependency.commons_1.0.0.201208081317
3       ACTIVE      dependency.dbdriver_1.0.0.201208081317
4       ACTIVE      dependency.file_1.0.0.201208081317
5       ACTIVE      dependency.hibernate_1.0.0.201208081317
6       ACTIVE      dependency.logging_1.0.0.201208081317
7       ACTIVE      dependency.mail_1.0.0.201208081317
8       ACTIVE      dependency.network_1.0.0.201208081317
9       ACTIVE      dependency.pdf_1.0.0.201208081317
10      ACTIVE      filedialog_1.0.0.201209061557
11      RESOLVED    filedialog.rap_1.0.0.201209061557
                    Master=54
12      ACTIVE      objectmodel_1.0.0.201209061557
13      ACTIVE      org.apache.commons.fileupload_1.2.2.v20111214-1400
14      ACTIVE      org.apache.commons.io_2.0.1.v201105210651
15      ACTIVE      org.apache.felix.gogo.command_0.8.0.v201108120515
16      ACTIVE      org.apache.felix.gogo.runtime_0.8.0.v201108120515
17      ACTIVE      org.apache.felix.gogo.shell_0.8.0.v201110170705
18      ACTIVE      org.eclipse.core.commands_3.6.1.v20120521-2329
19      ACTIVE      org.eclipse.core.contenttype_3.4.200.v20120523-2004
20      ACTIVE      org.eclipse.core.databinding_1.4.1.v20120521-2329
21      ACTIVE      org.eclipse.core.databinding.beans_1.2.200.v20120523-1955
22      ACTIVE      org.eclipse.core.databinding.observable_1.4.1.v20120521-2329
23      ACTIVE      org.eclipse.core.databinding.property_1.4.100.v20120523-1955
24      ACTIVE      org.eclipse.core.expressions_3.4.400.v20120523-2004
25      ACTIVE      org.eclipse.core.jobs_3.5.200.v20120521-2346
26      ACTIVE      org.eclipse.core.runtime_3.8.0.v20120521-2346
27      ACTIVE      org.eclipse.equinox.app_1.3.100.v20120522-1841
28      ACTIVE      org.eclipse.equinox.common_3.6.100.v20120522-1841
29      ACTIVE      org.eclipse.equinox.console_1.0.0.v20120522-1841
30      ACTIVE      org.eclipse.equinox.ds_1.4.0.v20120522-1841
31      ACTIVE      org.eclipse.equinox.http.registry_1.1.200.v20120522-2049
32      ACTIVE      org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841
33      ACTIVE      org.eclipse.equinox.http.servletbridge_1.0.300.v20120522-2049
34      ACTIVE      org.eclipse.equinox.preferences_3.5.0.v20120522-1841
35      ACTIVE      org.eclipse.equinox.registry_3.5.200.v20120522-1841
36      ACTIVE      org.eclipse.equinox.servletbridge_1.2.200.v20120522-2049
37      RESOLVED    org.eclipse.equinox.servletbridge.extensionbundle_1.2.100.v20120522-2049
                    Master=0
38      ACTIVE      org.eclipse.equinox.util_1.0.400.v20120522-2049
39      ACTIVE      org.eclipse.help_3.6.0.v20120521-2344
40      ACTIVE      org.eclipse.osgi.services_3.3.100.v20120522-1822
41      ACTIVE      org.eclipse.rap.jface_1.5.0.20120612-1458
42      ACTIVE      org.eclipse.rap.jface.databinding_1.5.0.20120612-1458
43      ACTIVE      org.eclipse.rap.rwt_1.5.0.20120612-1458
44      ACTIVE      org.eclipse.rap.rwt.osgi_1.5.0.20120612-1458
45      ACTIVE      org.eclipse.rap.rwt.supplemental.filedialog_1.5.0.20120220-1720
46      ACTIVE      org.eclipse.rap.rwt.supplemental.fileupload_1.5.0.20120220-1720
47      ACTIVE      org.eclipse.rap.ui_1.5.0.20120612-1458
48      ACTIVE      org.eclipse.rap.ui.forms_1.5.0.20120612-1458
49      ACTIVE      org.eclipse.rap.ui.views_1.5.0.20120612-1458
50      ACTIVE      org.eclipse.rap.ui.workbench_1.5.0.20120612-1458
51      ACTIVE      platform.compatibility_1.0.0.201209061557
52      ACTIVE      platform.featureregistryservice_1.0.0.201209061557
53      ACTIVE      platform.logger_1.0.0.201209061557
54      RESOLVED    platform.rap_1.0.0.201209061557
                    Fragments=11, 60
55      ACTIVE      platform.resources_1.0.0.201209061557
56      ACTIVE      platform.ui_1.0.0.201209061557
57      ACTIVE      platform.ui.rap.theme_1.0.0.201209061557
58      ACTIVE      product.rap_1.0.0.201209061557
59      ACTIVE      session_1.0.0.201209061557
60      RESOLVED    session.rap_1.0.0.201209061557
                    Master=54
osgi> diag 11
initial@reference:file:plugins/filedialog.rap_1.0.0.201209061557.jar [11]
  No unresolved constraints.


Now the class that is not found is in filedialog.rap
Thanks

Gianluca

[Updated on: Thu, 06 September 2012 13:58]

Report message to a moderator

Previous Topic:DateTime Calendar Day component theming issue
Next Topic:More on CSS Theming
Goto Forum:
  


Current Time: Thu Dec 18 20:24:45 GMT 2014

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

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