This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

What have I messed up this time

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK- We have a 2.1.6 imeplementation that was working until a week or so ago

I now can't attach files on any new forums I create...

in some cases I don't get an option (for the entire forum)

in other cases I get the option but get an error 500 message when I try and upload any attachment

And then....all attachments also fail.

Sadly I don't administer the server only the forum, but I am assured nothing has been changed on the server in the past couple of weeks.

WTF is happening?
[originally posted on jforum.net by Dr J]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Dr J wrote:OK- We have a 2.1.6 imeplementation that was working until a week or so ago

I now can't attach files on any new forums I create...

in some cases I don't get an option (for the entire forum)

in other cases I get the option but get an error 500 message when I try and upload any attachment

And then....all attachments also fail.

Sadly I don't administer the server only the forum, but I am assured nothing has been changed on the server in the past couple of weeks.

WTF is happening?



Have you been monkeying around in the Admin console? Meaning, were you trying some things out and then things went south? Or, did the forum just start having these problems "on it's own?"

Speaking from experience, there have been MANY times people swear they didn't change anything on a server .. . only to find out in one case that they swapped out NICs, reteamed them, updated NIC & OS drivers, and blocked port 1433 (and this was on a MS SQL server). But they didn't touch anything ! ;-(
[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One quick thought is that someone deleted your "tmp" directory in the jForum webapp root directory. If this does not exists, you will get a NullPointerException relating to an "enableRollback() method.
[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I double-checked temporary directory and can confirm that <jforum_home>/WEB-INF/tmp directory exists and is writable by 'tomcat' user (under which Tomcat is running).
[originally posted on jforum.net by Dr J]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the tmp directory has to be under the jForum root directory. But there may be a config property that can change that.
[originally posted on jforum.net by monroe]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!