cancel
Showing results for 
Search instead for 
Did you mean: 

Solved Error on left panel navigation tree. Undefined popup

ejortegau
Champ in-the-making
Champ in-the-making
Hi, all:

We have an alfresco 4.0.d installation. It was recently moved from one server to another under a different path but symlinked to the original one for compatibility. Also, now it runs under user alfresco instead of root. We did recursively change ownership of alfresco install directory to user alfresco.

Now, when logging in on the explore interface, going to company home and clicking on any of the arrows of the navigation tree brings up a JS alert popup with the text "undefined : undefined", and the subtree corresponding to the clicked arrow does is not shown.

Any hints on how to fix this?

Thanks,

E.
6 REPLIES 6

mitpatoliya
Star Collaborator
Star Collaborator
We have an alfresco 4.0.d installation. It was recently moved from one server to another under a different path but symlinked to the original one for compatibility. Also, now it runs under user alfresco instead of root. We did recursively change ownership of alfresco install directory to user alfresco.

Not getting above paragraph  Smiley Happy
But this error comes generally when your setup is in read only mode.means your license is expired.
Are you using trial version. 😎
Check the logs.

ejortegau
Champ in-the-making
Champ in-the-making
We have an alfresco 4.0.d installation. It was recently moved from one server to another under a different path but symlinked to the original one for compatibility. Also, now it runs under user alfresco instead of root. We did recursively change ownership of alfresco install directory to user alfresco.
Not getting above paragraph  Smiley Happy
I'm just telling how I got into this situation, sorry if I did not make it clear enough  Smiley Indifferent I hope this explains it a little better:
I had a running alfresco on an old server. The alfresco.sh script was run at boot time as root in order to start alfresco. I recently  moved the alfresco installation directory (via scp) to a new server. There, I set up init scripts to run alfresco.sh as a user we created specifically to run alfresco, changed ownership of the alfresco installation directory to this alfresco posix account, and now alfresco processes (tomcat, postgres, etc.) run under user alfresco instead of root 🙂
But this error comes generally when your setup is in read only mode.means your license is expired.
Are you using trial version. 😎


I am supposed to be using Community Version, so no trial or expired license… right? Though to be completely honest, I did not make the original installation on the old server, so now that you ask, I am starting to have doubts about whether it is Community or Enterprise. Is there anywhere I can check?

Check the logs.

Unfortunately, neither tomcat logs nor alfresco.log say anything when I click the arrows on the tree that bring up the error popup 😞

Any help with this is greatly appreciated. Thanks 🙂

mitpatoliya
Star Collaborator
Star Collaborator
You will have idea about the type of version you are using from alfresco.log file.
Do you see anything called Error: or anything related to license in your logs?
If yes post those traces.

ejortegau
Champ in-the-making
Champ in-the-making
You will have idea about the type of version you are using from alfresco.log file.
I found this on alfresco.log, so I must be using Community Edition:
20:59:10,277 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community). Current version: 4.0.0 (4003) schema 5,025. Originally installed version: 4.0.0 (4003) schema 5,025.
Do you see anything called Error: or anything related to license in your logs?
If yes post those traces.
There are a few errors, but they somehow don't seem related. Anyway, here they are:

First one is:

20:59:07,866 ERROR [org.alfresco.fileserver] [SMB] Server error : org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, Permission denied
20:59:07,875 ERROR [org.alfresco.fileserver] Error from JLAN
org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, Permission denied

Which I am guessing is related to Alfresco not being able to set up samba/cifs, but I am not using that anyway.

Then, there is this one:

21:03:54,144 ERROR [org.alfresco.repo.activities.feed.AbstractFeedGenerator] Exception during generation of feeds
java.lang.IllegalStateException: lockToken is not null
        at org.alfresco.repo.activities.feed.AbstractFeedGenerator$LockTracker.refreshLock(AbstractFeedGenerator.java:231)
        at org.alfresco.repo.activities.feed.AbstractFeedGenerator.acquireLock(AbstractFeedGenerator.java:210)
        at org.alfresco.repo.activities.feed.AbstractFeedGenerator.execute(AbstractFeedGenerator.java:161)
        at org.alfresco.repo.activities.feed.FeedGeneratorJob.execute(FeedGeneratorJob.java:50)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
