Sharing libraries between Web Application and Portlet Application
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > Sharing libraries between Web Application and Portlet Application




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Sharing libraries between Web Application and Portlet Application  
Fredrik Andersson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-26-04 09:31 PM

Hi,

I need to configure a Web Application and a Portlet Application to share
some libraries for
a project using WAS 5 and WPS 5.
However, I do not want any other part of the server to be able to use these
classes.
If I configure a shared library and allow the server to use this, then the
classes are found (and shared) between the Web Application and the Portlet
Application.
The problem with this solution is that there is a risk of including a
different version of a
library that is already in the WPS classpath, potentially causing some
existing functionality
from operating as intended.
If I configure each of the applications to use the shared library, they both
find the classes,
but they are now in different class loaders (?) since the application
doesn't seem to return the same instance for singletons.
Does anyone have a suggestion of how to solve this problem?

Regards,
Fredrik Andersson







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:30 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register