-
Aug 25th, 2009, 09:04 AM
#1
[ 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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules