Quantcast
Channel: Alfresco Forums - Installation & Upgrades
Viewing all 305 articles
Browse latest View live

Version 5.0.d showing as 5.0.0


how to disconnect from an existing JLAN connection? (Windows 7)

$
0
0

I'm using JLAN from within OpenCMS and the connection is done by giving an OpenCMS user and password. It is a bit confusing since when you open the connection the first time you get the typical domain user login prompter and you then click "other user" and then you don't enter a local Windows user but the authentication of a user in the OpenCms workplace.

Anyway, my problem right now is how I can disconnect the current connection to the JLANserver and reconnect with a different user rather than having to reboot the machine.

--
Christoph

ORA-12519, TNS:no appropriate service handler found

$
0
0

Platform: Alfresco 4.2.1 Enterprise Edition
OS: Windows 7
Database: Oracle Express: 11g

We are going to be transferring our users from Alfresco 2.9 Community to Alfresco 4.2.4 Enterprise.
A consultant had written scripts to export the data from 2.9 for an import into 4.2.4

While we await for our licence approval, we are testing the installation and customisations to get a head start on the project.

(we are going to 4.2.4 for now due to the Explorer interface being removed from releases after this).. Eventually we will follow the upgrade path to get onto the latest platform version. We have some custom modifications that we have made to the explorer ui and some actions that we wrote that will be applied to via an amp deployment.

I have tried deploying just the alfresco.war explorer 4.2.4 and it works fine. When I apply the amp and install/deploy from scratch, I get ORA-12519, TNS:no appropriate service handler found. The database tables get created ok. The last thing that is successful before the exception is Startup of replication subsystem.

Startup of 'Replication' subsystem, ID: [Replication, default] complete
2015-11-02 11:24:30,171 ERROR [post.lookup.PostLookup] [DefaultScheduler_Worker-6] Exception during update of posts:
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection

I have attached the console log file (tomcat.log)

My alfresco-global.properties is:

###############################
## Common Alfresco Properties #
###############################
 
#
# Sample custom content and index data location
#
dir.root=C:/u01/alfresco/alf_data
dir.keystore=${dir.root}/keystore
 
#
# Sample database connection properties
#
db.username=username
db.password=password
 
#
# External locations
#-------------
ooo.exe=soffice
ooo.enabled=false
jodconverter.officeHome=C:/Progra~2/OpenOffice.org
jodconverter.portNumbers=8101
jodconverter.enabled=true
img.root=C:/Progra~2/ImageMagick-6.3.5-Q16
swf.exe=C:/Progra~2/SWFTools/pdf2swf
 
#
# Windows specific environment variables (should not be set on unix)for ImageMagick
#
img.coders=${img.root}/modules/coders
img.config=${img.root}/config
img.gslib=${img.root}
img.dyn=${img.root}/
img.exe=${img.root}/convert
 
 
#
# Property to control whether schema updates are performed automatically.
# Updates must be enabled during upgrades as, apart from the static upgrade scripts,
# there are also auto-generated update scripts that will need to be executed. After
# upgrading to a new version,this can be disabled.
#
db.schema.update=true
 
#
# MySQL connection
#
#db.driver=org.gjt.mm.mysql.Driver
#db.url=jdbc:mysql://localhost/alfresco?useUnicode=yes&characterEncoding=UTF-8
 
#
# Oracle connection
#
db.driver=oracle.jdbc.OracleDriver
db.url=jdbc:oracle:thin:@localhost:1521:xe
db.port=8080
 
#
# SQLServer connection
# Requires jTDS driver version 1.2.5 and SNAPSHOT isolation mode
# Enable TCP protocol on fixed port 1433
# Prepare the database with:
# ALTER DATABASE alfresco SET ALLOW_SNAPSHOT_ISOLATION ON;
#s:sqlserver://localhost:1433/alfresco
#db.txn.isolation=4096
 
#db.driver=net.sourceforge.jtds.jdbc.Driver
#db.url=jdbc:jtd
#
# PostgreSQL connection (requires postgresql-8.2-504.jdbc3.jar or equivalent)
#
#db.driver=org.postgresql.Driver
#db.url=jdbc:postgresql://localhost:5432/alfresco
 
#
# DB2 connection
#
#db.driver=com.ibm.db2.jcc.DB2Driver
#db.url=jdbc:db2://localhost:50000/alfresco:retrieveMessagesFromServerOnGetMessage=true;
 
#
# Index Recovery Mode
#-------------
#index.recovery.mode=AUTO
 
#
# Outbound Email Configuration
#-------------
#mail.host=
#mail.port=25
#mail.username=anonymous
#mail.password=
#mail.encoding=UTF-8
#mail.from.default=alfresco@alfresco.org
#mail.smtp.auth=false
 
#
# Alfresco Email Service and Email Server
#-------------
 
# Enable/Disable the inbound email service. The service could be used by processes other than
# the Email Server (e.g. direct RMI access) so this flag is independent of the Email Service.
#-------------
#email.inbound.enabled=true
 
# Email Server properties
#-------------
#email.server.enabled=true
#email.server.port=25
#email.server.domain=alfresco.com
#email.inbound.unknownUser=anonymous
 
