Hi all,
we have installed James-2.3.1 in an environment with SCA6000HSM
installed on.
Two 2 ago SCA6000 crashed and James began to return this error
during SMTP dialog after data command
java.security.ProviderException: nextBytes()
failed
at
sun.security.pkcs11.P11SecureRandom.engineNextBytes(P11SecureRandom.java:96)
at
java.security.SecureRandom.nextBytes(SecureRandom.java:413)
at java.security.SecureRandom.next(SecureRandom.java:435)
at java.util.Random.nextLong(Random.java:279)
at java.io.File.generateFile(File.java:1321)
at java.io.File.createTempFile(File.java:1430)
at java.io.File.createTempFile(File.java:1467)
at
org.apache.james.core.MimeMessageInputStreamSource.<init>(MimeMessageInputStreamSource.java:75)
at
org.apache.james.core.MailImpl.<init>(MailImpl.java:181)
at
org.apache.james.smtpserver.DataCmdHandler.processMail(DataCmdHandler.java:266)
at
org.apache.james.smtpserver.DataCmdHandler.doDATA(DataCmdHandler.java:133)
at
org.apache.james.smtpserver.DataCmdHandler.onCommand(DataCmdHandler.java:81)
at
org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:393)
at
org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:432)
at
org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:55)
at
org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:116)
Caused by: sun.security.pkcs11.wrapper.PKCS11Exception:
CKR_GENERAL_ERROR
at
sun.security.pkcs11.wrapper.PKCS11.C_GenerateRandom(Native Method)
at
sun.security.pkcs11.P11SecureRandom.engineNextBytes(P11SecureRandom.java:93)
... 15 more
The problem vanished when SCA6000 was restarted, problem isn't error
but the fact that James DIE in SMTP dialog with no response code on
DATA command (neither 4xx nor 5xx), why this type of error are not
managed?
I see in the code that in James 2.3.2 there are same problem.
Thank you for Attention.
--
Daniele Lozzi
Analista Programmatore
Babel S.r.l. - http://www.babel.it
T: 06.9826.9600 F:
06.9826.9680
P.zza S.Benedetto da Norcia, 33 - 00040 Pomezia (Roma)
CONFIDENZIALE: Questo messaggio ed i suoi allegati sono di
carattere confidenziale per i destinatari in indirizzo.
E' vietato l'inoltro non autorizzato a destinatari diversi da
quelli indicati nel messaggio originale.
Se ricevuto per errore, l'uso del contenuto e' proibito; si
prega di comunicarlo al mittente e cancellarlo immediatamente.
|
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]