80后技术男
分类: 系统运维
2007-01-15 11:18:11
schema-name="PUBLIC" helper-class="org.ofbiz.core.entity.GenericHelperDAO" check-on-start="true" use-foreign-keys="false" ...
Also in entityengine.xml, ensure the... tag contains:
去掉schema-name="PUBLIC"项
添加env在如上两行
B build.sh
Now build JIRA by typing build (Windows) or ./build.sh (Unix) on the command line in the $JIRA_HOME directory. This will produce the deployable WAR file in the $JIRA_HOME/dist-tomcat directory.
会在dist-tomcat目录下按照相应的tomcat版本拷贝相应的jira.xml到
Copy dist-tomcat/tomcat-5.5/jira.xml from the built JIRA distribution to your Tomcat's conf/Catalina/localhost/ directory.
编辑jira.xml如下
username="jirauser"
password="jira"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost/jiradb?autoReconnect=true&useUnicode=true&characterEncoding=UTF8"
/>
factory="org.objectweb.jotm.UserTransactionFactory" jotm.timeout="60"/>
C
windows下解压jira-jars-tomcat5.zip并全部拷贝到Tomcat's common/lib/ directory
4 安装jira mysql部分
解压mysql-connector-java-3.1.12.tar.gz
Add the MySQL JDBC driver jar (mysql-connector-java-3.x.x-bin.jar) to the tomcat's common/lib/ directory
编辑 server.xml文件
modify your Tomcat distributions conf/server.xml file
You should modify the block to contain the addition of the useBodyEncodingForURI property:
启动tomcat的startup.sh后
浏览器输入
后便会进入到jira安装配置界面
安装confluence
解压confluence-2.3.1.zip到/opt/目录
建立数据库confluence
编辑confluence/WEB-INF/classes/confluence-init.properties
将最后一行改为
confluence.home=/opt/confluence/data
Create a file called confluence.xml in your Tomcat installation's conf/Catalina/localhost directory
cd /opt/tomcat-5.5.20/conf/Catalina/localhost
touch confluence.xml
输入以下内容prefix="atlassian-confluence." suffix=".log" timestamp="true"/>
重新启动tomcat