avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: File_Persistent_Stream_Repository in James Exception
Date Fri, 31 May 2002 02:46:13 GMT
Hi,

As Juozas noted it means that the name that James is passing the 
StreamRepository is too long. From a brief look at James that looks like 
james.core.MailImpl.getName() is returning a name that is too long. Perhaps 
it would be better to store the mail based on mail id instead?


On Fri, 31 May 2002 06:03, Andrei Ivanov wrote:
> Hi,
> I am performing James load test (James runs with Phoenix 4.0a4 and uses
> file repository). Every time when request rate becomes so high that not all
> socket connections (incoming mail) can be made, James crashes. The
> exception is below. It reports that there is not enough space on the disk
> though disk space is ok. Has anyone had similar exceptions with Avalon file
> and stream repositories?
>
> Andrei
>
> java.lang.RuntimeException: Exception caught while storing Message
> Container: java.lang.RuntimeException: Exce
> ption caught while storing a stream : java.io.FileNotFoundException:
> C:\TEMP\james\phoenix-bin\apps\james\var\
> mail\spool\4D61696C313032323738343637353630302D393533302D213838313831343831
>3 22D746F2D7375
> 726665752E66692D213335303333303033362D746F2D7375726665752E66692D21313932393
>6 39363635.Repository0.FileStreamSto
> re (There is not enough space on the disk)
>         at
> org.apache.james.mailrepository.AvalonMailRepository.store(AvalonMailReposi
>t ory.java:218)
>         at
> org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:204
>) at
> org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java
>: 242)
>         at
> org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:209
>) at
> org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Executab
>l eRunnable.java:47)
>         at
> org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:
>8 0)
> java.lang.RuntimeException: Exception caught while storing Message
> Container: java.lang.RuntimeException: Exce
> ption caught while storing a stream : java.io.FileNotFoundException:
> C:\TEMP\james\phoenix-bin\apps\james\var\
> mail\outgoing\4D61696C313032323738343637393734362D393533332D213130383839393
>4 3631372D7
> 46F2D7375726665752E6669.Repository8.FileStreamStore (There is not enough
> space on the disk)
>         at
> org.apache.james.mailrepository.AvalonMailRepository.store(AvalonMailReposi
>t ory.java:218)
>         at
> org.apache.james.transport.mailets.RemoteDelivery.service(RemoteDelivery.ja
>v a:408)
>         at
> org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:183
>) at
> org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java
>: 242)
>         at
> org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:209
>) at
> org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Executab
>l eRunnable.java:47)
>         at
> org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:
>8 0)
> java.lang.NullPointerException

-- 
Cheers,

Peter Donald
Einstein argued that there must be simplified explanations of nature, because
God is not capricious or arbitrary.  No such faith comforts the software
engineer.
- Fred Brooks, Jr.


--
To unsubscribe, e-mail:   <mailto:avalon-phoenix-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-phoenix-dev-help@jakarta.apache.org>


Mime
View raw message