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 Pradeep Fernando <pr...@gmail.com> on 2010/12/19 17:25:04 UTC

Is there a proper documentation on deploying AXIS2 in IBM Web Sphere

Hi devs,

While working on a issue related to Axis2 Web Sphere deployment, I
noticed that I have to follow some undocumented steps in order to
get Axis2 working on web sphere.

*like, copying renaming and copying module files to WEB-INF/lib
*Enable child first class loading

Are these properly documented? If not I'm willing to prepare a small doc. WDYT ?
renaming the .mar files as .jar s and copying them is the only option ?


--Pradeep Fernando.

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


Re: Is there a proper documentation on deploying AXIS2 in IBM Web Sphere

Posted by Andreas Veithen <an...@gmail.com>.
I understand now where this issue comes from. See AXIS2-4917 for an explanation.

Andreas

On Wed, Dec 22, 2010 at 21:33, William Walsh <WW...@curamsoftware.com> wrote:
>>  What was the WebSphere version that
>>> you used?
>> I used the WebSphere v 7.
> Which fix pack level?
>
> We currently have Axis2 1.5.1 working with WAS V7 FP 11, I think was working OK with FP 9; don't know about earlier FPs, but always go with latest possible.
>
> We're currently still renaming the .mar files to .jar in the lib directly.  I haven't tested this in a while, so if someone knows if that step is not still required please reply.
>
> Thanks,
> www
>
>
> -----Original Message-----
> From: Andreas Veithen [mailto:andreas.veithen@gmail.com]
> Sent: Tuesday, December 21, 2010 2:27 PM
> To: java-dev@axis.apache.org
> Subject: Re: Is there a proper documentation on deploying AXIS2 in IBM Web Sphere
>
> On Tue, Dec 21, 2010 at 07:54, Pradeep Fernando <pr...@gmail.com> wrote:
>> Hi,
>>
>>> I've encountered this issue when trying to deploy an application that
>>> uses Plexus. The bug basically implies that all applications that
>>> create custom class loaders (and do some reasonably sophisticated
>>> stuff with them) will be broken.
>> The IBM documentation has defended it, by claiming that it is in the
>> recent servlet spec. (class loading lookup places).
>> If that so, I guess we have to fix it rather than documenting it. wdyt ?
>
> They actually say two things. One is that Axis2 versions prior to
> 1.4.1 had an issue because they were bundled with the servlet API JARs
> and this is in conflict with the servlet specs. This may be true (it
> is probably a matter of interpretation, but I'm not sure). But they
> also say that in order to deploy Axis2 1.4.1 (which has no problem
> with the servlet spec), you need to copy/rename the MAR files. I think
> that this issue could be caused by PK86109. If this can be confirmed,
> then we only need to document that Axis2 needs to be deployed with
> parent-last class loading and specify the minimum fix pack level (FP7
> for WAS 7.0).
>
>>  What was the WebSphere version that
>>> you used?
>> I used the WebSphere v 7.
>
> Which fix pack level?
>
>> --Pradeep
>>
>> --
>> Pradeep Fernando.
>> http://pradeepfernando.blogspot.com/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>
>
> The information in this email is confidential and may be legally privileged.
> It is intended solely for the addressee. Access to this email by anyone else
> is unauthorized. If you are not the intended recipient, any disclosure,
> copying, distribution or any action taken or omitted to be taken in reliance
> on it, is prohibited and may be unlawful. If you are not the intended
> addressee please contact the sender and dispose of this e-mail. Thank you.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>

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


RE: Is there a proper documentation on deploying AXIS2 in IBM Web Sphere

Posted by William Walsh <WW...@curamsoftware.com>.
>  What was the WebSphere version that
>> you used?
> I used the WebSphere v 7.
Which fix pack level?

We currently have Axis2 1.5.1 working with WAS V7 FP 11, I think was working OK with FP 9; don't know about earlier FPs, but always go with latest possible.

We're currently still renaming the .mar files to .jar in the lib directly.  I haven't tested this in a while, so if someone knows if that step is not still required please reply.

Thanks,
www


-----Original Message-----
From: Andreas Veithen [mailto:andreas.veithen@gmail.com] 
Sent: Tuesday, December 21, 2010 2:27 PM
To: java-dev@axis.apache.org
Subject: Re: Is there a proper documentation on deploying AXIS2 in IBM Web Sphere

On Tue, Dec 21, 2010 at 07:54, Pradeep Fernando <pr...@gmail.com> wrote:
> Hi,
>
>> I've encountered this issue when trying to deploy an application that
>> uses Plexus. The bug basically implies that all applications that
>> create custom class loaders (and do some reasonably sophisticated
>> stuff with them) will be broken.
> The IBM documentation has defended it, by claiming that it is in the
> recent servlet spec. (class loading lookup places).
> If that so, I guess we have to fix it rather than documenting it. wdyt ?

They actually say two things. One is that Axis2 versions prior to
1.4.1 had an issue because they were bundled with the servlet API JARs
and this is in conflict with the servlet specs. This may be true (it
is probably a matter of interpretation, but I'm not sure). But they
also say that in order to deploy Axis2 1.4.1 (which has no problem
with the servlet spec), you need to copy/rename the MAR files. I think
that this issue could be caused by PK86109. If this can be confirmed,
then we only need to document that Axis2 needs to be deployed with
parent-last class loading and specify the minimum fix pack level (FP7
for WAS 7.0).

>  What was the WebSphere version that
>> you used?
> I used the WebSphere v 7.

Which fix pack level?

> --Pradeep
>
> --
> Pradeep Fernando.
> http://pradeepfernando.blogspot.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>

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



The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.


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


Re: Is there a proper documentation on deploying AXIS2 in IBM Web Sphere

Posted by Andreas Veithen <an...@gmail.com>.
On Tue, Dec 21, 2010 at 07:54, Pradeep Fernando <pr...@gmail.com> wrote:
> Hi,
>
>> I've encountered this issue when trying to deploy an application that
>> uses Plexus. The bug basically implies that all applications that
>> create custom class loaders (and do some reasonably sophisticated
>> stuff with them) will be broken.
> The IBM documentation has defended it, by claiming that it is in the
> recent servlet spec. (class loading lookup places).
> If that so, I guess we have to fix it rather than documenting it. wdyt ?

They actually say two things. One is that Axis2 versions prior to
1.4.1 had an issue because they were bundled with the servlet API JARs
and this is in conflict with the servlet specs. This may be true (it
is probably a matter of interpretation, but I'm not sure). But they
also say that in order to deploy Axis2 1.4.1 (which has no problem
with the servlet spec), you need to copy/rename the MAR files. I think
that this issue could be caused by PK86109. If this can be confirmed,
then we only need to document that Axis2 needs to be deployed with
parent-last class loading and specify the minimum fix pack level (FP7
for WAS 7.0).

>  What was the WebSphere version that
>> you used?
> I used the WebSphere v 7.

Which fix pack level?

> --Pradeep
>
> --
> Pradeep Fernando.
> http://pradeepfernando.blogspot.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>

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


Re: Is there a proper documentation on deploying AXIS2 in IBM Web Sphere

Posted by Pradeep Fernando <pr...@gmail.com>.
Hi,

> I've encountered this issue when trying to deploy an application that
> uses Plexus. The bug basically implies that all applications that
> create custom class loaders (and do some reasonably sophisticated
> stuff with them) will be broken.
The IBM documentation has defended it, by claiming that it is in the
recent servlet spec. (class loading lookup places).
If that so, I guess we have to fix it rather than documenting it. wdyt ?

 What was the WebSphere version that
> you used?
I used the WebSphere v 7.

--Pradeep

-- 
Pradeep Fernando.
http://pradeepfernando.blogspot.com/

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


Re: Is there a proper documentation on deploying AXIS2 in IBM Web Sphere

Posted by Andreas Veithen <an...@gmail.com>.
On Mon, Dec 20, 2010 at 08:50, Pradeep Fernando <pr...@gmail.com> wrote:
> hi, comments in line,
>
> On Mon, Dec 20, 2010 at 1:18 AM, Andreas Veithen
> <an...@gmail.com> wrote:
>> The only documentation we currently have is this:
>>
>> http://axis.apache.org/axis2/java/core/docs/app_server.html
>>
>> It doesn't mention the step that you describe. It would actually be
>> interesting to understand why this is required. Maybe you can avoid
>> this if you include a modules.list file as described in the
>> documentation.
>
> These are not my steps. rather they are documented in elsewhere. But
> the information is scattered i guess.
>
> we have to rename and copy the .mar files as  the application server
> only look for files in WEB-INF/classes , and only jar files in
> WEB-INF/lib.
>
> This behaviour documented in [1]
>
> Without the child first class loading, axis2 lib will have conflicts
> with web sphere jars. This behaviour is described for web logic, but
> for web sphere it is documented here. [2]
>
> [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://www-01.ibm.com/support/docview.wss?rs=0&q1=axis2&q2=technote&uid=swg21264548&loc=en_US&cs=utf-8&cc=us&lang=en

The fact that parent-last class loading is required is not very
surprising. This will probably be the case for many application
servers. I'm more surprised about [1]. I'm wondering if that is
related to the following bug in WAS 7.0:

http://www-01.ibm.com/support/docview.wss?uid=swg1PK86109

I've encountered this issue when trying to deploy an application that
uses Plexus. The bug basically implies that all applications that
create custom class loaders (and do some reasonably sophisticated
stuff with them) will be broken. What was the WebSphere version that
you used?

> --Pradeep
>
>
> --
> Pradeep Fernando.
> http://pradeepfernando.blogspot.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>

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


Re: Is there a proper documentation on deploying AXIS2 in IBM Web Sphere

Posted by Pradeep Fernando <pr...@gmail.com>.
hi, comments in line,

On Mon, Dec 20, 2010 at 1:18 AM, Andreas Veithen
<an...@gmail.com> wrote:
> The only documentation we currently have is this:
>
> http://axis.apache.org/axis2/java/core/docs/app_server.html
>
> It doesn't mention the step that you describe. It would actually be
> interesting to understand why this is required. Maybe you can avoid
> this if you include a modules.list file as described in the
> documentation.

These are not my steps. rather they are documented in elsewhere. But
the information is scattered i guess.

we have to rename and copy the .mar files as  the application server
only look for files in WEB-INF/classes , and only jar files in
WEB-INF/lib.

This behaviour documented in [1]

Without the child first class loading, axis2 lib will have conflicts
with web sphere jars. This behaviour is described for web logic, but
for web sphere it is documented here. [2]

[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://www-01.ibm.com/support/docview.wss?rs=0&q1=axis2&q2=technote&uid=swg21264548&loc=en_US&cs=utf-8&cc=us&lang=en

--Pradeep


-- 
Pradeep Fernando.
http://pradeepfernando.blogspot.com/

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


Re: Is there a proper documentation on deploying AXIS2 in IBM Web Sphere

Posted by Andreas Veithen <an...@gmail.com>.
The only documentation we currently have is this:

http://axis.apache.org/axis2/java/core/docs/app_server.html

It doesn't mention the step that you describe. It would actually be
interesting to understand why this is required. Maybe you can avoid
this if you include a modules.list file as described in the
documentation.

Andreas

On Sun, Dec 19, 2010 at 17:25, Pradeep Fernando <pr...@gmail.com> wrote:
> Hi devs,
>
> While working on a issue related to Axis2 Web Sphere deployment, I
> noticed that I have to follow some undocumented steps in order to
> get Axis2 working on web sphere.
>
> *like, copying renaming and copying module files to WEB-INF/lib
> *Enable child first class loading
>
> Are these properly documented? If not I'm willing to prepare a small doc. WDYT ?
> renaming the .mar files as .jar s and copying them is the only option ?
>
>
> --Pradeep Fernando.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>

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