This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: NullPointer Upload (TomCat 5.5.15 + MySql 4.1.14nt)