Hi,

Also its better you use the latest 2.7.3 version jars(and related
dependencies) in your webapp since there were some (security related)
issues with previous versions.

On Wed, Mar 27, 2013 at 12:47 AM, Kasun Gajasinghe <[email protected]> wrote:

>
>> @AS folks: how do we copy libs in to cxf lib location? During feature
>> installation?
>>
>
> It happens during the product distribution build via the maven assembly
> Descriptor file, bin.xml.
>

yes this is how we did that. We did thought about the concerns when someone
install webapp features via p2, but decided product should copy
 lib/runtimes/ libraries on their own. Other config files will be copied by
the feature.

thanks,

>
>
>>  >
>> > Thanks,
>> > NuwanD.
>> >>
>> >>
>> >> Thanks !
>> >>
>> >> On Tue, Mar 26, 2013 at 6:27 PM, Kasun Gajasinghe <[email protected]>
>> wrote:
>> >>>
>> >>>
>> >>> Yes, these set of jars adds about 8MB to the product size. So, it
>> makes sense to lose these if you don't need.
>> >>>
>> >>>
>> >>> On Tue, Mar 26, 2013 at 5:49 PM, Nuwan Dias <[email protected]> wrote:
>> >>>>
>> >>>> Yes, we are shipping that webapp. As of now, the listed set of jars
>> are not needed for it to function. But they might be needed if a new webapp
>> needs to be deployed or if the current webapp is modified (in such a way
>> that it requires those jars). So I assume it would be ok to ship only the
>> required set of jars.
>> >>>>
>> >>>> Thanks,
>> >>>> NuwanD.
>> >>>>
>> >>>>
>> >>>> On Tue, Mar 26, 2013 at 5:41 PM, Kasun Gajasinghe <[email protected]>
>> wrote:
>> >>>>>
>> >>>>> Hi Nuwan,
>> >>>>>
>> >>>>> Are you only shipping the said webapp? If you are certain you don't
>> need these jars, or won't have the need later on, then I don't see why not.
>> AS needs these jars because it needs to support all the common use cases of
>> jax-ws/jax-rs webapps.
>> >>>>>
>> >>>>> Regards,
>> >>>>> KasunG
>> >>>>>
>> >>>>>
>> >>>>> On Tue, Mar 26, 2013 at 5:33 PM, Nuwan Dias <[email protected]>
>> wrote:
>> >>>>>>
>> >>>>>> Hi,
>> >>>>>>
>> >>>>>> The API Manager is shipped with a CXF web app deployed within it
>> (oauth2endpoints.war). This web app hosts the /token endpoint
>> implementation (for generating user tokens). With the modifications done on
>> the 4.1.0 kernel, hosting a CXF web app requires a set of libraries to be
>> available at the <CARBON_HOME>/lib/tomcat/runtimes/cxf directory.
>> >>>>>>
>> >>>>>> AS 5.1.0 has been shipped with a set of jars in place to cater
>> this requirement. In the case of API Manager however, it is not required to
>> have all the jars shipped in AS to be available at this location. Although
>> AS ships with the jars at [1], /token endpoint in API Manager works fine
>> even without them. So the question is, is it required to ship all jars that
>> AS ships or would it be fine to just ship the required set of jars to get
>> the oauth2endpoints.war web app working?
>> >>>>>>
>> >>>>>> [1]
>> >>>>>> aopalliance-1.0.jar
>> >>>>>> commons-lang-2.6.jar
>> >>>>>> ehcache-core-2.5.1.jar
>> >>>>>> jaxb-xjc-2.1.13.jar
>> >>>>>> wsdl4j-1.6.3.jar
>> >>>>>> xml-resolver-1.2.jar
>> >>>>>> xmlsec-1.5.3.jar
>> >>>>>> commons-collections-3.2.1.jar
>> >>>>>> commons-logging-1.1.1.jar
>> >>>>>> jaxb-impl-2.1.13.jar
>> >>>>>> velocity-1.7.jar
>> >>>>>> wss4j-1.6.9.jar
>> >>>>>> xmlschema-core-2.0.3.jar
>> >>>>>>
>> >>>>>> Thanks,
>> >>>>>> NuwanD.
>> >>>>>>
>> >>>>>> --
>> >>>>>> Nuwan Dias
>> >>>>>>
>> >>>>>> Software Engineer - WSO2, Inc. http://wso2.com
>> >>>>>> email : [email protected]
>> >>>>>> Phone : +94 777 775 729
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>> --
>> >>>>> Kasun Gajasinghe
>> >>>>> Software Engineer;
>> >>>>> Development Technologies Team, WSO2 Inc.; http://wso2.com ,
>> >>>>> email: kasung AT spamfree wso2.com cell: +94 (77) 678-0813
>> >>>>> linked-in: http://lk.linkedin.com/in/gajasinghe
>> >>>>> blog: http://blog.kasunbg.org
>> >>>>> twitter: http://twitter.com/kasunbg
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>> --
>> >>>> Nuwan Dias
>> >>>>
>> >>>> Member, Management Committee - Solutions Technology Group
>> >>>>
>> >>>> Software Engineer - WSO2, Inc. http://wso2.com
>> >>>> email : [email protected]
>> >>>> Phone : +94 777 775 729
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> Kasun Gajasinghe
>> >>> Software Engineer;
>> >>> Development Technologies Team, WSO2 Inc.; http://wso2.com ,
>> >>> email: kasung AT spamfree wso2.com cell: +94 (77) 678-0813
>> >>> linked-in: http://lk.linkedin.com/in/gajasinghe
>> >>> blog: http://blog.kasunbg.org
>> >>> twitter: http://twitter.com/kasunbg
>> >>>
>> >>> _______________________________________________
>> >>> Dev mailing list
>> >>> [email protected]
>> >>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> Sagara Gunathunga
>> >>
>> >> Technical Lead; WSO2, Inc.;  http://wso2.com
>> >> V.P Apache Web Services ;  http://ws.apache.org/
>> >> Blog ;  http://ssagara.blogspot.com
>> >
>> >
>> >
>> >
>> > --
>> > Nuwan Dias
>> >
>> > Member, Management Committee - Solutions Technology Group
>> > Software Engineer - WSO2, Inc. http://wso2.com
>> > email : [email protected]
>> > Phone : +94 777 775 729
>> >
>> > _______________________________________________
>> > Dev mailing list
>> > [email protected]
>> > http://wso2.org/cgi-bin/mailman/listinfo/dev
>> >
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Kasun Gajasinghe*
> Software Engineer;
> Development Technologies Team, WSO2 Inc.; http://wso2.com
>
>  ,
> *email: **kasung AT spamfree wso2.com
>
> ** cell: **+94 (77) 678-0813*
>  *linked-in: *http://lk.linkedin.com/in/gajasinghe
>
> *
> *
> *blog: **http://kasunbg.org* <http://kasunbg.org>
>
> *
> twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>
>
> *
> *
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - [email protected] <[email protected]>
mobile - 071 56 91 321
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to