From 260135cd98d94e6e318635480a429ea779b42608 Mon Sep 17 00:00:00 2001 From: Dave Ward Date: Tue, 28 Apr 2009 14:07:52 +0000 Subject: [PATCH] ALFCOM-2816: Changes for JBoss v5.0.1.GA compatibility - All code that resolves classpath resources goes through JBossEnabledResourceLoader with VFS support - JBossEnabledResourcePatternResolver can handle recursion within VFS directory structures - Reflection used to avoid runtime dependency on JBoss classes - resource-ref declared in jboss-web.xml - Work around incorrect treatment of env-entry-value tag in web.xml git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14106 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- source/web/WEB-INF/jboss-app.xml | 3 --- source/web/WEB-INF/jboss-web.xml | 11 ++++++++++- source/web/WEB-INF/web.xml | 10 ++++++++++ 3 files changed, 20 insertions(+), 4 deletions(-) delete mode 100644 source/web/WEB-INF/jboss-app.xml diff --git a/source/web/WEB-INF/jboss-app.xml b/source/web/WEB-INF/jboss-app.xml deleted file mode 100644 index eac8510c4f..0000000000 --- a/source/web/WEB-INF/jboss-app.xml +++ /dev/null @@ -1,3 +0,0 @@ - - alfresco - \ No newline at end of file diff --git a/source/web/WEB-INF/jboss-web.xml b/source/web/WEB-INF/jboss-web.xml index 9d9c645cc6..dde958affb 100644 --- a/source/web/WEB-INF/jboss-web.xml +++ b/source/web/WEB-INF/jboss-web.xml @@ -1,3 +1,12 @@ - + + + + + + jdbc/dataSource + java:alfresco-datasource + diff --git a/source/web/WEB-INF/web.xml b/source/web/WEB-INF/web.xml index 232a5c4f50..b6e0d952f2 100644 --- a/source/web/WEB-INF/web.xml +++ b/source/web/WEB-INF/web.xml @@ -70,6 +70,11 @@ /WEB-INF/web-application-context.xml Spring config file location + + contextClass + org.alfresco.config.JBossEnabledWebApplicationContext + Spring context class + log4jExposeWebAppRoot false @@ -586,6 +591,7 @@ The filesystem directory below which content and index data is stored. Should be on a shared disk if this is a clustered installation. properties/dir.root + java.lang.String @@ -597,6 +603,7 @@ org.alfresco.repo.domain.hibernate.dialect.AlfrescoSybaseAnywhereDialect, org.alfresco.repo.domain.hibernate.dialect.AlfrescoSQLServerDialect, org.hibernate.dialect.PostgreSQLDialect properties/hibernate.dialect + java.lang.String @@ -604,6 +611,7 @@ Mapping from tokens in Hibernate queries to SQL tokens. For PostgreSQL, set this to "true TRUE, false FALSE". properties/hibernate.query.substitutions + java.lang.String @@ -612,6 +620,7 @@ after insert. Requires JDBC3+ driver. Set to false if your driver has problems with the Hibernate identifier generators. By default, tries to determine the driver capabilities using connection metadata. properties/hibernate.jdbc.use_get_generated_keys + java.lang.Boolean @@ -619,6 +628,7 @@ Qualify unqualified table names with the given schema/tablespace in generated SQL. It may be necessary to set this when the target database has more than one schema. properties/hibernate.default_schema + java.lang.String