# A comma separated list of email REGEX patterns of allowed senders.
# If there are any values in the list then all sender email addresses
# must match. For example:
# .*\@alfresco\.com, .*\@alfresco\.org
# Allow anyone:
#-------------
#email.server.allowed.senders=.*
 
#
# The default authentication chain
# To configure external authentication subsystems see:
# http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems
#-------------
#authentication.chain=alfrescoNtlm1:alfrescoNtlm
 
#
# URL Generation Parameters (The ${localname} token is replaced by the local server name)
#-------------
#alfresco.context=alfresco
#alfresco.host=${localname}
#alfresco.port=8080
#alfresco.protocol=http
#
#share.context=share
#share.host=${localname}
#share.port=8080
#share.protocol=http
 
#imap.server.enabled=true
#imap.server.port=143
#imap.server.host=localhost
 
# 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.
#
alfresco.rmi.services.host=0.0.0.0
 
#
# RMI service ports for the individual services.
# These seven services are available remotely.
#
# Assign individual ports for each service for best performance
# or run several services on the same port. You can even run everything on 50500if needed.
#
# Select 0 to use a random unused port.
#
#avm.rmi.service.port=50501
#avmsync.rmi.service.port=50502
#attribute.rmi.service.port=50503
#authentication.rmi.service.port=50504
#repo.rmi.service.port=50505
#action.rmi.service.port=50506
#wcm-deployment-receiver.rmi.service.port=50507
#monitor.rmi.service.port=50508

We also have a datasource.. I'm not 100% sure if 4.2.4 is picking up the properties file, or using this datasource. We used a datasource in 2.9 but 4.2 seems to be configured differently... For now, I've left it with both the properties and datasource.

C:\Program Files\Apache_Software_Foundation\apache-tomcat-7.0.42\webapps\alfresco\WEB-INF\classes\alfresco\extension\data-source-context.xml

<?xml version='1.0' encoding='UTF-8'?><!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN''http://www.springframework.org/dtd/spring-beans.dtd'> <!-- Over-rides the datasource bean in core-services-context.xml to support jndi lookup --><beans><!-- Datasource bean --><bean id="dataSource"class="org.springframework.jndi.JndiObjectFactoryBean"><property name="jndiName" value="java:comp/env/jdbc/nhpols_dsn"/></bean></beans><blockcode>  
The tns names seems to be ok since it's creating the database structure and I can log in via sql developer with no issues. 
Does anyone have a suggestion what to look for? We will have a licence for enterprise in the near future so we can open an official ticket then if we have not resolved it by then. We'd like to get it resolved asap though so we can start testing the upgrade process once we get an official licence.

Point alfresco content store to an existing dir during installation

$
0
0

Hi,

Is there an option during alfresco installation (Community 5.0.d) to point to an existing location similar to overriding default DB configuration.

After the installation, I changed root.dir in alfresco-global.properties to point to AWS EBS volution, but start up is complaining about missing keystore. I can copy this dir from default /alf_data, but would prefer to achieve this goal during installation itself.

Thank you

[Community 5.0.d + solr4] solr4 is up but all requests to /solr4/alfresco fail with 404

$
0
0

Running on Amazon ec2 t2.small, this is my environment:
- debian jessie
- apache2 (listening on port 80) + modjk (tomcat listening on 8080)
- tomcat 7.0.65
- alfresco community 5.0.d
- postgres 9.4
- java 8
- solr4

I choose to set communication between repo and solr4 on plain http, without additional security. So I don't even have a keystore.
These are the main props of /archive-SpacesStore/conf/solrcore.properties:

data.dir.root=/opt/alfresco/alf_data/solr4/indexes
data.dir.store=archive/SpacesStore
enable.alfresco.tracking=true
alfresco.version=5.0.0
alfresco.host=localhost
alfresco.port=8080
alfresco.port.ssl=8443
alfresco.baseUrl=/alfresco
alfresco.cron=0/15****?*
alfresco.stores=archive://SpacesStore
alfresco.secureComms=none

This is the main part of my alfresco-global.properties:

dir.root=/opt/alfresco/alf_data
#dir.keystore=${dir.root}/keystore
 
index.recovery.mode=AUTO
#index.recovery.mode=FULL
index.subsystem.name=solr4
solr.host=localhost
solr.port=8080
solr.port.ssl=8443
solr.secureComms=none

This is the solr4 config on tomcat (solr4.xml):

<?xml version="1.0" encoding="utf-8"?>
<Context debug="0" crossContext="true">
<Environment name="solr/home" type="java.lang.String" value="/opt/alfresco/solr4" override="true"/>
<Environment name="solr/model/dir" type="java.lang.String" value="/opt/alfresco/alf_data/solr4/model" override="true"/>
<Environment name="solr/content/dir" type="java.lang.String" value="/opt/alfresco/alf_data/solr4/content" override="true"/>
</Context>

I do the fresh install of alfresco, share, and finally solr4 war. I can login to /share and even to /solr4. From sol4 console I can see workspace and archive working fine, but after the share login I immediately receive:

2015-11-05 14:01:11,044 ERROR [org.alfresco.repo.site.SiteServiceImpl][http-bio-8080-exec-4] LuceneQueryParserException with findSites()
org.alfresco.repo.search.impl.lucene.LuceneQueryParserException:10050018 Request failed 404/solr4/alfresco/afts?wt=json&fl=DBID%2Cscore&r
ows=5&df=TEXT&start=0&locale=en_US&alternativeDic=DEFAULT_DICTIONARY&fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&fq=%7B%21afts%7DTENANT_FILT
ER_FROM_JSON
at org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.postQuery(SolrQueryHTTPClient.java:616)
at org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.postSolrQuery(SolrQueryHTTPClient.java:559)
at org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.executeQuery(SolrQueryHTTPClient.java:520)
at org.alfresco.repo.search.impl.solr.SolrQueryLanguage.executeQuery(SolrQueryLanguage.java:51)
at org.alfresco.repo.search.impl.solr.DbOrIndexSwitchingQueryLanguage.executeQuery(DbOrIndexSwitchingQueryLanguage.java:214)
at org.alfresco.repo.search.impl.solr.SolrSearchService.query(SolrSearchService.java:348)

and that always happens when I try to search content. It looks like it can't find solr4 context (404). But why?

Thanks in advance!

5.0.d
solr4

Perfection is not attainable, but if we chase perfection we can catch excellence. (Vince Lombardi)

Enabling rm profile in SDK 2.1.0

$
0
0

Hi,

I am trying the enable the RM profile for my Alfresco SDK 2.1.0 but when I try to create a Records Managements site the option is not available. Also I have a webscript to create an RM site but exception is thrown saying that rmsite is not a valid site type. Any help will be appreciated.

Thanks

5.0.d

The products which you buy for skin care

$
0
0

These acne flareups usually are quite challenging to deal with and will be very annoying, agonizing and nose or throat can be very frustrating particularly when they're on your mouth. Suffering and people stress from red pustular locations may ask themselves the major issue, just how do I get rid of these disgusting little soft pimples quickly, quick and straightforward. Do them place? May popping trigger sores, more outbreaks or infected? What are efficient treatment approaches which can be lowcost?click here for more details >>>>> http://healthrxpuregarcinia.com/luminesce-serum/

Install Alfresco on smb network share

$
0
0

Hello,

I have the following configuration:
OS: CentOS 6.7
in /etc/fstab I mounted a smb share: //192.168.1.100\alfresco /opt/alfresco cifs user,rw,exec,suid,username=alfresco,password=password 0 0

The /opt/alfresco has the following permission: drwxr-xr-x 1 root root

After I start the installer, after about 10% in the installation procedure I get the following error:
#####Unable to create symbolic link /opt/alfresco/common/bin/infotocap -> tic
Abort, Retry, Ignore ? [A/r/i]

The question is: It is possible to install Alfresco on a network share mounted on the host ?
And if yes, what is wrong with my configuration?

Thanks.

5.0.d

how to disconnect from an existing JLAN connection? (Windows 7)

$
0
0

I'm using JLAN from within OpenCMS and the connection is done by giving an OpenCMS user and password. It is a bit confusing since when you open the connection the first time you get the typical domain user login prompter and you then click "other user" and then you don't enter a local Windows user but the authentication of a user in the OpenCms workplace.

Anyway, my problem right now is how I can disconnect the current connection to the JLANserver and reconnect with a different user rather than having to reboot the machine.

--
Christoph

Alfresco 5.0.d & Solr 5 compatibility?

$
0
0

Hi,
I'm using Alfresco 5.0.d on my Ubuntu box. It works great with Solr 4.

I want to have Alfresco work with Solr 5.

Backstory:
I want to eventually have Solr 5 index both my Drupal and Alfresco content which is why I want this (Drupal is using Solr 5).

I Googled this and even searched this forum but see no mention of Solr 5 with Alfresco. I'm assuming this is because Solr 5 is new.
Is this possible? If so, are the installation steps different?

Thanks!

5.0.d
solr 5

Upgrading 4.2.f to 5.1 Solr1/Solr4

$
0
0

Hello Everyone,

I'm currently planning on upgrading from 4.2.f CE to 5.1 and I'm hitting a road block on how to implement this.

Currently my setup is that I have 4.2.f installed on centos 7 and I've created a mount point for our SAN that has the Alf_Data folder in it. This contains solr1.

This is separate from the installation files and I've just modified it so that the install points to the this data location.

When upgrading my approach is to install 5.1 next to 4.2.f and point the alf_data location to the same mount point. However solr4 won't be installed in the same location. How do I go about changing that so that I can use solr4?

installing javascript console for alfresco 5.0

$
0
0

Hello

I'm on Alfresco 5.0 SDK 2.1.1 and I downloaded the jsconsole on "https://github.com/share-extras/js-console"

I succeded to install via the "manuel technique" (the one in the bottom of the previous link) and also via "goal method" from this website => https://artifacts.alfresco.com/nexus/content/repositories/alfresco-docs/...

For my job i need to also succed in "dependency" method

I did the mvn install and the dependencies in both amp : repo and share

******************************************************************
picture of the org.shareextras repository => http://www.noelshack.com/2015-46-1447166844-1.png

[code] <dependency>
<groupId>org.sharextras</groupId>
<artifactId>javascript-console-repo</artifactId>
<!-- <version>0.6.0</version> --> // my version seem to be 1.0, not 0.6.0
<version>1.0</version>
<type>amp</type>
</dependency>[/code]
******************************************************************

I also changed the maven war plugin wich I found in my "effective POM", so I added him in my "pom.xml" only for my pom.xml in repo, my pom.xml in the sare already had a plugin section

********************************************************************
[code] <build>
<pluginManagement> //build management helped me to avoid a warning about overinding versions
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.5</version>
<dependencies>
<dependency>
<groupId>org.alfresco.maven.plugin</groupId>
<artifactId>alfresco-maven-plugin</artifactId>
<version>2.1.1</version>
</dependency>
</dependencies>
<configuration>
<overlay>
<groupId>org.sharextras</groupId>
<artifactId>javascript-console-repo</artifactId>
<type>amp</type>
</overlay>
<archiveClasses>false</archiveClasses>
<archive>
<manifest>
<addClasspath>true</addClasspath>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build> [/code]

******************************************************************************

I tried a lot of different things, synthax but in dependency method I never succed to just find the module

picture of my logs => http://www.noelshack.com/2015-46-1447167246-2.png

Thanks in advance if you know something

5.0

Is JDK on Alfresco a must?

$
0
0

Hello,

While preping for Alfresco environments I have an item that really creates a problem for our production environment.
Can Alfresco run using JRE instead of JDK?

Thanks

Alfresco won't start - 10110007 Failed to find 'cm:Scheduled Actions' location.

$
0
0

Hi,

we recently restared our server and Alfresco is now not able to complete starting. In the alfresco.log file i see the following Exception:

