diff --git a/config/alfresco-global.properties.sample b/config/alfresco-global.properties.sample index 1e201715f3..6c99a6e2f0 100644 --- a/config/alfresco-global.properties.sample +++ b/config/alfresco-global.properties.sample @@ -125,12 +125,11 @@ #imap.server.port=143 #imap.server.host=localhost -# The RMI registry host and port is defined in the alfresco-shared.properties file +# Default value of alfresco.rmi.services.host is 0.0.0.0 which means 'listen on all adapters'. +# This allows connections to JMX both remotely and locally. # -# To make your RMI services available from other machines you will need to change -# alfresco.rmi.services.host from "localhost". -# alfresco.rmi.services.port=50500 -# alfresco.rmi.services.host=localhost +alfresco.rmi.services.host=0.0.0.0 + # # RMI service ports for the individual services. # These seven services are available remotely. diff --git a/config/alfresco/action-services-context.xml b/config/alfresco/action-services-context.xml index a30daf4ee0..42238d946f 100644 --- a/config/alfresco/action-services-context.xml +++ b/config/alfresco/action-services-context.xml @@ -189,33 +189,35 @@ - + - + - + - + - - - - + + + + + - - - - + + + + + @@ -306,6 +308,9 @@ + + + @@ -336,12 +341,18 @@ + + false + + + false + @@ -351,6 +362,9 @@ + + false + @@ -360,6 +374,9 @@ + + false + @@ -420,6 +437,9 @@ + + false + @@ -482,6 +502,9 @@ + + false + diff --git a/config/alfresco/alfresco-shared.properties b/config/alfresco/alfresco-shared.properties index 40d88ffc55..415d0663a1 100644 --- a/config/alfresco/alfresco-shared.properties +++ b/config/alfresco/alfresco-shared.properties @@ -9,5 +9,4 @@ # Remote RMI services alfresco.rmi.services.port=50500 -alfresco.rmi.services.host=localhost - +alfresco.rmi.services.external.host=localhost diff --git a/config/alfresco/application-context.xml b/config/alfresco/application-context.xml index 4e5721f8ff..196cd78a64 100644 --- a/config/alfresco/application-context.xml +++ b/config/alfresco/application-context.xml @@ -24,6 +24,11 @@ + + + - - - @@ -77,9 +77,9 @@ org.alfresco.cache.contentDataTransactionalCache - - 1000 - + + + @@ -110,9 +110,9 @@ org.alfresco.cache.immutableEntityTransactionalCache - - 10000 - + + + @@ -143,9 +143,9 @@ org.alfresco.cache.node.rootNodesTransactionalCache - - 50 - + + + @@ -176,9 +176,9 @@ org.alfresco.cache.node.nodesTransactionalCache - - 50000 - + + + @@ -209,9 +209,9 @@ org.alfresco.cache.node.aspectsTransactionalCache - - 10000 - + + + @@ -242,9 +242,9 @@ org.alfresco.cache.node.propertiesTransactionalCache - - 5000 - + + + @@ -275,16 +275,16 @@ org.alfresco.cache.node.parentAssocsTransactionalCache - - 80000 - + + + - + @@ -297,9 +297,9 @@ org.alfresco.nodeRulesTransactionalCache - - 2000 - + + + @@ -330,9 +330,9 @@ org.alfresco.userToAuthorityTransactionalCache - - 100 - + + + @@ -363,9 +363,9 @@ org.alfresco.authorityTransactionalCache - - 100 - + + + @@ -396,9 +396,9 @@ org.alfresco.permissionsAccessTransactionalCache - - 10000 - + + + @@ -426,13 +426,12 @@ - org.alfresco.readersTransactionalCache - - 10000 - + + + @@ -463,9 +462,9 @@ org.alfresco.nodeOwnerTransactionalCache - - 10000 - + + + @@ -496,9 +495,9 @@ org.alfresco.personTransactionalCache - - 1000 - + + + @@ -552,9 +551,9 @@ org.alfresco.cache.avmStoreTransactionalCache - - 1000 - + + + @@ -581,9 +580,9 @@ org.alfresco.cache.avmEntityTransactionalCache - - 5000 - + + + @@ -610,9 +609,9 @@ org.alfresco.cache.avmVersionRootEntityTransactionalCache - - 100 - + + + @@ -639,9 +638,9 @@ org.alfresco.cache.avmNodeTransactionalCache - - 5000 - + + + @@ -669,9 +668,9 @@ org.alfresco.cache.avmNodeAspectsTransactionalCache - - 5000 - + + + @@ -702,9 +701,9 @@ org.alfresco.repo.webservices.querySessionTransactionalCache - - 50 - + + + @@ -736,9 +735,9 @@ org.alfresco.aclTransactionalCache - - 10000 - + + + @@ -769,9 +768,9 @@ org.alfresco.cache.aclEntityTransactionalCache - - 50000 - + + + @@ -806,9 +805,9 @@ org.alfresco.cache.authorityEntityTransactionalCache - - 50000 - + + + @@ -843,9 +842,9 @@ org.alfresco.cache.permissionEntityTransactionalCache - - 50000 - + + + @@ -876,9 +875,9 @@ org.alfresco.resourceBundleBaseNamesTransactionalCache - - 100 - + + + @@ -905,9 +904,9 @@ org.alfresco.loadedResourceBundlesTransactionalCache - - 100 - + + + @@ -934,9 +933,9 @@ org.alfresco.messagesTransactionalCache - - 100 - + + + @@ -968,9 +967,9 @@ org.alfresco.compiledModelsTransactionalCache - - 100 - + + + @@ -997,9 +996,9 @@ org.alfresco.prefixesTransactionalCache - - 100 - + + + @@ -1030,9 +1029,9 @@ org.alfresco.webScriptsRegistryTransactionalCache - - 100 - + + + @@ -1063,9 +1062,9 @@ org.alfresco.routingContentStoreTransactionalCache - - 1000 - + + + diff --git a/config/alfresco/content-services-context.xml b/config/alfresco/content-services-context.xml index a7af3ade0d..fa4d0a5ad8 100644 --- a/config/alfresco/content-services-context.xml +++ b/config/alfresco/content-services-context.xml @@ -36,6 +36,9 @@ ${system.content.orphanProtectDays} + + ${system.content.deletionFailureAction} + @@ -121,6 +124,7 @@ + diff --git a/config/alfresco/core-services-context.xml b/config/alfresco/core-services-context.xml index 40c225ff1a..c3122cb3a7 100644 --- a/config/alfresco/core-services-context.xml +++ b/config/alfresco/core-services-context.xml @@ -165,21 +165,13 @@ - - - - - - - - - + + + class="org.alfresco.mbeans.ConnectorServerFactory" + depends-on="registry"> @@ -190,6 +182,12 @@ + + + jmx.remote.rmi.server.socket.factory + + + @@ -248,25 +246,7 @@ - - - - - - - classpath*:alfresco/module/*/log4j.properties - - - classpath*:alfresco/enterprise/*-log4j.properties - - - classpath*:alfresco/extension/*-log4j.properties - - - classpath*:alfresco/extension/dev-log4j.properties - - - + @@ -489,9 +469,6 @@ - - - @@ -634,6 +611,9 @@ + + + ${dir.indexes} @@ -1225,6 +1205,9 @@ + + + @@ -1243,6 +1226,9 @@ + + + diff --git a/config/alfresco/dbscripts/upgrade/3.3/org.hibernate.dialect.PostgreSQLDialect/modify-index-permission_id.sql b/config/alfresco/dbscripts/upgrade/3.3/org.hibernate.dialect.PostgreSQLDialect/modify-index-permission_id.sql index c57aeb7317..2b4b7a011f 100644 --- a/config/alfresco/dbscripts/upgrade/3.3/org.hibernate.dialect.PostgreSQLDialect/modify-index-permission_id.sql +++ b/config/alfresco/dbscripts/upgrade/3.3/org.hibernate.dialect.PostgreSQLDialect/modify-index-permission_id.sql @@ -134,9 +134,8 @@ DELETE FROM alf_access_control_entry ace USING tmp_to_delete t WHERE ace.id = t. DROP TABLE tmp_to_delete; -- Add constraint for duplicate acls (this no longer includes the context) - - -ALTER TABLE alf_access_control_entry DROP CONSTRAINT alf_access_control_entry_permission_id_key; +ALTER TABLE alf_access_control_entry DROP CONSTRAINT alf_access_control_entry_permission_id_key; -- (optional) +ALTER TABLE alf_access_control_entry DROP CONSTRAINT alf_access_control_entry_permission_id_authority_id_allowed_key; -- (optional) ALTER TABLE alf_access_control_entry ADD UNIQUE (permission_id, authority_id, allowed, applies); diff --git a/config/alfresco/dbscripts/upgrade/3.4/org.hibernate.dialect.Dialect/link-validation-metadata-removing.sql b/config/alfresco/dbscripts/upgrade/3.4/org.hibernate.dialect.Dialect/link-validation-metadata-removing.sql new file mode 100644 index 0000000000..bd42c3adf1 --- /dev/null +++ b/config/alfresco/dbscripts/upgrade/3.4/org.hibernate.dialect.Dialect/link-validation-metadata-removing.sql @@ -0,0 +1,51 @@ +-- +-- Title: Removing Link Validation related metadata +-- Database: Generic +-- Since: V3.4 +-- Author: Dmitry Velichkevich +-- +-- Please contact support@alfresco.com if you need assistance with the upgrade. +-- +-- ALF-5185: WCM: upgrade / re-index can fail on 3.4 if link validation (now removed) was previously being used + +-- +-- Removing Link Validation Reports +-- +DELETE +FROM + avm_store_properties +WHERE + qname_id in ( + SELECT + id + FROM + alf_qname + WHERE + local_name = '.link.validation.report' + ); + +-- +-- Removing Link Validation QName +-- +DELETE +FROM + alf_qname +WHERE + local_name = '.link.validation.report'; + +-- +-- Record script finish +-- +DELETE +FROM + alf_applied_patch +WHERE + id = 'patch.db-V3.4-RemovingLinkValidationMetadata'; + +INSERT INTO + alf_applied_patch + (id, description, fixes_from_schema, fixes_to_schema, applied_to_schema, target_schema, applied_on_date, applied_to_server, was_executed, succeeded, report) +VALUES ( + 'patch.db-V3.4-RemovingLinkValidationMetadata', 'Link Validation reports metadata removed V3.4', + 0, 4113, -1, 4114, null, 'UNKOWN', ${TRUE}, ${TRUE}, 'Script completed' +); diff --git a/config/alfresco/domain/quartz.properties b/config/alfresco/domain/quartz.properties index 3ce072ad02..d7d92366d6 100644 --- a/config/alfresco/domain/quartz.properties +++ b/config/alfresco/domain/quartz.properties @@ -1,2 +1,3 @@ # Quartz thread settings org.quartz.threadPool.threadPriority=3 +org.quartz.scheduler.skipUpdateCheck=true \ No newline at end of file diff --git a/config/alfresco/ehcache-default.xml b/config/alfresco/ehcache-default.xml index 6faf50ec8b..6b689de827 100644 --- a/config/alfresco/ehcache-default.xml +++ b/config/alfresco/ehcache-default.xml @@ -31,14 +31,6 @@ overflowToDisk="false" statistics="false" /> - - - - - - - - - - @@ -363,7 +315,7 @@ + + + + diff --git a/config/alfresco/extension/ehcache-custom.xml.sample.cluster b/config/alfresco/extension/ehcache-custom.xml.sample.cluster index 29bc159918..76da1e20d2 100644 --- a/config/alfresco/extension/ehcache-custom.xml.sample.cluster +++ b/config/alfresco/extension/ehcache-custom.xml.sample.cluster @@ -84,25 +84,6 @@ replicateAsynchronously = false"/> - - - - - @@ -144,9 +125,9 @@ @@ -163,9 +144,9 @@ @@ -182,26 +163,9 @@ - - - - - @@ -215,97 +179,6 @@ replicateAsynchronously = false"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + diff --git a/config/alfresco/ibatis/org.hibernate.dialect.Dialect/content-common-SqlMap.xml b/config/alfresco/ibatis/org.hibernate.dialect.Dialect/content-common-SqlMap.xml index 52ddfddf81..834c2a68a7 100644 --- a/config/alfresco/ibatis/org.hibernate.dialect.Dialect/content-common-SqlMap.xml +++ b/config/alfresco/ibatis/org.hibernate.dialect.Dialect/content-common-SqlMap.xml @@ -15,7 +15,7 @@ - + @@ -186,7 +186,7 @@ - 0 and + cu.orphan_time < #maxOrphanTimeExclusive# and + cu.orphan_time is not null ]]> diff --git a/config/alfresco/ibatis/org.hibernate.dialect.Dialect/node-common-SqlMap.xml b/config/alfresco/ibatis/org.hibernate.dialect.Dialect/node-common-SqlMap.xml index f9cccf1e22..8ee4cfb28c 100644 --- a/config/alfresco/ibatis/org.hibernate.dialect.Dialect/node-common-SqlMap.xml +++ b/config/alfresco/ibatis/org.hibernate.dialect.Dialect/node-common-SqlMap.xml @@ -917,6 +917,7 @@ join alf_store store on (store.id = node.store_id) join alf_transaction txn on (txn.id = node.transaction_id) + order by node.id