Trying to deploy a grails application in Ubuntu/Debian tomcat 5.5
Henning Sprang
henning.sprang at gmail.com
Thu Aug 21 12:28:41 BST 2008
Hi,
On Thu, Aug 21, 2008 at 8:12 AM, Stephan Hermann <sh at sourcecode.de> wrote:
> good to see you here on the list :)
Yes, it's a while ago :)
> I saw this behaviour some time ago, too.
>
> First, check your security settings. When you use the sun jdk you have
> the security manager in place, which you can find somewhere under
> /etc/tomcat5.5/policy.d/
Hmm, ah, I see. With upstream Tomcat, this is usually turned off by
default, and it seems Debian/Ubuntu tomcat has it turend on to be
prepared for multi-client webapp hosting.
Never saw that in action as we usually have only self-built webapps on
internal appservers...
> You can try to adjust the settings in 03catalina.policy or much better
> the debian way ;) in 05user.policy.
Hmm, yes. Looks quite complex - any hint to docs about setting this up
correctly? (I found one,
http://tomcat.apache.org/tomcat-5.5-doc/security-manager-howto.html -
seems good, but any other hints are welcome)
Usually I'd like to allow all webapps that they should be able to
access at least all of their own resources (e.g. no restriction on
anything that is below webapps/<MAYWEBAPPNAME> for each webapp. Is
something like that possible, or do I always need to add a new policy
entriy for every new webapp (despite of turning the security manager
off until I do multi-client hosting or something like that on a single
tomcat, which probably will never happen)?
Henning
--
Henning Sprang
http://www.sprang.de | http://lazyb0y.blogspot.com/
More information about the Ubuntu-motu
mailing list