I'm on the same environment.

These are the two parameters I modified on
webapps/cocoon/WEB-INF/web.xml

    <init-param>
      <param-name>init-classloader</param-name>
      <param-value>true</param-value>
    </init-param>

    <init-param>
      <param-name>extra-classpath</param-name>
      <param-value>c:\Zeus</param-value>
    </init-param>

for using my own cocoon components.

I think the status page of cocoon shows the classpath cocoon is using,
and if it is ok, it have to be the way you invoke the classloader.

-----Mensaje original-----
De: Tsui, Alban [mailto:[EMAIL PROTECTED]]
Enviado el: miércoles, 30 de enero de 2002 13:28
Para: [EMAIL PROTECTED]
Asunto: RE: how to add extra classes into cocoon's classpath?


I have tried the instruction in web.xml but it doesn't seem to work. 

>From what I have seen, cocoon can only pick up classes from the WEB-INF
folder regardless to what I put in the class path section of web.xml. Is
this a bug?

I am running cocoon on tomcat 4.0.1 on winNT.

> -----Original Message-----
> From: Ivan Rubin Ayma [mailto:[EMAIL PROTECTED]]
> Sent: 30 January 2002 16:08
> To: [EMAIL PROTECTED]
> Subject: RE: how to add extra classes into cocoon's classpath?
> 
> 
> With Tomcat WEB-INF/web.xml there's an init-param, commented with de
> default distribution, to add classes to the cocoon's classpath. 
> 
> You should check the class-loader param for Cocoon to use its 
> own class
> loader if you keep on having problemas loading classes.
> 
> -----Mensaje original-----
> De: Tsui, Alban [mailto:[EMAIL PROTECTED]]
> Enviado el: miércoles, 30 de enero de 2002 12:57
> Para: [EMAIL PROTECTED]
> Asunto: how to add extra classes into cocoon's classpath?
> 
> 
> Hi
> 
> I have no idea add extra classes into cocoon's classpath. Any help?
> 
> Alban
> 
> This message may contain privileged and/or confidential 
> information.  If
> you
> have received this e-mail in error or are not the intended recipient,
> you
> may not use, copy, disseminate or distribute it; do not open any
> attachments, delete it immediately from your system and notify the
> sender
> promptly by e-mail that you have done so.  Thank you.
> 
> ---------------------------------------------------------------------
> 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]>
> 

This message may contain privileged and/or confidential information.  If
you
have received this e-mail in error or are not the intended recipient,
you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the
sender
promptly by e-mail that you have done so.  Thank you.

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