Hi, I posted another thread a few days ago, and that was about an exception thrown by tomcat. For the record, I am using embedded tomcat. My company has an web-application which runs best on TC 5.5.xx. they asked me to develop a framework for testing the compiler speed of tomcat in relation with their own app. So the result you get is actually the beauty of the written code. And it is possible to make optimalisations more to the point. The idea is to make a instance of tomcat without connector so you don't have de overhead from sockets etc. and this makes it possible to run multiple instances concurrently.
The error I get is this one: SEVERE: Allocate exception for servlet null javax.servlet.ServletException: No servlet class has been specified for servlet null and the rest of the stacktrace. I found out (I think) that the problem is, that the wrapper isn't initialized for the servlet asking for. So TC isn't able to allocate the serlet(of jsp)class requested. I want to solve this problem to initialize the web.xml by hand, so I can check whether the servlet classes are found and set. I hope I made things clear this way. And I sure hope you can give me some advice/help. Regards, Auke -----Oorspronkelijk bericht----- Van: Johnny Kewl [mailto:[EMAIL PROTECTED] Verzonden: donderdag 18 oktober 2007 6:50 Aan: Tomcat Users List Onderwerp: Re: custom web.xml digester call --------------------------------------------------------------------------- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool application server --------------------------------------------------------------------------- ----- Original Message ----- From: "Auke Noppe" <[EMAIL PROTECTED]> To: <users@tomcat.apache.org> Sent: Wednesday, October 17, 2007 3:37 PM Subject: custom web.xml digester call > Hi, > > > > Is it possible to call the digester of the web.xml by hand? > > Like you can override the createstartdigester method in catalina.java? > Regards, It sounds like you doing embedded, and yes I thought very much the same way because all the examples call into the embedded routine, and that leaves one wondering how to do things like set up realms, SSL ... and all the good stuff that just happens from config files. What you can do, its what I did and just forget about embedded and call Catalina from your own program based on bootstrap.... Whats cool is that your embedded program then does exactly what TC does, and you test in TC and then just move the config files to the embedded program. That works.... so I'm saying instead of trying to jam values in... move up even more and just use the same config files... makes life very easy. Your embedded program will do exactly what TC does... log files are the only exception. > > > > Auke Noppe > > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.488 / Virus Database: 269.14.13/1074 - Release Date: > 16-10-2007 > 14:14 > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.14.13/1074 - Release Date: 16-10-2007 14:14 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.14.13/1074 - Release Date: 16-10-2007 14:14 --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]