AW: [opencms-dev] File Upload Bug? <- Any takers? Or has this been answered somewhere else?
Kai Schliemann
k.schliemann at comundus.com
Fri May 14 10:30:02 CEST 2004
Hi Balazs,
check the name of the file you want to upload. Don't use special characters
of whitespace in its name. (e.g. "my pic.gif" or "fu?ball.gif" do not work).
This is no OpenCMS but a general Web issue.
Kai
> -----Ursprungliche Nachricht-----
> Von: opencms-dev-admin at opencms.org
> [mailto:opencms-dev-admin at opencms.org]Im Auftrag von Balazs Wellisch
> Gesendet: Freitag, 14. Mai 2004 02:25
> An: opencms-dev at opencms.org
> Betreff: RE: [opencms-dev] File Upload Bug? <- Any takers? Or has this
> been answered somewhere else?
>
>
>
> Hello,
>
> Every time I try to upload a file through OpenCMS I get an error. (Please
> see detail below) I'm on RedHat ES 3.1 using Tomcat 4.1.29 and the CVS
> version of OpenCMS 5.3.5.
>
> Any ideas? (What does Code 3 - Bad name mean?)
>
> TIA,
> Balazs
>
> org.opencms.main.CmsException: [org.opencms.db.CmsDriverManager]
> C:\Temp\bw.doc [Code 3 - Bad name]
> at
> org.opencms.db.CmsDriverManager.validFilename(CmsDriverManager.java:7589)
> at
> org.opencms.db.CmsDriverManager.createFile(CmsDriverManager.java:1669)
> at org.opencms.file.CmsObject.doCreateFile(CmsObject.java:1118)
> at
> org.opencms.file.CmsResourceTypeBinary.createResource(CmsResourceT
> ypeBinary.
> java:80)
> at org.opencms.file.CmsObject.createResource(CmsObject.java:676)
> at
> org.opencms.workplace.CmsNewResourceUpload.actionUpload(CmsNewReso
> urceUpload
> .java:246)
> at
> org.apache.jsp.newresource_upload_html_jsp._jspService(newresource
> _upload_ht
> ml_jsp.java:103)
> at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrap
> per.java:2
> 10)
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationD
> ispatcher.
> java:684)
> at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(Applicati
> onDispatch
> er.java:575)
> at
> org.apache.catalina.core.ApplicationDispatcher.include(Application
> Dispatcher
> .java:498)
> at
> org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexR
> equestDisp
> atcher.java:131)
> at
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDi
> spatcher.j
> ava:180)
> at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:405)
> at
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDi
> spatcher.j
> ava:311)
> at
> org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:425)
> at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:382)
> at
> org.opencms.loader.CmsLoaderManager.loadResource(CmsLoaderManager.
> java:231)
> at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1479)
> at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:102)
> at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:113)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(A
> pplication
> FilterChain.java:247)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicati
> onFilterCh
> ain.java:193)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapp
> erValve.ja
> va:256)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveCon
> text.invok
> eNext(StandardPipeline.java:643)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
> java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardConte
> xtValve.ja
> va:191)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveCon
> text.invok
> eNext(StandardPipeline.java:643)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
> java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValv
> e.java:180
> )
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveCon
> text.invok
> eNext(StandardPipeline.java:643)
> at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispat
> cherValve.
> java:171)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveCon
> text.invok
> eNext(StandardPipeline.java:641)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValv
> e.java:172
> )
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveCon
> text.invok
> eNext(StandardPipeline.java:641)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
> java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngine
> Valve.java
> :174)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveCon
> text.invok
> eNext(StandardPipeline.java:643)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
> java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.pr
> ocessConne
> ction(Http11Protocol.java:549)
> at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thre
> adPool.jav
> a:666)
> at java.lang.Thread.run(Thread.java:534)
>
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list