You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Ivan (JIRA)" <ji...@apache.org> on 2011/09/02 08:23:10 UTC

[jira] [Commented] (GERONIMO-5743) ServletContext.getRealPath() returns null

    [ https://issues.apache.org/jira/browse/GERONIMO-5743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095796#comment-13095796 ] 

Ivan commented on GERONIMO-5743:
--------------------------------

Commit changes to trunk at r1164356, a deployment watcher is added to delete the temporary directories while undeploying the applications.

> ServletContext.getRealPath() returns null
> -----------------------------------------
>
>                 Key: GERONIMO-5743
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5743
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: web
>    Affects Versions: 3.0-M1
>            Reporter: Jarek Gawor
>            Assignee: Ivan
>             Fix For: 3.0
>
>
> In 3.0 M1 and trunk, ServletContext.getRealPath() returns null. In previous versions of Geronimo a real path was returned. Returning null is ok from specification point of view but it breaks compatibility for applications. It also looks like there are a number of web applications that rely on the getRealPath() to return a non-null value. One such application is Nexus web app.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira