I am having a problem getting xwiki 1.1 to deploy using jboss and as I am sure it a config problem on my side I thought it OK to post here for some advance.
I have setup an Oracle Datasource and deployed it using the following (it seems to deploy fine)
<?xml version="1.0" encoding="UTF-8"?> <datasources> <local-tx-datasource> <jndi-name>jdbc/XWikiDS</jndi-name> <connection-url>jdbc:oracle:thin:@serv1:1521:oradb</connection-url> <driver-class>oracle.jdbc.driver.OracleDriver</driver-class> <user-name>xwiki_test</user-name> <password>password</password> <min-pool-size>5</min-pool-size> <max-pool-size>20</max-pool-size> <idle-timeout-minutes>5</idle-timeout-minutes> </local-tx-datasource> </datasources>
<resource-ref> <description>DB Connection</description> <res-ref-name>jdbc/XWikiDS</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref>
<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.3V2//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd"> <jboss-web> <resource-ref> <res-ref-name>jdbc/XWikiDS</res-ref-name> <jndi-name>java:jdbc/XWikiDS</jndi-name> </resource-ref> </jboss-web>