|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Install Cocoon with Apache httpd-Tomcat-mod_webapp Win 98
I am using mod_webapp to integrate Tomcat with Apache. I am now trying to install Cocoon. I have placed the cocoon.war in tomcat/webapps directory, but Tomcat does not compile cocoon.war when I point my browser to http://localhost/webapps/cocoon/ (I am using the alias /webapps/ for the Tomcat webapps directory)
I think the problem is that I am accessing http://localhost/webapps/cocoon/ on port 80 and not port 8080. However, when I access port 8080 I get a 404. Is there a way to access tomcat on port 8080 and still have it integrated with Apache with mod_webapp? This is my conf/server.xml file: <Server port="8005" shutdown="SHUTDOWN" debug="0"> <Service name="Tomcat-Apache"> <Connector className="org.apache.catalina.connector.warp.WarpConnector" port="8008" minProcessors="5" maxProcessors="75" enableLookups="true" appBase="webapps" acceptCount="10" debug="0"/> <!-- Replace "localhost" with what your Apache "ServerName" is set to --> <Engine className="org.apache.catalina.connector.warp.WarpEngine" name="localhost" debug="0"> <!-- Global logger unless overridden at lower levels --> <Logger className="org.apache.catalina.logger.FileLogger" prefix="apache_log." suffix=".txt" timestamp="true"/> <!-- Because this Realm is here, an instance will be shared globally --> <Realm className="org.apache.catalina.realm.MemoryRealm" /> </Engine> </Service> </Server> -------------- and relevant parts of apache httpd.conf: LoadModule webapp_module modules/extended/mod_webapp.so AddModule mod_webapp.c WebAppConnection warpConnection warp localhost:8008 WebAppDeploy examples warpConnection /examples Alias /webapps/ "C:/_/pre-configured_programs/tomcat/webapps/" <Directory "C:/_/pre-configured_programs/tomcat/webapps/"> Options Indexes MultiViews AllowOverride AuthConfig Order allow,deny Allow from all </Directory> |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Install Cocoon with Apache httpd-Tomcat-mod_webapp Win 98 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|