2015-11-11 08:17:25,047 ERROR [org.springframework.web.context.ContextLoader][localhost-startStop-1] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException:10110007 Failed to find 'cm:Scheduled Actions' location.at org.alfresco.repo.action.scheduled.ScheduledPersistedActionServiceImpl.locatePersistanceFolder(ScheduledPersistedActionServiceImpl.java:150)
	at org.alfresco.repo.action.scheduled.ScheduledPersistedActionServiceImpl$ScheduledPersistedActionServiceBootstrap$1$1.execute(ScheduledPersistedActionServiceImpl.java:497)
	at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:457)
	at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:326)
	at org.alfresco.repo.action.scheduled.ScheduledPersistedActionServiceImpl$ScheduledPersistedActionServiceBootstrap$1.doWork(ScheduledPersistedActionServiceImpl.java:502)
	at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
	at org.alfresco.repo.action.scheduled.ScheduledPersistedActionServiceImpl$ScheduledPersistedActionServiceBootstrap.onBootstrap(ScheduledPersistedActionServiceImpl.java:489)
	at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
	at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209)
	at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:180)
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)
	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:948)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
	at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5524)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1081)
	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1877)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)2015-11-11 08:17:31,561 DEBUG [org.alfresco.repo.management.SafeApplicationEventMulticaster][localhost-startStop-1][org.alfresco.repo.management.subsystems.DefaultPropertyBackedBeanRegistry@67f7c7a7, org.alfresco.repo.dictionary.DictionaryDAOImpl@53ec59a7, org.alfresco.repo.management.subsystems.SwitchableApplicationContextFactory@22c04b68, org.alfresco.repo.search.impl.solr.SolrChildApplicationContextFactory@75a6d331, org.alfresco.repo.search.impl.solr.SolrChildApplicationContextFactory@4bcba081, org.alfresco.repo.management.subsystems.LuceneChildApplicationContextFactory@3b5e959e, org.alfresco.repo.management.subsystems.NoIndexChildApplicationContextFactory@78b439d2, org.alfresco.repo.security.permissions.impl.PermissionServiceImpl@4e857b65, org.alfresco.repo.security.permissions.dynamic.LockOwnerDynamicAuthority@5a4d879d, org.alfresco.repo.management.subsystems.CryptodocSwitchableApplicationContextFactory@df876be, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@6441b10a, FileContentStore[ root=\\solofficenas\alfresco\contentstore.deleted, allowRandomAccess=true, readOnly=false], org.springframework.extensions.config.xml.XMLConfigService@14f9a8bc, org.springframework.extensions.config.xml.XMLConfigService@4f9a58dc, org.alfresco.ibatis.HierarchicalSqlSessionFactoryBean@4afee279, org.alfresco.repo.management.subsystems.DefaultChildApplicationContextManager@4de2c4dc, org.alfresco.repo.shutdown.ShutdownBackstop@1ff1735d, org.alfresco.repo.admin.RepositoryStartBootstrapBean@3092907f, org.alfresco.repo.domain.schema.SchemaBootstrap@61fa0d93, org.alfresco.encryption.EncryptionChecker@375b94cd, org.alfresco.repo.node.index.NodeIndexer@35bad886, org.alfresco.repo.dictionary.DictionaryRepositoryBootstrap@27b9bd5d, org.alfresco.encryption.BootstrapReEncryptor@14e43ba9, org.alfresco.repo.importer.system.SystemInfoBootstrap@ab458f6, org.alfresco.repo.importer.ImporterBootstrap@2028f0b, org.alfresco.repo.importer.ImporterBootstrap@5d1d431a, org.alfresco.repo.importer.ImporterBootstrap@370ed591, org.alfresco.repo.importer.ImporterBootstrap@3d1ef3b5, org.alfresco.repo.importer.ImporterBootstrap@15c57f08, org.alfresco.repo.importer.ImporterBootstrap@329d06c, org.alfresco.repo.importer.ImporterBootstrap@7102532e, org.alfresco.repo.importer.ImporterBootstrap@424a3fc5, org.alfresco.repo.importer.ImporterBootstrap@883ef62, org.alfresco.repo.workflow.WorkflowDeployer@7be7f049, org.alfresco.repo.descriptor.DescriptorServiceImpl@68833689, org.alfresco.repo.tenant.MultiTenantBootstrap@4e7c6f06, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@86314e2, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@49415c96, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@4da0a9aa, ConfigurationChecker[indexRecoveryMode=VALIDATE], org.alfresco.repo.admin.patch.PatchExecuter@1c8dde32, org.alfresco.repo.admin.patch.OptionalPatchApplicationCheckBootstrapBean@4b2ffc11, org.alfresco.repo.module.ModuleStarter@137b773d, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@29f7b850, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@6feb426b, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@f996b56, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@51be7558, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@3923f554, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@2b68ef6e, org.alfresco.util.SchedulerStarterBean@58a53755, org.alfresco.repo.usage.UserUsageTrackingComponent@322e2802, org.alfresco.repo.security.person.HomeFolderProviderSynchronizer@1517b33a, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@ba17de5, org.alfresco.repo.workflow.jbpm.JBPMScheduler@75882177, org.alfresco.repo.audit.model.AuditModelRegistryImpl@762bff66, org.alfresco.repo.site.SiteServiceBootstrap@40f8bc60, org.alfresco.repo.action.scheduled.ScheduledPersistedActionServiceImpl$ScheduledPersistedActionServiceBootstrap@578c8978, org.alfresco.repo.admin.RepositoryEndBootstrapBean@5b99db6f, org.alfresco.repo.webdav.WebDavBootstrap@72c8f911, org.alfresco.repo.descriptor.DescriptorStartupLog@186b08, org.alfresco.repo.workflow.activiti.ActivitiEngineInitializer@19977030, org.alfresco.repo.admin.RepoAdminInterpreter@7d2b447f, org.alfresco.repo.workflow.WorkflowInterpreter@7a194851, org.alfresco.repo.workflow.WorkflowDeployer@5b2e113c, org.alfresco.repo.site.SiteServiceImpl@5e5a32b8, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@71ecbfc7, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@558f3247, org.alfresco.repo.thumbnail.ThumbnailRegistry@d80d843, org.alfresco.opencmis.dictionary.CMISStrictDictionaryService@5735b9f1, org.alfresco.opencmis.dictionary.CMISStrictDictionaryService@9a1a1d8, org.alfresco.opencmis.CMISConnector@582b95b, org.alfresco.repo.workflow.WorkflowDeployer@7b8d3d4e, org.alfresco.repo.search.impl.solr.facet.SolrFacetConfig@44307b36, org.alfresco.repo.search.impl.solr.facet.SolrFacetServiceImpl@6fc0c2a5, org.alfresco.repo.importer.ImporterBootstrap@58f4f701, org.alfresco.repo.importer.ImporterBootstrap@4bb3a609, org.alfresco.repo.importer.ImporterBootstrap@7c640ff5, org.alfresco.repo.importer.ImporterBootstrap@576856b4, org.alfresco.repo.importer.ImporterBootstrap@28dbffa7, org.alfresco.repo.importer.ImporterBootstrap@7e0e975b, org.alfresco.repo.tenant.TenantInterpreter@1586c715, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@54918a30, org.alfresco.module.vti.handler.alfresco.VtiPathHelper@7dd3e5c9, org.alfresco.module.vti.VtiServer@208e6a98, org.springframework.extensions.config.xml.XMLConfigService@21938b53, org.springframework.extensions.webscripts.SearchPath@38c5f9c5, org.springframework.extensions.webscripts.SearchPath@35c6e7b, org.alfresco.repo.web.scripts.TenantRepositoryContainer@12d8ef48, org.springframework.extensions.webscripts.processor.FTLTemplateProcessor@6cd5125c, org.springframework.extensions.webscripts.processor.JSScriptProcessor@3cc467bb, org.springframework.extensions.webscripts.servlet.mvc.WebScriptViewResolver@2ea6a235, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@7be1a269, org.springframework.extensions.config.xml.XMLConfigService@3361951d, org.alfresco.repo.web.scripts.RepositoryTemplateProcessor@55cb1821, org.springframework.extensions.webscripts.SearchPath@4606a29b, org.springframework.extensions.webscripts.SearchPath@5cf4a475, org.alfresco.rest.api.PublicApiRepositoryContainer@5a0a34e0, org.alfresco.rest.framework.core.ApiBootstrap@2b634f96, org.alfresco.rest.api.impl.activities.BaseActivitySummaryProcessor@77c65256, org.alfresco.rest.api.impl.activities.BaseActivitySummaryProcessor@13338a05, org.alfresco.rest.api.impl.activities.SiteActivitySummaryProcessor@b2746e0, org.alfresco.rest.api.impl.activities.DiscussionsActivitySummaryProcessor@415a2941, org.alfresco.rest.api.impl.activities.SubscriptionsActivitySummaryProcessor@42899a7d, org.alfresco.rest.api.impl.activities.BaseActivitySummaryProcessor@3bcfdc6d, org.alfresco.repo.bulkimport.impl.stores.DefaultContentStoreMapProvider@6ac67136]2015-11-11 08:17:31,562 DEBUG [org.alfresco.repo.security.authentication.AuthenticationUtil][localhost-startStop-1] MT is enabled:false2015-11-11 08:17:31,562 WARN  [org.springframework.web.context.support.XmlWebApplicationContext][localhost-startStop-1] Exception thrown from ApplicationListener handling ContextClosedEvent
java.lang.NullPointerException
	at org.alfresco.repo.workflow.activiti.ActivitiEngineInitializer.onShutdown(ActivitiEngineInitializer.java:58)
	at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:67)
	at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209)
	at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:185)
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)
	at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1049)
	at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1010)
	at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:586)
	at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:143)
	at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5063)
	at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5719)
	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1081)
	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1877)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

I cannot remember any action that could have created this error.

Does anybody have an idea what I could do to get Alfresco starting again?

Thanks a lot for your help!

5.0.d

Cache alfresco

$
0
0

Hi. I'm deploying one extension all-in-one but, when I'm testing and change some things, for example, one file bpmn, I continue to have access a variables that the old file have. I remove all. I stop alfresco, remove the folder alfresco and share, I substitute the alfresco.war and share.war by the originals, and then I install the extension. But still have the same problem. I make grep for the variable and I don't find nothing, and I already enter on the page of alfresco with private session of browser. How can I do to solve this problem?? Please help me!


Question about Alfresco configuration

Folder Rules in Community Edition

$
0
0

Hi All,

I am new to ALfresco and I am running Community Edition (v5.0)on a Windows Server 2012R2.

When I try to define a Folder Rule I can see only "Start Pooled Review and Approve Workflow" when "Execute Script" option is selected. Don't I get to other workflow types such as "Review and Approve (group Review)"?

Also when I select "Start Pooled Review and Approve Workflow" I do not get to configure the members of the review and approve pool, task due date etc...

What am I missing here?

Any pointers are very greatly appreciated.

With Kind Regards

5.0.a

Migrating from 4.0b (MySQL) to 5.0b (Postgres)

$
0
0

Hello AlfrescoBoard,

for about two weeks now, I am trying to update and migrate (sometimes at the same time) Alfresco.

