I am serving Cocoon as my default app under Tomcat5 on RHEL5 using a
virtual host implemented in the Apache httpd.conf. This is now working
fine (thanks to the explanations of others on this list!)
I now have to add another app, OpenClinica, in its own virtual host, so
the DNS entry was made, and the httpd.conf section set up, and a Host
element added to /etc/tomcat5/server.xml (where RHEL puts it). The
OpenClinica.war file was deployed, and a new directory appeared in
/etc/tomcat5/Catalina called openclinica.ucc.ie containing a file called
OpenClinica.xml
The OpenClinica docs said the file would be at
/usr/local/tomcat/conf/Catalina/localhost/OpenClinica.xml but in the
light of where RHEL dictates stuff should go, and the fact that we are
using a virtual host, this seems to be right. The file was edited to
reflect the database username and password.
Then I found that Tomcat had also created another identical file in
/etc/tomcat5/Catalina/publish.ucc.ie (our virtual host for the default
Cocoon app). I don't understand why it did this, and it's unclear why it
would want to, and it's also uncertain which one it will read. No such
equivalent file was ever created when deploying Cocoon as the default app.
Does anyone have a suggestion as to what we are doing wrong? The
OpenClinica app fails to authenticate to Postgresql, but that's a
separate matter I have raised on their own list. It's the duplicate
creation of the config file in two places at deployment time by Tomcat
that puzzles me.
///Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org