Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old September 7th, 2002, 04:35 PM
paulx82 paulx82 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Brisbane, Australia
Posts: 19 paulx82 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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>

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > Install Cocoon with Apache httpd-Tomcat-mod_webapp Win 98


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway