[ 
http://issues.apache.org/jira/browse/MUSE-128?page=comments#action_12445212 ] 
            
James Shiell commented on MUSE-128:
-----------------------------------

WLS *sometimes* unpacks it... I've no idea exactly what criteria is applied, 
and it seems to change from version to version, but it seems to be best to 
stick to loading via resources rather than file paths. Sorry, probably not the 
answer you wanted to hear :-(

However, on the classpath stuff, yes, it appears you do need to use 
prefer-webinf-classes or a filtering class loader (which is nicer and less 
painful, albeit only moderately).

> Deployment as WAR file fails on WLS 9.2
> ---------------------------------------
>
>                 Key: MUSE-128
>                 URL: http://issues.apache.org/jira/browse/MUSE-128
>             Project: Muse
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>         Environment: Windows XP SP2, Weblogic Server 9.2
>            Reporter: James Shiell
>         Assigned To: Dan Jemiolo
>             Fix For: 2.1.0
>
>
> When the application is packaged as a WAR file, and a service is packaged as 
> a AAR file, initialisation fails with the exception below.
> If the application is deployed in exploded form then this error does not 
> occur.
> Muse appears to be trying to access the file directly, and hence is 
> dependendant on an extracted copy of the file. As WLS does not unzip 
> version.aar it is failing as below. I would expect this to work regardless of 
> the applications approach to archives.
> This is similar to MUSE-117, but related to the WAR itself.
> Caused by: java.io.FileNotFoundException: 
> C:\dev\bea\user_projects\domains\ossj\servers\AdminServer\tmp\_WL_user\exploded\kzealm\war\WEB-INF\services\version.aar\muse.xml
>  (The system cannot find the path specified)
>         at java.io.FileInputStream.open(Native Method)
>         at java.io.FileInputStream.<init>(FileInputStream.java:106)
>         at 
> org.apache.muse.core.platform.axis2.AxisEnvironment.getDataResourceStream(AxisEnvironment.java:261)

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to