Hi There,
I a using James 2.2.0 Version.The probelm i am facing is that the AttachmentFileNameIs Matcher gives the java.io.UnsupportedEncodingException.
This exception is displayed in the spoolManager log. The details of exception displayed are as follows.



/**************************************************/
12/07/04 16:31:18 ERROR spoolmanager.root: Exception calling AttachmentFileNameIs: Malformed message;
nested exception is:
java.io.UnsupportedEncodingException: Cp1256
javax.mail.MessagingException: Malformed message;
nested exception is:
java.io.UnsupportedEncodingException: Cp1256
at org.apache.james.transport.matchers.AttachmentFileNameIs.match(AttachmentFileNameIs.java:127)
at org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:370)
at org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:692)
at org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:549)
at org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:47)
at org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:80)
java.io.UnsupportedEncodingException: Cp1256
at sun.io.Converters.getConverterClass(Unknown Source)
at sun.io.Converters.newConverter(Unknown Source)
at sun.io.ByteToCharConverter.getConverter(Unknown Source)
at sun.nio.cs.StreamDecoder$ConverterSD.<init>(Unknown Source)
at sun.nio.cs.StreamDecoder$ConverterSD.<init>(Unknown Source)
at sun.nio.cs.StreamDecoder.forInputStreamReader(Unknown Source)
at java.io.InputStreamReader.<init>(Unknown Source)
at com.sun.mail.handlers.text_plain.getContent(text_plain.java:64)
at javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:745)
at javax.activation.DataHandler.getContent(DataHandler.java:501)
at javax.mail.internet.MimeMessage.getContent(MimeMessage.java:1332)
at org.apache.james.core.MimeMessageWrapper.getContent(MimeMessageWrapper.java:698)
at org.apache.james.transport.matchers.AttachmentFileNameIs.match(AttachmentFileNameIs.java:100)
at org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:370)
at org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:692)
at org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:549)
at org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:47)
at org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:80)


_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail



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



Reply via email to