Quantcast
Channel: Alfresco Forums - Configuration
Viewing all 411 articles
Browse latest View live

Restricted aspects

$
0
0

Hello,

I would like to restrict the visibility for one of my custom aspects in alfresco 5.0.d depending on the groups or particular users. I know how to create the aspect but I've never work on the configuration of permissions and I have no idea how to do that. I searched it a month ago, I suppose I can modify the permissionDefinitions.xml but I have no idea how it works.

If someone can help me :)

Thanks


Moving alf_data

$
0
0

Hey Guys,

Completely new to Linux and Alfresco so bear with me. Clean install of 5.0.d on Centos 7. I want to move alf_data to a second mounted drive (sdb1). If I try to do it at the point of install I can't see or point to it from the dropdown (all I see is /). I know I'm doing something wrong here. The path of the new alf_data folder on the second drive is ls /mnt/sdb1/alfresco/alf_data. I have stopped the service using ./alfresco.sh stop., I have changed global.properties dir.root to match same, moved all alf_data to the new loc but when I restart the service it creates a new alf_data folder in the original loc. I've scoured the forums and checked folder permissions etc, edited SOLR4 xmls just in case but I'm obviously doing something wrong.

I actually changed the location to another folder on the same drive initially just to see if I could get it working but even then it just generated a new alf_data.

Any help would be appreciated !!!!

5.0.d

Mark P

access of alfreco from outside

$
0
0

Hi there,

I have alfresco-5.0.d Community Version installed on a virtual machine (Ubuntu 14.04.2 LTS (64 bit)) of our server. Now we want to access Alfresco from outside of our company. We opened the firewall for 8080 and we can access the machine (with http://<External-IP> we get default welcome page of ubuntu-apache) but we cannot access Alfresco by http://<External-IP>:8080/share.

Thanks in advance for any help

5.0.d

change display language of Alfresco

$
0
0

How can I change the display Language of Alfresco 5.0.d?

I changed the browser language (Firefox) but the Alfresco display language (also in login window) doesn`t change. I also changed the language in Windows 8.1 but still in Alfresco there is no change.

Thanks for any help

5.0.d

Alfresco vulnerability - how to fix the problem ?

$
0
0

Hi,
I'm currently using Alfresco CE 4.2.f, and I saw there is avulnerability on this version :
http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-9300
http://seclists.org/bugtraq/2014/Jul/72
My data are sensitive, and I want to prevent a disclosure, do you have an idea to fix or avoid this problem ?

According to this article, the proxy servlet is concerned by this vulnerability. Is it possible to disable this function ? If yes, do you know how ? If not, what can you advise ?

For information, moving to the last Alfresco 5.0 version is not option.

Thanks!

Best regards

4.2.f

change start page

$
0
0

Hi,

By default every user get after login to their personal user dashboard.
I want now that all users after login get instead to another site.
How can I change this in the most easily way?

I`m using 5.0.d

Thanks in Advance.

5.0.d

Slow database responses on requests for /alfresco/service/api/solr/metadata

$
0
0

Hello,
We're experiencing some performance issues with Alfresco 4.0.e and a mysql 5.5 backend.
Through a performance monitor I can see a lot of requests (not sure what is triggering these) getting hung up on DB with a response time of nearly 100-200s. In the extreme case its 3000secs.
All these requests originate locally from the alfresco application (not share gui which we have on a separate server). The client ip shows 127.0.0.1.
URL = /alfresco/service/api/solr/metadata
On drilling down further there seem to be 2 queries that take more than 100s each that look like follows-

 
select
            assoc.id                    as id,
            parentNode.id               as parentNodeId,
            parentNode.version          as parentNodeVersion,
            parentStore.protocol        as parentNodeProtocol,
            parentStore.identifier      as parentNodeIdentifier,
            parentNode.uuid             as parentNodeUuid,
            childNode.id                as childNodeId,
            childNode.version           as childNodeVersion,
            childStore.protocol         as childNodeProtocol,
            childStore.identifier       as childNodeIdentifier,
            childNode.uuid              as childNodeUuid,
            assoc.type_qname_id         as type_qname_id,
            assoc.child_node_name_crc   as child_node_name_crc,
            assoc.child_node_name       as child_node_name,
            assoc.qname_ns_id           as qname_ns_id,
            assoc.qname_localname       as qname_localname,
            assoc.is_primary            as is_primary,
            assoc.assoc_index           as assoc_index
        from
            alf_child_assoc assoc
            join alf_node parentNode on (parentNode.id= assoc.parent_node_id)
            join alf_store parentStore on (parentStore.id= parentNode.store_id)
            join alf_node childNode on (childNode.id= assoc.child_node_id)
            join alf_store childStore on (childStore.id= childNode.store_id) 
        where
            parentNode.id=?

I ran an explain plan on this query with a parameter value that seemed to be causing the most havoc (~3000secs) here's what I saw-

select_type	table		type	possible_keys						key		key_len	        ref				rows	Extra
SIMPLE		parentNode	const	PRIMARY,store_id,fk_alf_node_store	                PRIMARY		8const1
SIMPLE		parentStore	const	PRIMARY							PRIMARY		8const1
SIMPLE		childStore	index	PRIMARY							protocol	454		NULL				6	Using index
SIMPLE		childNode	ref	PRIMARY,store_id,fk_alf_node_store	                store_id	8		alfrescomgr.childStore.id162579
SIMPLE		assoc		ref	parent_node_id,fk_alf_cass_pnode,fk_alf_cass_cnode      fk_alf_cass_cnode8	        alfrescomgr.childNode.id1	Using where,idx_alf_cass_pri      

Note the rows = 162k.
For a couple of such queries, the parent node seemed to point to a folder that stores thousands of small sized quote documents.
Our application pushes documents and queries them by some metadata attributes like customer id. We use the apache chemistry cmis api for the interaction.

Here's an example of another mysql query plan which is a bit similar to the one above taking ~50-100 sec.

select_type	table	        type	possible_keys	                        key	        key_len	ref	                        rows	Extra
SIMPLE parentNode const PRIMARY,store_id,fk_alf_node_store PRIMARY 8const1
SIMPLE parentStore const PRIMARY PRIMARY 8const1
SIMPLE assoc ref parent_node_id,fk_alf_cass_pnode,
fk_alf_cass_cnode,idx_alf_cass_pri parent_node_id 8const167996
SIMPLE childNode eq_ref PRIMARY,store_id,fk_alf_node_store PRIMARY 8 alfrescomgr.assoc.child_node_id1
SIMPLE childStore eq_ref PRIMARY PRIMARY 8 alfrescomgr.childNode.store_id1

1. What do you think is triggering the solr queries. Its trying to load information on all children nodes.
2. How can we optimize it if we can't control the solr piece.

Would really appreciate your help.

4.0.d

Location of document versions in the Alfresco directory structure?

$
0
0

I have inherited a very old version of Alfresco, 2.1.1, I am able to locate all the current active documents and follow the flow through the front end to the filesystem, but I have some documents that have old versions available, these all work and are displayed in the front end, but I cannot see where they are stored in the filesystem and how the database knows about them?

I'm sorry this is a little vague but I need to migrate all documents and am a little worried I might leave something behind.

Regards,
Reedy120

2.1

Alfresco 5.0.2: configuring an external Solr instance

$
0
0

Hi,

I'm working on moving an Alfresco 5.0.2 install to use an external Solr. I have copied the ALFRESCO_HOME/solr4 directory and created a C:/alfresco_solr. I'm running Solr-4.9.1 on Tomcat 7 and Java 8. Going off of this document: http://docs.alfresco.com/5.0/tasks/solr4-install-config.html, I discovered that the context.xml copied to the SOLR_TOMCAT/conf/Catalina/localhost needs to be called solr.xml NOT solr4.xml. With my ALFRESCO_HOME at C:/Alfresco I made a solr.xml that points to the copied solr4 directory at C:/alfresco_solr:

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

When I start up the Solr Tomcat I get the following exception:

ERROR - 2016-01-26 14:05:06.910; org.apache.solr.common.SolrException; null:org.apache.solr.common.SolrException: Unable to create core: archive
at org.apache.solr.core.CoreContainer.recordAndThrow(CoreContainer.java:911)
at org.apache.solr.core.CoreContainer.create(CoreContainer.java:568)
at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:261)
at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:253)
at java.util.concurrent.FutureTask.run(Unknown Source)
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)
Caused by: org.apache.solr.common.SolrException: Could not load core configuration for core archive
at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:66)
at org.apache.solr.core.CoreContainer.create(CoreContainer.java:554)
... 8 more
Caused by: org.apache.solr.common.SolrException: Error loading solr config from C:\alfresco_solr\archive-SpacesStore\solrconfig.xml
at org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrConfig.java:148)
at org.apache.solr.core.ConfigSetService.createSolrConfig(ConfigSetService.java:79)
at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:61)
... 9 more
Caused by: org.apache.solr.common.SolrException: Error loading class 'org.alfresco.solr.cache.AuthorityCacheRegenerator'
at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:490)
at org.apache.solr.core.SolrResourceLoader.newInstance(SolrResourceLoader.java:521)
at org.apache.solr.core.SolrResourceLoader.newInstance(SolrResourceLoader.java:517)
at org.apache.solr.search.CacheConfig.getConfig(CacheConfig.java:100)
at org.apache.solr.search.CacheConfig.getMultipleConfigs(CacheConfig.java:73)
at org.apache.solr.core.SolrConfig.(SolrConfig.java:230)
at org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrConfig.java:144)
... 11 more
Caused by: java.lang.ClassNotFoundException: org.alfresco.solr.cache.AuthorityCacheRegenerator
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:474)
... 17 more

