[
https://issues.jboss.org/browse/AS7-5883?page=com.atlassian.jira.plugin.s...
]
Thomas Diesler edited comment on AS7-5883 at 11/7/12 10:56 AM:
---------------------------------------------------------------
That's clearly wrong. The name parameter takes an relative path to the bundle root and
not an absolute file path.
They assume that the framework unpacks the bundle and puts it at some location in the
filesystem. They then probably hope to get a performance gain when they HttpService
accesses the file directly. It should however be up to the framework to do this
optimization.
was (Author: thomas.diesler):
That's clearly wrong. The name parameter takes an relative path to the bundle root
and not an absolute file path
JBAS011964 Invalid resource name with HttpService on Windows
------------------------------------------------------------
Key: AS7-5883
URL:
https://issues.jboss.org/browse/AS7-5883
Project: Application Server 7
Issue Type: Bug
Components: OSGi
Reporter: Thomas Diesler
Assignee: Thomas Diesler
{code}
Caused by: org.apache.felix.log.LogException: 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.jboss.as.osgi.httpservice.HttpServiceImpl.registerResources(HttpServiceImpl.java:109)
at
org.eclipse.rap.rwt.osgi.internal.ApplicationReferenceImpl.registerResourceDirectory(ApplicationReferenceImpl.java:190)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira