You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2010/12/28 21:55:45 UTC

[jira] Created: (AXIS2-4917) Provide proper documentation on deploying Axis2 in WebSphere

Provide proper documentation on deploying Axis2 in WebSphere
------------------------------------------------------------

                 Key: AXIS2-4917
                 URL: https://issues.apache.org/jira/browse/AXIS2-4917
             Project: Axis2
          Issue Type: Task
          Components: documentation
            Reporter: Andreas Veithen
            Assignee: Andreas Veithen
            Priority: Minor
             Fix For: 1.5.5


Because WebSphere's JAX-WS implementation is based on Axis2, there are issues when deploying Axis2 on WAS 7.0 (and presumably on WAS 6.1 with the Web Services feature pack installed) because of conflicts with the Axis2 classes used internally by WebSphere. To solve this, it is necessary to change the class loader policy of the Web module to parent-last. However, this is not sufficient because Axis2 creates additional class loaders for modules and services, and these are parent-first.

In particular, there is an issue with the addressing module because org.apache.axis2.handlers.addressing.AddressingInHandler is present both in the WebSphere runtime and the addressing module shipped with Axis2. Since the module class loader is parent-first (and the class is not present in the Web application class loader), it is WebSphere's version of the class that will be loaded. This results in the following exception:

java.lang.ClassCastException: org.apache.axis2.handlers.addressing.AddressingInHandler incompatible with org.apache.axis2.engine.Handler

As a workaround, IBM proposes [1] to add copies of the module files as JAR files to WEB-INF/lib. However, a simpler solution is to switch the module class loader to parent-last. This is made possible by AXIS2-4349, which will be available in 1.5.5.

The different options to deploy Axis2 in WebSphere should be properly documented, i.e. [2] needs to be updated.

[1] http://www-01.ibm.com/support/docview.wss?rs=0&q1=axis2&q2=technote&uid=swg21315686&loc=en_US&cs=utf-8&cc=us&lang=en
[2] http://axis.apache.org/axis2/java/core/docs/app_server.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] [Commented] (AXIS2-4917) Provide proper documentation on deploying Axis2 in WebSphere

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053431#comment-13053431 ] 

Hudson commented on AXIS2-4917:
-------------------------------

Integrated in axis2-1.6 #52 (See [https://builds.apache.org/job/axis2-1.6/52/])
    AXIS2-4917: Merged r1138144 and r1138203 to the 1.6 branch for inclusion in the Axis2 1.6.1 site.

veithen : 
Files : 
* /axis/axis2/java/core/branches/1_6/src/site/xdoc/docs/app_server.xml
* /axis/axis2/java/core/branches/1_6


> Provide proper documentation on deploying Axis2 in WebSphere
> ------------------------------------------------------------
>
>                 Key: AXIS2-4917
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4917
>             Project: Axis2
>          Issue Type: Task
>          Components: documentation
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: 1.6.1, 1.7.0
>
>
> Because WebSphere's JAX-WS implementation is based on Axis2, there are issues when deploying Axis2 on WAS 7.0 (and presumably on WAS 6.1 with the Web Services feature pack installed) because of conflicts with the Axis2 classes used internally by WebSphere. To solve this, it is necessary to change the class loader policy of the Web module to parent-last. However, this is not sufficient because Axis2 creates additional class loaders for modules and services, and these are parent-first.
> In particular, there is an issue with the addressing module because org.apache.axis2.handlers.addressing.AddressingInHandler is present both in the WebSphere runtime and the addressing module shipped with Axis2. Since the module class loader is parent-first (and the class is not present in the Web application class loader), it is WebSphere's version of the class that will be loaded. This results in the following exception:
> java.lang.ClassCastException: org.apache.axis2.handlers.addressing.AddressingInHandler incompatible with org.apache.axis2.engine.Handler
> As a workaround, IBM proposes [1] to add copies of the module files as JAR files to WEB-INF/lib. However, a simpler solution is to switch the module class loader to parent-last. This is made possible by AXIS2-4349, which will be available in 1.5.5.
> The different options to deploy Axis2 in WebSphere should be properly documented, i.e. [2] needs to be updated.
> [1] http://www-01.ibm.com/support/docview.wss?rs=0&q1=axis2&q2=technote&uid=swg21315686&loc=en_US&cs=utf-8&cc=us&lang=en
> [2] http://axis.apache.org/axis2/java/core/docs/app_server.html

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

        

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


[jira] [Updated] (AXIS2-4917) Provide proper documentation on deploying Axis2 in WebSphere

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated AXIS2-4917:
-----------------------------------

    Fix Version/s:     (was: 1.5.5)

