You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by "Dan Jemiolo (JIRA)" <ji...@apache.org> on 2006/11/03 16:21:19 UTC

[jira] Updated: (MUSE-141) Muse 2 dependant on file-system access of resources

     [ http://issues.apache.org/jira/browse/MUSE-141?page=all ]

Dan Jemiolo updated MUSE-141:
-----------------------------

    Fix Version/s: 2.1.0
         Priority: Minor  (was: Major)

I will try this, but lowering priority in 2.1 because we may not finish it (for Axis2 and OSGi) by next Friday.

> Muse 2 dependant on file-system access of resources
> ---------------------------------------------------
>
>                 Key: MUSE-141
>                 URL: http://issues.apache.org/jira/browse/MUSE-141
>             Project: Muse
>          Issue Type: Bug
>          Components: Deployment - Axis2
>    Affects Versions: 2.0.0
>         Environment: WLS 9.2
>            Reporter: James Shiell
>         Assigned To: Dan Jemiolo
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> Currently all file access in the AxisEnvironment is done via getRealPath(). This could fail when an application server does not extract the code from the JAR file.
> To get around this the servlet context should be used:
> final ServletContext servletContext = (ServletContext) opContext.getConfigurationContext().getProperty(
>                 HTTPConstants.MC_HTTP_SERVLETCONTEXT);
> URL url = servletContext.getResource("/WEB-INF/services/muse/muse.xml");
> InputStream in = servletContext.getResourceAsStream("/WEB-INF/services/muse/muse.xml");

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org