Friday 27 September 2013

If we lost dbc file.How can we re generate it?

If we lost dbc file.How can we re generate it?

================
Let's create a scenario
================
[applvision@apps secure]$ ls -tlrh /apps/vision/inst/apps/vision_apps/appl/fnd/12.0.0/secure/vision.dbc
-rw------- 1 applvision applmgr 784 Sep 28 07:19 /apps/vision/inst/apps/vision_apps/appl/fnd/12.0.0/secure/vision.dbc
[applvision@apps secure]$ mv /apps/vision/inst/apps/vision_apps/appl/fnd/12.0.0/secure/vision.dbc /apps/vision/inst/apps/vision_apps/appl/fnd/12.0.0/secure/vision.dbc_27sep2013
[applvision@apps secure]$
[applvision@apps secure]$  ls -tlrh /apps/vision/inst/apps/vision_apps/appl/fnd/12.0.0/secure/vision.dbc
ls: /apps/vision/inst/apps/vision_apps/appl/fnd/12.0.0/secure/vision.dbc: No such file or directory
[applvision@apps secure]$

Now run autoconfig (or) run adgendbc.sh file to re generate dbc file.

[applvision@apps secure]$  sh /apps/vision/inst/apps/vision_apps/admin/scripts/adautocfg.sh
Enter the APPS user password:

The log file for this session is located at: /apps/vision/inst/apps/vision_apps/admin/log/09280743/adconfig.log

AutoConfig is configuring the Applications environment...

AutoConfig will consider the custom templates if present.
        Using CONFIG_HOME location     : /apps/vision/inst/apps/vision_apps
        Classpath                   : /apps/vision/apps/apps_st/comn/java/lib/appsborg2.zip:/apps/vision/apps/apps_st/comn/java/classes

        Using Context file          : /apps/vision/inst/apps/vision_apps/appl/admin/vision_apps.xml

Context Value Management will now update the Context file

        Updating Context file...COMPLETED

        Attempting upload of Context file and templates to database...COMPLETED

Configuring templates from all of the product tops...
        Configuring AD_TOP........COMPLETED
        Configuring FND_TOP.......COMPLETED
        Configuring ICX_TOP.......COMPLETED
        Configuring MSC_TOP.......COMPLETED
        Configuring IEO_TOP.......COMPLETED
        Configuring BIS_TOP.......COMPLETED
        Configuring AMS_TOP.......COMPLETED
        Configuring CCT_TOP.......COMPLETED
        Configuring WSH_TOP.......COMPLETED
        Configuring CLN_TOP.......COMPLETED
        Configuring OKE_TOP.......COMPLETED
        Configuring OKL_TOP.......COMPLETED
        Configuring OKS_TOP.......COMPLETED
        Configuring CSF_TOP.......COMPLETED
        Configuring IGS_TOP.......COMPLETED
        Configuring IBY_TOP.......COMPLETED
        Configuring JTF_TOP.......COMPLETED
        Configuring MWA_TOP.......COMPLETED
        Configuring CN_TOP........COMPLETED
        Configuring CSI_TOP.......COMPLETED
        Configuring WIP_TOP.......COMPLETED
        Configuring CSE_TOP.......COMPLETED
        Configuring EAM_TOP.......COMPLETED
        Configuring FTE_TOP.......COMPLETED
        Configuring ONT_TOP.......COMPLETED
        Configuring AR_TOP........COMPLETED
        Configuring AHL_TOP.......COMPLETED
        Configuring OZF_TOP.......COMPLETED
        Configuring IES_TOP.......COMPLETED
        Configuring CSD_TOP.......COMPLETED
        Configuring IGC_TOP.......COMPLETED

AutoConfig completed successfully.
[applvision@apps secure]$ ls -tlrh /apps/vision/inst/apps/vision_apps/appl/fnd/12.0.0/secure/vision.dbc
-rw------- 1 applvision applmgr 784 Sep 28 07:44 /apps/vision/inst/apps/vision_apps/appl/fnd/12.0.0/secure/vision.dbc
[applvision@apps secure]$ date
Sat Sep 28 07:46:57 IST 2013
[applvision@apps secure]$

Re -cap
======
Move dbc file to create a senario.
Run autoconfig (or)run adgendbc.sh.
Check whether dbc file is created or not.

No comments:

Post a Comment