Messaging Gateway

 View Only
  • 1.  BrightMail Control Center Exception

    Posted Oct 19, 2011 10:47 AM

    Hi to all,

    I cannot see any log entries in the log section of control center.

    I can see only a java error in the BrightmailLog.log:

    ott 19 2011 16:42:47 [BrightmailScheduler_Worker-26] ERROR - Job BrightmailPollers.LogJob threw an unhandled Exception:
    java.lang.NullPointerException
    at com.brightmail.dl.impl.LogDAOImpl.createLogs(LogDAOImpl.java:122)
    at com.brightmail.bl.bo.impl.LogManager.createLogs(LogManager.java:355)
    at com.brightmail.bl.bo.impl.AgentLogTask.logServer(AgentLogTask.java:238)
    at com.brightmail.bl.bo.impl.AgentLogTask.run(AgentLogTask.java:133)
    at com.brightmail.bl.bo.impl.AgentManager.retrieveLogs(AgentManager.java:378)
    at com.brightmail.bl.bo.impl.LogTask.execute(LogTask.java:91)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:487)
    ott 19 2011 16:42:47 [BrightmailScheduler_Worker-26] ERROR - Job (BrightmailPollers.LogJob threw an exception.
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
    at org.quartz.core.JobRunShell.run(JobRunShell.java:186)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:487)
    * Nested Exception (Underlying Cause) ---------------
    java.lang.NullPointerException
    at com.brightmail.dl.impl.LogDAOImpl.createLogs(LogDAOImpl.java:122)
    at com.brightmail.bl.bo.impl.LogManager.createLogs(LogManager.java:355)
    at com.brightmail.bl.bo.impl.AgentLogTask.logServer(AgentLogTask.java:238)
    at com.brightmail.bl.bo.impl.AgentLogTask.run(AgentLogTask.java:133)
    at com.brightmail.bl.bo.impl.AgentManager.retrieveLogs(AgentManager.java:378)
    at com.brightmail.bl.bo.impl.LogTask.execute(LogTask.java:91)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:487)

    Thanks to all,

    F.



  • 2.  RE: BrightMail Control Center Exception

    Posted Oct 20, 2011 04:51 AM

    I look at control center detailed log, the agents detailed logs, I check the database table relationship, I activate also the mysql trace...
    but the only error is that I posted.

    Then:
    1 - I see the https request from control center to agent to get the log.
    2 - I see the control center that insert into "log" table.
    3 - Control center throw the exception and the logtask interrupt.
    No more log are requested to other scanner components.
    I cannot see in mysql.log any try to insert into the table "log_summary".

    I'think there is something goes wrong when after inserting in table "log" and before inserting in "log_summary".

    Maybe during the parsing of the log message?
    Can be a wrong date format?!?

    an example of the agent log is:

       
    20 Oct 2011 10:42:52 (DEBUG:956.7224): [43029] Command handler: Begin command DATABLOB-GET.   

     

    Then, another useful information is that I try to insert a record into log_summary table and I can read it succesfuly through control center log panel...

     

    Many thanks to all,

    F.