YaleBedeworkJBossTweaks
JBoss 4.2.3.GA Tweaks (Yale Bedework)
The following tweaks/configs are considered standard/best practice when developing or running the yale-bedework application.
- Clone the JBOSS/server/default folder and call it JBOSS/server/bedework
- Edit the file JBOSS/server/bedework/conf/jboss-service.xml, changing:
<attribute name="URLs"> deploy/ </attribute>
into
<attribute name="URLs"> deploy/,webapps/ </attribute>
- Download casclient-2.1.1.jar and put it in JBOSS/server/bedework/lib
- Download the MySQL driver JAR and put it in JBOSS/server/bedework/lib
- Create MySQL Bedework Data Source spec by creating a file called bedework-ds.xml in JBOSS/server/bedework/webapps
- Edit bedework-ds.xml as (or similar):
<?xml version="1.0" encoding="UTF-8"?> <datasources> <no-tx-datasource> <jndi-name>CalendarDS</jndi-name> <connection-url>jdbc:mysql://localhost:3306/bedework?useUnicode=true&characterEncoding=UTF-8&characterSetResults=utf8</connection-url> <driver-class>com.mysql.jdbc.Driver</driver-class> <user-name>bedeworkuser</user-name> <password>bedework</password> <idle-timeout-minutes>15</idle-timeout-minutes> <metadata> <type-mapping>mySQL</type-mapping> </metadata> </no-tx-datasource> </datasources>
- Set appropriate log4j logging settings (jboss-log4j.xml):
- Set the FILE logger threshold to INFO
<param name="Threshold" value="INFO"/>
- Set the Hibernate threshold to WARN
<category name="org.hibernate"> <priority value="INFO"/> </category>
- Set the FILE logger threshold to INFO
, multiple selections available,