The situation is: I got Alfresco 4.0b running on MySQL on server A (CentOS). I want to migrate that Alfresco (let's say 5.0, but more about that a little later) to server B, running Postgres and Debian.

I've used every tutorial IN THE BOOK. I tried alfrescos migration documentation. Everything worked about ok. So migrating from 4.0b to 4.0b (mysql to postgres) worked just fine. But upgrading even to 4.0e crashes.

For transfering the database I used pgloader. Everything works just fine as long as I don't update. But if I do I get every error I had in this forum. And none of the solutions actually fit my situation.

So, my state of mind is desperate. I got everything ready for all your ideas to test immediately. In this state, I'm ok with upgrading to 4.0e (which goes wrong -> Bootstrap failed) or to 5.0x (which also fails with Context initialization failed). At some point I even had duplicate private key problems. Because of my desperation, I just deleted the entries to "remove" those errors.

What I do every time: I install Alfresco (whatever version). I stop it from the installer. Then I set the hostname in alfresco-global.properties and turn indexing off. I start postgresql and import the dump from the pgloader (which is generated on another server). I stop postgres, move the contentstore and contentstore.deleted to alf_data and start alfresco again and stop it. Then I turn the indexing on again, and start alfresco one last time. And now the errors rain down on me.

If you need any error report or log, I will gladly send one. If you have any more questions about my servers and there configuration, feel free to ask. I'm stuck.

Here's an error I get after doing the said procedure in Alfresco 4.0e.

10:13:07,613 INFO [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply ...
10:13:07,877 INFO [org.alfresco.repo.admin.patch.PatchExecuter] Applying patch 'patch.imapSpacesTemplates2' (Replaces content templates for IMAP clients).
10:13:20,771 ERROR [org.alfresco.repo.admin.patch.PatchExecuter] 10230039 org.alfresco.error.AlfrescoRuntimeException: 10230038 Bootstrap failed
at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:361)
at org.alfresco.repo.admin.patch.impl.GenericBootstrapPatch.applyInternal(GenericBootstrapPatch.java:121)
at org.alfresco.repo.admin.patch.AbstractPatch.applyImpl(AbstractPatch.java:407)
at org.alfresco.repo.admin.patch.AbstractPatch.access$000(AbstractPatch.java:52)
at org.alfresco.repo.admin.patch.AbstractPatch$2$1.execute(AbstractPatch.java:466)
at org.alfresco.repo.admin.patch.AbstractPatch$2$1.execute(AbstractPatch.java:463)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
at org.alfresco.repo.admin.patch.AbstractPatch$2.doWork(AbstractPatch.java:469)
at org.alfresco.repo.admin.patch.AbstractPatch$2.doWork(AbstractPatch.java:456)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:519)
at org.alfresco.repo.admin.patch.AbstractPatch.apply(AbstractPatch.java:478)
at org.alfresco.repo.admin.patch.PatchServiceImpl$PatchWork.applyPatch(PatchServiceImpl.java:491)
at org.alfresco.repo.admin.patch.PatchServiceImpl$PatchWork.execute(PatchServiceImpl.java:403)
at org.alfresco.repo.admin.patch.PatchServiceImpl.applyPatch(PatchServiceImpl.java:258)
at org.alfresco.repo.admin.patch.PatchServiceImpl.applyPatchAndDependencies(PatchServiceImpl.java:235)
at org.alfresco.repo.admin.patch.PatchServiceImpl.applyOutstandingPatches(PatchServiceImpl.java:171)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy93.applyOutstandingPatches(Unknown Source)
at org.alfresco.repo.admin.patch.PatchExecuter.applyOutstandingPatches(PatchExecuter.java:76)
at org.alfresco.repo.admin.patch.PatchExecuter$1.doWork(PatchExecuter.java:124)
at org.alfresco.repo.admin.patch.PatchExecuter$1.doWork(PatchExecuter.java:120)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:519)
at org.alfresco.repo.admin.patch.PatchExecuter.onBootstrap(PatchExecuter.java:128)
at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209)
at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:180)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:428)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.alfresco.service.cmr.view.ImporterException: Failed to import package at line 23; column 18 due to error: Duplicate child name not allowed: emailbody_textplain_share.ftl
at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:194)
at org.alfresco.repo.importer.ImporterComponent.parserImport(ImporterComponent.java:414)
at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:263)
at org.alfresco.repo.importer.ImporterBootstrap.doImport(ImporterBootstrap.java:479)
at org.alfresco.repo.importer.ImporterBootstrap.access$000(ImporterBootstrap.java:70)
at org.alfresco.repo.importer.ImporterBootstrap$1$1.execute(ImporterBootstrap.java:350)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
at org.alfresco.repo.importer.ImporterBootstrap$1.doWork(ImporterBootstrap.java:354)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:519)
at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:357)
... 65 more
Caused by: org.alfresco.service.cmr.repository.DuplicateChildNodeNameException: Duplicate child name not allowed: emailbody_textplain_share.ftl
at org.alfresco.repo.domain.node.AbstractNodeDAOImpl$3.execute(AbstractNodeDAOImpl.java:2809)
at org.alfresco.repo.domain.node.AbstractNodeDAOImpl$3.execute(AbstractNodeDAOImpl.java:2783)
at org.alfresco.ibatis.RetryingCallbackHelper.doWithRetry(RetryingCallbackHelper.java:101)
at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.newChildAssocImpl(AbstractNodeDAOImpl.java:2817)
at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.newNode(AbstractNodeDAOImpl.java:1081)
at org.alfresco.repo.node.db.DbNodeServiceImpl.createNode(DbNodeServiceImpl.java:361)
at sun.reflect.GeneratedMethodAccessor288.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.alfresco.repo.tenant.MultiTNodeServiceInterceptor.invoke(MultiTNodeServiceInterceptor.java:104)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy8.createNode(Unknown Source)
at sun.reflect.GeneratedMethodAccessor288.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:215)
at $Proxy9.createNode(Unknown Source)
at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:278)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy8.createNode(Unknown Source)
at sun.reflect.GeneratedMethodAccessor288.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.alfresco.repo.audit.DisableAuditableBehaviourInterceptor.invoke(DisableAuditableBehaviourInterceptor.java:113)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:147)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.transaction.RetryingTransactionInterceptor$1.execute(RetryingTransactionInterceptor.java:69)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
at org.alfresco.repo.transaction.RetryingTransactionInterceptor.invoke(RetryingTransactionInterceptor.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy8.createNode(Unknown Source)
at org.alfresco.repo.importer.ImporterComponent$NodeImporter$CreateNewNodeImporterStrategy.importNode(ImporterComponent.java:1382)
at org.alfresco.repo.importer.ImporterComponent$NodeImporter.importNode(ImporterComponent.java:608)
at org.alfresco.repo.importer.view.ViewParser.importNode(ViewParser.java:919)
at org.alfresco.repo.importer.view.ViewParser.processEndType(ViewParser.java:883)
at org.alfresco.repo.importer.view.ViewParser.processEndElement(ViewParser.java:863)
at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:182)
... 74 more
Caused by: org.springframework.dao.DuplicateKeyException:
### Error updating database. Cause: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "alf_child_assoc_pkey"
Detail: Key (id)=(780) already exists.

4.0.b

Upgrade 4.2.f to 5.0.a admin access denied

$
0
0

Hi,

my system: Ubuntu 14.04

I upgrade alfresco from 4.2.f to 5.0.a, and i get error shown below

Upgrade was made: copy amps and rum applyamps.sh, only DB running, DROP DATABASE, make new empty database, import old database from 4.2.f, copy files from alf_data contentstore and contentstore.deleted from 4.2.f to 5.0.a, delete from alf_data/solr: /archive/index, /archive-SpacesStore/alfrescoModels, workspace/index and workspace-SpacesStore

After running everything go fine but no Recent Sites was shown in header site menu for admin, and the error below appear in logs, no different errors show even in catalina.out

If i login as normal user, Recent Sites are shown in header site menu without error.

10:18:00,133 INFO  [org.alfresco.util.OpenOfficeConnectionTester][DefaultScheduler_Worker-7] The OpenOffice connection was re-established.10:26:22,165 ERROR [org.springframework.extensions.webscripts.AbstractRuntime][http-apr-8080-exec-9] Exception from executeScript - redirecting to status template error:11090003 Wrapped Exception (with status template):11090040 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/site/sites.query.post.json.js':11090039 Access Denied.  Youdo not have the appropriate permissions to perform this operation.org.springframework.extensions.webscripts.WebScriptException:11090003 Wrapped Exception (with status template):11090040 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/site/sites.query.post.json.js':11090039 Access Denied.  Youdo not have the appropriate permissions to perform this operation.at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1126)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)
        at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:426)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:495)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:563)
        at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:343)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
        at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
        at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)
        at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.alfresco.scripts.ScriptException:11090040 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/site/sites.query.post.json.js':11090039 Access Denied.  Youdo not have the appropriate permissions to perform this operation.at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:204)
        at org.alfresco.repo.processor.ScriptServiceImpl.execute(ScriptServiceImpl.java:212)
        at org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:174)
        at org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:102)
        at org.springframework.extensions.webscripts.AbstractWebScript.executeScript(AbstractWebScript.java:1364)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:86)
        ... 32 more
Caused by: org.alfresco.repo.security.permissions.AccessDeniedException:11090039 Access Denied.  Youdo not have the appropriate permissions to perform this operation.at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:50)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:158)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.alfresco.repo.transaction.CheckTransactionAdvice.invoke(CheckTransactionAdvice.java:47)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.alfresco.repo.transaction.RetryingTransactionAdvice$1.execute(RetryingTransactionAdvice.java:64)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
        at org.alfresco.repo.transaction.RetryingTransactionAdvice.invoke(RetryingTransactionAdvice.java:67)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at com.sun.proxy.$Proxy103.getSite(Unknown Source)
        at org.alfresco.repo.site.script.ScriptSiteService$1.doWork(ScriptSiteService.java:348)
        at org.alfresco.repo.site.script.ScriptSiteService$1.doWork(ScriptSiteService.java:345)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
        at org.alfresco.repo.site.script.ScriptSiteService.getSite(ScriptSiteService.java:344)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
        at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
        at org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_repository_site_sites_query_post_json_js_4._c_main_1(classpath*:alfresco/templates/webscripts/org/alfresco/repository/site/sites.query.post.json.js:32)
        at org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_repository_site_sites_query_post_json_js_4.call(classpath*:alfresco/templates/webscripts/org/alfresco/repository/site/sites.query.post.json.js)
        at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:74)
        at org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_repository_site_sites_query_post_json_js_4._c_script_0(classpath*:alfresco/templates/webscripts/org/alfresco/repository/site/sites.query.post.json.js:52)
        at org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_repository_site_sites_query_post_json_js_4.call(classpath*:alfresco/templates/webscripts/org/alfresco/repository/site/sites.query.post.json.js)
        at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
        at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
        at org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_repository_site_sites_query_post_json_js_4.call(classpath*:alfresco/templates/webscripts/org/alfresco/repository/site/sites.query.post.json.js)
        at org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_repository_site_sites_query_post_json_js_4.exec(classpath*:alfresco/templates/webscripts/org/alfresco/repository/site/sites.query.post.json.js)
        at org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:502)
        at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:200)
        ... 37 more
Caused by: net.sf.acegisecurity.AccessDeniedException: Access Denied
        at org.alfresco.repo.security.permissions.impl.acegi.ACLEntryAfterInvocationProvider.decide(ACLEntryAfterInvocationProvider.java:375)
        at org.alfresco.repo.security.permissions.impl.acegi.ACLEntryAfterInvocationProvider.decide(ACLEntryAfterInvocationProvider.java:422)
        at org.alfresco.repo.security.permissions.impl.acegi.ACLEntryAfterInvocationProvider.decide(ACLEntryAfterInvocationProvider.java:264)
        at net.sf.acegisecurity.afterinvocation.AfterInvocationProviderManager.decide(AfterInvocationProviderManager.java:107)
        at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.afterInvocation(AbstractSecurityInterceptor.java:333)
        at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:82)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
        ... 70 more
5.0.a

Petabyte data

$
0
0

Hello there. Fairly new to ECMS. And I can't seem to search the forum... I hope I'm posting to the right location.

I'm interested in managing document and mostly non-document content. Specifically scientific data that can be 1GB to 15GB each. And there can be many generated per day. Also looking at ways run analysis and uploading the result as an associated content to the original data. This would be done manually at first, but interested in automating this well and providing custom views to these data (reports).

My first question is if Alfresco can be configured to handle massive amounts of data. I tried the community download and it doesn't appear to have file size limit. But wondering about disk limits.

Thanks in advance.

Viewing all 305 articles
Browse latest View live