INFO - 2016-01-26 14:05:0

and get the same trace for the alfresco core. I tried loading the solr4.war from the alfresco instasll onto the external tomcat and have issues with the SSL/TLS handshake. Is it possible to use regular Solr 4 to host the external Solr for Alfresco 5+? I've looked that the jars included in the solr4.war and can't seem to resolve the org.alfresco.solr.cache.AuthorityCacheRegenerator dependency. Any guidance would be much appreciated.

Thanks

other

Technology Services Group

5.0.d security issue with internet download manager

$
0
0

Hello every body,

I made an alfresco 5.0.d new installation in windows server 2012 R2, i revoked the download action for site consumers, but for those who have IDM (internet download Manager installed in their browser), the browser promt for download the pdf file even if there is no download button.

Can some one tell me how to prevent this issue?

Thank you very much for your help.

5.0.d

How can two Alfresco live together?

$
0
0

We have an old Alfresco 2.2.3 with millions of documents, and we have many web services accesing this data using domument's uuid. Now we need to change to a most recent version of alfresco, because we have perfomance problems.
We tried to migrate data, but it was very difficult. Now I think the best way could be to have two alfresco living together. Wich is the best way?
I think we can write in the most recent version and when we need a document (by uuid), we consult in both systems. But could it exist the same uuid in both? This is a problem to my web services.

Alfresco/Sharepoint and MS Office Mobile: "We don't support this authentication scheme."

$
0
0

