On Sat, Sep 11, 2010 at 12:49 AM, Caldarale, Charles R <chuck.caldar...@unisys.com> wrote: >> From: Wesley Acheson [mailto:wesley.ache...@gmail.com] >> Subject: Re: building tomcat 5.5 trunk > >> Is anyone familiar with the part of code that tries to write >> server.xml and where to find it. > > Familiar would be a bit strong, but at least some of the code you're looking > for is in these locations in the 5.5 branch: > > container/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/CommitChangesAction.java > container/modules/storeconfig/src/share/org/apache/catalina/storeconfig/StoreConfig.java > >> Simiarly I'm trying to find the code that is called by the MBean >> server in the 6.0 branch. > > I think that's the bit you need to create for 6.0 and above. > >> I can't figure out what Catalina:type=StoreConfig refers to. > > AFAICT, it refers to a class that doesn't exist in the 6.0 branch (I suspect > it was removed during the 6.0 reorganization). Look at 5.5 for examples. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Okay thanks Chuck, I've reached the same conclusion myself. Although It appears to be available in jconsole and the manager I don't think it is, also the methods appear to succeed. I think maybe it should throw an exception if its not registered. Reason I couldn't find the class in the 5.5 branch is a bit embarasing. I didn't set the classpath in eclipse and the find class shortcut doesn't see it. Wes --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org