QueueMetrics > QueueMetrics installation

File sql: not found

<< < (2/3) > >>

silmaril:

Ok so it is most probably a SecurityPolicy issue.
When i start tomcat without security manager things works

Here are the rules i've added for queuemetrics so far:

grant codeBase "file:/usr/share/tomcat5.5-webapps/queuemetrics/-" {
 permission java.net.SocketPermission "localhost:3306", "connect,resolve";
 permission java.io.FilePermission "/var/log/asterisk/queue_log", "read";
 permission java.util.PropertyPermission "*", "read,write";
};

QueueMetrics:
I really find this strange, as there is no different operation done when fetching data for the analysis versus loading, say, user prefrences from the database. Your suggested permissions are even excessive, as QM does not need write access to its own webapp. Still, if it's a security problem.... disable the security manager  ;D

silmaril:


--- Quote ---Your suggested permissions are even excessive, as QM does not need write access to its own webapp.
--- End quote ---

Well my permission surely did not allow that.
I added read/write permission to java property for the license.jsp page that was requesting it.


--- Quote ---Still, if it's a security problem.... disable the security manager  Grin
--- End quote ---

well, that's ... not an expected answer

QueueMetrics:
We are tracking this issue as bug #365. Some of our users reported that:


--- Quote ---grant {
  permission java.net.SocketPermission "localhost:3306", "connect,resolve";
  permission java.io.FilePermission "/var/log/asterisk/queue_log",    "read";
 permission java.security.AllPermission;
};
--- End quote ---

with the last permissin being used only to pass the DBTest.

silmaril:

--- Quote --- permission java.security.AllPermission;
--- End quote ---

Well, to me that's the same as removing the security manager.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version