RE: listeners and virtual hosts

"T. Lamine Ba" <[email protected]>
Newsgroups gmane.comp.jakarta.taglibs.user
Message-ID <[email protected]>
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.

Lamine.

-----Original Message-----
From: Kris Schneider [mailto:[email protected]] 
Sent: Wednesday, June 06, 2007 1:56 PM
To: Tag Libraries Users List
Subject: Re: listeners and virtual hosts

Quoting "T. Lamine Ba" <[email protected]>:

> 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:[email protected]>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.