java.lang.RuntimeException: Exception while removing mail: You must specify KeyDef attributes for this TableDataSet in order to delete a Record. kd: 0 null { 'MESSAGE_NAME' (STRING: java.lang.String), 'REPOSITORY_NAME' (STRING: java.lang.String), 'MESSAGE_STATE' (STRING: java.lang.String), 'ERROR_MESSAGE' (STRING: java.lang.String), 'SENDER' (STRING: java.lang.String), 'RECIPIENTS' (STRING: java.lang.String), 'REMOTE_HOST' (STRING: java.lang.String), 'REMOTE_ADDR' (STRING: java.lang.String), 'MESSAGE_BODY' (STRING: java.lang.String), 'LAST_UPDATED' (TIMESTAMP: java.sql.Timestamp) } {'Mail982058389594-0','mainspool','root',null,'root@hype.klug-kommunikation. de','mo@dialog-gelb.klug-kommunikation.de','195.211.86.60','195.211.86.60',' Received: (from root@localhost) by hype.klug-kommunikation.de (8.11.1/8.11.1/SuSE Linux 8.11.1-0.3) id f1D2Ta011416 for mo@dialog-gelb.klug-kommunikation.de; Tue, 13 Feb 2001 03:29:36 +0100 Received: from 195.211.86.60 ([195.211.86.60]) by Alhambra Mail 23.17 (JAMES SMTP Server 1.2.1rc2) with SMTP ID 536 for <mo@dialog-gelb.klug-kommunikation.de>; Di, 13 Feb 2001 10:59:49 +0100 Date: Tue, 13 Feb 2001 03:29:36 +0100 From: root@hype.klug-kommunikation.de Message-Id: <200102130229.f1D2Ta011416@hype.klug-kommunikation.de> To: undisclosed-recipients:; asas','2001-02-13 10:59:49.0'}

