Meaningless Drivel is fun!*
The moose likes JForum and the fly likes NullPointer Upload (TomCat 5.5.15  + MySql 4.1.14nt) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "NullPointer Upload (TomCat 5.5.15  + MySql 4.1.14nt)" Watch "NullPointer Upload (TomCat 5.5.15  + MySql 4.1.14nt)" New topic
Author

NullPointer Upload (TomCat 5.5.15 + MySql 4.1.14nt)

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi Brothers,

We use JForum with tomcat 5.5.15, mysql 4.1.14 and JForum downloaded of CVS. We have an Exception when we upload an image.

Look the exception...



In the LOG there is not error.
[originally posted on jforum.net by Christopher Siqueira]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hmm.. well..

Try to create the "tmp" directory in the root path of your context, and give it full write access.

Let me know if that helps, so I can check why the CVS code is not handling that correctly.

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I use Windows 2003 Server and the directory exist and have all permissions.

I don't know what can be.
[originally posted on jforum.net by Christopher Siqueira]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
You said you're using the dev version, right?

Try these one:

http://www.jforum.net/beta/latest_dev.jsp

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I'm downloading, but i did undertand this. A ZIP file with all project? And the CVS? Ignore?

Override my files with this file?

I modify some lines of some class and if a override i will lost my updates.

What i do?

downloading....

Thanks again...
[originally posted on jforum.net by Christopher Siqueira]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
This zip file contains the latest cvs code, including the source code.

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I did try to extract this file but doesn't work. There is a problem with the file, i think so.

Did you extract this file before?

Ixi, when I try to upload the error image here the same error occured.


[originally posted on jforum.net by Christopher Siqueira]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Let's try again with smaller picture.


[originally posted on jforum.net by Christopher Siqueira]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NullPointer Upload (TomCat 5.5.15 + MySql 4.1.14nt)
 
Similar Threads
Possible Security Issue?
commons fileupload problem
JForum 2.1.6, Tomcat 5.5.4, JDK 1.5.0_04 installation fails!!
java.sql.SQLException
Issue with Tomcat config