perfsonar-dev - Re: [pS-dev] Service (un)Initialization implementation
Subject: perfsonar development work
List archive
- From: Uros Juvan <>
- To:
- Subject: Re: [pS-dev] Service (un)Initialization implementation
- Date: Fri, 13 Oct 2006 10:44:06 +0200
- Organization: Arnes
It looks reasonable to me. I just have to check if Tomcat is shipped with classes, which already implement some kind of web.xml handling, which I am almost sure it does. I then need to evaluate if it seems reasonable potentially adding another Tomcat/Servlet jar file to our jar-repository, or does it seem easier to XML parse web.xml by myself and insert new <listener> if necessary.
Answering my own mail :)
Tomcat uses org.apache.catalina.startup.ContextConfig class located inside server/lib/catalina.jar library to parse web.xml. Internally it looks like it uses SAX parser, but also some kind of validator. I'm not sure whether it would be reasonable to use this solution, since it is too specific container-centric. I think it would be better writing our own class, without validation.
What do you think?
Maciej, Loukik, Roman, ... ?
Regards,
--
Uroš Juvan
Arnes
- Service (un)Initialization implementation, Uros Juvan, 10/11/2006
- Re: [pS-dev] Service (un)Initialization implementation, Roman Lapacz, 10/12/2006
- Re: [pS-dev] Service (un)Initialization implementation, Uros Juvan, 10/13/2006
- Re: [pS-dev] Service (un)Initialization implementation, Uros Juvan, 10/13/2006
- Re: [pS-dev] Service (un)Initialization implementation, Roman Lapacz, 10/13/2006
- Re: [pS-dev] Service (un)Initialization implementation, Uros Juvan, 10/13/2006
- Re: [pS-dev] Service (un)Initialization implementation, Roman Lapacz, 10/13/2006
- Re: [pS-dev] Service (un)Initialization implementation, Uros Juvan, 10/13/2006
- Re: [pS-dev] Service (un)Initialization implementation, Roman Lapacz, 10/13/2006
- Re: [pS-dev] Service (un)Initialization implementation, Uros Juvan, 10/13/2006
- Re: [pS-dev] Service (un)Initialization implementation, Uros Juvan, 10/13/2006
- Re: [pS-dev] Service (un)Initialization implementation, Roman Lapacz, 10/12/2006
Archive powered by MHonArc 2.6.16.