cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with SHARE and Sharepoint after openLDAP

grahammills
Champ in-the-making
Champ in-the-making
After installing Alfresco successfully I tried to get open ldap to work for authentication. I did get that sort of working but I failed to get it working for CIFS access, I know what I have to do but I did not want to allow all 12,000 registered users access to alfresco well not just yet anyway. I have now removed the ldap xml files and properties files and restarted the system. However, since doing that SHARE no longer works correctly, it cannot find any sites. They still exist if I use the alfresco interface and I have no problems with that. However if I use the share web interface I get problems like:

The Web Script /share/service/components/invite/members-bar has responded with a status of 500 - Internal Error.

500 Description:   An error inside the HTTP server which prevented it from fulfilling the request.

Message:   Error during remote call. status: 500, response: { "status" : { "code" : 500, "name" : "Internal Error", "description" : "An error inside the HTTP server which prevented it from fulfilling the request." }, "message" : "Wrapped Exception (with status template): Failed to execute script '\/org\/alfresco\/repository\/site\/membership\/memberships.get.js (in classpath store file:\/opt\/Alfresco\/tomcat\/webapps\/alfresco\/WEB-INF\/classes\/alfresco\/templates\/webscripts)': An authority was not found for GROUP_site_ccfd9_SiteManager", "exception" : "org.alfresco.web.scripts.WebScriptException - Wrapped Exception (with status template): Failed to execute script '\/org\/alfresco\/repository\/site\/membership\/memberships.get.js (in classpath store file:\/opt\/Alfresco\/tomcat\/webapps\/alfresco\/WEB-INF\/classes\/alfresco\/templates\/webscripts)': An authority was not found for GROUP_site_ccfd9_SiteManager", "callstack" : [ "" ,"org.alfresco.repo.security.authority.UnknownAuthorityException: An authority was not found for GROUP_site_ccfd9_SiteManager" ,"org.alfresco.repo.security.authority.AuthorityDAOImpl.getContainedAuthorities(AuthorityDAOImpl.java:213)" ,"org.alfresco.repo.security.authority.AuthorityServiceImpl.getContainedAuthorities(AuthorityServiceImpl.java:285)" ,"org.alfresco.repo.site.SiteServiceImpl.listMembers(SiteServiceImpl.java:666)" ,"org.alfresco.repo.site.script.Site.listMembers(Site.java:268)" ,"sun.reflect.GeneratedMethodAccessor692.invoke(Unknown Source)" ,"sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)" ,"java.lang.reflect.Method.invoke(Method.java:597)" ,"org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)" ,"org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)" ,"org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)" ,"org.mozilla.javascript.gen.c108._c0(AlfrescoScript:8)" ,"org.mozilla.javascript.gen.c108.call(AlfrescoScript)" ,"org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)" ,"org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)" ,"org.mozilla.javascript.gen.c108.call(AlfrescoScript)" ,"org.mozilla.javascript.gen.c108.exec(AlfrescoScript)" ,"org.mozilla.javascript.Context.evaluateString(Context.java:1196)" ,"org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:390)" ,"org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:122)" ,"org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:263)" ,"org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:108)" ,"org.alfresco.web.scripts.AbstractWebScript.executeScript(AbstractWebScript.java:800)" ,"org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:90)" ,"org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:319)" ,"org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:320)" ,"org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:227)" ,"org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:368)" ,"org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:390)" ,"org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:273)" ,"org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:261)" ,"org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:139)" ,"org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:116)" ,"javax.servlet.http.HttpServlet.service(HttpServlet.java:717)" ,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)" ,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)" ,"org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)" ,"org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)" ,"org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)" ,"org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)" ,"org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)" ,"org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)" ,"org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)" ,"org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)" ,"org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)" ,"java.lang.Thread.run(Thread.java:619)" ,"org.alfresco.scripts.ScriptException: Failed to execute script '\/org\/alfresco\/repository\/site\/membership\/memberships.get.js (in classpath store file:\/opt\/Alfresco\/tomcat\/webapps\/alfresco\/WEB-INF\/classes\/alfresco\/templates\/webscripts)': An authority was not found for GROUP_site_ccfd9_SiteManager" ,"org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:126)" ,"org.alfresco.web.scripts.WebScriptException: Wrapped Exception (with status template): Failed to execute script '\/org\/alfresco\/repository\/site\/membership\/memberships.get.js (in classpath store file:\/opt\/Alfresco\/tomcat\/webapps\/alfresco\/WEB-INF\/classes\/alfresco\/templates\/webscripts)': An authority was not found for GROUP_site_ccfd9_SiteManager" ,"org.alfresco.web.scripts.AbstractWebScript.createStatusException(AbstractWebScript.java:595)" ], "server" : "Alfresco Labs v3.0.0 (Stable 1526) schema 1,002", "time" : "01-May-2009 11:59:21" }
Server:   Alfresco Labs v3.0.0 (Stable 1526) schema 1,002
Time:   01-May-2009 11:59:21
   
Diagnostics:   Inspect Web Script (org/alfresco/components/invite/members-bar.get)
Search for Site Members

If I try and use SharePoint to connect to the sites I get the following message:

Documents in this folder are not available. The folder may have been moved, or deleted, or network problems may be preventing a connection to the server.

Now I know that I changed several things while trying to get openLDAP to work but while I was using openLDAP to authenticate the SHARE access continued to work, its only since I switched the LDAP off that I cannot use the share access.

Anyone got any pointers or thoughts as what I can do next?

Thanks
Graham
10 REPLIES 10

tushagarwal
Champ in-the-making
Champ in-the-making
Hi,

I am using 3.2 and getting the above mentioned error when i am trying to copy a file.
03071034 Wrapped Exception (with status template): 03071033 Error during processing of the template 'Method public org.alfresco.repo.jscript.ScriptableHashMap org.alfresco.repo.site.script.Site.listMembers(java.lang.String,java.lang.String,int) threw an exception when invoked on org.alfresco.repo.site.script.Site@1318ed1'. Please contact your system administrator.

As soon as i click the copy to button in share i get this error.

Since the error in this post was same so i copied it here. Please help!