Tuesday, April 10, 2012

Weblogic : Integrated Server Corrupted Issue , Back Up and Jdev Custom Path

When we start our jdeveloper first time after installation it will show following message which is pretty clear.

[Waiting for the domain to finish building...]
[12:50:39 AM] Creating Integrated Weblogic domain...
[12:51:47 AM] Extending Integrated Weblogic domain...
[12:52:29 AM] Integrated Weblogic domain processing completed successfully.

Then it prompt following information about port and path of weblogic startup script.

*** Using port 7101 ***
C:\hasimjdev\jdev115\system11.1.1.5.37.60.13\DefaultDomain\bin\startWebLogic.cmd
[waiting for the server to complete its initialization...]

If you notice my jdeveloper system folder is present in custom directory c:\hasimjdev\jdev115.

The reason why jdeveloper created default integrated domain in this directory was because of following setting.

C:\Oracle\MiddlewareJdev\jdeveloper\jdeveloper.exe -J-Dide.user.dir=c:\hasimjdev\jdev115

If i would have not given –J-Dide.user.dir=c:\hasimjdev\jdev115 then my domain would have been created in some window default directory

image

When you configure weblogic , jdbc datasource , jndi , jms all get stored in system… directory. So please back up this directory incase if weblogic domain gets corrupted you can just replace fresh configured directory again to the path.

image

So i created _backup directory after i completed configuring my all resources , so when my system folder gets corruputed it will take me few minutes to restore instead of re configuring all the resources again.