Joerg Heinicke wrote:
>
> On 10.10.2007 6:03 Uhr, marco bellacosa wrote:
>
>> I have also put the Sun mail.jar and activation.jar in my WEB-INF/lib,
>> but I
>> get the error:
>> ------------------------------------------------------------
>> org.apache.avalon.framework.component.ComponentException: Could not find
>> component (key [[JavaPackage org.apache.cocoon.mail.MailSender.ROLE]])
>
> Hmm, this looks suspicious. The ComponentManager should never get this
> string but only the actual constant ROLE, which is
> MailSender.class.getName(), so "org.apache.cocoon.mail.MailSender". Also
> the Cocoon sample at http://localhost:8888/samples/blocks/mail/sendmail/
> works for me out of the box (without placing the "real" jars into the
> lib dir only the actual sending failed).
>
> But I could reproduce your behavior by modifying the flowscript used for
> this example (note the wrong class name):
>
> Could not find component (key [[JavaPackage
> org.apache.cocoon.mail.Mailender.ROLE]])
>
> So obviously you seem to lack the MailSender class. Did you build your
> Cocoon with the mail block included?
>
> Joerg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
Hi Joerg,
sorry for the late answer, I had worst problems on my system (raid crash and
data lost) so I forgot to reply (not lucky weeks).
Yes, Cocoon was built with the mail block. I simply put again by hand the
files mail.jar and activation.jar into WEB-INF/lib as I got the error above.
Anyway, the error persists.
Thank you,
marco
--
View this message in context:
http://www.nabble.com/error-while-calling-component-MailSender-tf4599839.html#a13406021
Sent from the Cocoon - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]