Announcement Announcement Module
Collapse
No announcement yet.
[ BUG? ] DMS 1.0.2 ClassLoader.getResources returns malformed file URL's on WinXP Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • [ BUG? ] DMS 1.0.2 ClassLoader.getResources returns malformed file URL's on WinXP

    I tried to deploy a WAR file with Jersey (1.1.2-snapshot) REST services on SpringSource DM Server 1.0.2 (Jersey libraries included in the WAR). Trying to access any of the REST services caused Jersey to throw an NPE. The NPE tracked to Jersey calling classloader.getResources() and getting an URL back in format "jar:file:C:\springsource-dm-server-ee-1.0.2.RELEASE\work\equinox-config\org.eclipse.osgi\bundles\113\1\bundlefile\W EB-INF\lib\project.jar!/com/company/". URL.toURI() would then fail, leading to the NPE.

    Shouldn't the URL returned be in syntax "jar:file:///C:/.."? Is this possibly a problem with DMS or Equinox?

    My environment is Windows XP + JDK 1.6.0_05.
Working...
X