Hi, With Cocoon2, Resin 2.0 IIS 5.0

1. Make Sure there is a virtual directory to scripts under the web site.
2. Cocoon goes in %RESIN_HOME%\web-apps
3. Point IIS at (in this case) c:\inets\resin\www\  
Below the Resin conf File I used to get it to work


<caucho.com>
<java compiler="javac" compiler-args="" work-dir='work'/>
<jsp precompile='true' static-encoding='true' recompile-on-error='true'/>
<http-server>
<app-dir>c:\inets\resin\www</app-dir>
<http port='8080'/>
<srun host='resin.es-s.net' port='6802'/>
<host id='resin.es-s.net'>
<war-dir id='webapps'/>
<web-app id='/' />
<servlet-mapping url-pattern='*.jsp'
servlet-name='com.caucho.jsp.JspServlet'/>
<servlet-mapping url-pattern='*.xml'
servlet-name='org.apache.cocoon.servlet.CocoonServlet'/>
<servlet-mapping url-pattern='/cocoon/*'
servlet-name='org.apache.cocoon.servlet.CocoonServlet'/>
</host>
<host id='c2.xtoad.net'>
<war-dir id='webapps'/>
<web-app id='/' />
<servlet-mapping url-pattern='/cocoon/*'
servlet-name='org.apache.cocoon.servlet.CocoonServlet'/>
</host>
<host id='cocoon2.xtoad.net'>
<war-dir id='webapps'/>
<web-app id='/' />
<servlet-mapping url-pattern='/cocoon/*'
servlet-name='org.apache.cocoon.servlet.CocoonServlet'/>
</host>
</http-server>
</caucho.com>
 
Regards

Steve


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 23, 2001 3:22 PM
To: [EMAIL PROTECTED]
Subject: Cocoon2, Resin2.0, and IIS


Does any one have this combination working?  I am not sure how to set up
the Cocoon folder.  When I run resin with the default home of doc, Cocoon
runs fine.  Now I am trying to use the IIS home of
Inetpub/wwwroot/Application root.  But I am not sure where Cocoon should be
placed.  Any help would be greatly appreciated.

Thanks,
Joy


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to