cancel
Showing results for 
Search instead for 
Did you mean: 

custom Dashboard save issue

ofrxnz
Champ in-the-making
Champ in-the-making
So, I keep receiving the following error intermittently for different users and sites.  Here is an example of the error for a site dashboard.  It is slightly different for a user.  When this happens, the default dashboard is loaded.  when you go into custom settings, your custom settings are still there but will not render as a custom dashboard only a default.  If you go in at another time, you can easily create a custom dashboard with no troubles

INFO [web.framework.ModelObjectManager] Unable to save objectSmiley Tongueage.title.sites~<sitename>~dashboard.xml due to error: Unable to create document path: page.title.site~<sitename>~dashboard.xml in remote store: alfresco due to error: Server returned HTTP response code:409 for URL: http://localhost:8080/alfresco/s/remotestore/create/alfresco//site-data/pages/site/<sitename>/dashboard.xml?s=sitestore$alf_ticket=TICKET_f852f3036c6d5b9b958fcd65a1d75b1af9d878f0

the error may be missed typed i cant copy and past from that console easily

I am at a loss

My setup right now is Win2k3 behind a proxy using labs 3c full install

Any ideas?

Adam
8 REPLIES 8

ofrxnz
Champ in-the-making
Champ in-the-making
I think this is also causing my AVM_Child_entries table to balloon

I have thousands of entries like this

                    parent_id                   name                             child_id
                 101    page.title.user~UserName~dashboard.xml    102
           804    page.title.user~UserName~dashboard.xml    102
           809    page.title.user~UserName~dashboard.xml    102
           814    page.title.user~UserName~dashboard.xml    102
           819    page.title.user~UserName~dashboard.xml    102
           824    page.title.user~UserName~dashboard.xml    102
           829    page.title.user~UserName~dashboard.xml    102
           834    page.title.user~UserName~dashboard.xml    102
           839    page.title.user~UserName~dashboard.xml    102
           844    page.title.user~UserName~dashboard.xml    102
           856    page.title.user~UserName~dashboard.xml    102
           861    page.title.user~UserName~dashboard.xml    102
           866    page.title.user~UserName~dashboard.xml    102
           871    page.title.user~UserName~dashboard.xml    102
           876    page.title.user~UserName~dashboard.xml    102

The Child IDs look proper but the parent IDs look a little wonked out showing multiple users editing them

EG, for the parent ID, the creater owner and modifier could be different users or, all three feilds could not match the username for the specified dashboard above.

I am at a loss and thinking of dumping everything in

avm_history_links
avm_child_entries
avm_nodes

In that order with either a parent ID or a Child_Id in the child entries table

Any ideas anyone?
Anything other things i should think about (aside from backups)?

womer
Champ in-the-making
Champ in-the-making
I will echo ofrxnz with actual screen capture data.  Similar scenario, if the user customizes their dashboard, I start seeing these error's in the logs.  The presentation of the dashboard "appears" to stutter a tiny bit while loading, but does load.


