perfsonar-dev - Re: [pS-dev] Service (un)Initialization implementation
Subject: perfsonar development work
List archive
- From: Roman Lapacz <>
- To: Uros Juvan <>
- Cc:
- Subject: Re: [pS-dev] Service (un)Initialization implementation
- Date: Fri, 13 Oct 2006 11:06:15 +0200
Uros Juvan wrote:
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, ... ?
You could create new web.xml file with the same content plus new listener, put it in $PERFSONAR/conf/ directory as web-axis-1.4.xml, and alter deploy action to copy web-axis.xml file to $TOMCAT/webapps/axis/WEB-INF/ as web.xml.
Roman
Regards,
- 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.