cancel
Showing results for 
Search instead for 
Did you mean: 

Error on first alfresco-login

fireman
Champ in-the-making
Champ in-the-making
Hi,

many of our users have a problem when they want to login to alfresco. The error only occures when they login the first time. After the login they see a error-Page in the browser. Then they reload the page and they can normally login and everything works fine. Can someone help us please?
The Version of Alfresco is 2.1 Community.

Error-Code:

javax.faces.FacesExeption:Cannot get value for expression 'images/icons/#{NavigationBean.nodeProperties.icon}.gif'
caused by:
org.apache-jasper.Jasper.Exception:Cannot get value for expression 'images/icons/#{NavigationBean.nodeProperties.icon}.gif'
caused by:
javax.faces.el.EvaluationException:Cannot get value for expression 'images/icons/#{NavigationBean.nodeProperties.icon}.gif'
caused by:
javax.faces.el.EvaluationException: Exeption getting value of property nodeProperties of base of type : org.alfresco.web.bean.NavigationBean
caused by:
javax.faces.el.EvaluationException:Bean: org.alfresco.web.bean.NavigationBean, property: nodeProperties
caused by:
java.lang.reflect.InvocationTargetException
caused by:
org.alresco.repo.security.permissions.AccessDeniedException: Zugriff verweigert. Sie haben keine Erlaubnis diese Operation durchzuführen
caused by:
net.sf.acegisecurity.AccessDeniedException: Access is denied

Thanks,
5 REPLIES 5

fireman
Champ in-the-making
Champ in-the-making
When I Click on "Show Details" the following Messages are shown:

<javascript:toggleDetails();>javax.faces.FacesException: Cannot get value for expression '/images/icons/#{NavigationBean.nodeProperties.icon}.gif'
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:425)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:211)
at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:94)
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:210)
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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.jasper.JasperException: Cannot get value for expression '/images/icons/#{NavigationBean.nodeProperties.icon}.gif'
at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:476)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
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 org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:419)
… 22 more

kevinr
Star Contributor
Star Contributor
I haven't seen that error before. Can you provide any more information? Is it a standard install or customized? Which browsers are you using? What server etc.?

Kevin

fireman
Champ in-the-making
Champ in-the-making
The operating-system is a debian etch. The installed software is apache-tomcat-5.5.23, j2sdk1.6-sun, mysql-server-5.0 and libapache2-mod-jk. I have installed the war-File from alfresco. The System is installed as an OpenVZ-Guest. The browsers we have used are firefox 2.0.0.7 and Internet-Explorer 7.

There's no error in catalina.log or in alfresco.log. The error is only present in the browser.

The JAVA-Opts are:

export TOMCAT_USER="tomcat"
export JAVA_HOME="/opt/java"
export CATALINA_HOME="/opt/tomcat"
export CATALINA_OPTS="-Dfile.encoding=UTF-8 -Duser.language=de -Duser.country=DE:\
-Dcom.sun.management.jmxremote -Xms1024m -Xmx1024m"
export CLASSPATH="$JAVA_HOME/lib/tools.jar:\
$CATALINA_HOME/bin/commons-daemon.jar:\
$CATALINA_HOME/bin/bootstrap.jar:\
$CATALINA_HOME/bin/commons-logging-api.jar:"



I hope this information is helpful…

Bastian

kevinr
Star Contributor
Star Contributor
Yes - i'm wondering if it's something to do with your libapache2-mod-jk setup? If you don't use this, do you get the same problem?

Thanks,

Kevin

fireman
Champ in-the-making
Champ in-the-making
Thanks for your answer.
We will test it without mod-jk…