|
|
Updated instructions for Apache and Tomcat
There is now a set of instructions on the apple developers web for using tomcat and apache on OSX:
http://developer.apple.com/internet/java/tomcat1.html I found a couple of things that need to be changed, but otherwise it seems pretty complete. For the installation and configuration of the Web applications module, mod_webapps, the instructions do not state that the mod_webapps.so file permissions need to be changed to make it executable: chmod +x mod_webapps.so I don't know if this is strictly required, but all the other shared libraries in this directory are marked executable. For the configuration of the mod_webapps module, there are instructions for the configuration of the httpd.conf file. There's a line in the file that looks something like this: WebAppConnection warpConnection warp localhost:8008 The specification of "localhost" may not work for your configuration unless you also have all line in the httpd.conf file that looks like this: ServerName localhost "localhost" is fine for a development server, but for production, you will want to replace "localhost" with the name of your server. There is an example of the ServerName configuration directive in the default Apache httpd.conf file that is commented out. The example shows how to configure Apache to serve up the Tomcat examples application. Per the example, the line of the configuration file httpd.conf that looks like: WebAppDeploy examples warpConnection /examples/ configures Apache to server up the Tomcat "examples" application. In order to serve up your own application you will have to add a similar line in the httpd.conf. For the example hello application on the Apple site, it would look like this: WebAppDeploy mine warpConnection /mine/ This will server the example hello application via apache at http://localhost/mine/Hi. This was the most important detail missing from the example: you must have a WebAppDeploy configuration directive in the httpd.conf file for every Tomcat application you wish to serve through Apache.
Trouble with linking Apach + Tomcat
When I try to launch apache I get: |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.12 seconds |
|