Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MessageBundler creating temp files in wrong place on Tomcat #224

Closed
rebrendler opened this issue Jul 18, 2014 · 1 comment
Closed

MessageBundler creating temp files in wrong place on Tomcat #224

rebrendler opened this issue Jul 18, 2014 · 1 comment

Comments

@rebrendler
Copy link

MessageBundler seems to be creating temp files in the CATALINA_BASE directory, rather than in the CATALINA_TEMP directory. When running under a "normal" tomcat installation on CentOS (yum install tomcat6), the CATALINA_BASE directory is owned by root, so I am getting "permission denied" errors.

19:17:56,340 ERROR [CdfContentGenerator] Error creating cdf content:
java.io.FileNotFoundException: tempMessageFile_1405711076336 (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:221)
at java.io.FileWriter.(FileWriter.java:107)
at org.pentaho.cdf.localization.MessageBundlesHelper.appendMessageFiles(MessageBundlesHelper.java:139)
at org.pentaho.cdf.localization.MessageBundlesHelper.appendMessageFiles(MessageBundlesHelper.java:114)

I have verified that changing the owner of CATALINA_BASE to the tomcat user makes these errors go away.

@pamval
Copy link
Contributor

pamval commented Jul 21, 2014

cdf issues are tracked at jira.pentaho.com.

Opened an issue there for this bug: http://jira.pentaho.com/browse/CDF-325.

Closing the github issue.

thanks for the feedback!

@pamval pamval closed this as completed Jul 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants