English 中文(简体)
• 如何将藏匿器的xml分解成几个单独的档案?
原标题:How to split server.xml of apache tomcat into several separate files?

I use apache tomcat 7 to run a lot ofo virtual hosts on a single machine, I insert a Host tag for every virtual host in server.xml, so I can manage them in a centralized manner.
But now, after adding a lot of host tags, server.xml became so large & I m seeking for a way to put every virtual host related tags in a separated xml file (exactly same that apache does for httpd.conf & virtual host management). e.g I make a separate xml file for every host & put all of them into a directory & force tomcat to load them!
Any Idea???

最佳回答
问题回答

暂无回答




相关问题
Tomcat´s server.xml dynamic configuration

My web application uses the same database configuration as the application XYZ. I have a resource declaration for a context in server.xml, so I have a duplicated configuration (once for web ...

session transfer issue from Tomcat to ASP.Net

I am using Tomcat to host JSP and using IIS 7.0 to host aspx (C# + .Net 3.5 + VSTS 2008), and I have some session transfer issue from JSP page to ASPX page. JSP page is in one domain and all other ...

JSP exception - class not found (tomcat)

I m setting up an existing application on a new Tomcat 5.5 server connecting to a Postgres database (running on Debian Lenny). When I access it I get a series of stack traces with the following root ...

热门标签