tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Schneider <k...@dotech.com>
Subject RE: listeners and virtual hosts
Date Thu, 07 Jun 2007 14:05:53 GMT
Quoting "T. Lamine Ba" <lamine75@hotmail.com>:

> Hi Kris,
> 
> Indeed, I am referring to the class stored under folder WEB-INF/classes.
> web.xml refers to the class in question through the tag <listener>.
> 
> I am not able to retrieve the attributes defined in that class when I
> setup a virtual host.  On the other hand, it works fine when I use the
> Tomcat default host.

Are any exceptions being thrown?

> Lamine.
> 
> -----Original Message-----
> From: Kris Schneider [mailto:kris@dotech.com] 
> Sent: Wednesday, June 06, 2007 1:56 PM
> To: Tag Libraries Users List
> Subject: Re: listeners and virtual hosts
> 
> Quoting "T. Lamine Ba" <lamine75@hotmail.com>:
> 
> > Hi all,
> > 
> > I have Apache connected to Tomcat 5.0.28 on a linux server.
> > I have setup virtual hosts in my tomcat server.xml config file
> > specifying a domain name for each webapp that I host.
> > 
> > Problem:
> > The tomcat container cannot find the listener classes, such as
> > ResourceManagerListerner where I specify all my application
> parameters.
> 
> By "listener classes", do you mean classes you've specified in
> <listener>
> elements within web.xml? Normally, those would appear either in
> WEB-INF/classes
> or in JAR files in WEB-INF/lib, just like any other classes needed by
> your app.
> If that's not what you mean, then please provide more info about your
> problem.
> 
> What, exactly, is the error you're seeing?
> 
> > Can someone give me a configuration tip to solve this problem.
> > 
> > Thx, Lamine.
> 
> -- 
> Kris Schneider <mailto:kris@dotech.com>
> D.O.Tech       <http://www.dotech.com/>

-- 
Kris Schneider <mailto:kris@dotech.com>
D.O.Tech       <http://www.dotech.com/>

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


Mime
View raw message