I try to add Alfresco 5.0.d CE as a Sharepoint place within MS Office Mobile (Android 5).
Sharepoint protocol and online edit via Share generally works fine with MS Office desktop version. VTI is configured to run via https on port 7070 (as per http://blyx.com/2014/04/01/alfresco-tip-how-to-enable-ssl-in-alfresco-sharepoint-protocol/).

But the mobile app throws a problem: when I try to connect, the MS Office mobile app gives me the error: "We don't support this authentication scheme."

Screenshot: http://snag.gy/FZgir.jpg

alfresco-global.properties:

# Authentication Chain (sorba1:sorba is my custom authentication)
authentication.chain=alfrescoNtlm1:alfrescoNtlm,sorba1:sorba
...
# Sharepoint / VTI
vti.server.port=7070
vti.server.protocol=https
vti.server.ssl.keystore=C:\\path\\to\\MyCert.pfx
vti.server.ssl.password=SomeSecretPassword
vti.server.url.path.prefix=/alfresco
vti.server.external.host=alfresco.mydomain.com
vti.server.external.port=7070
vti.server.external.protocol=https
vti.server.external.contextPath=/alfresco

I found this forum post, but it's not really helpful:
http://answers.microsoft.com/en-us/mobiledevices/forum/mdlumia-mdupdate/sharepoint-doesnt-support-this-authentication/5ba8116a-6955-4486-b19e-c93affa346a8

5.0.d

Mathias Conradt

Usuarios ldap sin mail asociado

$
0
0

Buenas tardes, tengo configurado alfresco-5.0.d contra un openldap. Los usuarios pueden loguearse sin problemas pero al entrar al perfil el campo mail esta vacío y sin posibilidad de modificación. Por este motivo no puedo hacer que les llegue un mail de invitación a unirse a un sito X. Habra alguna manera de poder agregar o editar el campo mail para poder agregarlo.
Por otro lado también me gustaría modificar el template del mail enviado.
Algo mas cuando genero un usuario de forma local los mail le llegan sin problema.

Espero alguien me pueda orientar para solucionar el inconveniente.

Gracias de antemano

Saludos

5.0.d

Alfresco 4.1.5 restart

$
0
0

i'm trying to restart an old alfresco 4.1.5 server

i'm receiving these exception on alfresco.log

13:21:39,831 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply ...13:21:41,211 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]        Applying patch 'patch.calendarAllDayEventDatesCorrectingPatch'(This patch corrects to' and 'from' dates for Calendar 'All Day' Events from version 3.4 which did not take account of time zone offsets).
13:21:42,629 ERROR [org.alfresco.repo.admin.patch.PatchExecuter] 01030000 java.lang.ArrayIndexOutOfBoundsException: 1
        at org.alfresco.repo.tagging.TaggingServiceImpl.readTagDetails(TaggingServiceImpl.java:997)
        at org.alfresco.repo.tagging.TagScopePropertyMethodInterceptor.getTagSummary(TagScopePropertyMethodInterceptor.java:186)
        at org.alfresco.repo.tagging.TagScopePropertyMethodInterceptor.invoke(TagScopePropertyMethodInterceptor.java:120)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:176)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.alfresco.enterprise.repo.sync.SyncPropertyInterceptor.invoke(SyncPropertyInterceptor.java:157)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:212)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy15.getProperties(Unknown Source)
        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.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)
        at $Proxy15.getProperties(Unknown Source)
        at org.alfresco.repo.site.SiteServiceImpl.createSiteInfo(SiteServiceImpl.java:1080)
        at org.alfresco.repo.site.SiteServiceImpl.getSite(SiteServiceImpl.java:1198)
        at org.alfresco.repo.admin.patch.impl.CalendarAllDayEventDatesCorrectingPatch.applyInternal(CalendarAllDayEventDatesCorrectingPatch.java:120)
        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:401)
        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:529)
        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 $Proxy101.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:529)
        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:4206)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
        at org.apache.catalina.core.StandardService.start(StandardService.java:525)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        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) 
13:22:15,900 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 01030001 Not all patches could be applied
        at org.alfresco.repo.admin.patch.PatchExecuter.applyOutstandingPatches(PatchExecuter.java:111)
        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:529)
        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:4206)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
        at org.apache.catalina.core.StandardService.start(StandardService.java:525)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        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)

processes seems up and running

