thanks, but i have this problem: i have one file, that have five columns: host <tab> virtual-host <tab> app <tab> port <tab> context
each app can to have any contexts... context1, context2, contextn... i need one script to read this file, and create three configuartion files: mod_jk.conf, worker.properties and server.xml (for each worker). because i need one worker(tomcat), for each app... each developer will can restart your app(worker) without touch one another (own another user). Somebody have a script that do it???? i will add app's and contexts in the "first" file, and one scripts make the rest... thanks!!!!! On Wed, 2002-03-20 at 06:25, Tom Cook wrote: > Marcelo da Silva Leal wrote: > > > > Hello, > > I was reading documentation about tomcat, and one worker (tomcat instance) > > for application... but i´m confusing. > > I need to make some scripts, and one of them, is for to add one more > > context (application). The question is: I don´t know what files should i > > edit! > > mod_jk.conf, worker.properties, server.xml, httpd.conf... > > i wanna one httpd server running and forwarding requests for virtual hosts, > > in the same machine, and each applicantion one devel independent > > environment (ports 8007, 8008, 8009, etc...). Then, when one developer > > would want to add one more context, or change one old one, he do not have > > restart the whole server... > > do you understand me ? (i´m brazilian, sorry...) > > one server, one worker for application, any virtual hosts... > > how can i do this job??? > > The system I have works pretty well, I think. I have one instance of > jboss-jetty (but jboss-tomcat works too, albeit slower, I think) > running, and have made the deploy directory writable by all my > developers. They can just copy x.war into that directory and the > application server automagically deploys it. It seems quite fast, quite > stable and very usable. But no .deb for it :-(. One day, when I have > the time... > > Tom > -- > Tom Cook > Information Technology Services, The University of Adelaide > > "That you're not paranoid does not mean they're not out to get you." > - Robert Waldner -- Marcelo Leal Analista de Suporte Unix Tecnologia em Operação e Redes Cia de Processamento de Dados do Rio Grande do Sul