Hi Sparkey I think I have a fair idea why you guys need to run your develpment app on port 80 - its probably due to a lot of hardcoded urls. (ok i did see some of that codebase ;-) so what I recommend is to fix that - is use relative urls instead -> that are resolved around the application root. If you really can't do so, why not set up a single point in the app where you can configure it and be done with the pain. (i suggest a variable in the application context or something simple as prefix for all hardcoded urls..)
(Hope I'm right bout that one) C On Wed, Mar 5, 2008 at 6:08 PM, Mike Morris <[EMAIL PROTECTED]> wrote: > > Sparky wrote: > > (not sure about MacOS-specific stuff, but...) > > > > It looks like you need special privs to start Tomcat on a port under > > 1024. > > You do. > > > > I'm not too sure how I'm going to teach eclipse to run tomcat as root. > > Don't. (As pointed out by others.) Compile jsvc -- there's a > jar/zipfile in the tomcat distribution; compiling it is straightforward. > It starts up as root (say from an init script) and then dials down to > an ordinary user -- usually somthing like "tomcat", though I generally > use the same userid as apache. > > -- > mike morris :: mikro2nd (at) gmail (dot) com > > http://mikro2nd.net/ > http://mikro2nd.net/blog/planb/ > http://mikro2nd.net/blog/mike/ > > This email is [X]bloggable [ ]ask-first [ ]private > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CTJUG Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/CTJUG-Forum For the ctjug home page see http://www.ctjug.org.za -~----------~----~----~----~------~----~------~--~---