bash-3.2# ps -ef | grep alf
root 20231 1 28 13:20 pts/0 00:02:15 /opt/alfresco-4.1.5/java/bin/java -Djava.util.logging.config.file=/opt/alfresco-4.1.5/tomcat/conf/logging.properties -XX:MaxPermSize=512m -Xms128m -Xmx1024m -XX:+DisableExplicitGC -Djava.awt.headless=true -Dalfresco.home=/opt/alfresco-4.1.5 -Dcom.sun.management.jmxremote -Dsun.security.ssl.allowUnsafeRenegotiation=true -XX:ReservedCodeCacheSize=128m -Dhttps.proxyHost= -Dhttps.proxyPort=8080 -Dhttp.noProxyHosts='127.0.0.1|localhost|192.168.*' -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/alfresco-4.1.5/tomcat/endorsed -classpath /opt/alfresco-4.1.5/tomcat/bin/bootstrap.jar -Dcatalina.base=/opt/alfresco-4.1.5/tomcat -Dcatalina.home=/opt/alfresco-4.1.5/tomcat -Djava.io.tmpdir=/opt/alfresco-4.1.5/tomcat/temp org.apache.catalina.startup.Bootstrap start
root 20371 20231 0 13:21 pts/0 00:00:00 /opt/alfresco-4.1.5/openoffice/program/soffice.bin -accept=socket,host=127.0.0.1,port=8100;urp; -env:UserInstallation=file:///opt/alfresco-4.1.5/tomcat/temp/.jodconverter_socket_host-127.0.0.1_port-8100 -headless -nocrashreport -nodefault -nofirststartwizard -nolockcheck -nologo -norestore
root 20463 15711 0 13:28 pts/0 00:00:00 grep alf

can sameone help me?

4.1

Alfresco 5.1 - The hyperlink in the document

$
0
0

Hello! We have a problem with hyperlinks in our documents. All hyperlinks isn't active in the document and user can't click these hyperlinks. How to solve this problem?
Thanks a lot


Alfresco 5.0 Multiple paths for Content Store

$
0
0

Hi to everyone,

I have this question:
Using aggregating content stores (or another method); it is possible to use multiple paths to store the data? The scenario is this: at some point in the future we will need to store about 1TB of data, but right now (misc reasons) we only can provision 250GB. The storage solution that we are using doesn´t allow us to resize the main partition/disk, so, to reach the 1TB goal we will probably need to add the remaining storage using different mount points.

5.0.d

change start page

$
0
0

Hi,

By default every user get after login to their personal user dashboard.
I want now that all users after login get instead to another site.
How can I change this in the most easily way?