> Provide proper documentation on deploying Axis2 in WebSphere
> ------------------------------------------------------------
>
>                 Key: AXIS2-4917
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4917
>             Project: Axis2
>          Issue Type: Task
>          Components: documentation
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>            Priority: Minor
>
> Because WebSphere's JAX-WS implementation is based on Axis2, there are issues when deploying Axis2 on WAS 7.0 (and presumably on WAS 6.1 with the Web Services feature pack installed) because of conflicts with the Axis2 classes used internally by WebSphere. To solve this, it is necessary to change the class loader policy of the Web module to parent-last. However, this is not sufficient because Axis2 creates additional class loaders for modules and services, and these are parent-first.
> In particular, there is an issue with the addressing module because org.apache.axis2.handlers.addressing.AddressingInHandler is present both in the WebSphere runtime and the addressing module shipped with Axis2. Since the module class loader is parent-first (and the class is not present in the Web application class loader), it is WebSphere's version of the class that will be loaded. This results in the following exception:
> java.lang.ClassCastException: org.apache.axis2.handlers.addressing.AddressingInHandler incompatible with org.apache.axis2.engine.Handler
> As a workaround, IBM proposes [1] to add copies of the module files as JAR files to WEB-INF/lib. However, a simpler solution is to switch the module class loader to parent-last. This is made possible by AXIS2-4349, which will be available in 1.5.5.
> The different options to deploy Axis2 in WebSphere should be properly documented, i.e. [2] needs to be updated.
> [1] http://www-01.ibm.com/support/docview.wss?rs=0&q1=axis2&q2=technote&uid=swg21315686&loc=en_US&cs=utf-8&cc=us&lang=en
> [2] http://axis.apache.org/axis2/java/core/docs/app_server.html

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

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


[jira] Updated: (AXIS2-4917) Provide proper documentation on deploying Axis2 in WebSphere

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated AXIS2-4917:
-----------------------------------

    Comment: was deleted

(was: hh added via SOAP::Lite)

> Provide proper documentation on deploying Axis2 in WebSphere
> ------------------------------------------------------------
>
>                 Key: AXIS2-4917
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4917
>             Project: Axis2
>          Issue Type: Task
>          Components: documentation
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: 1.5.5
>
>
> Because WebSphere's JAX-WS implementation is based on Axis2, there are issues when deploying Axis2 on WAS 7.0 (and presumably on WAS 6.1 with the Web Services feature pack installed) because of conflicts with the Axis2 classes used internally by WebSphere. To solve this, it is necessary to change the class loader policy of the Web module to parent-last. However, this is not sufficient because Axis2 creates additional class loaders for modules and services, and these are parent-first.
> In particular, there is an issue with the addressing module because org.apache.axis2.handlers.addressing.AddressingInHandler is present both in the WebSphere runtime and the addressing module shipped with Axis2. Since the module class loader is parent-first (and the class is not present in the Web application class loader), it is WebSphere's version of the class that will be loaded. This results in the following exception:
> java.lang.ClassCastException: org.apache.axis2.handlers.addressing.AddressingInHandler incompatible with org.apache.axis2.engine.Handler
> As a workaround, IBM proposes [1] to add copies of the module files as JAR files to WEB-INF/lib. However, a simpler solution is to switch the module class loader to parent-last. This is made possible by AXIS2-4349, which will be available in 1.5.5.
> The different options to deploy Axis2 in WebSphere should be properly documented, i.e. [2] needs to be updated.
> [1] http://www-01.ibm.com/support/docview.wss?rs=0&q1=axis2&q2=technote&uid=swg21315686&loc=en_US&cs=utf-8&cc=us&lang=en
> [2] http://axis.apache.org/axis2/java/core/docs/app_server.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] [Commented] (AXIS2-4917) Provide proper documentation on deploying Axis2 in WebSphere

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052961#comment-13052961 ] 

Hudson commented on AXIS2-4917:
-------------------------------

Integrated in Axis2 #814 (See [https://builds.apache.org/job/Axis2/814/])
    AXIS2-4917: Added documentation explaining how to deploy Axis2 on WebSphere, especially WAS 7.0.

veithen : 
Files : 
* /axis/axis2/java/core/trunk/src/site/xdoc/docs/app_server.xml


