Me again,

I solved the problem - apparently James didn't like the installation of the 
James-Source into the same directory after installing the James binaries ... seems to 
be a class inconsistency problem, as the written MailImpl-Object cannot be read in by 
stream.read() again in this case. When James is installed without the source, it works 
fine :-).

Ciao,
Matthias


>>> Matthias Fesich<[EMAIL PROTECTED]> 10/17/02 06:54pm >>>
Hi all,

I just installed James 2.0a3-cvs on my PC (Windows 2000), added a user and inserted 
the DNS server address into the config.xml. Starting up with run.bat is working fine, 
but as soon as I send myself an email to myuser@[<my_ip_adress] I get a 
NullPointerException in the JamesSpoolManager.run procedure (line 207, that's when the 
mail.getName() function is called:
                MailImpl mail = spool.retrieve(key);
                getLogger().info("==== Begin processing mail "
                                 + mail.getName() + " ====");
)

The following is the error stack:
java.lang.NullPointerException
        at org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:207)
        at 
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:47)
        at 
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:86)

The result is, that although the james.log tells me
'1034873030704 [INFO   ] (James): Mail Mail1034873030494-0 pushed in spool'
there is no mail saved anywhere ...

The smtpserver.log looks alright, too:

1034873029963 [INFO   ] (smtpserver): Connection from cpl-upo-mail1.cpl.xxx.com 
(143.2.74.57)
1034873030083 [INFO   ] (smtpserver): Command received: EHLO cpl-emea-mail1.cpl.xxx.com
1034873030183 [INFO   ] (smtpserver): Command received: MAIL FROM:<[EMAIL PROTECTED]>
1034873030283 [INFO   ] (smtpserver): Command received: RCPT TO:<mf@[129.23.78.249]>
1034873030383 [INFO   ] (smtpserver): Command received: DATA
1034873030704 [INFO   ] (smtpserver): Mail sent to Mail Server
1034873030794 [INFO   ] (smtpserver): Command received: QUIT

But the spoolmanager.log says:

1034872888169 [INFO   ] (spoolmanager): run JamesSpoolManager: default Worker #10
1034872888179 [INFO   ] (spoolmanager): 
spool=org.apache.james.mailrepository.AvalonSpoolRepository
1034873030734 [ERROR  ] (spoolmanager): Exception in JamesSpoolManager.run null



As James is running everywhere else apparently ;-), I suppose it's a configuration 
problem or something. Can anybody offer any help?

Thanx in advance and

Bye,
Matthias



-> Matthias Fesich <-

 /\/\       Cambridge Technology Partners 
/ /  \      (a division of Novell Inc.)
\ / /      Monschauer Strasse 12
 \/\/       40549 Düsseldorf, Germany

Mobil:    +49 (0)160 4756563
Email:    [EMAIL PROTECTED] 


--
To unsubscribe, e-mail:   <mailto:james-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:james-user-help@;jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:james-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:james-user-help@;jakarta.apache.org>

Reply via email to