Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 23745 invoked from network); 28 Aug 2008 02:12:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Aug 2008 02:12:04 -0000 Received: (qmail 15102 invoked by uid 500); 28 Aug 2008 02:11:56 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 15060 invoked by uid 500); 28 Aug 2008 02:11:56 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 15049 invoked by uid 99); 28 Aug 2008 02:11:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2008 19:11:56 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of eran.chinthaka@gmail.com designates 72.14.220.158 as permitted sender) Received: from [72.14.220.158] (HELO fg-out-1718.google.com) (72.14.220.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2008 02:10:57 +0000 Received: by fg-out-1718.google.com with SMTP id d23so178051fga.14 for ; Wed, 27 Aug 2008 19:11:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=SPs3jkS3c/OKx2snvi/KrZK3GvtGBZxzi/H42bCmMes=; b=e+WQEhAiU+3MZOtYVtTiRO/3Pnpcem306wWf6dp1bjqEfdhcSk6Xb9lMVF9zpVd3WZ KF4TF5C7F2BAhKuP727KIXJ/FW2IxJ8C/2j9ZmNzEckHXQCEUrD51s4nKUG/7LerCvSy njN2UBK/a0fkkCco9Tu1CzJpwD1Eo7nt/dnt8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=Rr0js+15ZLUy+8a3J/jQs6Jbu9icMSh8KiGgMmAJl+kfNMhMGfTUHKROsRFJ9I/uMA 6yObfIN9Jkjl7tdt69bKlDfBFByOr7blWuRz55MBZ+/7glXRrJkyiNUib/OwOs5qnOL8 TjCjmhiMHzaKGZ3eg9GnVIS7wQGaGjeJKe6jM= Received: by 10.187.198.4 with SMTP id a4mr359029faq.0.1219889468959; Wed, 27 Aug 2008 19:11:08 -0700 (PDT) Received: by 10.187.218.11 with HTTP; Wed, 27 Aug 2008 19:11:08 -0700 (PDT) Message-ID: <12f870d60808271911l6bb5e49fj96c7d1f852e0982@mail.gmail.com> Date: Wed, 27 Aug 2008 22:11:08 -0400 From: "Eran Chinthaka" To: axis-dev@ws.apache.org Subject: Re: Duplicate jars in war? In-Reply-To: <9e2fff830808271419t23f4eeb2m33b55325f42b3a33@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3886_27454047.1219889468957" References: <48B59E1D.3070706@gmail.com> <48B5A03F.3000105@gmail.com> <12f870d60808271358j1813dbe7p90bdd79c0edf286b@mail.gmail.com> <9e2fff830808271419t23f4eeb2m33b55325f42b3a33@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_3886_27454047.1219889468957 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline This is a module dependency problem, it seems. IMO, this can be address in four different ways. 1. Accept the fact that modules will have dependencies and come up with a solution for this. This is something we have to think a bit, as IIRC we don't have any way to mention for module foo to work, module bar should be engaged. 2. Move the common stuff in to Axis2 engine itself. 3. Replicate the common things in both mex and security module related packages. 4. Leave the things as it is, which seems crappy for me. Thanks, Chinthaka On Wed, Aug 27, 2008 at 5:19 PM, Nandana Mihindukulasooriya < nandana.cse@gmail.com> wrote: > Hi Eran, > This [1] is the reason for having the mex-impl jar and in Axis2 1.4.1 > mex-impl jar doesn't contain the module.xml and only mex.mar contains the > module xml. But yes, the classes are present both in the jar and mar. Not > sure whether soap monitor jar also present due to a similar reason. > > thanks, > nandana > > [1] - https://issues.apache.org/jira/browse/AXIS2-3745 > > > On Wed, Aug 27, 2008 at 2:58 PM, Eran Chinthaka wrote: > >> Hi Deepal, >> >> If it is that the module.mar contains the module.xml and the lib contains >> the jars, then there is something wrong in that. >> >> I just looked at both the jar and mar files and they contain the same >> thing. >> >> IMHO, they should have only released mar files and must have removed jar >> files. I think this is an error in the release script. >> >> Thanks Tammo for finding this out. >> >> Thanks, >> Chinthaka >> >> >> On Wed, Aug 27, 2008 at 2:43 PM, Deepal jayasinghe wrote: >> >>> >>> > Hi devs, >>> > >>> > I'm currently tweaking the dependency management in ODE, so I had a >>> > closer look at your WAR distribution. >>> > >>> > I stumbled upon WEB-INF/lib/mex-1.41-impl.jar and >>> > WEB-INF/lib/soapmonitor-1.4.1.jar which look quite identical to >>> > WEB-INF/modules/mex-1.41.mar and WEB-INF/modules/soapmonitor-1.41.mar. >>> > Is this intentional or rather a quirk in the build system? >>> > >>> > I actually don't care, I just let you know ;) >>> > >>> > >>> What you mentioned was a very good point I am not sure about why they >>> have put both jars and mars file in the WAR distribution. One reason >>> could be all the class files are in the jar and mar only contains the >>> module.xml. I need to check that and confirm. >>> >>> Thank you! >>> Deepal >>> > Cheers, >>> > Tammo >>> > >>> > >>> > --------------------------------------------------------------------- >>> > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org >>> > For additional commands, e-mail: axis-dev-help@ws.apache.org >>> > >>> > >>> > >>> >>> >>> -- >>> Thanks, >>> Deepal >>> ................................................................ >>> http://blogs.deepal.org/ >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org >>> For additional commands, e-mail: axis-dev-help@ws.apache.org >>> >>> >> >> >> -- >> With Mettha, >> Eran Chinthaka >> >> -------------------------------------------------------------------- >> Health is the greatest gift; contentment is the greatest wealth; trusting >> is the best relationship; nirvana is the highest joy. - Dhammapada >> > > > > -- > Nandana Mihindukulasooriya > WSO2 inc. > > http://nandana83.blogspot.com/ > http://www.wso2.org > -- With Mettha, Eran Chinthaka -------------------------------------------------------------------- Health is the greatest gift; contentment is the greatest wealth; trusting is the best relationship; nirvana is the highest joy. - Dhammapada ------=_Part_3886_27454047.1219889468957 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
This is a module dependency problem, it seems.

IMO, this can be address in four different ways.

1. Accept the fact that modules will have dependencies and come up with a solution for this.
This is something we have to think a bit, as IIRC we don't have any way to mention for module foo to work, module bar should be engaged.

2. Move the common stuff in to Axis2 engine itself.

3. Replicate the common things in both mex and security module related packages.

4. Leave the things as it is, which seems crappy for me.

Thanks,
Chinthaka

On Wed, Aug 27, 2008 at 5:19 PM, Nandana Mihindukulasooriya <nandana.cse@gmail.com> wrote:
Hi Eran,
     This  [1] is the reason for having the mex-impl jar and in Axis2 1.4.1 mex-impl jar doesn't contain the module.xml and only mex.mar contains the module xml. But yes, the classes are present both in the jar and mar. Not sure whether soap monitor jar also present due to a similar reason.

thanks,
nandana

[1] - https://issues.apache.org/jira/browse/AXIS2-3745


On Wed, Aug 27, 2008 at 2:58 PM, Eran Chinthaka <eran.chinthaka@gmail.com> wrote:
Hi Deepal,

If it is that the module.mar contains the module.xml and the lib contains the jars, then there is something wrong in that.

I just looked at both the jar and mar files and they contain the same thing.

IMHO, they should have only released mar files and must have removed jar files. I think this is an error in the release script.

Thanks Tammo for finding this out.

Thanks,
Chinthaka


On Wed, Aug 27, 2008 at 2:43 PM, Deepal jayasinghe <deepalk@gmail.com> wrote:

> Hi devs,
>
> I'm currently tweaking the dependency management in ODE, so I had a
> closer look at your WAR distribution.
>
> I stumbled upon WEB-INF/lib/mex-1.41-impl.jar and
> WEB-INF/lib/soapmonitor-1.4.1.jar which look quite identical to
> WEB-INF/modules/mex-1.41.mar and WEB-INF/modules/soapmonitor-1.41.mar.
> Is this intentional or rather a quirk in the build system?
>
> I actually don't care, I just let you know ;)
>
>
What you mentioned was a very good point I am not sure about why they
have put both jars and mars file in the WAR distribution. One reason
could be all the class files are in the jar and mar only contains the
module.xml. I need to check that and confirm.

Thank you!
Deepal
> Cheers,
>   Tammo
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>
>


--
Thanks,
Deepal
................................................................
http://blogs.deepal.org/


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




--
With Mettha,
Eran Chinthaka

--------------------------------------------------------------------
Health is the greatest gift; contentment is the greatest wealth; trusting is the best relationship; nirvana is the highest joy. - Dhammapada



--
Nandana Mihindukulasooriya
WSO2 inc.

http://nandana83.blogspot.com/
http://www.wso2.org



--
With Mettha,
Eran Chinthaka

--------------------------------------------------------------------
Health is the greatest gift; contentment is the greatest wealth; trusting is the best relationship; nirvana is the highest joy. - Dhammapada
------=_Part_3886_27454047.1219889468957--