> Provide proper documentation on deploying Axis2 in WebSphere
> ------------------------------------------------------------
>
>                 Key: AXIS2-4917
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4917
>             Project: Axis2
>          Issue Type: Task
>          Components: documentation
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>            Priority: Minor
>
> Because WebSphere's JAX-WS implementation is based on Axis2, there are issues when deploying Axis2 on WAS 7.0 (and presumably on WAS 6.1 with the Web Services feature pack installed) because of conflicts with the Axis2 classes used internally by WebSphere. To solve this, it is necessary to change the class loader policy of the Web module to parent-last. However, this is not sufficient because Axis2 creates additional class loaders for modules and services, and these are parent-first.
> In particular, there is an issue with the addressing module because org.apache.axis2.handlers.addressing.AddressingInHandler is present both in the WebSphere runtime and the addressing module shipped with Axis2. Since the module class loader is parent-first (and the class is not present in the Web application class loader), it is WebSphere's version of the class that will be loaded. This results in the following exception:
> java.lang.ClassCastException: org.apache.axis2.handlers.addressing.AddressingInHandler incompatible with org.apache.axis2.engine.Handler
> As a workaround, IBM proposes [1] to add copies of the module files as JAR files to WEB-INF/lib. However, a simpler solution is to switch the module class loader to parent-last. This is made possible by AXIS2-4349, which will be available in 1.5.5.
> The different options to deploy Axis2 in WebSphere should be properly documented, i.e. [2] needs to be updated.
> [1] http://www-01.ibm.com/support/docview.wss?rs=0&q1=axis2&q2=technote&uid=swg21315686&loc=en_US&cs=utf-8&cc=us&lang=en
> [2] http://axis.apache.org/axis2/java/core/docs/app_server.html

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

        

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


[jira] [Resolved] (AXIS2-4917) Provide proper documentation on deploying Axis2 in WebSphere

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen resolved AXIS2-4917.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.0
                   1.6.1

> Provide proper documentation on deploying Axis2 in WebSphere
> ------------------------------------------------------------
>
>                 Key: AXIS2-4917
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4917
>             Project: Axis2
>          Issue Type: Task
>          Components: documentation
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: 1.6.1, 1.7.0
>
>
> Because WebSphere's JAX-WS implementation is based on Axis2, there are issues when deploying Axis2 on WAS 7.0 (and presumably on WAS 6.1 with the Web Services feature pack installed) because of conflicts with the Axis2 classes used internally by WebSphere. To solve this, it is necessary to change the class loader policy of the Web module to parent-last. However, this is not sufficient because Axis2 creates additional class loaders for modules and services, and these are parent-first.
> In particular, there is an issue with the addressing module because org.apache.axis2.handlers.addressing.AddressingInHandler is present both in the WebSphere runtime and the addressing module shipped with Axis2. Since the module class loader is parent-first (and the class is not present in the Web application class loader), it is WebSphere's version of the class that will be loaded. This results in the following exception:
> java.lang.ClassCastException: org.apache.axis2.handlers.addressing.AddressingInHandler incompatible with org.apache.axis2.engine.Handler
> As a workaround, IBM proposes [1] to add copies of the module files as JAR files to WEB-INF/lib. However, a simpler solution is to switch the module class loader to parent-last. This is made possible by AXIS2-4349, which will be available in 1.5.5.
> The different options to deploy Axis2 in WebSphere should be properly documented, i.e. [2] needs to be updated.
> [1] http://www-01.ibm.com/support/docview.wss?rs=0&q1=axis2&q2=technote&uid=swg21315686&loc=en_US&cs=utf-8&cc=us&lang=en
> [2] http://axis.apache.org/axis2/java/core/docs/app_server.html

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

        

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


[jira] Commented: (AXIS2-4917) Provide proper documentation on deploying Axis2 in WebSphere

Posted by "Sam Walker (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976362#action_12976362 ] 

Sam Walker commented on AXIS2-4917:
-----------------------------------

hh added via SOAP::Lite

> Provide proper documentation on deploying Axis2 in WebSphere
> ------------------------------------------------------------
>
>                 Key: AXIS2-4917
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4917
>             Project: Axis2
>          Issue Type: Task
>          Components: documentation
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: 1.5.5
>
>
> Because WebSphere's JAX-WS implementation is based on Axis2, there are issues when deploying Axis2 on WAS 7.0 (and presumably on WAS 6.1 with the Web Services feature pack installed) because of conflicts with the Axis2 classes used internally by WebSphere. To solve this, it is necessary to change the class loader policy of the Web module to parent-last. However, this is not sufficient because Axis2 creates additional class loaders for modules and services, and these are parent-first.
> In particular, there is an issue with the addressing module because org.apache.axis2.handlers.addressing.AddressingInHandler is present both in the WebSphere runtime and the addressing module shipped with Axis2. Since the module class loader is parent-first (and the class is not present in the Web application class loader), it is WebSphere's version of the class that will be loaded. This results in the following exception:
> java.lang.ClassCastException: org.apache.axis2.handlers.addressing.AddressingInHandler incompatible with org.apache.axis2.engine.Handler
> As a workaround, IBM proposes [1] to add copies of the module files as JAR files to WEB-INF/lib. However, a simpler solution is to switch the module class loader to parent-last. This is made possible by AXIS2-4349, which will be available in 1.5.5.
> The different options to deploy Axis2 in WebSphere should be properly documented, i.e. [2] needs to be updated.
> [1] http://www-01.ibm.com/support/docview.wss?rs=0&q1=axis2&q2=technote&uid=swg21315686&loc=en_US&cs=utf-8&cc=us&lang=en
> [2] http://axis.apache.org/axis2/java/core/docs/app_server.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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