Benjamin Reed [[EMAIL PROTECTED]] wrote:
> I've tried using PJA (the "Pure Java AWT" implementation) to trick it,
> but it doesn't seem to help. Does anyone have any ideas on this?
> Cocoon works great, as root, but there's no way I'm gonna leave tomcat
> as a root user...
OK, after more digging, it appears that it's essentially impossible to
accomplish what I'm doing. I'm going to have to wait for a version of
PJA that can completely spoof the AWT display functions on OSX, or wait
for apple to fix the AWT calls (I've seen references to this being a
known issue that's being worked on, but they've released a new java
since then and it still happens, so...)
My question is, is it acceptable for me to do the following?
1. I modify my tomcat startup wrapper script to have a configuration file
that allows you to set the startup user.
2. Tomcat installs, is configured to run as 'tomcat' by default, with
a nice big warning in the info that says 'if you use any code that
tries to use awt classes in your servlets, tomcat will die! This
includes cocoon!'
3. Cocoon installs, and then spits out a big fat full-screen warning that
says "this won't work until you change the user!", and point to
instructions that talk about what happens.
Is that warning enough, or do you think there will still be problems?
The alternative is tomcat running as root, which is evil, but solves all
of these problems. I'm trying to avoid something this hackish, but I
don't know if there's a way that's not going to cause a bunch of people
e-mailing me telling me cocoon is broken. =)
--
Benjamin Reed a.k.a. Ranger Rick ([EMAIL PROTECTED]) http://ranger.befunk.com/
Is it considered bad form to quote one's self in a .sig? -- Me
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel