CruiseControl Web ??ó????? Apache Tomcat ??ó?????????????У???????????? Fedora Core 4 ???а??е???????????? tomcat5 ?? tomcat5-admin-webapps ????

[root@fcvm ~]# yum install tomcat5 tomcat5-admin-webapps
    [...]
Installed: tomcat5.i386 0:5.0.30-5jpp_6fc tomcat5-admin-webapps.i386 0:5.0.30-5jpp_6fc
Dependency Installed: tomcat5-jasper.i386 0:5.0.30-5jpp_6fc
Complete!
[root@fcvm ~]#


???????? Java ???? API??JTA????????????????? JPackage ?У?????? ?ο???????? RPM ?淶???????????? JTA RPM???????????????????? Fedora ???? geronimo-specs ?? geronimo-specs-compat??

[root@fcvm ~]# rpm -Uvh http://download.fedora.redhat.com/
pub/fedora/linux/core/development/i386/Fedora/RPMS/
geronimo-specs-1.0-0.M2.2jpp_4fc.i386.rpm
Preparing...                ################################### []
   1:geronimo-specs         ################################### []
[root@fcvm ~]# rpm -Uvh http://download.fedora.redhat.com/
pub/fedora/linux/core/development/i386/Fedora/RPMS/
geronimo-specs-compat-1.0-0.M2.2jpp_4fc.i386.rpm
Preparing...                ################################### []
   1:geronimo-specs-compat  ################################### []
[root@fcvm ~]#


??????? Tomcat ?????CruiseControl Web ??ó?????????????? JAXP TransformerFactory ???????????????????????????? JAXP XML ???????

[root@fcvm ~]# cd /usr/share/tomcat5/common/endorsed
[root@fcvm endorsed]# ln -s /usr/share/java/jaxp_transform_impl.jar
[jaxp_transform_impl].jar
[root@fcvm endorsed]# ls -l
total 12
lrwxrwxrwx  1 root root 36 Sep 19 01:33 [jaxp_parser_impl].jar -> /usr
/share/java/jaxp_parser_impl.jar
lrwxrwxrwx  1 root root 39 Sep 19 01:47 [jaxp_transform_impl].jar -> /
usr/share/java/jaxp_transform_impl.jar
lrwxrwxrwx  1 root root 36 Sep 19 01:33 [xml-commons-apis].jar -> /usr
/share/java/xml-commons-apis.jar
[root@fcvm endorsed]#


CruiseControl Web ??ó?????????????????????????????????????????????????????????? Java AWT???????????? JVM ?????? headless ????????????????? /etc/tomcat5/tomcat5.conf ???????????????????У?JAVA_OPTS="-Djava.awt.headless=true"??λ??????? 10 ?С?

??????? /etc/tomcat5/Catalina/localhost ?′?????????? cruisecontrol.xml ????????? CruiseControl Web ??ó??????? Tomcat ?????á??嵥 5 ??????????????????

?嵥 5. /etc/tomcat5/Catalina/localhost/cruisecontrol.xml ??????

    
<Context path="/cruisecontrol"
         docBase="/home/cruise/pkg/cruisecontrol-2.2.1/reporting/jsp/d
ist/cruisecontrol.war">
  <Parameter name="logDir"
             value="/home/cruise/log/build"
             override="false"/>
  <Parameter name="cacheRoot"
             value="/var/cache/tomcat5/cruisecontrol"
             override="false"/>
</Context>


??????嵥 5 ?е????г????????????????????docBase ?????????????????????????С?

?????? CruiseControl Web ??ó??????????????滺???????

[root@fcvm ~]# cd /var/cache/tomcat5
[root@fcvm tomcat5]# mkdir cruisecontrol
[root@fcvm tomcat5]# chgrp tomcat cruisecontrol
[root@fcvm tomcat5]# chmod g+w cruisecontrol
[root@fcvm tomcat5]# ls -l
total 24
drwxrwxr-x  2 root tomcat 4096 Sep 16 09:32 cruisecontrol
drwxrwxr-x  2 root tomcat 4096 May 10 11:57 temp
drwxrwxr-x  3 root tomcat 4096 Sep 15 22:53 work
[root@fcvm tomcat5]#