AnsweredAssumed Answered

Navigating through nodes created using Web Services

Question asked by doblek on Nov 23, 2006
Hi all,

I've created some folders in Alfresco using Web Services and I've found some problems during navigation.
I've posted some of these problems in "Web Services" forum (as you can see here), though nobody seem to know how to solve them.

Maybe I have better luck in this one…

I think the problem is related to "browse.jsp" or something similar because:
    - If I create the folder directly (hanging from root node in the store) on a Store different from "SpacesStore", it crashes when logging in. As described in the post previously mentioned…
    - If I create the folder directly on "SpacesStore" (hanging from root), it crashes sometimes. For example, when creating a rule that asks for a location… like "Move some item to space when something occurs". When I have to specify the location where i want the item to be moved I get the following error:

    javax.faces.FacesException: org.apache.jasper.JasperException

    caused by:

    caused by:

    Hide Details

    javax.faces.FacesException: org.apache.jasper.JasperException
    at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(
    at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView (
    at org.apache.myfaces.lifecycle.LifecycleImpl.render(
    at javax.faces.webapp.FacesServlet.service(
    at (
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
    at org.apache.catalina.core.ApplicationFilterChain.doFilter( :173)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
    at org.apache.catalina.core.ApplicationFilterChain.doFilter (
    at org.apache.catalina.core.StandardWrapperValve.invoke(
    at org.apache.catalina.core.StandardContextValve.invoke(
    at org.apache.catalina.core.StandardHostValve.invoke (
    at org.apache.catalina.valves.ErrorReportValve.invoke(
    at org.apache.catalina.core.StandardEngineValve.invoke(
    at org.apache.catalina.connector.CoyoteAdapter.service (
    at org.apache.coyote.http11.Http11Processor.process(
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection ( :664)
    at org.apache.tomcat.util.threads.ThreadPool$ (
    Caused by: org.apache.jasper.JasperException
    at org.apache.jasper.servlet.JspServletWrapper.handleJspException (
    at org.apache.jasper.servlet.JspServletWrapper.service (
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(
    at org.apache.jasper.servlet.JspServlet.service (
    at javax.servlet.http.HttpServlet.service (
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
    at org.apache.catalina.core.ApplicationFilterChain.doFilter (
    at org.apache.catalina.core.ApplicationDispatcher.invoke(
    at org.apache.catalina.core.ApplicationDispatcher.processRequest( :463)
    at org.apache.catalina.core.ApplicationDispatcher.doForward (
    at org.apache.catalina.core.ApplicationDispatcher.forward(
    at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch ( :415)
    … 21 more
    - If I create the folder hanging from a folder which is placed under "Company Home" node, everything seems to be fine =)

So, my question is
does Alfresco's browser work properly only when navigating through nodes which hang from "Company Home" in "SpacesStore" store?
Is easy to modify the "browser jsp" in order to make it work under any store/node?
I've been dealing with "login.jsp" and I don't understand why it crashes when it tries to access a store different from "SpacesStore" (though I have to say that I'm newbie to jsp and jsf… =/). As far as I know, it should look for the node stored in user's field homefolder.

Any help would be very much appreciated…

Thanks in advance,
Enrique Pérez