cancel
Showing results for 
Search instead for 
Did you mean: 

root, webdav and share

tonytony
Champ in-the-making
Champ in-the-making
I already read that implementing share breaks the office add-in. I also am noticing that webdav is broken (I guess it is related). I also noticed that going directly to the root causes a 500 error. (http://localhost:8080). Is this normal behavior or is there an error on my part?

In my old installation I fronted tomcat with alfresco with my own root. (http://localhost/alfresco showed the "alfresco explorer" and http://localhost displayed my intranet). Is there a simple way to configure share to work with an apache front end?  I guess some sort of url redirection?

Thanks for your time and insight….
8 REPLIES 8

mikeh
Star Contributor
Star Contributor
It's not Share that causes the problem (you can run Share alongside the Office add-in without issue), it's the SharePoint integration module. If you're using the built-in SharePoint panel in Office, you shouldn't need the add-in too. However, we are aware that "normal" webdav is also broken in this instance. Unfortunately the hoops we had to jump through to emulate the MS protocol made this unavoidable. Basically, the protocol assumes SharePoint is the only thing running on the server.

The good news is that the SharePoint module is going through a redesign where these problems should disappear. You should expect to see more about that in the new year.

Mike

tonytony
Champ in-the-making
Champ in-the-making
I'm sorry, I was using share and sharepoint integration synonymously, which after some thought I realize is incorrect.

I deployed a nightly build of alfresco.org with vti-module amp and root war. I get a 500 error what I point a browsed to the root. Is this ok or does it indicate an error with my configuration?

HTTP Status 500 -

type Exception report

message

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

exception

javax.servlet.ServletException: java.lang.reflect.InvocationTargetException
   org.alfresco.proxy.ProxyServlet.service(ProxyServlet.java:103)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

root cause

java.lang.reflect.InvocationTargetException
   sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:597)
   org.alfresco.proxy.ProxyServlet.service(ProxyServlet.java:99)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

root cause

org.alfresco.module.vti.VtiInternalErrorException: net.sf.acegisecurity.AuthenticationCredentialsNotFoundException: A valid SecureContext was not provided in the RequestContext
   org.alfresco.module.vti.handler.alfresco.AlfrescoVtiMethodHandlerThrowsAdvice.afterThrowing(AlfrescoVtiMethodHandlerThrowsAdvice.java:53)
   sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:597)
   org.springframework.aop.framework.adapter.ThrowsAdviceInterceptor.invokeHandlerMethod(ThrowsAdviceInterceptor.java:146)
   org.springframework.aop.framework.adapter.ThrowsAdviceInterceptor.invoke(ThrowsAdviceInterceptor.java:131)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   $Proxy82.existResource(Unknown Source)
   org.alfresco.module.vti.VtiFilter.doFilter(VtiFilter.java:184)
   org.alfresco.module.vti.httpconnector.VtiServletContainer$HttpFilterChain.doFilter(VtiServletContainer.java:273)
   org.alfresco.module.vti.httpconnector.VtiServletContainer.service(VtiServletContainer.java:133)
   sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:597)
   org.alfresco.proxy.ProxyServlet.service(ProxyServlet.java:99)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

root cause

net.sf.acegisecurity.AuthenticationCredentialsNotFoundException: A valid SecureContext was not provided in the RequestContext
   net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.credentialsNotFound(AbstractSecurityInterceptor.java:477)
   net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:355)
   net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:77)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:275)
   org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   $Proxy44.resolveNamePath(Unknown Source)
   org.alfresco.module.vti.handler.alfresco.VtiPathHelper.resolvePathFileInfo(VtiPathHelper.java:136)
   org.alfresco.module.vti.handler.alfresco.AlfrescoVtiMethodHandler.existResource(AlfrescoVtiMethodHandler.java:946)
   sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:597)
   org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
   org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   org.springframework.aop.framework.adapter.ThrowsAdviceInterceptor.invoke(ThrowsAdviceInterceptor.java:126)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   $Proxy82.existResource(Unknown Source)
   org.alfresco.module.vti.VtiFilter.doFilter(VtiFilter.java:184)
   org.alfresco.module.vti.httpconnector.VtiServletContainer$HttpFilterChain.doFilter(VtiServletContainer.java:273)
   org.alfresco.module.vti.httpconnector.VtiServletContainer.service(VtiServletContainer.java:133)
   sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:597)
   org.alfresco.proxy.ProxyServlet.service(ProxyServlet.java:99)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.
Apache Tomcat/6.0.18

mikeh
Star Contributor
Star Contributor
That error is probably expected, as the ROOT webapp is only there to keep SharePoint happy and relies on being part of a SharePoint protocol sequence.

Mike

norgan
Champ in-the-making
Champ in-the-making
So, Mike, what do we do to get a decent page delivered unter http://alfresco/
Just put some stuff there ?

Regards, Norgan

mikeh
Star Contributor
Star Contributor
I'm not sure what you're asking? Do you want to run Tomcat on port 80 instead of 8080 or are you talking about configuring an Apache web server in front of Tomcat?

Mike

norgan
Champ in-the-making
Champ in-the-making
Sorry, I just tried it out.

I thought, that root.war must be left alone and has to keep the "http://alfrescoserver/" url since share uses it. I just put an index.html unter tomcat/webapps and now I have my page, which allows me to link to share and alfresco. Sofar, all seems well.

Regards, Norgan

sumitweirminera
Champ in-the-making
Champ in-the-making
Hi Norgan,

Can you share the code you have put in index.html?

Thank you in advance.

norgan
Champ in-the-making
Champ in-the-making
Sorry, just for completeness, even though its probably irrelevant by now - it was only a simple HTML page with the two links in it to /alfresco and /share