tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John D'Emic" <j...@bad-current.net>
Subject RE: META-INF/context.xml and custom Manager
Date Fri, 05 May 2006 20:12:22 GMT
Its in ose.jar in server/lib. From looking at the tomcat logs, it don't see
any exceptions trying to load it or anything like that.  I additionally can
see tomcat reading the jar from the filesystem successfully.  The tomcat
manager entry for my webapp shows this:

Name: Catalina:type=Manager,path=/ose,host=localhost
modelerType: org.apache.catalina.session.StandardManager
algorithm: MD5
randomFile: /dev/urandom
className: org.apache.catalina.session.StandardManager
distributable: false
entropy: org.apache.catalina.session.StandardManager@6779e6
maxActiveSessions: -1
maxInactiveInterval: 1800
processExpiresFrequency: 6
sessionIdLength: 16
name: StandardManager
pathname: SESSIONS.ser
activeSessions: 1
sessionCounter: 0
maxActive: 0
sessionMaxAliveTime: 0
sessionAverageAliveTime: 0
rejectedSessions: 0
expiredSessions: 0
processingTime: 0
duplicates: 0


-----Original Message-----
From: Marc Farrow [mailto:marc.farrow@gmail.com] 
Sent: Friday, May 05, 2006 4:07 PM
To: Tomcat Users List
Subject: Re: META-INF/context.xml and custom Manager

Where is this class located? net.badcurrent.ose.tomcat.manager.CustomManager


Maybe it needs to be somewhere else.  Just a guess.


On 5/5/06, John D'Emic <john@bad-current.net> wrote:
>
> Hey all,
>
>
>
> I have a custom Manager class I'm trying to use for a single webapp.  It
> seems the way to do this is to have a context.xml file in the exploded
> webapp's META-INF directory.  I have the following:
>
>
>
> <Context>
>
>        <Manager
> className="net.badcurrent.ose.tomcat.manager.CustomManager"/>
>
> </Context>
>
>
>
> The webapp loads fine, but from looking at
> http://localhost:8080/manager/jmxproxy?qry=*:type=Manager,* I don't see
> the
> CustomManager as the manager for my webapp.  I've tried adding the path
> and
> docRoot to <Context> to no avail.  I'm running tomcat 5.5.17 on windows xp
> sp2 with a stock server.xml and context.xml.  The jar for the custom
> manager
> is in server/lib (I also tried it in common/lib.)  I'm at a loss what to
> try
> next, any help would be appreciated.
>
>
>
> Thanks,
>
> -john
>
>
>
>
>


--
Marc Farrow


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message