忙裏偷閑

很多事情很多心情寫了也就記下了; 不寫,以後可能就忘了.
個人資料
正文

Bursting request failed due to log directory not found.

(2009-09-24 13:34:15) 下一個

I encounter an error when running the bursting process in pre-production environment with the following error message:

     [092409_101410266][][STATEMENT] template File/u01/oracle/sit/sitcomn/temp/092409_101409251/xdo1.tmp
    
[092409_101410289][][STATEMENT] Logger.init(): *** DEBUG MODE IS ON. ***
    
[092409_101410289][][STATEMENT] Logger.init(): LogDir=/u01/oracle/sit/sitappl/xdo/11.5.0/temp
    
[092409_101410290][oracle.apps.xdo.batch.bursting.FileHandler][EXCEPTION]oracle.apps.xdo.XDOException: /u01/oracle/sit/sitappl/xdo/11.5.0/temp/xdo_092409_101410289_rtf_out.xsl (No such file or directory at oracle.apps.xdo.template.RTFProcessor.process(RTFProcessor.java:265)
              
at oracle.apps.xdo.batch.bursting.FileHandler.rtf2xsl(FileHandler.java:316)
              
at oracle.apps.xdo.batch.bursting.ProcessDocument.getXSLFile(ProcessDocument.java:401)
              
at oracle.apps.xdo.batch.bursting.ProcessDocument.processTemplate(ProcessDocument.java:255
              
...... 

The error message is highlighted. The email is received but no attachment.

There is no such problem when running the same request with the same parameters in dev environment.

The reason for this is:
Debug mode is always on and it tried to write the detail information in directory: /u01/oracle/sit/sitappl/xdo/11.5.0/temp. Unfortunately this directory doesn’t exist.

And this directory doesn’t exist in dev environment too, but everything is fine in dev.

 Check the log for the same bursting process in dev. Obviously Debug mode is off, no information (log files) need to write to the log directory.

The simple solution is to create the directory so that log files can be written and read. After doing this, notice that there are many log files generated and takes a lot of space.

Not good! Especially in production. It consumes a lot of space.

Go back to compare the environment between dev and pre-prod.

Here it is.

In pre-prod, in directory: caedbr21usrjava14jrelib, there is a file: xdodebug.cfg with the below content:

     LogLevel=STATEMENT
     LogDir=/u01/oracle/sit/sitappl/xdo/11.5.0/temp

There is no such file in dev directory.

So here is the root reason.

Remove this file and the problem is solved! Debug mode is off all the time.

Caution: Before removing, do an impact analysis.

[ 打印 ]
閱讀 ()評論 (1)
評論
目前還沒有任何評論
登錄後才可評論.