Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0004510
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] Z. Othersminorhave not tried2008-07-25 00:222022-10-19 17:29
ReportershuehnerView Statuspublic 
Assigned Tormorley 
PrioritynormalResolutionout of dateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava versionopenjdk-6
OS VersionUbuntu 8.03Database versionAnt version
Product Version2.40betaSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0004510: Problem with java SecurityManager while deploying war file in tomcat

DescriptionAfter installing 2.40beta on Ubunu 8.04 there are some errors while deploying the war file which prevent the deployment:

Root cause is:java.security.AccessControlException: access denied (java.io.FilePermission /var/lib/tomcat5.5/webapps/openbravo/WEB-INF/classes/logging.properties read)

Issue was reported on irc from
boritek_

Disabling the java-SecurityManager in /etc/default/tocmat5.5 did work as a workaround for the issue.
Proposed SolutionCheck if the policy file for openbravo should include this propery file
or document that disabling the securiy manager is needed.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0004900 closedjpabloae Problem with java SecurityManager while deploying war file in tomcat 

-  Notes
(0008401)
shuehner (administrator)
2008-07-25 00:25

The complete catalina logfile from tomcat from the reporter is currently available on http://pastebin.org/56847. [^]
(0008468)
shuehner (administrator)
2008-08-02 13:41

The same problem occured with a least two other installations on ubuntu. The same workaround worked for the time being.
(0008469)
mjfahmi (reporter)
2008-08-02 16:18

here is my catalina logfile , my installation is ubuntu 8.04 , jdk 1.5 , tomcat 5.5 ,
workaround worked
(0008533)
shuehner (administrator)
2008-08-12 12:12
edited on: 2008-08-12 12:12

This seems to be caused by a more tight security policy in some tomcat versions. The debian bug 461355 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=461355 [^] looks a bit more into the issue, but has no clear solution yet.

(0008707)
jpabloae (reporter)
2008-08-23 00:04
edited on: 2008-08-23 00:05

This issue is documented in the Openbravo ERP environment installation, and proposes creating a policy file granting all the permissions for this context:

http://wiki.openbravo.com/wiki/Openbravo_environment_installation#Debian_.28Ubuntu.2FKubuntu.2FLinux_Mint.29_4 [^]

I lower the severity to minor.

(0012474)
jpabloae (reporter)
2009-01-21 18:03

As following the official documentation leads to a successful installation in Debian/Ubuntu, I mark this as a feature request.
(0142319)
shuehner (administrator)
2022-10-19 17:29

Openbravo doesn't support running with java security manager.
Also security manager is being deprecated/removed from java itself in the latest versions.
Closing as out of date

- Issue History
Date Modified Username Field Change
2008-07-25 00:22 shuehner New Issue
2008-07-25 00:22 shuehner Assigned To => cromero
2008-07-25 00:22 shuehner sf_bug_id 0 => 2027262
2008-07-25 00:25 shuehner Note Added: 0008401
2008-07-30 11:03 psarobe Status new => scheduled
2008-07-30 11:03 psarobe Assigned To cromero => jpabloae
2008-07-30 11:03 psarobe fix_in_branch => trunk
2008-08-02 13:41 shuehner Note Added: 0008468
2008-08-02 16:18 mjfahmi Note Added: 0008469
2008-08-12 12:12 shuehner Note Added: 0008533
2008-08-12 12:12 shuehner Note Edited: 0008533
2008-08-23 00:04 jpabloae Note Added: 0008707
2008-08-23 00:04 jpabloae Severity major => minor
2008-08-23 00:04 jpabloae fix_in_branch trunk =>
2008-08-23 00:05 jpabloae Note Edited: 0008707
2009-01-21 18:03 jpabloae Note Added: 0012474
2009-01-21 18:03 jpabloae Assigned To jpabloae => pjuvara
2009-01-21 18:03 jpabloae Type defect => feature request
2011-02-04 09:15 jpabloae Assigned To pjuvara => rmorley
2022-10-19 17:29 shuehner Note Added: 0142319
2022-10-19 17:29 shuehner Status scheduled => closed
2022-10-19 17:29 shuehner Resolution open => out of date


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker