[
https://issues.apache.org/jira/browse/MUSE-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463068
]
James Shiell commented on MUSE-141:
-----------------------------------
WLS is a bag of fun - I've run into problems before where it doesn't unarchive
things, which screws up any access via a real directory path. As to why they're
not present in this case, however - no idea. Presumably it's something to do
with the WSDL resolution, as the other files appear to load correctly.
(1) unfortunately isn't possible, due to customer requirements.
(2) sounds sensible - it does nicely isolate it and ensures no one else
suffers. Indeed it's pretty much what we're doing now - we have an isolation
layer that extends the Axis 2 one and use an environment extension to do the
same. I will attach these as I imagine they should pretty much do the trick.
Many thanks, once again, for all your efforts!
> Muse 2 dependant on file-system access of resources
> ---------------------------------------------------
>
> Key: MUSE-141
> URL: https://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
>
> Attachments: IsolationLayer.zip, MUSE141.java
>
>
> 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:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]