3 Replies Latest reply on Feb 10, 2005 6:01 AM by darranl

    Stop Displaying Exception PrintStackTRace in Server Console

    sivakumar_n

      Hi Friends,
      I want to know is there any option to stop displaying exception printStackTrace in Jboss Server Console.

      For Example, If i add a record in the table which already exists.The exception printstacktrace shows.

       Could not create entity
      java.sql.SQLException: Invalid argument value, message from server: "Duplicate entry 'Np1' for key 2"
       at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1905)
       at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1109)
       at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1203)
       at com.mysql.jdbc.Connection.execSQL(Connection.java:2090)
       at ................................
      

      Help me friends if you have any ideas.

      Thanks
      Siva