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: users@tomcat.apache.org 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 Spring

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:

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

Re: Design

2007-06-19 Thread Kevin Wilhelm
PROTECTED] To: Tomcat Users List users@tomcat.apache.org 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! This sounds like

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

Re: Share one singleton across webapps

2007-06-18 Thread Kevin Wilhelm
it determines it needs to make one instance if there is non... Thats the trick a normal class which is what I imagine you trying, will load once. but instance many times. Hope that helps... try not use them unless you really have to. - Original Message - From: Kevin

Re: Share one singleton across webapps

2007-06-18 Thread Kevin Wilhelm
immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: Kevin Wilhelm [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, June 18, 2007 9:58 AM Subject: Re: Share one singleton across

Re: Using shared Spring Webapp in Tomcat 6

2007-06-15 Thread Kevin Wilhelm
From: Kevin Wilhelm [mailto:[EMAIL PROTECTED] Subject: Using shared Spring Webapp in Tomcat 6 For Tomcat 6 there is a folder called $CATALINAHOME/lib that is said to be used for that kind of stuff. No, the $CATALINA_HOME/lib directory is for classes common to all webapps, not any individual

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.