21:03:54,151 ERROR [org.quartz.core.JobRunShell] Job DEFAULT.feedGeneratorJobDetail threw an unhandled Exception:
org.alfresco.repo.lock.LockAcquisitionException: 03030007 Failed to release lock '{http://www.alfresco.org/model/system/1.0}activityfeedgenerator' using token 'e5b92b86-3be4-4c6a-94d6-ead91ab9aac9'.  The lock has expired and been taken by another process.
        at org.alfresco.repo.domain.locks.AbstractLockDAOImpl.updateLocks(AbstractLockDAOImpl.java:218)
        at org.alfresco.repo.domain.locks.AbstractLockDAOImpl.releaseLock(AbstractLockDAOImpl.java:172)
        at org.alfresco.repo.lock.JobLockServiceImpl$3.execute(JobLockServiceImpl.java:428)
        at org.alfresco.repo.lock.JobLockServiceImpl$3.execute(JobLockServiceImpl.java:425)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
        at org.alfresco.repo.lock.JobLockServiceImpl.releaseLock(JobLockServiceImpl.java:432)
        at org.alfresco.repo.activities.feed.AbstractFeedGenerator$LockTracker.releaseLock(AbstractFeedGenerator.java:241)
        at org.alfresco.repo.activities.feed.AbstractFeedGenerator.releaseLock(AbstractFeedGenerator.java:220)
        at org.alfresco.repo.activities.feed.AbstractFeedGenerator.execute(AbstractFeedGenerator.java:198)
        at org.alfresco.repo.activities.feed.FeedGeneratorJob.execute(FeedGeneratorJob.java:50)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
21:03:54,153 ERROR [org.quartz.core.ErrorLogger] Job (DEFAULT.feedGeneratorJobDetail threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.repo.lock.LockAcquisitionException: 03030007 Failed to release lock '{http://www.alfresco.org/model/system/1.0}activityfeedgenerator' using token 'e5b92b86-3be4-4c6a-94d6-ead91ab9aac9'.  The lock has expired and been taken by another process.]
        at org.quartz.core.JobRunShell.run(JobRunShell.java:227)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
Caused by: org.alfresco.repo.lock.LockAcquisitionException: 03030007 Failed to release lock '{http://www.alfresco.org/model/system/1.0}activityfeedgenerator' using token 'e5b92b86-3be4-4c6a-94d6-ead91ab9aac9'.  The lock has expired and been taken by another process.
        at org.alfresco.repo.domain.locks.AbstractLockDAOImpl.updateLocks(AbstractLockDAOImpl.java:218)
        at org.alfresco.repo.domain.locks.AbstractLockDAOImpl.releaseLock(AbstractLockDAOImpl.java:172)
        at org.alfresco.repo.lock.JobLockServiceImpl$3.execute(JobLockServiceImpl.java:428)
        at org.alfresco.repo.lock.JobLockServiceImpl$3.execute(JobLockServiceImpl.java:425)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
        at org.alfresco.repo.lock.JobLockServiceImpl.releaseLock(JobLockServiceImpl.java:432)
        at org.alfresco.repo.activities.feed.AbstractFeedGenerator$LockTracker.releaseLock(AbstractFeedGenerator.java:241)
        at org.alfresco.repo.activities.feed.AbstractFeedGenerator.releaseLock(AbstractFeedGenerator.java:220)
        at org.alfresco.repo.activities.feed.AbstractFeedGenerator.execute(AbstractFeedGenerator.java:198)
        at org.alfresco.repo.activities.feed.FeedGeneratorJob.execute(FeedGeneratorJob.java:50)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        … 1 more
