Re: autostart for /admin - was Re: StandardClassLoader ?

2004-08-10 Thread Costin Manolache
Remy Maucherat wrote: Costin Manolache wrote: Remy Maucherat wrote: BTW, does the spec says that the form login page is excluded from filters ?? That's undefined, as it's some kind of internal dispatching of the container. It seemed reasonable trying to do it with a RD forward. Well, if I have

Re: autostart for /admin - was Re: StandardClassLoader ?

2004-08-10 Thread Remy Maucherat
Costin Manolache wrote: Remy Maucherat wrote: BTW, does the spec says that the form login page is excluded from filters ?? That's undefined, as it's some kind of internal dispatching of the container. It seemed reasonable trying to do it with a RD forward. Well, if I have a filter on /* and / ( a

Re: autostart for /admin - was Re: StandardClassLoader ?

2004-08-10 Thread Costin Manolache
Remy Maucherat wrote: One simple solution is to add <% // Force the initialization of "action" servlet RequestDispatcher actionS=getServletContext().getNamedDispatcher("action").include(request,response); %> in login.jsp This seems good enough already. Ok, I'll check it in then after I figur

Re: autostart for /admin - was Re: StandardClassLoader ?

2004-08-10 Thread Remy Maucherat
Costin Manolache wrote: Remy Maucherat wrote: The time is mostly parsing web.xml. However, it's nothing when compared to starting certain webapps (such as the admin webapp), where *one* webapp takes more time than starting up the rest of Tomcat (including all the simple webapps, JMX and the mode

autostart for /admin - was Re: StandardClassLoader ?

2004-08-09 Thread Costin Manolache
Remy Maucherat wrote: The time is mostly parsing web.xml. However, it's nothing when compared to starting certain webapps (such as the admin webapp), where *one* webapp takes more time than starting up the rest of Tomcat (including all the simple webapps, JMX and the modeler descriptors, etc).

Re: StandardClassLoader ?

2004-08-08 Thread Brian Pane
Remy Maucherat wrote: I agree. I'm kinda running out of optimization ideas, though (I don't know if you profiled the regular request processing lately, but there's really nothing left). There doesn't seem to be too much which is doable with the startup overall. I've found that the parsing of th

RE: StandardClassLoader ?

2004-08-06 Thread Shapira, Yoav
nnium Research Informatics >-Original Message- >From: Remy Maucherat [mailto:[EMAIL PROTECTED] >Sent: Friday, August 06, 2004 1:09 PM >To: Tomcat Developers List >Subject: Re: StandardClassLoader ? > >Costin Manolache wrote: > >> Remy Maucherat wrote: >>

Re: StandardClassLoader ?

2004-08-06 Thread Remy Maucherat
Costin Manolache wrote: Remy Maucherat wrote: Costin Manolache wrote: Remy Maucherat wrote: From my profile, the bottleneck for the startup time is XML parsing and accessing entries in JARs (we can't do anything about that), with a Did you try a pull parser ? kxml2 is really fast and only 42K

Re: StandardClassLoader ?

2004-08-06 Thread Costin Manolache
Remy Maucherat wrote: Costin Manolache wrote: Remy Maucherat wrote: From my profile, the bottleneck for the startup time is XML parsing and accessing entries in JARs (we can't do anything about that), with a Did you try a pull parser ? kxml2 is really fast and only 42K :-) The other approach -

Re: StandardClassLoader ?

2004-08-06 Thread Remy Maucherat
Costin Manolache wrote: Remy Maucherat wrote: From my profile, the bottleneck for the startup time is XML parsing and accessing entries in JARs (we can't do anything about that), with a Did you try a pull parser ? kxml2 is really fast and only 42K :-) The other approach - which I think may have

Re: StandardClassLoader ?

2004-08-06 Thread Costin Manolache
Remy Maucherat wrote: From my profile, the bottleneck for the startup time is XML parsing and accessing entries in JARs (we can't do anything about that), with a Did you try a pull parser ? kxml2 is really fast and only 42K :-) The other approach - which I think may have a lot of benefits - is t

RE: StandardClassLoader ?

2004-08-05 Thread Holle, Jess
rom the lack of this functionality. -- Jess Holle -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Thu 8/5/2004 1:37 PM To: Tomcat Developers List Cc: Subject:Re: StandardClassLoader ? here is the huge performance boost: Every single time I deserializ

Re: StandardClassLoader ?

2004-08-05 Thread Filip Hanik - Dev
PROTECTED]> To: "Tomcat Developers List" <[EMAIL PROTECTED]> Sent: Thursday, August 05, 2004 12:48 PM Subject: Re: StandardClassLoader ? Filip Hanik - Dev wrote: >here is the huge performance boost: > >Every single time I deserialized an object, it has to do a cl.load

Re: StandardClassLoader ?

2004-08-05 Thread Remy Maucherat
Filip Hanik - Dev wrote: here is the huge performance boost: Every single time I deserialized an object, it has to do a cl.loadClass(), now using a custom object stream, it would search the WCL first, then the SCL. And since it didn't exist in WCL, it still seemed to do a long scan each time, and

Re: StandardClassLoader ?

2004-08-05 Thread Filip Hanik - Dev
t;Tomcat Developers List" <[EMAIL PROTECTED]> Sent: Thursday, August 05, 2004 12:37 PM Subject: Re: StandardClassLoader ? here is the huge performance boost: Every single time I deserialized an object, it has to do a cl.loadClass(), now using a custom object stream, it would search the WCL

Re: StandardClassLoader ?

2004-08-05 Thread Filip Hanik - Dev
Tomcat Developers List" <[EMAIL PROTECTED]> Sent: Thursday, August 05, 2004 11:01 AM Subject: Re: StandardClassLoader ? Filip Hanik - Dev wrote: >During session replication I optimized my code to decide what order class loader to >use based on the class name. > >For example, if yo

Re: StandardClassLoader ?

2004-08-05 Thread Costin Manolache
Remy Maucherat wrote: Costin Manolache wrote: Can you experiment with WebappClassLoader instead :-) ? SCL is only used in standalone mode and only for loading internal classes. And removing it will improve class loading time by itself - one less layer of if() and indirections. ( I'm experimentin

Re: StandardClassLoader ?

2004-08-05 Thread Remy Maucherat
Filip Hanik - Dev wrote: During session replication I optimized my code to decide what order class loader to use based on the class name. For example, if you load a class that starts with org.apache.catalina. I attempt to load it with the SCL first, it gave the app a huge performance boost. I kno

Re: StandardClassLoader ?

2004-08-05 Thread Remy Maucherat
Costin Manolache wrote: Can you experiment with WebappClassLoader instead :-) ? SCL is only used in standalone mode and only for loading internal classes. And removing it will improve class loading time by itself - one less layer of if() and indirections. ( I'm experimenting with class loading t

Re: StandardClassLoader ?

2004-08-05 Thread Filip Hanik - Dev
- Original Message - From: "Costin Manolache" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 05, 2004 9:54 AM Subject: Re: StandardClassLoader ? Remy Maucherat wrote: > Costin Manolache wrote: > >> Is there any reason we still need St

Re: StandardClassLoader ?

2004-08-05 Thread Costin Manolache
Remy Maucherat wrote: Costin Manolache wrote: Is there any reason we still need StandardClassLoader ? It seems it is only used once, in ClassLoaderFactory, and it is used exactly like a regular URLClassLoader - the only thing that needs to be moved is the convert() method. The code itself is jus

Re: StandardClassLoader ?

2004-08-05 Thread Remy Maucherat
Costin Manolache wrote: Is there any reason we still need StandardClassLoader ? It seems it is only used once, in ClassLoaderFactory, and it is used exactly like a regular URLClassLoader - the only thing that needs to be moved is the convert() method. The code itself is just debug and duplicatio

Re: Re: StandardClassLoader ?

2004-08-04 Thread penpower
This email [EMAIL PROTECTED] is no longer available due to heavy spamming. Please visit our website http://www.alestron.com for contact info. Thank you! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: StandardClassLoader ?

2004-08-04 Thread penpower
This email [EMAIL PROTECTED] is no longer available due to heavy spamming. Please visit our website http://www.alestron.com for contact info. Thank you! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: StandardClassLoader

2004-03-16 Thread Simon Raess
Am 16.03.2004 um 20:34 schrieb Shapira, Yoav: Hi, Is there some documentation (besides the javadoc) that describes StandardClassLoader? Does it follow the standard delegation model or does it query its local repository first? There's the loader documentation page, http://jakarta.apache.org/tomcat

RE: StandardClassLoader

2004-03-16 Thread Shapira, Yoav
Hi, >Is there some documentation (besides the javadoc) that describes >StandardClassLoader? Does it follow the standard delegation model or >does it query its local repository first? There's the loader documentation page, http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/loader.html, which