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 "James Shiell (JIRA)" <ji...@apache.org> on 2006/10/16 14:34:37 UTC

[jira] Created: (MUSE-128) Deployment as WAR file fails on WLS 9.2

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


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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org


[jira] Commented: (MUSE-128) Deployment as WAR file fails on WLS 9.2

Posted by "Dan Jemiolo (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/MUSE-128?page=comments#action_12445209 ] 
            
Dan Jemiolo commented on MUSE-128:
----------------------------------

I think this is related to the issue...

http://marc.theaimsgroup.com/?l=axis-dev&m=116195997126463&w=2

I will test with the latest Axis2 nightly to see if the unexploded WAR works now.

That said, I'm still a little confused - does WLS not unpack the deployed applications before servicing requests? I have not worked with an app server that didn't unpack applications...

> 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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org


[jira] Commented: (MUSE-128) Deployment as WAR file fails on WLS 9.2

Posted by "James Shiell (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/MUSE-128?page=comments#action_12442825 ] 
            
James Shiell commented on MUSE-128:
-----------------------------------

Apologies - I don't have the log anymore, and it's likely to be a couple of days before the application is in a state to run up again (some changes went in last night which broke it) and re-gather this info.

> 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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org


[jira] Commented: (MUSE-128) Deployment as WAR file fails on WLS 9.2

Posted by "James Shiell (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/MUSE-128?page=comments#action_12442882 ] 
            
James Shiell commented on MUSE-128:
-----------------------------------

(Sorry, missed from last comment)

If the WAR is deployed as an exploded deployment then everything works correctly, whether version.aar is included or not.

> 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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org


[jira] Closed: (MUSE-128) Deployment as WAR file fails on WLS 9.2

Posted by "Dan Jemiolo (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/MUSE-128?page=all ]

Dan Jemiolo closed MUSE-128.
----------------------------

    Resolution: Fixed

> 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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org


[jira] Commented: (MUSE-128) Deployment as WAR file fails on WLS 9.2

Posted by "Dan Jemiolo (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/MUSE-128?page=comments#action_12442674 ] 
            
Dan Jemiolo commented on MUSE-128:
----------------------------------

I'm confused as to why it's referencing the version.aar file... the Muse code does not use this in any way. For some reason, it looks like the context directory is being set as ..../services/version.aar instead of ..../services/muse. Can you provide more of the stack trace?

Also, does it work if the muse service is exploded inside the WAR? That is, you deploy a .war file (archived), but inside you have a WEB-INF/services/muse directory instead of muse.aar.


> 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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org


[jira] Commented: (MUSE-128) Deployment as WAR file fails on WLS 9.2

Posted by "James Shiell (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/MUSE-128?page=comments#action_12442871 ] 
            
James Shiell commented on MUSE-128:
-----------------------------------

Reproduced it, but no further detail is logged. WLS isn't logging anything and it looks as if the log message may be being printed to System.err/out - it doesn't have any of the configured log headers or the like. Muse itself is just rethrowing a runtime exception, not logging it.

Therefore the following is from the debugger:

java.io.FileInputStream.open(Native Method)
java.io.FileInputStream.<init>(FileInputStream.java:106)
org.apache.muse.core.platform.axis2.AxisEnvironment.getDataResourceStream(AxisEnvironment.java:261)
org.apache.muse.core.AbstractEnvironment.getDocument(AbstractEnvironment.java:270)
org.apache.muse.core.platform.AbstractIsolationLayer.initialize(AbstractIsolationLayer.java:143)
org.apache.muse.core.platform.axis2.AxisIsolationLayer.setOperationContext(AxisIsolationLayer.java:138)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.axis2.engine.DependencyManager.configureBusinessLogicProvider(DependencyManager.java:70)
org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:85)
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:493)
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:323)
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:234)

> 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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org


[jira] Updated: (MUSE-128) Deployment as WAR file fails on WLS 9.2

Posted by "Dan Jemiolo (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/MUSE-128?page=all ]

Dan Jemiolo updated MUSE-128:
-----------------------------

    Fix Version/s: 2.1.0

> 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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org


[jira] Commented: (MUSE-128) Deployment as WAR file fails on WLS 9.2

Posted by "James Shiell (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/MUSE-128?page=comments#action_12442682 ] 
            
James Shiell commented on MUSE-128:
-----------------------------------

Whoops... sorry, I failed to notice that after a day of battling WLS classpaths. 

You're quite correct - Axis is deployed with version.aar and the Muse service (jr-ossj from memory, but will confirm tomorrow). Unfortunately no difference is demonstrated whether the Muse service is AARed or exploded.

I will endeavour to generate a more complete stack-trace tomorrow and work and attach to the bug.

> 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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org


[jira] Commented: (MUSE-128) Deployment as WAR file fails on WLS 9.2

Posted by "James Shiell (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/MUSE-128?page=comments#action_12446951 ] 
            
James Shiell commented on MUSE-128:
-----------------------------------

Sorry, could you close this please (not a bug) - I don't seem to be able to.

> 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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org


[jira] Commented: (MUSE-128) Deployment as WAR file fails on WLS 9.2

Posted by "James Shiell (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/MUSE-128?page=comments#action_12446950 ] 
            
James Shiell commented on MUSE-128:
-----------------------------------

Looks like an Axis bug - Axis is giving it the wrong path to the directory. Raised as AXIS2-1597.

I will raise a seperate bug on loading files from the context, for clarity. Thanks.

> 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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org


[jira] Commented: (MUSE-128) Deployment as WAR file fails on WLS 9.2

Posted by "James Shiell (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/MUSE-128?page=comments#action_12442881 ] 
            
James Shiell commented on MUSE-128:
-----------------------------------

If version.aar is removed from the services list then we get something entirely differenent, although still session related - org.apache.axis2.engine.InstanceDispatcher.fillContextsFromSessionContext(..) returns null for msgContext.getAxisService(), resulting in an AxisFault(Unable to find service).

Incidentally, I noticied I missed the Axis version in the environment block - it's Axis 2 1.1RC1.

> 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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org


[jira] Commented: (MUSE-128) Deployment as WAR file fails on WLS 9.2

Posted by "James Shiell (JIRA)" <ji...@apache.org>.
    [ 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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org