I'm trying to upgrade from 2.1.3 to RC3 and am getting exceptions trying to
receive mail.

I did the upgrade close the description in the FAQ except that I created an
entirely separate directory like I would for a new installation.  Then I
renamed the var directory and copied the old one over.  I copied my
config.xml over.  James wouldn't start at that point.  I then compared the
old/new config files and ended up updating the new one because of the
differences.

James now comes up fine, but I can't receive email.  It goes through the
various matchers until it gets to local delivery.  At that point I get:

16/05/04 13:08:52 DEBUG mailstore: obtained repository:
org.apache.james.mailrepository.AvalonMailRepository to handle: file,MAIL
16/05/04 13:08:52 DEBUG mailstore: AvalonMailRepository.destinationURL:
file://var/mail/inboxes/billp/
16/05/04 13:08:52 ERROR mailstore: Failed to retrieve Store component:For
input string: "Co"
java.lang.NumberFormatException: For input string: "Co"
        at java.lang.NumberFormatException.forInputString(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at java.lang.Byte.parseByte(Unknown Source)
        at
org.apache.james.mailrepository.filepair.AbstractFileRepository.decode(Abstr
actFileRepository.java:359)
        at
org.apache.james.mailrepository.filepair.AbstractFileRepository.list(Abstrac
tFileRepository.java:310)
        at
org.apache.james.mailrepository.AvalonMailRepository.initialize(AvalonMailRe
pository.java:133)
        at org.apache.james.core.AvalonMailStore.select(AvalonMailStore.java:300)
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at
org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invo
ke(BlockInvocationHandler.java:92)
        at $Proxy3.select(Unknown Source)
        at org.apache.james.James.getUserInbox(James.java:515)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at
org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invo
ke(BlockInvocationHandler.java:92)
        at $Proxy9.getUserInbox(Unknown Source)
        at org.apache.james.pop3server.POP3Handler.doPASS(POP3Handler.java:537)
        at
org.apache.james.pop3server.POP3Handler.parseCommand(POP3Handler.java:470)
        at
org.apache.james.pop3server.POP3Handler.handleConnection(POP3Handler.java:26
6)
        at
org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run
(ServerConnection.java:417)
        at
org.apache.james.util.thread.ExecutableRunnable.execute(ExecutableRunnable.j
ava:55)
        at org.apache.james.util.thread.WorkerThread.run(WorkerThread.java:90)



Bill Page
[EMAIL PROTECTED]




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

Reply via email to