james-server-user | Serge Knystautas | 2 decades ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Re: Oracle column definitions for message repositories

    james-server-user | 2 decades ago | Serge Knystautas
    java.lang.RuntimeException: Exception while removing mail: You must specify KeyDef attributes for this TableDataSet in order to delete a Record. kd: 0 null { 'MESSAGE_NAME' (STRING: java.lang.String), 'REPOSITORY_NAME' (STRING: java.lang.String), 'MESSAGE_STATE' (STRING: java.lang.String), 'ERROR_MESSAGE' (STRING: java.lang.String), 'SENDER' (STRING: java.lang.String), 'RECIPIENTS' (STRING: java.lang.String), 'REMOTE_HOST' (STRING: java.lang.String), 'REMOTE_ADDR' (STRING: java.lang.String), 'MESSAGE_BODY' (STRING: java.lang.String), 'LAST_UPDATED' (TIMESTAMP: java.sql.Timestamp) } {'Mail982058389594-0','mainspool','root',null,'root@hype.klug-kommunikation. de','mo@dialog-gelb.klug-kommunikation.de','195.211.86.60','195.211.86.60',' Received: (from root@localhost) by hype.klug-kommunikation.de (8.11.1/8.11.1/SuSE Linux 8.11.1-0.3) id f1D2Ta011416 for mo@dialog-gelb.klug-kommunikation.de; Tue, 13 Feb 2001 03:29:36 +0100 Received: from 195.211.86.60 ([195.211.86.60]) by Alhambra Mail 23.17 (JAMES SMTP Server 1.2.1rc2) with SMTP ID 536 for <mo@dialog-gelb.klug-kommunikation.de>; Di, 13 Feb 2001 10:59:49 +0100 Date: Tue, 13 Feb 2001 03:29:36 +0100 From: root@hype.klug-kommunikation.de Message-Id: <200102130229.f1D2Ta011416@hype.klug-kommunikation.de> To: undisclosed-recipients:; asas','2001-02-13 10:59:49.0'}
  2. 0

    Oracle column definitions for message repositories

    james-server-user | 2 decades ago | Mario Oschwald
    java.lang.RuntimeException: Exception while removing mail: You must specify KeyDef attributes for this TableDataSet in order to delete a Record. kd: 0 null { 'MESSAGE_NAME' (STRING: java.lang.String), 'REPOSITORY_NAME' (STRING: java.lang.String), 'MESSAGE_STATE' (STRING: java.lang.String), 'ERROR_MESSAGE' (STRING: java.lang.String), 'SENDER' (STRING: java.lang.String), 'RECIPIENTS' (STRING: java.lang.String), 'REMOTE_HOST' (STRING: java.lang.String), 'REMOTE_ADDR' (STRING: java.lang.String), 'MESSAGE_BODY' (STRING: java.lang.String), 'LAST_UPDATED' (TIMESTAMP: java.sql.Timestamp) } {'Mail982058389594-0','mainspool','root',null,'root@hype.klug-kommunikation.de','mo@dialog-gelb.klug-kommunikation.de','195.211.86.60','195.211.86.60','Received: (from root@localhost) by hype.klug-kommunikation.de (8.11.1/8.11.1/SuSE Linux 8.11.1-0.3) id f1D2Ta011416 for mo@dialog-gelb.klug-kommunikation.de; Tue, 13 Feb 2001 03:29:36 +0100 Received: from 195.211.86.60 ([195.211.86.60]) by Alhambra Mail 23.17 (JAMES SMTP Server 1.2.1rc2) with SMTP ID 536 for <mo@dialog-gelb.klug-kommunikation.de>; Di, 13 Feb 2001 10:59:49 +0100 Date: Tue, 13 Feb 2001 03:29:36 +0100 From: root@hype.klug-kommunikation.de Message-Id: <200102130229.f1D2Ta011416@hype.klug-kommunikation.de> To: undisclosed-recipients:; asas','2001-02-13 10:59:49.0'}
  3. 0

    AW: oracle as DB

    james-server-user | 2 decades ago | Thomas Bezdicek
    java.lang.RuntimeException: Exception while retrieving mail: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Exception while removing mail: You must specify KeyDef attributes for this TableDataSet in order to delete a Record. kd: 0 null { 'MESSAGE_NAME' (STRING: java.lang.String), 'REPOSITORY_NAME' (STRING: java.lang.String), 'MESSAGE_STATE' (STRING: java.lang.String), 'ERROR_MESSAGE' (STRING: java.lang.String), 'SENDER' (STRING: java.lang.String), 'RECIPIENTS' (STRING: java.lang.String), 'REMOTE_HOST' (STRING: java.lang.String), 'REMOTE_ADDR' (STRING: java.lang.String), 'MESSAGE_BODY' (STRING: java.lang.String), 'LAST_UPDATED' (TIMESTAMP: java.sql.Timestamp) } {'Mail982058389594-0','mainspool','root',null,'root@hype.klug-kommunikation. de','mo@dialog-gelb.klug-kommunikation.de','195.211.86.60','195.211.86.60',' Received: (from root@localhost) by hype.klug-kommunikation.de (8.11.1/8.11.1/SuSE Linux 8.11.1-0.3) id f1D2Ta011416 for mo@dialog-gelb.klug-kommunikation.de; Tue, 13 Feb 2001 03:29:36 +0100 Received: from 195.211.86.60 ([195.211.86.60]) by Alhambra Mail 23.17 (JAMES SMTP Server 1.2.1rc2) with SMTP ID 536 for <mo@dialog-gelb.klug-kommunikation.de>; Di, 13 Feb 2001 10:59:49 +0100 Date: Tue, 13 Feb 2001 03:29:36 +0100 From: root@hype.klug-kommunikation.de Message-Id: <200102130229.f1D2Ta011416@hype.klug-kommunikation.de> To: undisclosed-recipients:; asas','2001-02-13 10:59:49.0'}

      at org.apache.james.mailrepository.TownSpoolRepository.remove()
    2. org.apache.james
      JamesSpoolManager.run
      1. org.apache.james.mailrepository.TownSpoolRepository.remove(TownSpoolRepository.java:248)
      2. org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:143)
      2 frames
    3. org.apache.avalon
      Worker.run
      1. org.apache.avalon.utils.recycle.pool.Worker.run(Worker.java:113)
      1 frame