cancel
Showing results for 
Search instead for 
Did you mean: 

Navigation Tree ?? Where is it??

sirclueless
Champ in-the-making
Champ in-the-making
Hi,
I have the "nobuild" Version of Navigation Tree downloaded and followed the instructions of the readme file. Everything without errors. Then I start the server and no errors appears. Then I use alfresco, but there isn`t a navigation tree. I can`t find the navigation tree. What have I do wrong?? Or have I forgotten something.
And where should the navigation tree appear ?? Is it in the views??  Is there an example site with alfresco where I can see it, or are there screenshots??

Maybe someone can help me.
8 REPLIES 8

gavinc
Champ in-the-making
Champ in-the-making
The tree should show up in the shelf area on the left hand side. I'm not very familiar with the navigation tree component, but have seen it working. You could try deleting your tomcat/temp and tomcat/work folders and the webapp/alfresco folder and re-deploying your WAR file (presuming it has the changes in it).

sirclueless
Champ in-the-making
Champ in-the-making
Thx for your help. I have delete these folders and start alfresco again. Then I get the follow error message:

HTTP Status 404 - /faces/jsp/dashboards/container.jsp

——————————————————————————–

type Status report

message /faces/jsp/dashboards/container.jsp

description The requested resource (/faces/jsp/dashboards/container.jsp) is not available.


What is wrong?? Where is the mistake ??

gavinc
Champ in-the-making
Champ in-the-making
When did you get this error? What URL did you use to try and access alfresco? It should be http://<your-host>:8080/alfresco

From the URL you give the /alfresco is missing from the beginning!!

sirclueless
Champ in-the-making
Champ in-the-making
Okay ! If I write http://localhost:8080/alfresco   , I get Directory Listing For /
alfrescowar/   . And if I choose then alfrescowar ,I get the follow error message:

HTTP Status 500 -

——————————————————————————–

type Exception report

message

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

exception

org.apache.jasper.JasperException: Unable to load class for JSP
   org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:598)
   org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:137)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause

java.lang.ClassNotFoundException: org.apache.jsp.alfrescowar.index_jsp
   java.net.URLClassLoader$1.run(URLClassLoader.java:200)
   java.security.AccessController.doPrivileged(Native Method)
   java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:133)
   org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:65)
   org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:596)
   org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:137)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

But I don`t know why ?? One different is that the server print me follow different info: Missing application web.xml !!  I don`t know why web.xml should be missing. It is inside the alfresco.war file !!!   Smiley Sad

sirclueless
Champ in-the-making
Champ in-the-making
Okay the first problem is resolved. But now if I wanna login in alfresco , I get the following error message:  System Fehler  

javax.faces.FacesException: /jsp/dashboards/container.jsp(51,0) /jsp/dashboards/../parts/shelf.jsp(67,0) The absolute uri: http://myfaces.apache.org/extensions cannot be resolved in either web.xml or the jar files deployed with this application
caused by:
org.apache.jasper.JasperException: /jsp/dashboards/container.jsp(51,0) /jsp/dashboards/../parts/shelf.jsp(67,0) The absolute uri: http://myfaces.apache.org/extensions cannot be resolved in either web.xml or the jar files deployed with this application

And I don`t know what could be wrong. Maybe somebody can help me.

gavinc
Champ in-the-making
Champ in-the-making
The http://myfaces.apache.org/extensions references are due to some of the dependencies required by the tree component. It sounds like you don't have everything you need to run the tree component.

Double-check the steps given in the forge project and also make sure you have all the dependencies required for tomahawk (myfaces extension components, including the tree) within the WAR file too.

sirclueless
Champ in-the-making
Champ in-the-making
So , I have now used the http://archive.apache.org/dist/myfaces/binaries/tomahawk-1.1.1.tar.gz

and not the http://archive.apache.org/dist/myfaces/binaries/tomahawk-1.1.3.tar.gz

And now it works, I don`t know why, but it works. But the problem if you create a new folder, the folder don`t appear at the tree 😞

gavinc
Champ in-the-making
Champ in-the-making
OK, yes, i believe MyFaces was quite picky which version of tomahawk can be used with which version of the core library. We are using MyFaces 1.1.1 so it makes sense.

The tree is a forge project so you'll need to address any bugs with the author(s) of that project.

As a heads up we are planning on integrating a tree into the main product for version 2.0 but that won't be released until next year.