[server-admins] Forum upgrade

DM Smith dmsmith at crosswire.org
Sun Feb 6 11:52:09 MST 2011


I think I've got this fixed. The problem was that tomcat sets the java.io.tmpdir=$CATALINA_BASE/temp, but the directory didn't exist for sites 1 - 4.

I've created the temp directory for them.

Let me know if it works now?

In Him,
	DM

On Feb 6, 2011, at 1:27 PM, Manfred Bergmann wrote:

> Postponing the upgrade to early next week.
> The procedure is unclear to whether database upgrades are necessary for version 1.3 of the forum.
> Awaiting some answers from the developers first.
> 
> Currently we have a strange issue in the forum. The captcha image is not visible. So right now no one will be able to register.
> Found this in the logs:
> 
> ---------------
> 22987 ERROR [TP-Processor1] user.UserModuleProcessor - Exception in UserModuleProcessor [javax.imageio.IIOException] : Can't create output stream!
> javax.imageio.IIOException: Can't create output stream!
>    at javax.imageio.ImageIO.write(ImageIO.java:1560)
>    at com.mvnforum.common.MVNCaptchaService.writeCaptchaImage(MVNCaptchaService.java:198)
>    at com.mvnforum.user.UserModuleProcessor.process(UserModuleProcessor.java:347)
>    at com.mvnforum.user.ForumUserServlet.process(ForumUserServlet.java:185)
>    at com.mvnforum.user.ForumUserServlet.doGet(ForumUserServlet.java:96)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>    at net.myvietnam.mvncore.servlet.filter.CompressionFilter.doFilter(CompressionFilter.java:234)
>    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
>    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
>    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
>    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
>    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
>    at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
>    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
>    at java.lang.Thread.run(Thread.java:662)
> Caused by: javax.imageio.IIOException: Can't create cache file!
>    at javax.imageio.ImageIO.createImageOutputStream(ImageIO.java:397)
>    at javax.imageio.ImageIO.write(ImageIO.java:1558)
>    ... 24 more
> Caused by: java.io.IOException: No such file or directory
>    at java.io.UnixFileSystem.createFileExclusively(Native Method)
>    at java.io.File.checkAndCreate(File.java:1704)
>    at java.io.File.createTempFile(File.java:1792)
>    at javax.imageio.stream.FileCacheImageOutputStream.<init>(FileCacheImageOutputStream.java:71)
>    at com.sun.imageio.spi.OutputStreamImageOutputStreamSpi.createOutputStreamInstance(OutputStreamImageOutputStreamSpi.java:50)
>    at javax.imageio.ImageIO.createImageOutputStream(ImageIO.java:393)
>    ... 25 more
> ---------------
> 
> 
> Looks like the captcha image is attempted to be stored to a temp folder but this fails.
> Not sure though where mvnforum is trying to store the image.
> 
> 
> 
> Manfred
> 
> _______________________________________________
> server-admins mailing list
> server-admins at crosswire.org
> http://www.crosswire.org/mailman/listinfo/server-admins




More information about the server-admins mailing list