Hi,
We are facing a problem in creating templates. When a user tries to create a new template he gets an exception stack on the screen where he should have got the options to enter the template details. Following are the exceptions we are getting:
com.interwoven.livesite.common.business.BusinessException: Error reading fixed-layout configurations.
at com.interwoven.livesite.business.BusinessPageTypes.getPageTypes(BusinessPageTypes.java:169)
at com.interwoven.livesite.web.site.action.PageAction.createForm(PageAction.java:408)
at com.interwoven.livesite.web.site.action.PageAction.createForm(PageAction.java:273)
at sun.reflect.GeneratedMethodAccessor2268.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
at com.interwoven.livesite.common.web.action.BaseAction.execute(BaseAction.java:175)
at com.interwoven.livesite.web.LivesiteAction.execute(LivesiteAction.java:80)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.interwoven.livesite.spring.hibernate.web.filter.OpenSessionsInViewFilter.doFilterInternal(OpenSessionsInViewFilter.java:112)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.interwoven.ui.base.impl.auth.AuthenticationFilter.doFilter(AuthenticationFilter.java:203)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.interwoven.ui.base.util.SetRequestEncodingFilter.doFilter(SetRequestEncodingFilter.java:106)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.interwoven.cssdk.access.CSAuthorizationException: //mytsserver/mystore/main/mybranch/WORKAREA/work/iw/config/fixed-layout(Permission denied)
at com.interwoven.cssdk.sci.exception.ExceptionHandler.handleExceptionSci(ExceptionHandler.java:185)
at com.interwoven.cssdk.sci.filesys.CSFile.getDirectoryContents(CSFile.java:4219)
at com.interwoven.cssdk.sci.filesys.FileServiceFileSciImpl.getDirectoryContents(FileServiceFileSciImpl.java:844)
at com.interwoven.cssdk.sci.filesys.FileServiceSciImpl.getDirectoryContents(FileServiceSciImpl.java:1287)
at com.interwoven.cssdk.filesys.java.FileServiceAdapterImpl.getDirectoryContents(FileServiceAdapterImpl.java:188)
at com.interwoven.cssdk.filesys.impl.CSDirImpl.getChildren(CSDirImpl.java:432)
at com.interwoven.livesite.model.fixedlayout.CsFixedLayoutCanvasLoader.getFixedLayoutCanvasesInfo(CsFixedLayoutCanvasLoader.java:157)
at com.interwoven.livesite.model.fixedlayout.CsMultiBranchFixedLayoutCanvasLoader.getFixedLayoutCanvasesInfo(CsMultiBranchFixedLayoutCanvasLoader.java:87)
at com.interwoven.livesite.business.BusinessPageTypes.buildPageTypes(BusinessPageTypes.java:373)
at com.interwoven.livesite.business.BusinessPageTypes.getPageTypes(BusinessPageTypes.java:165)
... 41 more
Going through the exception stack shows that the logged in user does not have the access permissions on a branch containing fixed-layouts:
com.interwoven.cssdk.access.CSAuthorizationException: //mytsserver/mystore/main/mybranch/WORKAREA/work/iw/config/fixed-layout(Permission denied)
If we make the logged in user an Administrator on the branch containing the fixed layouts the template creation starts to works. Interestingly it does does not work if we give the user, rights other than Administrator's.
Is it the expected behaviour of SitePublisher to check the access persmissions for the user on the branches where the fixed-layouts are kept?
We are using TS 6.7.2.0 on Windows 2003 server.
Any help/pointers on this issue are appreciated.