avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juozas Baliuka" <bali...@mail.lt>
Subject Re: File_Persistent_Stream_Repository in James Exception
Date Thu, 30 May 2002 20:24:21 GMT
It is from win32 SDK documentation:
"lpFileName
Points to a null-terminated string that specifies the name of the object
(file, pipe, mailslot, communications resource, disk device, console, or
directory) to create or open.

If *lpFileName is a path, there is a default string size limit of MAX_PATH
characters. This limit is related to how the CreateFile function parses
paths.
Windows NT: You can use paths longer than MAX_PATH characters by calling the
wide (W) version of CreateFile and prepending "\\?\" to the path. The "\\?\"
tells the function to turn off path parsing. This lets you use paths that
are nearly 32,000 Unicode characters long. You must use fully-qualified
paths with this technique. This also works with UNC names. The "\\?\" is
ignored as part of the path. For example, "\\?\C:\myworld\private" is seen
as "C:\myworld\private", and "\\?\UNC\tom_1\hotstuff\coolapps" is seen as
"\\tom_1\hotstuff\coolapps"

----- Original Message -----
From: "Andrei Ivanov" <myfam@surfeu.fi>
To: "Avalon-Phoenix Developers List" <avalon-phoenix-dev@jakarta.apache.org>
Sent: Thursday, May 30, 2002 10:03 PM
Subject: File_Persistent_Stream_Repository in James Exception


> 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\4D61696C313032323738343637353630302D393533302D2138383138313438313
> 22D746F2D7375
>
726665752E66692D213335303333303033362D746F2D7375726665752E66692D213139323936
> 39363635.Repository0.FileStreamSto
> re (There is not enough space on the disk)
>         at
>
org.apache.james.mailrepository.AvalonMailRepository.store(AvalonMailReposit
> 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(Executabl
> 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\4D61696C313032323738343637393734362D393533332D2131303838393934
> 3631372D7
> 46F2D7375726665752E6669.Repository8.FileStreamStore (There is not enough
> space on the disk)
>         at
>
org.apache.james.mailrepository.AvalonMailRepository.store(AvalonMailReposit
> ory.java:218)
>         at
>
org.apache.james.transport.mailets.RemoteDelivery.service(RemoteDelivery.jav
> 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(Executabl
> eRunnable.java:47)
>         at
>
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:8
> 0)
> java.lang.NullPointerException
>
>
>
> --
> 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>
>


--
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