java.sql.SQLException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • After upgrading i get some very strange problems.. When sending email with telnet for example the email goes straight to deadletter table... it looks like: | Mail1143972862978-28 | error | error | NULL | nm@test.de | nm@spam-box.de | localhost | 127.0.0.1 | Return-Path: null Received: from 192.168.200.14 ([192.168.200.14]) by mail.guden.ath.cx (JAMES SMTP Server 2.3-dev) with SMTP ID 835 for <nm@spam-box.de>; Sun, 2 Apr 2006 12:14:22 +0200 (CEST) test Date: Sun, 2 Apr 2006 12:14:22 +0200 (CEST) Fro | ¬í | 2006-04-02 12:14:22 | +----------------------+-----------------+---------------+---------------+------------+----------------+-------------+-------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------+---------------------+ 1 row in set (0.00 sec) It seems that it corrupt the headers... I notice some very strange problems to with "real" email.. The Headers seems to get corrupt there too.. Here is the MessageCode i can see: Return-Path: <server-dev-return-15793-nm=spam-box.de@james.apache.org> Delivered-To: nm@spam-box.de Received: (qmail 15318 invoked by uid 89); 1 Apr 2006 22:14:35 -0000 Received: from localhost (HELO mail.guden.ath.cx) (127.0.0.1) by guden.ath.cx with SMTP; 1 Apr 2006 22:14:35 -0000 Return-Path: null java.sql.SQLException: Error reading from InputStream java.io.IOException in current trunk Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 Message-ID: <22807116.1143929675568.JavaMail.root@Fileserver> X-Evolution-Source: imap://nm%40spam-box.de@guden.ath.cx/ From: Date: Sun, 02 Apr 2006 12:23:50 +0200 Subject: No Subject Key: JAMES-466 URL: http://issues.apache.org/jira/browse/JAMES-466 Project: James Type: Bug Environment: java 1.5, mysql-connector-java-3.0.17-ga-bin.jar Reporter: Norman Maurer After upgrading to latest trunk i notice this exception about 8 times today: 01/04/06 21:52:53 ERROR spoolmanager: Exception in processor <transport> javax.mail.MessagingException: Exception caught while storing mail Container: ; nested exception is: java.sql.SQLException: Error reading from InputStream java.io.IOException at org.apache.james.mailrepository.JDBCMailRepository.store(JDBCMailRepository.java:755) at org.apache.james.mailrepository.JDBCSpoolRepository.store(JDBCSpoolRepository.java:236) at org.apache.james.transport.mailets.RemoteDelivery.service(RemoteDelivery.java:1001) at org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:414) at org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:397) at org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:306) at java.lang.Thread.run(Thread.java:595) 01/04/06 21:52:53 ERROR spoolmanager: An error occurred processing Mail1143921172623-45 through transport 01/04/06 21:52:53 ERROR spoolmanager: Result was error Whats the Problem ? Should i upgrade the mysql-connector ? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org For additional commands, e-mail: server-dev-help@james.apache.org Like you see the From is empty and the Subject is insert in the wrong line..
    via by Norman Maurer,
  • Re: i need help urgently
    via by Nathan Cheng,
  • RE : i need help urgently
    via by Diego Castillo,
  • RE : RE : i need help urgently
    via by Diego Castillo,
    • java.sql.SQLException: Error while reading binary stream: java.io.IOException: Pipe not connected at org.apache.james.mailrepository.JDBCMailRepository.store(JDBCMailRepository.java:755) at org.apache.james.mailrepository.JDBCSpoolRepository.store(JDBCSpoolRepository.java:236) at org.apache.james.transport.mailets.RemoteDelivery.service(RemoteDelivery.java:1001) at org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:414) at org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:397) at org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:306) at java.lang.Thread.run(Thread.java:595)
    No Bugmate found.