26 Jan 19:36
Re: two virtual hosts pointing to same webapp?
Matthias L. Jugel <leo <at> mud.de>
2006-01-26 18:36:47 GMT
2006-01-26 18:36:47 GMT
Hi, Do you have two separate webapps defined? I guess the problem is that they are using the same data directories. The issue here is then that upon startup both read the data from the database in memory but will write concurrently to it. Since SnipSnap works in memory with a write- through cache both webapps will load the same initial data and then corrupt the database. Make sure both use different databases. If you want one singe snipsnap to be available under two different virtual hosts, make sure tomcat does start it twice. I don't know how to do that. We usually run snipsnap using jetty and then use apache as a reverse proxy handling the hosts. Leo. On 26.01.2006, at 19:22, Jay Ballinger wrote: > Hi everyone, > > I am running snipsnap as the root webapp under Tomcat. I would like to > define two hosts that share the same webapp directory for snipsnap. I > searched through the FAQs but could not find an answer to this > question. I found answers for running multiple instances of snipsnap, > but that's not what I'm asking here. > > Under Tomcat, I would like to have one host of "machinename.foo.com" > defined with the webapp directory of "snipsnap". That works today. I > would like to add "snipsnap.foo.com" as another virtual host defined > with the same webapp directory of "snipsnap".(Continue reading)
RSS Feed