tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amy Roh" <amy...@sun.com>
Subject Re: mappingObject for j2eeType=WebModule
Date Fri, 25 Apr 2003 17:51:20 GMT
> Amy Roh wrote:
>
> >> Weird. It works for me - are you using standalone or embeded ?
> >>
> >> BTW, I assume you know that you can start the jmx console by placing
> >> jmxtools.jar in server/lib and adding a line with "mx.port=XXX" to
> >> jk2.properties - that may help debugging. ( in embed it's started
anyway,
> >> but you still need to copy jmxtools in lib ).
> >>
> >> From your description - it seems mbeans-descriptors.xml wasn't loaded
> >> correctly, and the attributes you see are from introspection.
> >
> > Yeah, they're introspected attributes from the descriptions.  How come
> > they're not getting loaded property? hmmm
>
>
> Amy - standalone or embeded ???

embedded :-)


> In standalone, they are loaded from MBeanUtils.createRegistry() -
> for StandardContext the descriptor is in /org/apache/catalina/core.
>
> For embeded - it should be loaded automatically from that package.
> If it is not - you can load it explicitely ( and please send me more info
> on why it's not loaded ).

I'm going to try to load it explicitely since automatic doesn't seem to
work.

Amy


>
> Costin
>
>
>
>
>
> >
> > Thanks,
> > Amy
> >>
> >> Costin
> >>
> >>
> >>
> >> Amy Roh wrote:
> >>
> >> > I'm getting javax.management.AttributeNotFoundException for
> >> > "mappingObject" from MapperListener.
> >> >
> >> > When I print out all the attributes for the mbean, I get the
following.
> >> >
> >> > How come mappingObject isn't one of them?
> >> >
> >> > modelerType
> >> > lazy
> >> > iD
> >> > j2EEServer
> >> > crossContext
> >> > tldScanTime
> >> > responseCTForHeaders
> >> > welcomeFiles
> >> > resourceLinks
> >> > startupTime
> >> > name
> >> > reloadable
> >> > hostname
> >> > valveObjectNames
> >> > domain
> >> > mapperClass
> >> > sessionTimeout
> >> > children
> >> > servlets
> >> > replaceWelcomeFiles
> >> > defaultWebXml
> >> > useNaming
> >> > resourceNames
> >> > engineName
> >> > filesystemBased
> >> > debug
> >> > environments
> >> > swallowOutput
> >> > priviledged
> >> > j2EEApplication
> >> > configured
> >> > compilerClasspath
> >> > available
> >> > displayName
> >> > wrapperClass
> >> > containerSuffix
> >> > altDDName
> >> > docBase
> >> > formHintField
> >> > cookies
> >> > path
> >> > distributable
> >> > cachingAllowed
> >> > charsetMapperClass
> >> > publicId
> >> > objectName
> >> > deploymentDescriptor
> >> > override
> >> > info
> >> > parentName
> >> > workDir
> >> > configFile
> >> > type
> >> >
> >> > Thanks,
> >> > Amy
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> >>
> >>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
>


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


Mime
View raw message