Re: 2 webapps using shared jar (ClassLoader problem)

2007-06-29 Thread Kevin Wilhelm
Nobody any idea on this? :( - Original Message - From: "Kevin Wilhelm" <[EMAIL PROTECTED]> To: Sent: Thursday, June 28, 2007 2:34 PM Subject: 2 webapps using shared jar (ClassLoader problem) I deployed a shared jar file on Tomcat that is to be used by two Spri

2 webapps using shared jar (ClassLoader problem)

2007-06-28 Thread Kevin Wilhelm
I deployed a shared jar file on Tomcat that is to be used by two Spring webapps. The problem is the Exception I receive when trying to access the shared library by the second webapp. The first one already set some properties within the shared class instances. The Exception: java.lang.IllegalAr

Re: Design

2007-06-19 Thread Kevin Wilhelm
n" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, June 19, 2007 9:42 AM Subject: Re: Design I am using a Tag that render the whole questions, can i create another tag that deals with user request? On 6/19/07, Kevin Wilhelm <[EMAIL PROTECTED]> wrote: No!

Re: Design

2007-06-19 Thread Kevin Wilhelm
No! This sounds like a simple webapp to me. Just use some Servlet Container (Tomcat) and have all of the presentation (JSP), business and persistence things handled in ONE engine. - Original Message - From: "Mohammed Zabin" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday,

Re: Share one singleton across webapps

2007-06-19 Thread Kevin Wilhelm
thread safe, and then once you have done that, you may find when the servlets are busy, they all slow down. Anyway, thats why I said, use them "unwillingly"... because if you not carefull, you may be making the slowest Tomcat server ever ;) - Original Message - From: "Ke

Re: Share one singleton across webapps

2007-06-18 Thread Kevin Wilhelm
ly for the person(s) to whom this email message is > addressed. If you have received this email message in error, please > notify > the sender immediately by telephone or email and destroy the original > message without making a copy. Thank you. > > - Original Message ---

Re: Share one singleton across webapps

2007-06-18 Thread Kevin Wilhelm
instance many times. > > Hope that helps... try not use them unless you really have to. > > > > > - Original Message - > From: "Kevin Wilhelm" <[EMAIL PROTECTED]> > To: > Sent: Monday, June 18, 2007 3:12 PM > Subject: Share one single

Share one singleton across webapps

2007-06-18 Thread Kevin Wilhelm
I managed to get a jar file shared across two webapps in my Tomcat 6. Inside there is a class that represents a Singleton. The problem: the singleton class is instantiated by the first webapp and then again instantiated in the second webapp. So there are 2 representations of the class and it is n

Re: Using shared Spring Webapp in Tomcat 6

2007-06-15 Thread Kevin Wilhelm
main webapp will do that)... all following calls shall be able to access the factory. - Original Message - From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, June 15, 2007 12:08 AM Subject: RE: Using shared Spring Webapp

Using shared Spring Webapp in Tomcat 6

2007-06-14 Thread Kevin Wilhelm
Hello, I am about to finalize some early state Spring web application (just the persistence and logic part). I am using Hibernate to retrieve data from a database. I created the whole logic using the Spring framework; at the top there is a Session Facade providing access to all the services. A