cancel
Showing results for 
Search instead for 
Did you mean: 

AlfrescoRuntimeException

mr_soka
Champ in-the-making
Champ in-the-making
Hi,

I tried -> Create Form Wizard -> Schema -> /opt/alfresco/extras/wcm/forms/press-release.xsd

org.alfresco.error.AlfrescoRuntimeException: This servlet can only be used to handle file upload requests, makesure you have set the enctype attribute on your form to multipart/form-data

Darwin sokas-computer.local 8.8.1 Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00 PDT 2006; root:xnu-792.13.8.obj~1/RELEASE_I386 i386 i386

$ java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112)
Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)

regards,
               soka
3 REPLIES 3

ribz33
Champ on-the-rise
Champ on-the-rise
Have you follow tutorial and upload XML schemas in data dictionnary ?

mr_soka
Champ in-the-making
Champ in-the-making
this error is regarding to schema upload … Create menu - Create From element ends up on the Create Form Wizard … there I supposed to upload the xsd file … but there I get this RunTimeException …

org.alfresco.error.AlfrescoRuntimeException: This servlet can only be used to handle file upload requests, makesure you have set the enctype attribute on your form to multipart/form-data
at org.alfresco.web.app.servlet.UploadFileServlet.service(UploadFileServlet.java:73)
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.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:868)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
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:613)

arielb
Champ in-the-making
Champ in-the-making
sorry for the delayed response - i hadn't realized this forum existed.

what browser were you using.  by any chance was it safari?  if you are still seeing this issue with the beta we shipped yesterday, please file an issue in jira.

ariel