Team Elements

Status: Caution PostgreSQL Open Source Initiative (OSI) Java
PUBLIC PROFILE

Back to topics

Issues and Open Discussion

File Library user permission

You need to be logged in to post messages

File Library user permission

2/13/2008 1:17 PM EST

Hi,

I've got Team Elements installed on a Windows 2003 virtual server. Last monday, our ISP executed some upgrades, which caused Team Elements' file library not to work anymore (documents can be downloaded, but uploaded fails and redirects to a blank page). Looking in Tomcat logs, I found an IOException about locking going timeout.
I'm pretty sure this is caused by removed permissions of the file library directory. I tried to give full control to the user who's running the Tomcat server (local service), but without results. I feel pretty stupid, but I can't really remember how I set it up initially (i.e. when it worked just fine).

Any suggestions please? :-)

Valerio

1. 2/13/2008 2:39 PM EST

Hi Valerio,

I think you're right that this is a permissions issue. The documents directory in the fileLibrary folder probably only has read permission assigned to the user running the Java process. And that would explain why downloading is fine, but uploads cause an error. Can you post the full details of the IOException from the log to help rule out other causes?

I don't know much about setting permissions on a Windows server, and if this is controlled by your ISP you may need to coordinate with them to get it resolved.

The following is a reference on remotely changing file permissions on window server (it's actually written for perl cgi applications, but the issue is the same for TeamElements and all other Java applications as well):
http://www.xav.com/scripts/installer/3008.html

2. 2/14/2008 8:04 AM EST

Hi Lorraine,

thanks for your prompt reply, anyway I solved the problem. Assigning full control to the user running Tomcat service was right but I also needed to stop and restart the Tomcat service.

Valerio.

2 results found