10.2.6 and Tomcat.

Posted:
in Genius Bar edited January 2014
Hello!



Im interested in installing Tomcat on my computer (Okay, i need it for Uni). But a visit to jakarta.apache.org doesn't give me instructions for OS X, and I couldn't find Binaries on the site for OS X either.



I found this website at Apple:



http://developer.apple.com/internet/java/tomcat1.html



And i've gotten Tomcat to install and its running on port 8080. Now, im having trouble installing the apache module for it. On the apple website it states the following:



Quote:

Please also note that ServerName must be defined. If you don't have a fully qualified domain name for your server, you can set ServerName to "localhost".



LoadModule webapp_module libexec/httpd/mod_webapp.so



AddModule mod_webapp.c



# port 8008 is corret, not a typo

<IfModule mod_webapp.c>



<VirtualHost 127.0.0.1>

ServerName localhost

WebAppConnection warpConnection warp localhost:8008

WebAppDeploy examples warpConnection /examples/

</VirtualHost>



</IfModule>



This lets me restart the webserver. But accessing localhost/examples gives me the following error:



Quote:

WebApp: Error 404



(File: wa_request.c Line: 197)





Web-application not yet deployed



Any suggestions ? Any help is appreciated!



.:BoeManE:.
Sign In or Register to comment.