You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Michael Oliver <ol...@sourceonenet.com> on 2005/05/05 21:57:44 UTC

Common vs. Shared

I am quite sure this has been asked and answered but I googled a bunch
of combinations and didn't find the answer, so I am sure someone here
will know and share.

 

What is the difference between the /common/ and /shared/ 

 

I understand this is a class loader issue, and I have read the comments
in catalina.properties.

 

What would go into 'common' that wouldn't go into 'shared' and vice
versa?

 

If a jar is in /common/lib/ and a different version of that jar is in
/shared/lib/ what will be the effect?

 

Similarly, if I modify catalina.properties and add something to 'common'
that is already in 'shared', etc.

 

Understanding the relationship between 'common' and 'shared' and the
intended use thereof should be of interest to more than just me.

 

Ollie

 

 





 <http://www.sourceonenet.com> 

Loosely Coupled

 



Mike Oliver
CTO 

Alarius Systems LLC
 
<http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=6800+E.+Lake+Mead+Blvd&c
sz=Las+Vegas%2C+NV+89156&country=us> 6800 E. Lake Mead Blvd
Apt 1096
Las Vegas, NV 89156 


 <ma...@yahoo.com> mikeoliveraz@yahoo.com
 <ma...@sourceonenet.com> oliverm@sourceonenet.com
IM: MikeOliverAZ@yahoo.com
 <http://www.alariussystems.com/> http://www.alariussystems.com/ 


tel: 
fax: 
mobile: 

(702)643-7425
(702)974-0341
(518)378-6154 

 



 <https://www.plaxo.com/add_me?u=25769982367&v0=355403&k0=305933374> Add
me to your address book...

 <http://www.plaxo.com/signature> Want a signature like this?

 


Re: Common vs. Shared

Posted by Dakota Jack <da...@gmail.com>.
I have not read all the responses, but:



     Bootstrap
         |
      System
         |
      Common
     /      \
Catalina   Shared
               /   \
       Webapp1  Webapp2 ...

On 5/5/05, Michael Oliver <ol...@sourceonenet.com> wrote:
>  
>  
> 
> I am quite sure this has been asked and answered but I googled a bunch of
> combinations and didn't find the answer, so I am sure someone here will know
> and share. 
> 
>   
> 
> What is the difference between the /common/ and /shared/ 
> 
>   
> 
> I understand this is a class loader issue, and I have read the comments in
> catalina.properties. 
> 
>   
> 
> What would go into 'common' that wouldn't go into 'shared' and vice versa? 
> 
>   
> 
> If a jar is in /common/lib/ and a different version of that jar is in
> /shared/lib/ what will be the effect? 
> 
>   
> 
> Similarly, if I modify catalina.properties and add something to 'common'
> that is already in 'shared', etc. 
> 
>   
> 
> Understanding the relationship between 'common' and 'shared' and the
> intended use thereof should be of interest to more than just me. 
> 
>   
> 
> Ollie 
> 
>   
> 
>   
>  
>  
>  
>  
> 
>  
> 
> Loosely Coupled 
> 
>  
> 
>   
>  
>  
> 
> Mike Oliver
>  CTO 
> 
> Alarius Systems LLC
>  6800 E. Lake Mead Blvd
>  Apt 1096
>  Las Vegas, NV 89156 
>  
> 
> mikeoliveraz@yahoo.com
>  oliverm@sourceonenet.com
>  IM: MikeOliverAZ@yahoo.com
>  http://www.alariussystems.com/ 
>  
> 
> tel: 
>  fax: 
>  mobile: 
> 
> (702)643-7425
>  (702)974-0341
>  (518)378-6154 
> 
>  
> 
>  
> 
>  
> 
>   
> 
>  
>  
>  
> 
> Add me to your address book... 
> 
> Want a signature like this? 
> 
>  
> 
>   


-- 
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Common vs. Shared

Posted by Larry Meadors <la...@gmail.com>.
Common is available globally to the server, and to all of the 
web-applications.

Shared is available globally, but only to all of the web-applications.

IMO, both are bad places to put stuff unless you *really need* to.

Larry


On 5/5/05, Michael Oliver <ol...@sourceonenet.com> wrote:
> 
>  I am quite sure this has been asked and answered but I googled a bunch of 
> combinations and didn't find the answer, so I am sure someone here will know 
> and share.
> 
>  What is the difference between the /common/ and /shared/ 
> 
>  I understand this is a class loader issue, and I have read the comments 
> in catalina.properties.
> 
>  What would go into 'common' that wouldn't go into 'shared' and vice 
> versa?
> 
>  If a jar is in /common/lib/ and a different version of that jar is in 
> /shared/lib/ what will be the effect?
> 
>  Similarly, if I modify catalina.properties and add something to 'common' 
> that is already in 'shared', etc.
> 
>  Understanding the relationship between 'common' and 'shared' and the 
> intended use thereof should be of interest to more than just me.
> 
>  Ollie
> 
>         <http://www.sourceonenet.com>
>  
> Loosely Coupled
>   
>       *Mike Oliver*
> *CTO* 
>  
> *Alarius Systems LLC*
> 6800 E. Lake Mead Blvd
> Apt 1096
> Las Vegas, NV 89156<http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=6800+E.+Lake+Mead+Blvd&csz=Las+Vegas%2C+NV+89156&country=us> 
>   
> mikeoliveraz@yahoo.com
> oliverm@sourceonenet.com
> IM: MikeOliverAZ@yahoo.com
> http://www.alariussystems.com/ 
>    
> tel: 
> fax: 
> mobile: 
>  
> (702)643-7425
> (702)974-0341
> (518)378-6154 
>   
>             *Add me to your address book...*<https://www.plaxo.com/add_me?u=25769982367&v0=355403&k0=305933374>
>  
> *Want a signature like this?* <http://www.plaxo.com/signature>
>   
>