忙里偷闲

很多事情很多心情写了也就记下了; 不写,以后可能就忘了.
个人资料
正文

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)
评论
目前还没有任何评论
登录后才可评论.