Guillaume, I got confused... Service Unit can also carry components, can't it? So the components packaged inside the SU won't see the shared libs?
Regards, ---------------------------------------------------------- Sergio Fernandes Software Engineering [EMAIL PROTECTED] Sakonnet Technology Centro Empresarial Mourisco Praia de Botafogo 501 1°Andar Bloco A - Torre Pão de Açúcar 22250-040 - Rio de Janeiro, RJ Brazil www.sknt.com +55 (21) 2586 6072 direct +55 (21) 8272 7193 mobile +55 (21) 2586 6001 fax -----Original Message----- From: Guillaume Nodet [mailto:[EMAIL PROTECTED] Sent: Saturday, August 05, 2006 3:58 AM To: [email protected] Subject: Re: Question on Shared Libraries Shared libraries are used by components, not by service assemblies / service units. On 8/5/06, Kiran Addepalli - SECF <[EMAIL PROTECTED]> wrote: > > I am a bit confused about the utility of shared libraries and how to > use them. My scenario is the following > > CoreProject - Packaged as jar > ServiceUnitA > ServiceUnitB - > ServiceUnitX > ServiceUnitY > ServiceAssemblyA - Assembly of SU A and B. > ServiceAssemblyX - Assembly of SU X and Y > > Both assemblies use common libraries that I package as a shared library. > > SharedLibrary - Bundle of CoreProject, Third party libraries and open > source libraries (hibernate, spring etc) > > I deploy the shared library to service mix successfully. But when I > deploy the service assemblies, it results in ClassNotFoundExceptions > for classes in the CoreProject or any of the other libs. > > The easiest way is of course to copy all jars to the lib folder to > make it work but just wondering if there is a better way. > > Regards > Kiran > *************************************************************** > The information in this email is confidential and may be legally > privileged. It is intended solely for the addressee. If you have > received this communication in error, please contact the sender > immediately, return the original message to the sender, and delete the > material from your computer. Thank you. > *************************************************************** > -- Cheers, Guillaume Nodet
