Bug#545674: tomcat6: Crashes when trying to run a web app, including admin
Heikki Levanto
heikki at indexdata.dk
Thu Sep 10 10:01:23 UTC 2009
On Thu, Sep 10, 2009 at 10:57:24AM +0200, Heikki Levanto wrote:
>
> On Wed, Sep 09, 2009 at 09:24:12PM +0200, Marcus Better wrote:
> > You can add the appropriate permissions in /etc/tomcat6/policy.d, but
> > actually I have no idea how it could work on 6.0.20-2 if the rules were
> > not there in the first place.
>
> Well, that rule *is* there in the default installation. The problem
> seems to be that something prevents it reading any policy files, and
> *any* web applications from running!
> ...
> I suspect there is something fishy with file permissions and/or the way
> the policy.d is concatenated into a single policy file (that seems to
> be Debian-specific), but I haven't been able to debug it further.
I suspected wrong. Adding this entry to some file in policy.d makes the
security manager work:
grant {
permission java.security.AllPermission;
};
So, the files are being concatenated and read all right.
Now I am ready to accept the bug as belonging to the tomcat6-admin. We
may have another problem with our own application, but that is not a
problem for you.
--
Heikki Levanto heikki at indexdata dot dk "In Murphy We Turst"
More information about the pkg-java-maintainers
mailing list