21:03:54,240 ERROR [org.quartz.core.JobRunShell] Job DEFAULT.feedGeneratorJobDetail threw an unhandled Exception:
org.alfresco.repo.lock.LockAcquisitionException: 03030011 Failed to release lock '{http://www.alfresco.org/model/system/1.0}activityfeedgenerator' using token 'e5b92b86-3be4-4c6a-94d6-ead91ab9aac9'.  The lock has expired and been taken by another process.
        at org.alfresco.repo.domain.locks.AbstractLockDAOImpl.updateLocks(AbstractLockDAOImpl.java:218)
        at org.alfresco.repo.domain.locks.AbstractLockDAOImpl.releaseLock(AbstractLockDAOImpl.java:172)
        at org.alfresco.repo.lock.JobLockServiceImpl$3.execute(JobLockServiceImpl.java:428)
        at org.alfresco.repo.lock.JobLockServiceImpl$3.execute(JobLockServiceImpl.java:425)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
        at org.alfresco.repo.lock.JobLockServiceImpl.releaseLock(JobLockServiceImpl.java:432)
        at org.alfresco.repo.activities.feed.AbstractFeedGenerator$LockTracker.releaseLock(AbstractFeedGenerator.java:241)
        at org.alfresco.repo.activities.feed.AbstractFeedGenerator.releaseLock(AbstractFeedGenerator.java:220)
        at org.alfresco.repo.activities.feed.AbstractFeedGenerator.execute(AbstractFeedGenerator.java:198)
        at org.alfresco.repo.activities.feed.FeedGeneratorJob.execute(FeedGeneratorJob.java:50)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
21:03:54,267 ERROR [org.quartz.core.ErrorLogger] Job (DEFAULT.feedGeneratorJobDetail threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.repo.lock.LockAcquisitionException: 03030011 Failed to release lock '{http://www.alfresco.org/model/system/1.0}activityfeedgenerator' using token 'e5b92b86-3be4-4c6a-94d6-ead91ab9aac9'.  The lock has expired and been taken by another process.]
        at org.quartz.core.JobRunShell.run(JobRunShell.java:227)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
Caused by: org.alfresco.repo.lock.LockAcquisitionException: 03030011 Failed to release lock '{http://www.alfresco.org/model/system/1.0}activityfeedgenerator' using token 'e5b92b86-3be4-4c6a-94d6-ead91ab9aac9'.  The lock has expired and been taken by another process.
        at org.alfresco.repo.domain.locks.AbstractLockDAOImpl.updateLocks(AbstractLockDAOImpl.java:218)
        at org.alfresco.repo.domain.locks.AbstractLockDAOImpl.releaseLock(AbstractLockDAOImpl.java:172)
        at org.alfresco.repo.lock.JobLockServiceImpl$3.execute(JobLockServiceImpl.java:428)
        at org.alfresco.repo.lock.JobLockServiceImpl$3.execute(JobLockServiceImpl.java:425)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
        at org.alfresco.repo.lock.JobLockServiceImpl.releaseLock(JobLockServiceImpl.java:432)
        at org.alfresco.repo.activities.feed.AbstractFeedGenerator$LockTracker.releaseLock(AbstractFeedGenerator.java:241)
        at org.alfresco.repo.activities.feed.AbstractFeedGenerator.releaseLock(AbstractFeedGenerator.java:220)
        at org.alfresco.repo.activities.feed.AbstractFeedGenerator.execute(AbstractFeedGenerator.java:198)
        at org.alfresco.repo.activities.feed.FeedGeneratorJob.execute(FeedGeneratorJob.java:50)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        … 1 more
21:04:03,434 ERROR [org.quartz.core.JobRunShell] Job DEFAULT.feedGeneratorJobDetail threw an unhandled Exception:
org.alfresco.repo.lock.LockAcquisitionException: 03030023 Failed to release lock '{http://www.alfresco.org/model/system/1.0}activityfeedgenerator' using token 'be0034e0-85f2-41ce-b3f3-aaecfc223920'.  The lock has expired and been taken by another process.
        at org.alfresco.repo.domain.locks.AbstractLockDAOImpl.updateLocks(AbstractLockDAOImpl.java:218)
        at org.alfresco.repo.domain.locks.AbstractLockDAOImpl.releaseLock(AbstractLockDAOImpl.java:172)
        at org.alfresco.repo.lock.JobLockServiceImpl$3.execute(JobLockServiceImpl.java:428)
        at org.alfresco.repo.lock.JobLockServiceImpl$3.execute(JobLockServiceImpl.java:425)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
        at org.alfresco.repo.lock.JobLockServiceImpl.releaseLock(JobLockServiceImpl.java:432)
        at org.alfresco.repo.activities.feed.AbstractFeedGenerator$LockTracker.releaseLock(AbstractFeedGenerator.java:241)
        at org.alfresco.repo.activities.feed.AbstractFeedGenerator.releaseLock(AbstractFeedGenerator.java:220)
        at org.alfresco.repo.activities.feed.AbstractFeedGenerator.execute(AbstractFeedGenerator.java:198)
        at org.alfresco.repo.activities.feed.FeedGeneratorJob.execute(FeedGeneratorJob.java:50)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
21:04:03,436 ERROR [org.quartz.core.ErrorLogger] Job (DEFAULT.feedGeneratorJobDetail threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.repo.lock.LockAcquisitionException: 03030023 Failed to release lock '{http://www.alfresco.org/model/system/1.0}activityfeedgenerator' using token 'be0034e0-85f2-41ce-b3f3-aaecfc223920'.  The lock has expired and been taken by another process.]
        at org.quartz.core.JobRunShell.run(JobRunShell.java:227)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
Caused by: org.alfresco.repo.lock.LockAcquisitionException: 03030023 Failed to release lock '{http://www.alfresco.org/model/system/1.0}activityfeedgenerator' using token 'be0034e0-85f2-41ce-b3f3-aaecfc223920'.  The lock has expired and been taken by another process.
        at org.alfresco.repo.domain.locks.AbstractLockDAOImpl.updateLocks(AbstractLockDAOImpl.java:218)
        at org.alfresco.repo.domain.locks.AbstractLockDAOImpl.releaseLock(AbstractLockDAOImpl.java:172)
        at org.alfresco.repo.lock.JobLockServiceImpl$3.execute(JobLockServiceImpl.java:428)
        at org.alfresco.repo.lock.JobLockServiceImpl$3.execute(JobLockServiceImpl.java:425)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
        at org.alfresco.repo.lock.JobLockServiceImpl.releaseLock(JobLockServiceImpl.java:432)
        at org.alfresco.repo.activities.feed.AbstractFeedGenerator$LockTracker.releaseLock(AbstractFeedGenerator.java:241)
        at org.alfresco.repo.activities.feed.AbstractFeedGenerator.releaseLock(AbstractFeedGenerator.java:220)
        at org.alfresco.repo.activities.feed.AbstractFeedGenerator.execute(AbstractFeedGenerator.java:198)
        at org.alfresco.repo.activities.feed.FeedGeneratorJob.execute(FeedGeneratorJob.java:50)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        … 1 more

But being Quartz related, I am unsure as to whether it has anything to do with my current issue.

I forgot to mention that I am accessing Alfresco via an Apache HTTPD Reverse Proxy setup. I don't think my problem is related to that, but still prefer to say it just in case I am wrong 🙂

Thanks again for your help, and regards,


E.

ejortegau
Champ in-the-making
Champ in-the-making
Hi, again:

It turns out it is somehow related to the reverse proxy configuration; when I access Alfresco directly to port 8080,it works fine. When I do it through the reverse proxy, it fails. This is how I set up my reverse proxy:


<VirtualHost *:80>
        ServerName alfresco.example.com
        ProxyRequests Off
        ProxyPreserveHost On
        ProxyHTMLURLMap
        ProxyPass /alfresco http://localhost:8080/alfresco/
        ProxyPassReverse /alfresco http://localhost:8080/alfresco/
        ProxyPass /share http://localhost:8080/share/
        ProxyPassReverse /share http://localhost:8080/share/
        <Location /alfresco>
                Order deny,allow
                Allow from all
                ProxyHTMLURLMap http://alfresco.example.com:8080/alfresco/ /
        </Location>
        <Location /share>
                Order deny,allow
                Allow from all
                ProxyHTMLURLMap http://alfresco.example.com:8080/alfresco/ /
        </Location>
</VirtualHost>

Originally, I attempted it without the ProxyHTMLURLMap directive and it failed, I added it in an attempto to solve the issue but it's still there.

Does any of you have a working reverse proxy configuration for Alfresco that I can use as a basis for mine? Thanks,


E.

mitpatoliya
Star Collaborator
Star Collaborator
Better create new topic for this one and mark this one as solved.