java.sql.SQLException: Error while reading binary stream: java.io.IOException: Pipe not connected

Apache's JIRA Issue Tracker | Norman Maurer | 1 decade ago
  1. 0

    [JAMES-466] java.sql.SQLException: Error reading from InputStream java.io.IOException in current trunk - ASF JIRA

    apache.org | 5 months ago
    java.sql.SQLException: Error while reading binary stream: java.io.IOException: Pipe not connected
  2. 0

    [JAMES-466] java.sql.SQLException: Error reading from InputStream java.io.IOException in current trunk - ASF JIRA

    apache.org | 12 months ago
    java.sql.SQLException: Error while reading binary stream: java.io.IOException: Pipe not connected
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

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

    Apache's JIRA Issue Tracker | 1 decade ago | Norman Maurer
    java.sql.SQLException: Error reading from InputStream java.io.IOException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.sql.SQLException

      Error while reading binary stream: java.io.IOException: Pipe not connected

      at org.apache.james.mailrepository.JDBCMailRepository.store()
    2. org.apache.james
      JamesSpoolManager.run
      1. org.apache.james.mailrepository.JDBCMailRepository.store(JDBCMailRepository.java:755)
      2. org.apache.james.mailrepository.JDBCSpoolRepository.store(JDBCSpoolRepository.java:236)
      3. org.apache.james.transport.mailets.RemoteDelivery.service(RemoteDelivery.java:1001)
      4. org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:414)
      5. org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:397)
      6. org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:306)
      6 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame