I am using HttpServletRequest.getRealPath() to return a location which I am using to generate a jasper report into and then return a link to it for a web page. In dm server 2.0.0, this was working and returned a string like C:\Insight\dmserver\work\osgi\configuration\org.eclipse.osgi \bundles\38\data\store\org.eclipse.osgi\bundles\93\1\bundlef ile\ but with the new 2.1.0-RELEASE version of virgo, looks like C:\Insight\dmserver\null\. As the JEE API javadocs show this method as deprecated, I tried getting the ServletContext and calling getRealPath() on it as the javadocs suggest, but get the same result with it also.
Is this a known issue? Do I need to create an example and file a bug?
It's not a known issue, so I'd be grateful if you could create a failing example and file a bug.
If you could make the example minimal, that will help as it may be that this is a bug in Gemini Web in which case a minimal example will make it easier to reproduce and fix on Gemini Web (before validating the fix works on Virgo too).