Hey thanks, However I have a whole new set of issues that led me to get Tomcat6 working. I found /Library/LaunchDaemns/org.apache.tomcat.tomcat6.plist which I believe was launching and calling an older version of Tomcat. So, I renamed it so it wouldn't be called. In that dir there is also symbolic links to org.macports.tomcat6.plist and org.macports.apache2.plist. This looks more what I would expect. Now when i go to localhost:8080, I get a blank page with no errors. After a little digging on Nabble I found that a blank page means the port is in use. I checked tomcat/logs/catalina.err and sure enough it said "Jan 19, 2009 3:02:12 PM org.apache.catalina.startup.Catalina start SEVERE: Catalina.start: LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Address already in use<null>:8080" I tried changing the port to 8081 in the tomcat6/conf/server.xml and now I get the index.html page that I expect. I can edit it and know for sure that it's accessing the right pages!
As a side, I did not explicitly set JAVA_HOME, CATALINA_HOME or any other env variable. So, the big takeaway here is: 1) REMOVE ALL TRACES of earlier versions of tomcat 2) sudo port install tomcat6 , it works 3) for basic installs you have view http://localhost:8080 4) A blank page there means some other program is already using that port For my next trick, figuring out how to configure mod_jk Edoardo Panfili wrote: > > gbhumphrey ha scritto: >> Hi all, I've used macports to install tomcat6, and when I go to >> localhost:8080, I see the welcome the page. However severl things I think >> are odd are happening: >> 1) The files are all read-only - I have to change the perms on the >> tomcat6/webapps/ROOT/index.html to edit it. >> 2) I was editing it to see if it's the right file, the one at >> localhost:8080/index.html, however when I changed some text, no changes >> were >> shown in the browser >> 3) With no macports install at all, I can still go to localhost:8080 and >> get >> the welcome page, which doesnt change on eidting. >> It's almsot like theer is another index.html page in another tomcat >> install, >> but I can't find it. >> Any ideas? > If this can help > I'm using tomcat 6.0.18 under 10.5.6 without macports in my developer > environment. Simply download tomcat from Apache site. > - Tomcat is in /usr/local/tomcat > - in /System/Library/StartupItems there is a startup script for tomcat > (I can send it if you want) but I think that in newer versions of Mac > OS X (after 10.4) there is a better way to do automatic startup (I don't > know it). > - the root is the owner of the process, my user can write on webapps > folder. > > > Edoardo > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://www.nabble.com/Super-newbie---Install-on-Apple-10.5.6-w-macports-not-quite-working-tp21549029p21553898.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org