cancel
Showing results for 
Search instead for 
Did you mean: 

Document library tree hangs

ojaro
Champ in-the-making
Champ in-the-making
Hi all,

I have finally managed to get the latest Alfresco (3.2) working on Ubuntu after million and one little tweaks here and there. But now it looks great Smiley Happy
One final problem though. I copied all our company documents over using CIFS and Windows explorer (quite a bit of data and large folder structure). Now if I try to access these documents through a web browser via the site I created with Share, the folder loader just hangs and nothing happens. No error message anywhere, not even in log files Smiley Sad
Funnily enough if I access the folder structure via CIFS or main Alfresco website (and not from Share) then everything works fine.

Anyone have any ideas about this? Could it be that the Ajax component loading the tree at the left hand menu cannot copy with all those folders or something?
Hope someone is able to advice me on this one, since this seems like a last obstacle to roll Alfresco out successfully in our organisation.

Regards,

Olli
5 REPLIES 5

mikeh
Star Contributor
Star Contributor
Try viewing the same page with Firefox and Firebug enabled to see if there's a JavaScript error being thrown.

You can also switch on debug - look in web-framework-config-application.xml

Thanks,
Mike

ojaro
Champ in-the-making
Champ in-the-making
Ok, after using Firebug it seems that I get this because the following service throws error 500:

http://mydomain.com/share/proxy/alfresco/slingshot/doclib/doclist/all/site/mysite/documentLibrary/In...

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.alfresco.error.AlfrescoRuntimeException: 06280043 Error during endpoint proxy processing: Invalid uri 'http://localhost:8080/alfresco/s/slingshot/doclib/doclist/all/site/mysite/documentLibrary/Internal Information?filter=path&size=50&pos=1&alf_ticket=TICKET_9ff205fab6ce6092d4ca04dc3a5cb446ece4bd3d': escaped absolute path not valid
   org.alfresco.web.scripts.servlet.EndPointProxyServlet.service(EndPointProxyServlet.java:270)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

root cause

java.lang.IllegalArgumentException: Invalid uri 'http://localhost:8080/alfresco/s/slingshot/doclib/doclist/all/site/mysite/documentLibrary/Internal Information?filter=path&size=50&pos=1&alf_ticket=TICKET_9ff205fab6ce6092d4ca04dc3a5cb446ece4bd3d': escaped absolute path not valid
   org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:222)
   org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:89)
   org.alfresco.connector.RemoteClient.service(RemoteClient.java:524)
   org.alfresco.connector.RemoteClient.call(RemoteClient.java:412)
   org.alfresco.connector.HttpConnector.call(HttpConnector.java:134)
   org.alfresco.connector.AuthenticatingConnector.call(AuthenticatingConnector.java:274)
   org.alfresco.web.scripts.servlet.EndPointProxyServlet.service(EndPointProxyServlet.java:255)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

Now the funny thing is that if I access http://localhost:8080/alfresco/s/slingshot/doclib/doclist/all/site/mysite/documentLibrary/Internal%2... directly I get valid javascript back. Also, before I uploaded the document structure over CIPS this functionality was working fine, so cannot be a configuration problem either or anything to do with the hosting setup.

Any ideas what could cause this?

Regards,

Olli

mikeh
Star Contributor
Star Contributor
That looks like this problem: http://forums.alfresco.com/en/viewtopic.php?f=47&t=18354

Are you also using a proxy server?

Thanks,
Mike

ojaro
Champ in-the-making
Champ in-the-making
Mike you are a star!!!

It was down to missing the following option in my mod_jk configuration:

JkOptions +ForwardURICompatUnparsed

Cheers for this.

Olli

mikeh
Star Contributor
Star Contributor
Great news - I'll let our Documentation Team know also.

Thanks,
Mike