13:18:59,406 INFO  [org.alfresco.web.framework.ModelObjectManager] Unable to save object: page.title.user~womer~dashboard of type component to storage: RemoteStore_alfresco/site-data/components_component due to error: Unable to save object: page.title.user~womer~dashboard.xml due to error: Unable to create document path: page.title.user~womer~dashboard.xml in remote store: alfresco due to error: Server returned HTTP response code: 409 for URL: http://localhost:8080/alfresco/s/remotestore/create/alfresco/site-data/components/page.title.user~wo...
13:18:59,527 INFO  [org.alfresco.web.framework.ModelObjectManager] Unable to save object: page.component-1-1.user~womer~dashboard of type component to storage: RemoteStore_alfresco/site-data/components_component due to error: Unable to save object: page.component-1-1.user~womer~dashboard.xml due to error: Unable to create document path: page.component-1-1.user~womer~dashboard.xml in remote store: alfresco due to error: Server returned HTTP response code: 409 for URL: http://localhost:8080/alfresco/s/remotestore/create/alfresco/site-data/components/page.component-1-1...
13:18:59,536 INFO  [org.alfresco.web.framework.ModelObjectManager] Unable to save object: page.component-1-2.user~womer~dashboard of type component to storage: RemoteStore_alfresco/site-data/components_component due to error: Unable to save object: page.component-1-2.user~womer~dashboard.xml due to error: Unable to create document path: page.component-1-2.user~womer~dashboard.xml in remote store: alfresco due to error: Server returned HTTP response code: 409 for URL: http://localhost:8080/alfresco/s/remotestore/create/alfresco/site-data/components/page.component-1-2...
13:18:59,544 INFO  [org.alfresco.web.framework.ModelObjectManager] Unable to save object: page.component-2-1.user~womer~dashboard of type component to storage: RemoteStore_alfresco/site-data/components_component due to error: Unable to save object: page.component-2-1.user~womer~dashboard.xml due to error: Unable to create document path: page.component-2-1.user~womer~dashboard.xml in remote store: alfresco due to error: Server returned HTTP response code: 409 for URL: http://localhost:8080/alfresco/s/remotestore/create/alfresco/site-data/components/page.component-2-1...
13:18:59,552 INFO  [org.alfresco.web.framework.ModelObjectManager] Unable to save object: page.component-2-2.user~womer~dashboard of type component to storage: RemoteStore_alfresco/site-data/components_component due to error: Unable to save object: page.component-2-2.user~womer~dashboard.xml due to error: Unable to create document path: page.component-2-2.user~womer~dashboard.xml in remote store: alfresco due to error: Server returned HTTP response code: 409 for URL: http://localhost:8080/alfresco/s/remotestore/create/alfresco/site-data/components/page.component-2-2...
13:18:59,559 INFO  [org.alfresco.web.framework.ModelObjectManager] Unable to save object: page.component-2-3.user~womer~dashboard of type component to storage: RemoteStore_alfresco/site-data/components_component due to error: Unable to save object: page.component-2-3.user~womer~dashboard.xml due to error: Unable to create document path: page.component-2-3.user~womer~dashboard.xml in remote store: alfresco due to error: Server returned HTTP response code: 409 for URL: http://localhost:8080/alfresco/s/remotestore/create/alfresco/site-data/components/page.component-2-3...
13:18:59,567 INFO  [org.alfresco.web.framework.ModelObjectManager] Unable to save object: page.component-2-4.user~womer~dashboard of type component to storage: RemoteStore_alfresco/site-data/components_component due to error: Unable to save object: page.component-2-4.user~womer~dashboard.xml due to error: Unable to create document path: page.component-2-4.user~womer~dashboard.xml in remote store: alfresco due to error: Server returned HTTP response code: 409 for URL: http://localhost:8080/alfresco/s/remotestore/create/alfresco/site-data/components/page.component-2-4...
13:18:59,574 INFO  [org.alfresco.web.framework.ModelObjectManager] Unable to save object: page.component-3-1.user~womer~dashboard of type component to storage: RemoteStore_alfresco/site-data/components_component due to error: Unable to save object: page.component-3-1.user~womer~dashboard.xml due to error: Unable to create document path: page.component-3-1.user~womer~dashboard.xml in remote store: alfresco due to error: Server returned HTTP response code: 409 for URL: http://localhost:8080/alfresco/s/remotestore/create/alfresco/site-data/components/page.component-3-1...
13:18:59,582 INFO  [org.alfresco.web.framework.ModelObjectManager] Unable to save object: page.component-3-2.user~womer~dashboard of type component to storage: RemoteStore_alfresco/site-data/components_component due to error: Unable to save object: page.component-3-2.user~womer~dashboard.xml due to error: Unable to create document path: page.component-3-2.user~womer~dashboard.xml in remote store: alfresco due to error: Server returned HTTP response code: 409 for URL: http://localhost:8080/alfresco/s/remotestore/create/alfresco/site-data/components/page.component-3-2...
13:18:59,589 INFO  [org.alfresco.web.framework.ModelObjectManager] Unable to save object: page.component-3-3.user~womer~dashboard of type component to storage: RemoteStore_alfresco/site-data/components_component due to error: Unable to save object: page.component-3-3.user~womer~dashboard.xml due to error: Unable to create document path: page.component-3-3.user~womer~dashboard.xml in remote store: alfresco due to error: Server returned HTTP response code: 409 for URL: http://localhost:8080/alfresco/s/remotestore/create/alfresco/site-data/components/page.component-3-3...
13:18:59,597 INFO  [org.alfresco.web.framework.ModelObjectManager] Unable to save object: user/womer/dashboard of type page to storage: RemoteStore_alfresco/site-data/pages_page due to error: Unable to save object: user/womer/dashboard.xml due to error: Unable to create document path: user/womer/dashboard.xml in remote store: alfresco due to error: Server returned HTTP response code: 409 for URL: http://localhost:8080/alfresco/s/remotestore/create/alfresco/site-data/pages/user/womer/dashboard.xm...

ofrxnz
Champ in-the-making
Champ in-the-making
Exact same errors i had aside different user specific aspects. 

Preliminary, it seems to happen when a user times out of a session.  But I have yet to confirm this as a positive reason or the sole cause.


Adam

nadaoneal
Champ in-the-making
Champ in-the-making
I'm also getting this error in the error log, but there's no problem on the user side - the user can see their custom dashboard as expected. (Alfresco 3.0 on linux) This error is generated for a user updating his/her own dashboard layout, but not for a user updating a site's dashboard layout.

11:59:31,083  INFO  [web.framework.ModelObjectManager] Unable to save object: user/nadaoneal/dashboard of type page to storage: RemoteStore_alfresco/site-data/pages_page due to error: Unable to save object: user/nadaoneal/dashboard.xml due to error: Unable to create document path: user/nadaoneal/dashboard.xml in remote store: alfresco due to error: Server returned HTTP response code: 409 for URL: http://localhost:8099/alfresco/s/remotestore/create/alfresco/site-data/pages/user/nadaoneal/dashboar...

HTTP response "409" means that there's a state conflict for the resource, so at least in my case I'm wondering if it's that Alfresco is trying to update the same file twice, or something like that.

I'm also not able to find much documentation on what's happening here when it's working - I have a dim notion that this has something to do with AVM, but that's about it. So if anyone else in this thread happens to have a handy link…

ofrxnz
Champ in-the-making
Champ in-the-making
I keep looking into this one and it seem like it happens when a user times out.  My guess is it has to do with the tickets that fly around though i dont know how they work. 

I think (guess) that a user has a ticket, times out but doesn't close a browser, log's back in and gets a new ticket.  I would guess this could cause a state issue. 

The dashboards are stored in the AVM.  Each slot on the dashboard (row 1, column 1) or (row 2, column 1) are stored as an individual file in the file store and their metadata is in the AVM store.  I personally dont like how it does the dashboards since it is something that should not version.  I would guess it would be simpler if it was just another table in the db that stored all the dashboard configuration data. 

I have seen it for the Site dashboards but it is a rare event compared to the user dashboards.  error message is about the same

I have been hunting this one for a while now and at a loss for where it is

nadaoneal
Champ in-the-making
Champ in-the-making
I meant to mention yesterday, but apparently I forgot, that in my testing, it doesn't seem to be a time-out issue at all. I can generate the error immediately after logging in.

(Edited to add - and I've also confirmed that clearing the browser's cache and restarting the browser before logging back in doesn't help. HOWEVER, restarting Alfresco seems to eliminate the problem for a while.)

sethatrothbury
Champ in-the-making
Champ in-the-making
I just hit the same issue and wanted to ask you guys, did you install the WCM component? I tried running Share without installing WCM but just realized that the custom dashlets and user preferences are stored in the AVM store.

So, I'm about to install WCM and see if that fixes my problem. I'll come back and edit once I finish.

*edit*
On first glance, the errors seem to have subsided. I have a lot more testing to do though and will try to get back to this thread to update.

*another edit*
Ok, errors are back. Going to try something else.

jtp
Champ in-the-making
Champ in-the-making
There's another thread on this same issue here: http://forums.alfresco.com/en/viewtopic.php?f=47&t=20461

You can vote for the fix here: https://issues.alfresco.com/jira/browse/ALFCOM-3298