On Fri, Dec 5, 2008 at 10:01 AM, Megha Agarval <[EMAIL PROTECTED]> wrote:
> Robert Burrell Donkin wrote:
>>
>> On Thu, Dec 4, 2008 at 9:06 AM, Megha Agarval <[EMAIL PROTECTED]> wrote:
>>>
>>> Hi,
>>>
>>> I am running the spring deployment version of James. The IMAP service
>>> starts
>>> on the required port but while accessing the mailbox I get the following
>>> exception:
>>>
>>> java.lang.ClassNotFoundException:
>>> org.apache.james.mailboxmanager.repository.MailboxManagerMailRepository
>>>
>>> In the config file I am using the following in the mailboxmanager block:
>>>
>>> <factory
>>>
>>> class="org.apache.james.mailboxmanager.torque.TorqueMailboxManagerFactory">
>>>
>>> Any ideas how to fix this ?
>>
>> if you're using an old assembly configuration (rather than vanilla
>> trunk) you need to update it. this is the current block:
>>
>>  <!-- IMAP server -->
>>  <block name="imapserver" class="org.apache.james.imapserver.ImapServer">
>>    <provide name="localusersrepository"
>> role="org.apache.james.api.user.UsersRepository"/>
>>    <provide name="sockets"
>>
>> role="org.apache.avalon.cornerstone.services.sockets.SocketManager"/>
>>    <provide name="connections"
>>             role="org.apache.james.socket.JamesConnectionManager"/>
>>    <provide name="thread-manager"
>>
>> role="org.apache.avalon.cornerstone.services.threads.ThreadManager"
>> />
>>    <provide name="dnsserver"
>> role="org.apache.james.api.dnsservice.DNSService"/>
>>    <provide name="James" role="org.apache.james.services.MailServer"/>
>>    <provide name="filesystem" role="org.apache.james.services.FileSystem"
>> />
>>  </block>
>>
>> - robert
>
> Hi Robert,
>
> I have the same configuration in assmbly.xml as you said.

it looks like an assembly issue. please try building again with a
vanilla configuration in both deployments. also, note that rebuilding
the sar and redeploying probably isn't good enough (any existing
configuration files are unlikely to be overwritten). please try again
with the packaged built artifact (it's in dist).

trunk exports and runs vanilla fine for me. please try a simple export
to a new location and then run ant dist smoke. this should build james
then run smoke tests.

- robert

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

Reply via email to