Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Problem with RWT-OSGi integration bundle on JBoss 7.2
Problem with RWT-OSGi integration bundle on JBoss 7.2 [message #976140] Thu, 08 November 2012 10:47 Go to next message
Peter Kilian is currently offline Peter KilianFriend
Messages: 13
Registered: December 2011
Junior Member
Hi,

we have a problem with our OSGi application that uses the RWT-OSGi integration bundle on JBoss.

We get the following error:
13:04:41,139 ERROR [org.eclipse.rap.rwt.osgi] (Thread-63) Unable to start RWT application.: org.apache.felix.log.LogException: java.lang.RuntimeException: org.osgi.service.http.NamespaceException: JBAS011964: Invalid resource name: C:\java\jboss-as-7.2.0.Alpha1-SNAPSHOT\standalone\data\osgi-store\bundle-19\rwtcontext_26139062_10836077/rwt-resources

at org.eclipse.rap.rwt.osgi.internal.ApplicationReferenceImpl.registerResourceDirectory(ApplicationReferenceImpl.java:194)

at org.eclipse.rap.rwt.osgi.internal.ApplicationReferenceImpl.startRWTApplication(ApplicationReferenceImpl.java:79)

at org.eclipse.rap.rwt.osgi.internal.ApplicationReferenceImpl.start(ApplicationReferenceImpl.java:63)


I created a bug report against JBoss [1], they think that it is wrong to use BundleContext.getDataFile() to get the path and use it as base for the name parameter of HttpService().registerResources( String alias, String name, HttpContext context ).

Is this then a bug of the RWT-OSGi integration bundle?

Best regards
Peter

[1] https://issues.jboss.org/browse/AS7-5883
Re: Problem with RWT-OSGi integration bundle on JBoss 7.2 [message #978077 is a reply to message #976140] Fri, 09 November 2012 20:35 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Peter,

I guess it is. Could you please open a bug and include a pointer to the
JBoss ticket?

You can avoid this issue by launching the RAP application directly using
the ApplicationLauncher service. Please check the JavaDoc of
org.eclipse.rap.rwt.osgi.ApplicationLauncher.

Best regards,
Ralf

--
Ralf Sternberg

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Problem with RWT-OSGi integration bundle on JBoss 7.2 [message #981179 is a reply to message #978077] Mon, 12 November 2012 08:12 Go to previous message
Peter Kilian is currently offline Peter KilianFriend
Messages: 13
Registered: December 2011
Junior Member
Hi Ralf,

opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=394072

Thank you
Peter
Previous Topic:Force Download CSV in IE9
Next Topic:how to get the elements of the fiteredTree after it is filtered?
Goto Forum:
  


Current Time: Sat Apr 20 03:56:49 GMT 2024

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

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

Back to the top