I`m using 5.0.d

Thanks in Advance.

5.0.d

Reducing search results

$
0
0

Hi, apologies if these questions have been answered elsewhere but I can't find it on the Forums! I have also been looking at the Wiki pages and various sites but not having any luck.

We have been using Alfresco Community edition for some years now and are currently on version 5. Because we've been using it for years we have a lot of stuff on it. It's got to the stage where we see a lot of documents that we don't really need to see in search results but that I do want to still keep on Alfresco.

I know there is the 'Search Manager' but not sure if that's what I need to use and also that I can set the 'Aspects' for documents, is there an Aspect that simply prevents a document showing in search results please?
One more question please, how do I set the standard basic search to show results only from the 'Site' from which I am searching as opposed to showing every document from every Site we have on our Alfresco install?

Thanks
Russ

5.0.d

Für was sind die LOCK-Dateien

$
0
0

Hallo

Beim Sichern meiner Alfresco-Applikation habe ich Probleme mit den LOCK-Dateien. Diese sind im laufenden Betrieb in Dauerbenutzung und können mit meiner Software nicht gesichert werden. Müssen diese gesichert werden oder kann ich diese ausschließen ?

Danke für Eure Hilfe

Lieber Gruess
Claudio

Alfresco 5.0d auf Windows-Server

5.0.d

Alfresco begleitet mich jeden Tag - es bringt Ordnung ins Büro.

Repository Tags error

$
0
0

Initially I was getting errors from Solr which I was able to rectify by reindexing. However, now I am getting errors while accessing repository. I searched on forum to find a solution but have not found one that work. Following is the snap of my error log:

2016-02-12 11:16:45,106 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-8] Exception from executeScript - redirecting to status template error: 01120042 Wrapped Exception (with status template): 01120132 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js': 01120131 Failed to execute search: +@cm\:modified:[2016\-2\-5T00\:00\:00.000 TO 2016\-2\-12T23\:59\:59.999] +@cm\:modifier:"admin" +TYPE:"cm:content" -TYPE:"cm:systemfolder" -TYPE:"fm:forums" -TYPE:"fm:forum" -TYPE:"fm:topic" -TYPE:"fm:post" +(TYPE:"content" OR TYPE:"app:filelink" OR TYPE:"folder")
org.springframework.extensions.webscripts.WebScriptException: 01120042 Wrapped Exception (with status template): 01120132 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js': 01120131 Failed to execute search: +@cm\:modified:[2016\-2\-5T00\:00\:00.000 TO 2016\-2\-12T23\:59\:59.999] +@cm\:modifier:"admin" +TYPE:"cm:content" -TYPE:"cm:systemfolder" -TYPE:"fm:forums" -TYPE:"fm:forum" -TYPE:"fm:topic" -TYPE:"fm:post" +(TYPE:"content" OR TYPE:"app:filelink" OR TYPE:"folder")
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:504)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:457)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:573)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:642)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:420)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:300)
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:504)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
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:421)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2466)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2455)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.alfresco.scripts.ScriptException: 01120132 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js': 01120131 Failed to execute search: +@cm\:modified:[2016\-2\-5T00\:00\:00.000 TO 2016\-2\-12T23\:59\:59.999] +@cm\:modifier:"admin" +TYPE:"cm:content" -TYPE:"cm:systemfolder" -TYPE:"fm:forums" -TYPE:"fm:forum" -TYPE:"fm:topic" -TYPE:"fm:post" +(TYPE:"content" OR TYPE:"app:filelink" OR TYPE:"folder")
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)
... 34 more
Caused by: org.alfresco.error.AlfrescoRuntimeException: 01120131 Failed to execute search: +@cm\:modified:[2016\-2\-5T00\:00\:00.000 TO 2016\-2\-12T23\:59\:59.999] +@cm\:modifier:"admin" +TYPE:"cm:content" -TYPE:"cm:systemfolder" -TYPE:"fm:forums" -TYPE:"fm:forum" -TYPE:"fm:topic" -TYPE:"fm:post" +(TYPE:"content" OR TYPE:"app:filelink" OR TYPE:"folder")
at org.alfresco.repo.jscript.Search.queryResultMeta(Search.java:1019)
at org.alfresco.repo.jscript.Search.queryResultSet(Search.java:770)
at org.alfresco.repo.jscript.Search.query(Search.java:551)
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:497)
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_slingshot_documentlibrary_doclist_get_js_28._c_getDoclist_20(classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js:1127)
at org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_slingshot_documentlibrary_doclist_get_js_28.call(classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js)
at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:74)
at org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_slingshot_documentlibrary_doclist_get_js_28._c_script_0(classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js:1348)
at org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_slingshot_documentlibrary_doclist_get_js_28.call(classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.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_slingshot_documentlibrary_doclist_get_js_28.call(classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js)
at org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_slingshot_documentlibrary_doclist_get_js_28.exec(classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js)
at org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:502)
at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:200)
... 39 more
Caused by: org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 01120130 Request failed 403 /solr4/alfresco/alfresco?wt=json&fl=DBID%2Cscore&rows=50&df=TEXT&start=0&locale=en_US&alternativeDic=DEFAULT_DICTIONARY&sort=%40cm%3Amodified+desc&fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON
at org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.postQuery(SolrQueryHTTPClient.java:698)
at org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.postSolrQuery(SolrQueryHTTPClient.java:648)
at org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.executeQuery(SolrQueryHTTPClient.java:609)
at org.alfresco.repo.search.impl.solr.SolrQueryLanguage.executeQuery(SolrQueryLanguage.java:51)
at org.alfresco.repo.search.impl.solr.SolrSearchService.query(SolrSearchService.java:348)
at org.alfresco.repo.search.SearcherComponent.query(SearcherComponent.java:77)
at sun.reflect.GeneratedMethodAccessor757.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:72)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy22.query(Unknown Source)
at org.alfresco.repo.search.impl.SearchServiceSubSystemDelegator.query(SearchServiceSubSystemDelegator.java:126)
at sun.reflect.GeneratedMethodAccessor757.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
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:159)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy22.query(Unknown Source)
at org.alfresco.repo.jscript.Search.queryResultMeta(Search.java:928)
... 59 more

can anyone help me?

5.0.d
Viewing all 411 articles
Browse latest View live