I tried this but now I get the following:

java.lang.ClassNotFoundException: org.apache.cocoon.servlet.CocoonServlet
           at
com.caucho.util.DynamicClassLoader.loadClass(DynamicClassLoader.java:377)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
           at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
           at java.lang.Class.forName0(Native Method)
           at java.lang.Class.forName(Class.java:195)
           at com.caucho.util.CauchoSystem.loadClass(CauchoSystem.java:359)
           at
com.caucho.server.http.Application.createServlet(Application.java:2146)
           at
com.caucho.server.http.Application.loadServlet(Application.java:2091)
           at
com.caucho.server.http.Application.getFilterChainServlet(Application.java:1934)

           at
com.caucho.server.http.Application.buildFilterChain(Application.java:1913)
           at
com.caucho.server.http.Invocation.service(Invocation.java:270)
           at
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:128)
           at
com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:334)
           at
com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:266)

           at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
           at java.lang.Thread.run(Thread.java:484)

How and where do I set my class path so that the cocoon servlet is found?

Thanks again,
joy


                                                                                       
    
                    steve@es-mark                                                      
    
                    eting.com            To:     [EMAIL PROTECTED]           
    
                                         cc:                                           
    
                    07/23/01             Subject:     RE: Cocoon2, Resin2.0, and IIS   
    
                    09:39 AM                                                           
    
                    Please                                                             
    
                    respond to                                                         
    
                    cocoon-users                                                       
    
                                                                                       
    
                                                                                       
    




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]>






---------------------------------------------------------------------
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