Michael Valenty ha scritto:
> I wrote a simple MailRepository to work out the kinks, and I'm having trouble
> configuring James. I added the following to assembly.xml:
> 
> <block name="pop3server" class="org.apache.james.pop3server.POP3Server">
>       <provide name="mymailrespository"
> role="org.apache.james.services.MailRepository" />
>       ...
> </block>
> 
> ...
>       
> <block name="mymailrespository" class="com.mycompany.MyMailRepository"/>
> 
> When I start James, I get an error message stating "Missing BlockInfo for
> class com.mycompany.MyMailRepository".

You have to create a MyMailRepository.xinfo file to publish a block.
Btw I don't understand what are you trying to achieve: POP3Server does
not lookup a MailRepository object, so I don't see what the
configuration above is used for.

Stefano


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

Reply via email to