AW: [opencms-dev] Tomcat/Apache Problem with Image Uploading

Peter Hansen phanse at web.de
Fri Jun 15 09:27:30 CEST 2001


Hi Simon,

does Tomcat 3.2.2 also solve the "null-pointer-exception" error when you try to publish a project?

hava a nice weekend
Peter
opencms-dev at www.opencms.com schrieb am 13.06.01:
> The answer is Tomcat 3.2.2
> 
> Simon.
> 
> -----Ursprüngliche Nachricht-----
> Von: owner-opencms-dev at www.opencms.com
> [mailto:owner-opencms-dev at www.opencms.com]Im Auftrag von simon wilks
> Gesendet: Dienstag, 12. Juni 2001 11:40
> An: opencms-dev at www.opencms.com
> Betreff: [opencms-dev] Tomcat/Apache Problem with Image Uploading
> 
> 
> Hi all,
> 
> I am using Tomcat with OpenCms 4.3.8 and 4.3.18 on W2K and RedHat 7.0 and
> 7.1 and have the same problem on all.
> 
> If I access Tomcat directly over Port 8080 I CAN upload images into the
> image library.
> 
> If I access over Apache using mod_jk I cannot upload any images and get the
> Java Exception:
> 
> 
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> 	at java.lang.RuntimeException.(RuntimeException.java:49)
> 	at java.lang.IndexOutOfBoundsException.(IndexOutOfBoundsException.java:46)
> 	at
> java.lang.StringIndexOutOfBoundsException.(StringIndexOutOfBoundsException.j
> ava:59)
> 	at java.lang.StringBuffer.setLength(StringBuffer.java:244)
> 	at
> com.opencms.core.CmsMultipartInputStreamHandler.readLine(CmsMultipartInputSt
> reamHandler.java:117)
> 	at
> com.opencms.core.CmsRequestHttpServlet.readNextPart(CmsRequestHttpServlet.ja
> va:516)
> 	at
> com.opencms.core.CmsRequestHttpServlet.readRequest(CmsRequestHttpServlet.jav
> a:658)
> 	at com.opencms.core.CmsRequestHttpServlet.(CmsRequestHttpServlet.java:135)
> 	at com.opencms.core.OpenCmsHttpServlet.doPost(OpenCmsHttpServlet.java:511)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at com.opencms.boot.OpenCmsServlet.service(OpenCmsServlet.java:106)
> 	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> 	at org.apache.tomcat.core.Handler.service(Handler.java:286)
> 	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> 	at
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> 7)
> 	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> 	at
> org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection
> (Ajp13ConnectionHandler.java:160)
> 	at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> 	at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> 	at java.lang.Thread.run(Thread.java:498)
> 
> Does anyone using Tomcat have this problem or know what is going on here?
> 
> Regards,
> 
> Simon.
>  


______________________________________________________________________________
Sie surfen im Internet statt im Meer? Selbst schuld!
Auf zum Strand: http://lastminute.de/?PP=1-0-100-105-1




More information about the opencms-dev mailing list