Page Actions:
|
Priekšnoteikumi: Apache tīmekļa serveris JDK programmēšanas vide Tomcat tīmekļa lietotņu serveris MySQL datubāze |
cd /home/student/downloads tar xvf xplanner-0.7b7a-war.tar.gz cd xplanner-0.7b7-war cp -r xplanner /usr/share/tomcat5/webapps
[mysqld] … #max_allowed_packet = 16M max_allowed_packet = 1024M
mysql -u root -pStudent007 CREATE DATABASE xplanner CHARACTER SET UTF8 COLLATE utf8_general_ci; GRANT ALL PRIVILEGES ON xplanner.* TO 'xplanner'@'localhost' IDENTIFIED BY 'xplanner' WITH GRANT OPTION; FLUSH PRIVILEGES; exit
hibernate.dialect=com.technoetic.xplanner.db.hibernate.XPlannerMySQLDialect
hibernate.connection.driver_class=com.mysql.jdbc.Driver
hibernate.connection.dbname=xplanner
hibernate.connection.url=jdbc:mysql://localhost/xplanner
hibernate.connection.username=xplanner
hibernate.connection.password=xplanner
#hibernate.show_sql=false<property name="repositories">
<map>
…
</map>
</property><property name="repositories"> <bean class="java.util.HashMap"> <constructor-arg> <map> … </map> </constructor-arg> </bean> </property>
JkMount /xplanner ajp13_worker JkMount /xplanner/* ajp13_worker
/etc/init.d/apache2 stop /etc/init.d/tomcat5 restart /etc/init.d/apache2 start