Problem with RWT-OSGi integration bundle on JBoss 7.2 [message #976140] |
Thu, 08 November 2012 05:47  |
Eclipse User |
|
|
|
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
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.13052 seconds