3 Replies Latest reply on Jan 23, 2006 7:58 AM by noicangi

    in CMS Portlet, during file upload, NoSuchMethodError when E

    gruenewa

      Hello,

      i downloaded 'jboss-portal-2.2.1RC1-bundled.zip' and installed it. Then i tested the CMS Portlet and everything worked fine. Then i add EJB3 support to JBoss (file: 'jboss-EJB-3.0_RC3_patch1.zip') and the File Upload function of the CMS Portlet didn't work anymore. It throwed a NoSuchMethodError. I guess it has to do something with the EJB3 Deployer. I tried several installs but the error is reproducable. What is the reason of this error? Is there a way to fix this? The stack trace is:

      12:54:24,999 INFO [Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)] Started in 1m:9s:51ms
      12:55:25,372 ERROR [CommandServlet] Exception in command invocation
      java.lang.NoSuchMethodError: org.apache.commons.fileupload.portlet.PortletFileUpload.parseRequest(Lorg/apache/commons/fileupload/RequestContext;)Ljava/util/List;
       at org.apache.commons.fileupload.portlet.PortletFileUpload.parseRequest(PortletFileUpload.java:101)
       at org.jboss.portal.core.portlet.cms.admin.CMSAdminPortlet.processAction(CMSAdminPortlet.java:339)
       at org.jboss.portlet.JBossPortlet.processAction(JBossPortlet.java:355)
       at org.jboss.portal.portlet.PortletContainer.invokeAction(PortletContainer.java:483)
       at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:424)
       at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
       at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:72)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
      


      Thanks,
      Alexander