tomcat is notoriously slow for stuff like this. it does way too much validation if you want to redeploy your web apps a lot. I recommend using orion or resin, but using Jetty in place of Tomcat should hopefully give you some performance improvements.
Ian On Fri, Mar 05, 2004 at 01:11:39PM -0500, David Foulser wrote: > > How do I set the property mbean.metadata.xml.validate=false? > > I'm upgrading from JBoss 3.2.1 + Tomcat 4.1.24 to 3.2.3+4.1.29 and I > notice that deployment of my war containing 300+ pre-compiled JSPs is > taking an additional 2 minutes. I have tracked this down to many > invocations of JBossXMbean10.build(), in which the MBean DTD is read to > create the mbean object for the JSP/Servlet. Over 90% of the time is > spent in 10,000s of scans over the comment characters in > jboss_xmbean_1_0.dtd. It would be great if JBossXMbean10 parsed the DTD > once and cloned the DOM after that, rather than parsing many times. > > It looks like I could speed this up by disabling XML validation using > the property mbean.metadata.xml.validate. Can anyone tell me how to set > that to FALSE in some config file? > > > Also, the Xerces that is used by 3.2.3+4.1.29 does not seem to match > with any Xerces code I have been able to download, either 1.4.4 or > 2.6.2. What's the right way to look at Xerces code used in JBoss? For > instance, there is no inner class > org.apache.xerces.impl.XMLEntityManager$EntityScanner in the code I'm > downloading, but it is used in the JBoss jars. > > Thanks in advance. > > Dave Foulser > Paytronix Systems > Cambridge, MA > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
