Tried it in common/lib and shared/lib to no avail... -----Original Message----- From: Marc Farrow [mailto:[EMAIL PROTECTED] Sent: Friday, May 05, 2006 4:29 PM To: Tomcat Users List Subject: Re: META-INF/context.xml and custom Manager
server/lib doesn't seem like the correct place for it, but I am just guessing here. Just for kicks try common/lib or shared/lib. On 5/5/06, John D'Emic <[EMAIL PROTECTED]> wrote: > > 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: [EMAIL PROTECTED] > 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:[EMAIL PROTECTED] > 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Marc Farrow --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]