cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with 'Run Action Wizard' in Alfresco 2.0

doblek
Champ in-the-making
Champ in-the-making
Hi all,

I'm using Alfresco 2.0 and I run into an exception while trying to add/remove an aspect using the "run action wizard".

It seems to be a system error caused by these exceptions:
javax.faces.FacesException: Bean: org.alfresco.web.bean.actions.RunActionWizard, property: aspects
caused by:
org.apache.jasper.JasperException: Bean: org.alfresco.web.bean.actions.RunActionWizard, property: aspects
caused by:
javax.faces.el.PropertyNotFoundException: Bean: org.alfresco.web.bean.actions.RunActionWizard, property: aspects

These are the details:
[size=75]javax.faces.FacesException: Bean: org.alfresco.web.bean.actions.RunActionWizard, property: aspects
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.jasper.JasperException: Bean: org.alfresco.web.bean.actions.RunActionWizard, property: aspects
at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415)
… 20 more[/size]

Those exceptions arise in the first step of the process, after having selected "Add aspect to item" (or "Remove an aspect from an item") and then click on "Set values and add" button.

Any help appreciated.

Regards,
Enrique

PS: sorry for my English
4 REPLIES 4

gavinc
Champ in-the-making
Champ in-the-making
"aspects" is the property used by a previous release, so it sounds like your application server may be using the older cached version of the JSP.

Have you upgraded by any chance?

Try stopping Tomcat and deleting the 'work' folder and re-starting the server and see if that resolves the problem.

doblek
Champ in-the-making
Champ in-the-making
Hi Gavin,

You're right… I've got this new version re-installed  over a Tomcat where I had previously installed 1.3 version of Alfresco.

In order to install this new version, I erased 'alf_data' directory and logs from 'bin' folder, and re-create the database since I don't want to keep the former info and I knew I could have problems with indexes… But I forgot to erase 'work' and 'temp' folders… I would never thought this could be the problem… Smiley Wink

Thanks for the tip!! =D

I'll tell you if that solves the problem as soon as I check it…


Regards,
Enrique

doblek
Champ in-the-making
Champ in-the-making
Hi Gavin,

You were right… I've removed the alfresco folder from [size=75]${TOMCAT_HOME}/work/Catalina/localhost[/size] and now the aspect wizard runs without trouble…  Smiley Very Happy

Thanks a lot!!  Smiley Very Happy

Regards,
Enrique

gavinc
Champ in-the-making
Champ in-the-making
No problem!