cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Rubin Ayma" <Ia...@mcsla.com.ar>
Subject RE: how to add extra classes into cocoon's classpath?
Date Wed, 30 Jan 2002 16:35:38 GMT
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:Alban.Tsui@COGNOS.com]
Enviado el: miƩrcoles, 30 de enero de 2002 13:28
Para: cocoon-users@xml.apache.org
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:Iayma@mcsla.com.ar]
> Sent: 30 January 2002 16:08
> To: cocoon-users@xml.apache.org
> 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:Alban.Tsui@COGNOS.com]
> Enviado el: miƩrcoles, 30 de enero de 2002 12:57
> Para: cocoon-users@xml.apache.org
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 
> 
> ---------------------------------------------------------------------
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 

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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message