Error in creating JVM, need help!

I am just trying a simple c program to create a JVM on a linux machine. However it always result errors during compilation. I got no idea what's went wrong.
I am using jdk1.2.
#include <jni.h>
#include <stdlib.h>
int main( int argc, char *argv[] )
JNIEnv *env;
JavaVM *jvm;
JDK1_1InitArgs vm_args;
jint res;
vm_args.version=0x00010001;
JNI_GetDefaultJavaVMInitArgs(&vm_args);
vm_args.classpath=".:/usr/local/jdk1.2.2/include/linux/jni_md.h:/usr/local/jdk1.2.2/include$
JNI_GetDefaultJavaVMInitArgs(&vm_args);
res=JNI_CreateJavaVM(&jvm,(void **)&env,&vm_args);
if (res < 0)
fprintf(stderr, "Can't create Java VM\n");
exit(1);
(*jvm)->DestroyJavaVM(jvm);
return(0);
Errors:
/tmp/ccvMj208.o: In function `main':
/home/bettylo/2/invoke.c:12: undefined reference to `JNI_GetDefaultJavaVMInitArgs'
/home/bettylo/2/invoke.c:14: undefined reference to `JNI_GetDefaultJavaVMInitArgs'
/home/bettylo/2/invoke.c:15: undefined reference to `JNI_CreateJavaVM'
collect2: ld returned 1 exit status
This is the command I use to compile the c program
gcc -I$JAVA_HOME/include/linux -I$JAVA_HOME/include -o invoke.exe invoke.c

You can set the LD_LIBRARY_PATH in linux with the follow command :
Replace whatever specific library path you need in the below example!
Red Hat Linux specific format :
export LD_LIBRARY_PATH=<your lib path>:<other paths required>:$LD_LIBRARY_PATH
Another small example :
export LD_LIBRARY_PATH=/usr/java/jsdk1.2/jre/lib:$LD_LIBRARY_PATH
Only after loading the library environment will you be able to run the JVM successfully.
Your other question on the segmentation core dump is probably due to the fact that you use a (void**) pointer with the old 1.1 vm_args.version. JDK versions lower than 1.2 uses the older interface that is not as portable and takes a JNIEnv pointer in the
JNI_CreateJavaVM(JavaVM* ,JNIEnv **,JDK1_1InitArgs);
method but newer 1.2 uses
JNI_CreateJavaVM(JavaVM* ,void **,JavaVMInitArgs);
Read the updated docs on 1.2 from your JDK distribution and you will realize that the segmentation crush was due to pointer problems. Note also that the code to invoke the 1.2 version and 1.1 versions are different, so read the docs carefully.

Similar Messages

  • Help IP restore error 21 (DFU ) running DFU  and error 1600. I need help

    I restore error 21 ( DFU ) >>> running DFU and error 1600. >>> I need help ?

    ip 4, 32g is me. I running FW up ios 6.0 >> error 21 ( DFU ) >>  mode DFU  >>>> error 1600 ( recovery mode )

  • Hello, I have a problem on my iPhone every second turn on and off I mean it shows the apple and off and again shows the apple icon and off and tried to Restore and it hangs on my iPhone and then waits Error 3004 Please I need help please!

    Hello, I have a problem on my iPhone every second turn on and off I mean it shows the apple and off and again shows the apple icon and off and tried to Restore and it hangs on my iPhone and then waits Error 3004 Please I need help please!

    Resolve communication issues
    Related errors: 17, 1004, 1013, 1638, 3014, 3194, 3000, 3002, 3004, 3013, 3014, 3015, 3194, or 3200.
    These alerts refer to gs.apple.com, say "There was a problem downloading the software," or say the "device isn't eligible for the requested build."
    I would guess your iphone has been hacked ( jailbroken ) ring any bells ?

  • Recent wipe of Mac HD.     Reinstall won't allow CS5 .  Quote error 213.5. Need Help

    I recently had my Mac software reinstalled but Adobe Photoshop will not reinstall siting error 213.5.  Need help.

    Hi Nicintime101,
    Please go through the forum link below and  check.
    https://forums.adobe.com/thread/1256895?tstart=0
    Regards,
    Anand

  • Error encountered in DocumentInstance, need help

    Post Author: usaitconsultant
    CA Forum: JAVA
    Hi Ted or to anyone encountered this, I Need help! Im trying to open a deski document to pass parameter and set report format then schedue to run. In this line:  DocumentInstance documentInstance = reportEngine.openDocument(infoObject.getID()); Im encountering this error message:Entering getRASConnection()ExceptionError Message: No server was available to process the request. Please try again later. (Error: RFC 00101) Any idea? Though, RAS  server is running. I hope you can help me on this.Thank you. 

    Post Author: usaitconsultant
    CA Forum: JAVA
    Hi Ted,I tried to switch to other BO XI server which infoView is working with pass parameter using my user ID. But when I tried to run my application. The same error I encountered. Though, the pdf was created but with no parameters so no records was displayed in the pdf except for header,footer, and other static data.  See error below, Im just wondering which server/configuration should I checked if down/disable? Please advise. "Unable to find servers in CMS <Server path> and cluster @<Server path>
    with kind dpscacheFullClient and extra criteria null. All such servers
    could be down or disabled by the administrator. &#91;RASLIB9006&#93;"Please advise, I hope you can help me again here. Thank you.  Stacktrace:documentInstance = reportEngine.openDocument(infoObject.getID())Entering getRASConnection()com.businessobjects.rebean.wi.ServerException: No server was available to process the request. Please try again later. (Error: RFC 00101)    at com.businessobjects.rebean.fc.internal.ras21.XMLviaRAS21Encode.newSession(XMLviaRAS21Encode.java:972)    at com.businessobjects.rebean.fc.internal.ras21.RAS21ReportEngineComAdapter.openDocument(RAS21ReportEngineComAdapter.java:87)    at com.businessobjects.rebean.fc.internal.ReportEngineImpl.openDocument(ReportEngineImpl.java:249)    at edu.uillinois.boxir2.BOXIR2ReportEngine.testRunReportWithParameters(BOXIR2ReportEngine.java:718)    at edu.uillinois.boxir2.BOXIR2ReportEngine.main(BOXIR2ReportEngine.java:72)Exception encountered during setting parameter values. @Wed Apr 30 14:47:21 CDT 2008Error Message: No server was available to process the request. Please try again later. (Error: RFC 00101)Caused by: ErrorFailureUnable to find servers in CMS <Server path> and cluster @<Server path> with kind dpscacheFullClient and extra criteria null. All such servers could be down or disabled by the administrator. &#91;RASLIB9006&#93;    at com.crystaldecisions.sdk.occa.ras21.RASConnection.a(Unknown Source)    at com.crystaldecisions.sdk.occa.ras21.RASConnection.<init>(Unknown Source)    at com.crystaldecisions.sdk.occa.ras21.RASConnectionFactory.a(Unknown Source)    at com.crystaldecisions.sdk.occa.ras21.RASConnectionFactory.getRASConnectionObjectId(Unknown Source)    at com.businessobjects.rebean.fc.internal.ras21.XMLviaRAS21Encode.newSession(XMLviaRAS21Encode.java:958)    ... 4 moreCaused by: com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$AllServersDown: Unable to find servers in CMS <Server path> and cluster @<Server path> with kind dpscacheFullClient and extra criteria null. All such servers could be down or disabled by the administrator.    at com.crystaldecisions.enterprise.ocaframework.aa.int(Unknown Source)    at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.int(Unknown Source)    at com.crystaldecisions.enterprise.ocaframework.o.a(Unknown Source)    at com.crystaldecisions.enterprise.ocaframework.o.try(Unknown Source)    at com.crystaldecisions.enterprise.ocaframework.o.a(Unknown Source)    at com.crystaldecisions.enterprise.ocaframework.o.a(Unknown Source)    at com.crystaldecisions.enterprise.ocaframework.p.a(Unknown Source)    at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService(Unknown Source)    ... 9 more  

  • Error restoring row currency - Need Help

    Hi All,
    Can anyone explain me how can I control the row currency???????
    this is my situation:
    when I navigate from page1 (with one read-only table - tableEmployees) to page2 (with a read-only table - tableSelectEmployees, with this columns: ps, eps, obs, obs2, where ps, eps and obs are the primary keys), selecting the "create" button, I need to insert a new row in tableSelectEmployees (page2) with this values (ps=2, eps=2, obs=null, obs2=null). -----> Until here everything works Fine :)
    The Big problem is when I need to navigate from page2 to page3 (with a read-only table - tableAddEmployees with this columns: DOM_ID, id, meaning, where Id is the primary key). The tableAddEmployees has a Query like this:
    SELECT *
    FROM tableAddEmployees
    WHERE NVL(tableAddEmployees.DOM_ID,0) = NVL(:1, 0)
    AND tableAddEmployees.ID NOT IN (
    SELECT obs
    FROM tableSelectEmployees
    WHERE Ps= :2
    AND Eps = :3
    AND NVL(obs, 0) = NVL(:4, 0))
    When I select the new row created (Ps=2, Eps=2, null, null) in page 2 and go to page3 I get this error messages from the log window:
    12:17:20 DEBUG (JhsActionServlet) -Request class: com.evermind.server.http.EvermindHttpServletRequest
    12:17:20 DEBUG (JhsActionServlet) -Request URI: /App_S2-ViewController-context-root/S2PopUpObstaculos.do
    12:17:20 DEBUG (JhsActionServlet) -Request Character Encoding: windows-1252
    12:17:20 DEBUG (JhsActionServlet) -Parameter searchText:
    12:17:20 DEBUG (JhsActionServlet) -Parameter event_Rollback:
    12:17:20 DEBUG (JhsActionServlet) -Parameter event:
    12:17:20 DEBUG (JhsActionServlet) -Parameter partial:
    12:17:20 DEBUG (JhsActionServlet) -Parameter source:
    12:17:20 DEBUG (JhsActionServlet) -Parameter eventValue:
    12:17:20 DEBUG (JhsActionServlet) -Parameter rowKeyStr:
    12:17:20 DEBUG (JhsActionServlet) -Parameter partialTargets:
    12:17:20 DEBUG (JhsDataAction) -Executing action /S2PopUpObstaculos
    12:17:20 DEBUG (JhsDataAction) -lastIssuedPageTimeStamp set to: 1156245440919
    12:17:20 DEBUG (JhsDataAction) -Found existing searchBean for S2AltaSociais2UIModel
    12:17:20 DEBUG (JhsDataAction) -Stored searchBean for S2AltaSociais2UIModel on request
    12:17:20 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 0 has changed: old value=0 ,new value=
    12:17:20 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 1 has changed: old value=0 ,new value=2
    12:17:20 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 2 has changed: old value=0 ,new value=2
    12:17:20 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 3 has changed: old value=0 ,new value=
    12:17:20 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: executing query, bind parameter values have changed
    12:17:20 DEBUG (JhsDataAction) -executing onRollback
    12:17:20 DEBUG (JhsDataAction) -executing Rollback ActionBinding
    12:17:21 DEBUG (JhsDataAction) -Restoring row currencies
    12:17:21 ERROR (JhsDataAction) -Error restoring row currency for S2ObstaculosLevel1Iterator: JBO-25020: View row of key oracle.jbo.Key[2 2 null ] not found in S2ObstaculosLevel1Iterator.
    12:17:21 ERROR (JhsDataAction) -Error restoring row currency for S2ObstaculosLevel1Iterator: JBO-25020: View row of key oracle.jbo.Key[2 2 null ] not found in S2ObstaculosLevel1Iterator.
    12:17:21 ERROR (JhsDataAction) -Error restoring row currency for S2ObstaculosAssoc1Iterator: JBO-25020: View row of key oracle.jbo.Key[2 2 null ] not found in S2ObstaculosAssoc1Iterator.
    12:17:21 ERROR (JhsDataAction) -Error restoring row currency for S2ObstaculosLevel1Iterator: JBO-25020: View row of key oracle.jbo.Key[2 2 null ] not found in S2ObstaculosLevel1Iterator.
    12:17:21 ERROR (JhsDataAction) -Error restoring row currency for S2ObstaculosLevel1Iterator: JBO-25020: View row of key oracle.jbo.Key[2 2 null ] not found in S2ObstaculosLevel1Iterator.
    12:17:21 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 0 has changed: old value= ,new value=278263
    12:17:21 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 3 has changed: old value= ,new value=278263
    12:17:21 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: executing query, bind parameter values have changed
    12:17:21 DEBUG (JhsDataAction) -Storing table binding factory under key jhsTableBindings on request
    12:17:21 DEBUG (JhsDataAction) -Forward set by parameter property returned: /WEB-INF/page/S2PopUpObstaculos.uix
    --->If I want this null values why is JDeveloper changing the row currency?
    When I select one row from page2 with values like this (2, 2, 278264, null) I get the correct response:
    12:19:41 DEBUG (JhsActionServlet) -Request class: com.evermind.server.http.EvermindHttpServletRequest
    12:19:41 DEBUG (JhsActionServlet) -Request URI: /App_S2-ViewController-context-root/S2PopUpObstaculos.do
    12:19:41 DEBUG (JhsActionServlet) -Request Character Encoding: windows-1252
    12:19:41 DEBUG (JhsActionServlet) -Parameter searchText:
    12:19:41 DEBUG (JhsActionServlet) -Parameter event_Rollback:
    12:19:41 DEBUG (JhsActionServlet) -Parameter event:
    12:19:41 DEBUG (JhsActionServlet) -Parameter partial:
    12:19:41 DEBUG (JhsActionServlet) -Parameter source:
    12:19:41 DEBUG (JhsActionServlet) -Parameter eventValue:
    12:19:41 DEBUG (JhsActionServlet) -Parameter rowKeyStr:
    12:19:41 DEBUG (JhsActionServlet) -Parameter partialTargets:
    12:19:41 DEBUG (JhsDataAction) -Executing action /S2PopUpObstaculos
    12:19:41 DEBUG (JhsDataAction) -lastIssuedPageTimeStamp set to: 1156245581741
    12:19:41 DEBUG (JhsDataAction) -Found existing searchBean for S2AltaSociais2UIModel
    12:19:41 DEBUG (JhsDataAction) -Stored searchBean for S2AltaSociais2UIModel on request
    12:19:41 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 0 has changed: old value=0 ,new value=278264
    12:19:41 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 1 has changed: old value=0 ,new value=2
    12:19:41 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 2 has changed: old value=0 ,new value=2
    12:19:41 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 3 has changed: old value=0 ,new value=278264
    12:19:41 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: executing query, bind parameter values have changed
    12:19:41 DEBUG (JhsDataAction) -executing onRollback
    12:19:41 DEBUG (JhsDataAction) -executing Rollback ActionBinding
    12:19:41 DEBUG (JhsDataAction) -Restoring row currencies
    12:19:42 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: bind parameter values have not changed
    12:19:42 DEBUG (JhsDataAction) -Storing table binding factory under key jhsTableBindings on request
    12:19:42 DEBUG (JhsDataAction) -Forward set by parameter property returned: /WEB-INF/page/S2PopUpObstaculos.uix
    Can anyone help me with this problem, please?
    What can I do to solve this currency problem?
    Please, I really need help on this!!!
    I'm using JDeveloper10.1.2, struts, uix pages.
    Thanks,
    Atena

    Can anyone give some help here?

  • Installation of Photoshop update 13.1.2 for creative cloud fails with error code U44M1P7 I need help

    I need help installing update 13.1.2 for Photoshop creative cloud, installation fails with error code: U44M1P7. Could someone please help?

    Sorry to bother you.
    I could find the answer after searching previous posts about this language problem.
    Had to change my language in AAM profile and then download PS CS6 again ( english version ).
    Then open the actual Photoshop and in preferences > interface you can besides the Dutch also option for English.
    restart application and Voila.
    Greetz, Jeroen

  • Windows phone error code 80188301,. please need help

    i am getting an error while updating my windows phone.  windows phone error code 80188301,.
    please need help

    Hi,
    If issue persists after using the solutions provided by Aman Raizada, then I would suggest you ask the question in Windows Phone support forum:
    http://www.windowsphone.com/en-US/how-to/wp-support
    Regards
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • I can't activate my desktop account. Error: E_AUTH_NOT_READY. Please, need help!

    I instaled my desktop Adobe Digital Edition, but I'm failing in activate it with my Adobe Id. The error code is:   E_AUTH_NOT_READY
    Please, need help!

    For this problem, you need to deauthorize and authorize ADE again.
    Launch ADE
    Help -> Erase authorization.
    ADE will be deauhorized.
    Now again AUTHORIZE ADE
    Help-> authorize computer.
    Error will be fixed !!

  • ITunes Error Message. Still need help. Please.

    I still haven't been able to use my ITunes for about two months. I need help to fix the problem. Here's what it says when I try to start ITunes:
    Microsoft Visual C+ + runtime library
    Runtime Error!
    Program: C:\program files\itunes\itunes.exe
    This application has requested to terminate in an unusual way. Please contact the application’s support team for more information.
    If anyone can help me with this I would greatly, greatly appreciate it. Thanks.
      Windows XP  

    Have you tried un-installing iTunes, downloading the program again from Apple, and re-installing?
    It's always worth a try, as it should help you clear off anything causing the problem and start again.

  • Error while creating KMScheduler:Pls help

    Error while creating KMScheduler:
    Kind     Status     Priority     Description     Resource     In Folder     Location
    Error               Missing required library: 'C:Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.km.rfwizard/lib/bc.crt_api.jar'.     EPD_APMDM_Dkmsted.com          Build path
    Error               Missing required library: 'C:Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.km.rfwizard/lib/bc.crt_api.jar'.     TestSchedule          Build path
    Error               Missing required library: 'C:Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.km.rfwizard/lib/bc.rf.common_api.jar'.     EPD_APMDM_Dkmsted.com          Build path
    Error               Missing required library: 'C:Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.km.rfwizard/lib/bc.rf.common_api.jar'.     TestSchedule          Build path
    Error               Missing required library: 'C:Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.km.rfwizard/lib/bc.rf.framework_api.jar'.     EPD_APMDM_Dkmsted.com          Build path
    Error               Missing required library: 'C:Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.km.rfwizard/lib/bc.rf.framework_api.jar'.     TestSchedule          Build path
    Error               Missing required library: 'C:Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.km.rfwizard/lib/bc.rf.global.service.appproperties_api.jar'.     EPD_APMDM_Dkmsted.com          Build path
    Error               Missing required library: 'C:Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.km.rfwizard/lib/bc.rf.global.service.appproperties_api.jar'.     TestSchedule          Build path
    Error               Missing required library: 'C:Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.km.rfwizard/lib/bc.rf.global.service.mime_api.jar'.     EPD_APMDM_Dkmsted.com          Build path
    Error               Missing required library: 'C:Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.km.rfwizard/lib/bc.rf.global.service.mime_api.jar'.     TestSchedule          Build path

    Hi
    Initial excepiton suggest that missing "bc.sf.framework_api.jar " jar file.
    check this  out might hlep u
    https://forums.sdn.sap.com/message.jspa?messageID=7717494
    https://forums.sdn.sap.com/message.jspa?messageID=2338288
    https://forums.sdn.sap.com/message.jspa?messageID=5676237
    Thanks

  • It says my ipod 4th gen could not be restored an unknown error occurred OxE8000001. Need help

    could not be restored an unknown error occurred OxE8000001. Need help

    Try here:
    iPhone, iPad, iPod touch: Unknown error containing '0xE' when connecting

  • Re: error creating domain - need help!

    Hi all,
    Getting the below error in install logs while configuring Forms/Reports (11.1.2.1) Create Domain fails for missing prerequisites
    Setting ORACLE_HOME to C:\Ora_MWhome\Ora_FRHome
    Setting Doracle.config.mode to true
    Adding c:\tmp\OraInstall2013-05-14_01-24-20PM for deletion.
    Adding to classpath:file:/c:/tmp/OraInstall2013-05-14_01-24-20PM/ext/jlib/classic.jar
    Adding to classpath:file:/c:/tmp/OraInstall2013-05-14_01-24-20PM/ext/jlib/template.jar
    [email protected]lassicPage.ScreenRes
    configFileName:c:\tmp\OraInstall2013-05-14_01-24-20PM\ext\jlib\footprint.xml
    Setting current page standalone validations to true
    Setting current page standalone validations to true
    Setting current page standalone validations to true
    resultset.getStatus() : true
    Setting collector hub url in screen:null
    Temp Buffer: C:\Ora_MWhome;
    ExtendDomain: false          ExpandCluster: false
    wasExtendDomain: false          wasExpandCluster: false
    prevAdminServerURL:           adminServerURL: LTHP95015GQ.ds.fs.fed.usweblogic
    isFirstVisit:true
    Oracle Home = C:\Ora_MWhome\Ora_FRHome
    Setting current page standalone validations to true
    In processErrorMsgStringOracle Instance
    Found product.properties
    All key are given: [APPSERVER_LOCATION, APPSERVER_TYPE]
    Not WAS
    needWritableDirectory: false
    needWritableDirectory: true
    middlewareHomeLocation:C:\Ora_MWhome
    weblogicHomeLocation:C:\Ora_MWhome\wlserver_10.3
    weblogicHome:C:\Ora_MWhome\wlserver_10.3
    weblogicHomeLocation:C:\Ora_MWhome\wlserver_10.3
    In processErrorMsgStringInstance Name
    In processErrorMsgStringThe instance name may only contain alphanumeric and underscore (_) characters, and it must begin with an alphabetic character. The instance name must be at least 4 characters long and up to 30 characters long.
    In processErrorMsgStringOracle Home
    In processErrorMsgStringOracle Home Directory Name
    In [email protected]_OracleDirectoryInvalidErrorString
    Obtained the single page data..SpecifyClassicHomeInformationPage
    resultset.getStatus() : true
    Setting current page standalone validations to true
    In processErrorMsgStringDomain Name
    In processErrorMsgStringThe value may only contain alphanumeric characters, or the underscore (_) or hyphen (-) characters.Punctuations cannot be the first character.
    In processErrorMsgStringAdministrator Password
    In processErrorMsgStringValid passwords are 8 to 30 characters long, must begin with an alphabetic character, use only alphanumeric, underscore (_), dollar ($) or pound (#) characters. It should contain at least one numeric, underscore (_), dollar ($), or pound (#) character.
    In processErrorMsgStringAdministrator User Name
    In processErrorMsgStringThe value may only contain alphanumeric characters, or the underscore (_) or hyphen (-) characters.Punctuations cannot be the first character.
    resultset.getStatus() : true
    formsPreConfigured:false
    reportsPreConfigured:false
    portalPreConfigured:false
    discoPreConfigured:false
    the node m_RunTimeComps is Selected
    the node m_Forms is Selected
    the node m_Reports is Selected
    the node m_DevTools is Not Selected
    the node m_FormsBuilder is Not Selected
    the node m_ReportsBuilder is Not Selected
    the node m_ManagementComps is Selected
    the node m_EnterpriseManagement is Selected
    the node m_SystemComps is Selected
    the node m_OHS is Selected
    the node m_RunTimeComps is Selected
    the node m_Forms is Selected
    the node m_Reports is Selected
    the node m_DevTools is Not Selected
    the node m_FormsBuilder is Not Selected
    the node m_ReportsBuilder is Selected
    the node m_ManagementComps is Selected
    the node m_EnterpriseManagement is Selected
    the node m_SystemComps is Selected
    the node m_OHS is Selected
    root.isSelectedfalse
    the node m_RunTimeComps is Selected
    the node m_Forms is Selected
    the node m_Reports is Selected
    the node m_DevTools is Selected
    the node m_FormsBuilder is Selected
    the node m_ReportsBuilder is Selected
    the node m_ManagementComps is Selected
    the node m_EnterpriseManagement is Selected
    the node m_SystemComps is Selected
    the node m_OHS is Selected
    root.isSelectedtrue
    Setting current page standalone validations to true
    the node m_RunTimeComps is Selected
    the node m_Forms is Selected
    the node m_Reports is Selected
    the node m_DevTools is Selected
    the node m_FormsBuilder is Selected
    the node m_ReportsBuilder is Selected
    the node m_ManagementComps is Selected
    the node m_EnterpriseManagement is Selected
    the node m_SystemComps is Selected
    the node m_OHS is Selected
    Entering the exec handler method in get free space for home...
    quotaNeededProperty:null
    isQuotaNeeded : false
    resultset.getStatus() : true
    the node m_RunTimeComps is Selected
    the node m_Forms is Selected
    the node m_Reports is Selected
    the node m_DevTools is Selected
    the node m_FormsBuilder is Selected
    the node m_ReportsBuilder is Selected
    the node m_ManagementComps is Selected
    the node m_EnterpriseManagement is Selected
    the node m_SystemComps is Selected
    the node m_OHS is Selected
    Setting current page standalone validations to true
    resultset.getStatus() : true
    Setting current page standalone validations to true
    resultset.getStatus() : true
    wasOIDSelected: true
    Setting current page standalone validations to true
    resultset.getStatus() : true
    In doFinish method checking for inventory lock...ConfigurationPage
    Setting current page standalone validations to true
    calling the executeBeforeConfig method before configuration..
    JAVA.LIBRARY.PATH:c:\tmp\OraInstall2013-05-14_01-24-20PM\jre\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Ora_MWhome\Ora_FRHome\bin;C:\ORA_MW~1\ORA_FR~1\BIN;c:\ORA_DE~1\jdk\jre\bin;c:\ORA_DE~1\jdk\jre\bin\client;c:\ORA_DE~1\jlib;c:\ORA_DE~1\bin;c:\ORA_DE~1\jre\112ECD~1.8\bin;c:\oracle\product\111~1.0\client\BIN;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\wbem;C:\PROGRA~1\COMMON~1\ROXIOS~1\DLLSHA~1\;C:\PROGRA~1\COMMON~1\ROXIOS~1\10.0\DLLSHA~1\;c:\oracle\client9i\bin;c:\oracle\client9i\jdk\bin;c:\oracle\client9i\jdk\jre\bin;C:\WINDOWS\system32\WINDOW~1\v1.0;C:\Perl\bin;C:\PROGRA~1\SSH_SCP;C:\PROGRA~1\ACTIVI~1\ACTIVC~1\;C:\PROGRA~1\QUICKT~1\QTSystem\;C:\ORA_MW~1\JROCKI~1.0-1;C:\ORA_MW~1\ORA_FR~1\opmn\bin;C:\ORA_MW~1\ORA_FR~1\opmn\lib;C:\ORA_MW~1\ORA_FR~1\perl\bin;.;C:\Ora_MWhome\Ora_FRHome\lib\;C:\Ora_MWhome\Ora_FRHome\jdk\jre\lib\i386\
    CONFIG LOG CONFIG LOCATION: c:\tmp\OraInstall2013-05-14_01-24-20PM\ext\jlib\log-config.xml
    XXX Entered Init()!!!
    Check Point Location : C:\Program Files\Oracle\Inventory\checkpoint\AS\11.1.2.1.0
    java.homeC:/Ora_MWhome/Ora_FRHome/jdk/jre
    weblogic.homeC:/Ora_MWhome/wlserver_10.3/server
    java.class.pathC:/Ora_MWhome/wlserver_10.3/server/lib/weblogic.jar;C:/Ora_MWhome/wlserver_10.3/server/lib/webservices.jar;C:/Ora_MWhome/utils/config/10.3/config-launch.jar;C:/Ora_MWhome/Ora_FRHome/lib/java/shared/args4j/2.0.9/args4j-2.0.9.jar;C:/Ora_MWhome/Ora_FRHome/opmn/lib/argus.jar;C:/Ora_MWhome/Ora_FRHome/install/config/ASConfig.jar;C:/Ora_MWhome/Ora_FRHome/install/config/classic_config.jar;C:/Ora_MWhome/Ora_FRHome/opmn/lib/iasprovision.jar;C:/Ora_MWhome/Ora_FRHome/../oracle_common/modules/oracle.jmx_11.1.1/jmxframework.jar;C:/Ora_MWhome/Ora_FRHome/../oracle_common/modules/oracle.jmx_11.1.1/jmxspi.jar;C:/Ora_MWhome/Ora_FRHome/inventory/Scripts/ext/jlib/message.jar;C:/Ora_MWhome/Ora_FRHome/../oracle_common/modules/oracle.odl_11.1.1/ojdl.jar;C:/Ora_MWhome/Ora_FRHome/../oracle_common/modules/oracle.odl_11.1.1/ojdl2.jar;C:/Ora_MWhome/Ora_FRHome/opmn/lib/ons.jar;C:/Ora_MWhome/Ora_FRHome/opmn/lib/opmneditor.jar;C:/Ora_MWhome/Ora_FRHome/opmn/lib/optic.jar;C:/Ora_MWhome/Ora_FRHome/opmn/lib/repositorycheck.jar;C:/Ora_MWhome/Ora_FRHome/opmn/lib/wlclient.jar;C:/Ora_MWhome/Ora_FRHome/opmn/lib/wljmxclient.jar;C:/Ora_MWhome/Ora_FRHome/lib/xmlparserv2.jar;C:/Ora_MWhome/Ora_FRHome/forms/provision/frmconfig.jar;C:/Ora_MWhome/Ora_FRHome/frcommon/provision/frconfig.jar;C:/Ora_MWhome/Ora_FRHome/../oracle_common/modules/oracle.ldap_11.1.1/ldapjclnt11.jar;C:/Ora_MWhome/Ora_FRHome/../oracle_common/modules/oracle.jps_11.1.1/jps-common.jar;C:/Ora_MWhome/Ora_FRHome/../oracle_common/modules/oracle.jps_11.1.1/jps-wls.jar;C:/Ora_MWhome/Ora_FRHome/../oracle_common/modules/oracle.jps_11.1.1/jps-ee.jar;C:/Ora_MWhome/Ora_FRHome/../oracle_common/modules/oracle.jps_11.1.1/jps-unsupported-api.jar;C:/Ora_MWhome/Ora_FRHome/../oracle_common/modules/oracle.jps_11.1.1/jacc-spi.jar;C:/Ora_MWhome/Ora_FRHome/../oracle_common/modules/oracle.jps_11.1.1/jps-mbeans.jar;C:/Ora_MWhome/Ora_FRHome/../oracle_common/modules/oracle.jps_11.1.1/jps-api.jar;C:/Ora_MWhome/Ora_FRHome/../oracle_common/modules/oracle.jps_11.1.1/jps-internal.jar;C:/Ora_MWhome/Ora_FRHome/jlib/ossoreg.jar;C:/Ora_MWhome/Ora_FRHome/../oracle_common/modules/oracle.jrf_11.1.1/jrf.jar;C:/Ora_MWhome/Ora_FRHome/jlib/ojmisc.jar;C:/Ora_MWhome/Ora_FRHome/jlib/jazn.jar;C:/Ora_MWhome/Ora_FRHome/jlib/ldapjclnt9.jar;ORACLE_HOMEnullORACLE_HOMEnullORACLE_HOMEnullORACLE_HOMEnullORACLE_HOMEnullORACLE_HOME%/../oracle_common/jlib/rcucommon.jar
    Assigning Port: 7001 to: DOMAIN_PORT
    ClassicDomain
    DOMAIN_HOME: C:/Ora_MWhome/user_projects/domains/ClassicDomain
    Trying to assign 2 consecutive ports where the starting port range is: 9001 - 9100
    Assigning Port: 9001 to: WLS_FORMS_PORT
    Assigning Port: -1 to: NODE_MANAGER_PORT
    Trying to assign 2 consecutive ports where the starting port range is: 9001 - 9100
    Trying to assign 2 consecutive ports where the starting port range is: 9002 - 9100
    Assigning Port: 9002 to: WLS_REPORTS_PORT
    Assigning Port: -1 to: NODE_MANAGER_PORT
    DOMAIN_HOME: C:/Ora_MWhome/user_projects/domains/ClassicDomain
    DOMAIN_HOME: C:/Ora_MWhome/user_projects/domains/ClassicDomain
    Trying to assign 3 consecutive ports where the starting port range is: 6700 - 6800
    Assigning Port: 6700 to: OPMN_LOCAL_PORT
    Assigning Port: 6701 to: OPMN_REMOTE_PORT
    Assigning Port: 6702 to: OPMN_REQUEST_PORT
    Trying to assign 3 consecutive ports where the starting port range is: 8888 - 8988
    Assigning Port: 8888 to: OHS_LISTEN_PORT
    Assigning Port: 8889 to: OHS_PROXY_PORT
    Assigning Port: 8890 to: OHS_SSL_PORT
    GJS OHS Hostname: LTHP95015GQ.ds.fs.fed.us
    GJS managedServer Hostname: LTHP95015GQ.ds.fs.fed.us
    GJS OHS Hostname: LTHP95015GQ.ds.fs.fed.us
    GJS managedServer Hostname: LTHP95015GQ.ds.fs.fed.us
    Assigning Port: 5155 to: EMAGENT_PORT
    EMD Port = 5155
    XXX Entered DoExecute()!!!
    displayProperties()!!!
    CREATE_DOMAIN : true
    JOIN_DOMAIN :
    DOMAIN_NAME : ClassicDomain
    DOMAIN_HOSTNAME : LTHP95015GQ.ds.fs.fed.us
    DOMAIN_PORT : 7001
    DOMAIN_HOME_PATH : C:/Ora_MWhome/user_projects/domains/ClassicDomain
    ADMIN_USER_NAME : weblogic
    MW_HOME : C:\Ora_MWhome
    ORACLE_HOME : C:\Ora_MWhome\Ora_FRHome
    INSTANCE_HOME : C:\Ora_MWhome\orainst
    INSTANCE_NAME : orainst
    CONFIGURE_FORMS : true
    CONFIGURE_FORMS_BUILDER : true
    CONFIGURE_REPORTS : true
    CONFIGURE_REPORTS_BUILDER : true
    CONFIGURE_OHS : true
    CONFIGURE_MANAGEMENT_COMPONENT : true
    PORT_LOCATION : 0
    AUTOMATIC_PORT_DETECT : true
    STATICPORT_INI_FILE_LOCATION :
    ENABLE_PROXY : false
    PROXY_HOST :
    PROXY_PORT :
    PROXY_BYPASS :
    USE_OID : false
    OID_USE_SSL : false
    OID_HOST :
    OID_PORT :
    OID_USERNAME : cn=orcladmin
    Executing Task: Creating Domain
    XXX: adding task: oracle.as.install.classic.ca.standard.DomainProvisioningTask
    AdminServer port is 7001
    trying to connect to LTHP95015GQ.ds.fs.fed.us 7001
    Creating Weblogic Domain.
    Adding Template : C:/Ora_MWhome/oracle_common/common/templates/applications/jrf_template_11.1.1.jar
    Adding Template : C:/Ora_MWhome/Ora_FRHome/common/templates/applications/classic_template_11.1.2.jar
    CLASSPATH=C:\ORA_MW~1\patch_wls1036\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\ORA_MW~1\patch_ocp371\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\ORA_MW~1\JROCKI~1.0-1\lib\tools.jar;C:\ORA_MW~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\ORA_MW~1\WLSERV~1.3\server\lib\weblogic.jar;C:\ORA_MW~1\modules\features\weblogic.server.modules_10.3.6.0.jar;C:\ORA_MW~1\WLSERV~1.3\server\lib\webservices.jar;C:\ORA_MW~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\ORA_MW~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\ORA_MW~1\JROCKI~1.0-1;C:\PROGRA~1\Java\jre6\lib\ext\QTJava.zip;C:\ORA_MW~1\utils\config\10.3\config-launch.jar;C:\ORA_MW~1\WLSERV~1.3\common\derby\lib\derbynet.jar;C:\ORA_MW~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\ORA_MW~1\WLSERV~1.3\common\derby\lib\derbytools.jar;;
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    Error: addTemplate() failed. Do dumpStack() to see details.
    oracle.as.provisioning.exception.ASProvWorkflowException: Problem invoking WLST - Traceback (innermost last):
    File "c:\tmp\tmp1368559932377.py", line 42, in ?
    File "C:\tmp\WLSTOfflineIni6566541924549047913.py", line 89, in addTemplate
    Oracle BI Composer Runtime - 11.1.1.0Oracle BI-ADF Runtime - 11.1.1.0
         at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
         at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1538)
         at com.oracle.cie.domain.script.jython.WLScriptContext.addTemplate(WLScriptContext.java:420)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.ScriptException: com.oracle.cie.domain.template.dependency.SelectionConflictException: The following prerequisites were found to be missing:
    Oracle BI Composer Runtime - 11.1.1.0Oracle BI-ADF Runtime - 11.1.1.0
         at oracle.as.provisioning.weblogic.ASDomain._createDomain(ASDomain.java:2958)
         at oracle.as.provisioning.weblogic.ASDomain.createDomain(ASDomain.java:2476)
         at oracle.as.provisioning.engine.WorkFlowExecutor._createDomain(WorkFlowExecutor.java:633)
         at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:391)
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
         at oracle.as.install.classic.ca.standard.StandardWorkFlowExecutor.execute(StandardWorkFlowExecutor.java:65)
         at oracle.as.install.classic.ca.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:26)
         at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
         at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:371)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:64)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:160)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86)
         at java.lang.Thread.run(Thread.java:662)
    oracle.as.provisioning.exception.ASProvisioningException
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:872)
         at oracle.as.install.classic.ca.standard.StandardWorkFlowExecutor.execute(StandardWorkFlowExecutor.java:65)
         at oracle.as.install.classic.ca.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:26)
         at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
         at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:371)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:64)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:160)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.as.provisioning.exception.ASProvWorkflowException: Error Executing workflow.
         at oracle.as.provisioning.engine.WorkFlowExecutor._createDomain(WorkFlowExecutor.java:686)
         at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:391)
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
         ... 13 more
    In doCancel method ...
    Yes option....
    outputFile:C:\Program Files\Oracle\Inventory\logs\installProfile2013-05-14_01-24-20PM.log
    in writeProfile method..
    [ENGINE] Adding c:\tmp\OraInstall2013-05-14_01-24-20PM for deletion.
    java.lang.NullPointerException
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.shutdown(StandardConfigActionManager.java:185)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.forceStop(ConfigurationExtension.java:98)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.shutdown(ConfigurationModule.java:231)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule$1.run(ConfigurationModule.java:137)
    I easily met all required System Requirements and Specifications, but no idea how to resolve.
    Any suggestions are greatly appriciated.

    What do you have here: File "c:\tmp\tmp1368559932377.py", line 42, in ?
    Kinds,
    Gabriel Abelha

  • Error creating domain - need help!

    I have downloaded weblogic 10.3.5 (the one without OEPE), i installed it first, then i downloaded Oracle Forms and Reports 11gR2 (11.1.2.0.0), which, as i read in the compatibility matrix, works with 10.3.5 WLS.
    It's very annoying that sometimes during installations there are many errors and no one provide an official solution for these, people always should search on forums for solution for these problems... even if i followed all the correct steps of installing WLS + Forms & Reports, i'm still facing with annoying error messages for which i didn't find a solution.
    I deinstalled it, installed again, 4-5 times, deleted all remaining files, so as if i did not have installed anything about these products. Also, my Windows OS was reinstalled 2 days ago.
    This is the .out file (part of it).
    Launching NodeManager ...
    Properties: {NativeVersionEnabled=true,NodeManagerHome=D:/OracleMiddleware/Middleware/wlserver_10.3/common/nodemanager,StartScriptEnabled=true,}
    Command: D:\ORACLE~2\MIDDLE~1\JROCKI~1.2-4\jre\bin\javaw.exe -classpath "D:\ORACLE~2\MIDDLE~1\JROCKI~1.2-4\jre\lib\rt.jar;D:\ORACLE~2\MIDDLE~1\JROCKI~1.2-4\jre\lib\i18n.jar;D:\ORACLE~2\MIDDLE~1\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\ORACLE~2\MIDDLE~1\patch_ocp360\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\ORACLE~2\MIDDLE~1\JROCKI~1.2-4\lib\tools.jar;D:\ORACLE~2\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\ORACLE~2\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\ORACLE~2\MIDDLE~1\modules\features\weblogic.server.modules_10.3.5.0.jar;D:\ORACLE~2\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\ORACLE~2\MIDDLE~1\modules\ORGAPA~1.1\lib\ant-all.jar;D:\ORACLE~2\MIDDLE~1\modules\NETSFA~1.0_1\lib\ant-contrib.jar;D:\ORACLE~2\MIDDLE~1\utils\config\10.3\config-launch.jar;D:\ORACLE~2\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbynet.jar;D:\ORACLE~2\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;D:\ORACLE~2\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbytools.jar" weblogic.NodeManager "-v"
    Successfully launched the Node Manager.
    The Node Manager process is running independent of the WLST process.
    Exiting WLST will not stop the Node Manager process. Please refer
    to the Node Manager logs for more information.
    The Node Manager logs will be under D:\OracleMiddleware\Middleware\wlserver_10.3\common\nodemanager
    Node Manager starting in the background
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
      isPortAvailable [port 5556]
      Port 5556 available.
    java.lang.Exception: The node manager failed to start
         at oracle.as.provisioning.weblogic.ASDomain._startNodeManager(ASDomain.java:3706)
         at oracle.as.provisioning.weblogic.ASDomain.startNodeManager(ASDomain.java:3516)
         at oracle.as.provisioning.engine.WorkFlowExecutor._createDomain(WorkFlowExecutor.java:637)
         at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:391)
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
         at oracle.as.install.classic.ca.standard.StandardWorkFlowExecutor.execute(StandardWorkFlowExecutor.java:65)
         at oracle.as.install.classic.ca.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:26)
         at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
         at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:339)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    java.lang.Exception: The node manager failed to start
         at oracle.as.provisioning.weblogic.ASDomain._startNodeManager(ASDomain.java:3706)
         at oracle.as.provisioning.weblogic.ASDomain.startNodeManager(ASDomain.java:3516)
         at oracle.as.provisioning.engine.WorkFlowExecutor._createDomain(WorkFlowExecutor.java:637)
         at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:391)
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
         at oracle.as.install.classic.ca.standard.StandardWorkFlowExecutor.execute(StandardWorkFlowExecutor.java:65)
         at oracle.as.install.classic.ca.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:26)
         at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
         at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:339)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    oracle.as.provisioning.exception.ASProvisioningException
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:872)
         at oracle.as.install.classic.ca.standard.StandardWorkFlowExecutor.execute(StandardWorkFlowExecutor.java:65)
         at oracle.as.install.classic.ca.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:26)
         at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
         at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:339)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.as.provisioning.exception.ASProvWorkflowException: Error Executing workflow.
         at oracle.as.provisioning.engine.WorkFlowExecutor._createDomain(WorkFlowExecutor.java:686)
         at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:391)
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
         ... 13 more
    XXX: adding task: oracle.as.install.classic.ca.standard.DomainProvisioningTask
      AdminServer port is 7001
      trying to connect to roger 7001
      Successful
      getDomainRuntimeMBeanServerConnection ...
      Connecting to Domain runtime ...
      trying to connect to roger 7001
      Successfully connected to the Domain Runtime ...
      Creating Weblogic Domain.
      isPortAvailable [port 5556]
      Port 5556 available.
      Adding Template : D:/OracleMiddleware/Middleware/oracle_common/common/templates/applications/jrf_template_11.1.1.jar
      Adding Template : D:/OracleMiddleware/Middleware/Oracle_FRHome1/common/templates/applications/classic_template_11.1.2.jar
    CLASSPATH=D:\ORACLE~2\MIDDLE~1\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\ORACLE~2\MIDDLE~1\patch_ocp360\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\ORACLE~2\MIDDLE~1\JROCKI~1.2-4\lib\tools.jar;D:\ORACLE~2\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\ORACLE~2\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\ORACLE~2\MIDDLE~1\modules\features\weblogic.server.modules_10.3.5.0.jar;D:\ORACLE~2\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\ORACLE~2\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;D:\ORACLE~2\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;
    PATH=D:\ORACLE~2\MIDDLE~1\patch_wls1035\profiles\default\native;D:\ORACLE~2\MIDDLE~1\patch_ocp360\profiles\default\native;D:\ORACLE~2\MIDDLE~1\WLSERV~1.3\server\native\win\32;D:\ORACLE~2\MIDDLE~1\WLSERV~1.3\server\bin;D:\ORACLE~2\MIDDLE~1\modules\ORGAPA~1.1\bin;D:\ORACLE~2\MIDDLE~1\JROCKI~1.2-4\jre\bin;D:\ORACLE~2\MIDDLE~1\JROCKI~1.2-4\bin;D:\OracleMiddleware\Middleware\Oracle_FRHome1\bin;D:\OracleMiddleware\Middleware\Oracle_FRHome1\bin;%ORACLE_HOME%\bin;D:\oracle\app\product\11.2.0\dbhome_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;D:\OracleMiddleware\Middleware\Oracle_FRHome1\opmn\bin;D:\OracleMiddleware\Middleware\Oracle_FRHome1\opmn\lib;D:\OracleMiddleware\Middleware\Oracle_FRHome1\perl\bin;D:\ORACLE~2\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    Your environment has been set.
    CLASSPATH=D:\ORACLE~2\MIDDLE~1\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\ORACLE~2\MIDDLE~1\patch_ocp360\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\ORACLE~2\MIDDLE~1\JROCKI~1.2-4\lib\tools.jar;D:\ORACLE~2\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\ORACLE~2\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\ORACLE~2\MIDDLE~1\modules\features\weblogic.server.modules_10.3.5.0.jar;D:\ORACLE~2\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\ORACLE~2\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;D:\ORACLE~2\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;;D:\ORACLE~2\MIDDLE~1\utils\config\10.3\config-launch.jar;D:\ORACLE~2\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbynet.jar;D:\ORACLE~2\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;D:\ORACLE~2\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbytools.jar;;
    In doCancel method ...
    Yes option....
    outputFile:C:\Program Files\Oracle\Inventory\logs\installProfile2012-03-08_09-08-38AM.log
    in writeProfile method..
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    Error: addTemplate() failed. Do dumpStack() to see details.
    oracle.as.provisioning.exception.ASProvWorkflowException: Problem invoking WLST - Traceback (innermost last):
      File "C:\TEMP\tmp1331202100359.py", line 42, in ?
      File "C:\TEMP\WLSTOfflineIni1292305174085843335.py", line 89, in addTemplate
         at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
         at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1538)
         at com.oracle.cie.domain.script.jython.WLScriptContext.addTemplate(WLScriptContext.java:420)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.ScriptException: com.oracle.cie.domain.ConfigGroupsException: Multiple definitions of server-group JRF-ADMIN-SVR are not allowed
         at oracle.as.provisioning.weblogic.ASDomain._createDomain(ASDomain.java:2957)
         at oracle.as.provisioning.weblogic.ASDomain.createDomain(ASDomain.java:2475)
         at oracle.as.provisioning.engine.WorkFlowExecutor._createDomain(WorkFlowExecutor.java:633)
         at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:391)
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
         at oracle.as.install.classic.ca.standard.StandardWorkFlowExecutor.execute(StandardWorkFlowExecutor.java:65)
         at oracle.as.install.classic.ca.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:26)
         at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
         at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:339)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    oracle.as.provisioning.exception.ASProvisioningException
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:872)
         at oracle.as.install.classic.ca.standard.StandardWorkFlowExecutor.execute(StandardWorkFlowExecutor.java:65)
         at oracle.as.install.classic.ca.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:26)
         at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
         at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:339)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.as.provisioning.exception.ASProvWorkflowException: Error Executing workflow.
         at oracle.as.provisioning.engine.WorkFlowExecutor._createDomain(WorkFlowExecutor.java:686)
         at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:391)
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
         ... 13 moreCan someone give help?
    My DB version is Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 and OS is Windows XP SP3.
    Thanks!
    Edited by: Roger22 on 08.03.2012 12:40

    I did not found that nodemanager.properties file, i have only nodemanager.domains file, which contain an entry regarding to my domain.
    However, now i got the following error (With WLS 10.3.5 installed, then Forms 11.1.1.2.0):
    Executing Task: Creating Domain
    XXX: adding task: oracle.as.install.classic.ca.standard.DomainProvisioningTask
      AdminServer port is 7001
      trying to connect to roger 7001
      Creating Weblogic Domain.
    java.lang.NoClassDefFoundError: com/bea/plateng/common/util/ObjectStoreManager
         at oracle.as.provisioning.weblogic.ASDomain._createDomain(ASDomain.java:2822)
         at oracle.as.provisioning.weblogic.ASDomain.createDomain(ASDomain.java:2469)
         at oracle.as.provisioning.engine.WorkFlowExecutor._createDomain(WorkFlowExecutor.java:635)
         at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:393)
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
         at oracle.as.install.classic.ca.standard.StandardWorkFlowExecutor.execute(StandardWorkFlowExecutor.java:65)
         at oracle.as.install.classic.ca.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:26)
         at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
         at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.ClassNotFoundException: com.bea.plateng.common.util.ObjectStoreManager
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionClassLoader.loadClass(StandardConfigActionClassLoader.java:75)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         ... 18 more
    oracle.as.provisioning.exception.ASProvisioningException
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:872)
         at oracle.as.install.classic.ca.standard.StandardWorkFlowExecutor.execute(StandardWorkFlowExecutor.java:65)
         at oracle.as.install.classic.ca.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:26)
         at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
         at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.as.provisioning.exception.ASProvWorkflowException: Error Executing workflow.
         at oracle.as.provisioning.engine.WorkFlowExecutor._createDomain(WorkFlowExecutor.java:688)
         at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:393)
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
         ... 13 more
    progress in calculate progress4
    progress in calculate progress4Don't think the memory it's a problem, i see the memory/CPU usage and they are not used at maximum, so i still have ~400MB RAM free.
    Any help what can i do?
    Thanks

  • Error: while creating a view - Help needed

    When i am trying to create the view i am getting the error msg as:
    ==>ORA-02070: database does not support operator NLS_CHARSET_DECL_LEN in this context<==
    Please advise in this regard to overcome this issue.
    the view is nothing but
    ================
    create or replace view f_test as
    WITH metadata1 as
    (SELECT DISTINCT * FROM
    (SELECT fre_id, bu_id, eff_from_dt, rec_eff_from_dt,
    rec_eff_to_dt, rec_type, eff_to_dt,
    active_flg, nm_long, nm_short,
    rplcmnt_bu_id, pc_cc_cd, tax_cd, bu_type_cd,
    ledger_cd, internal_id, create_dt,
    last_upd_dt, last_upd_id,
    DENSE_RANK () OVER (PARTITION BY fre_id, bu_id, eff_from_dt
    ORDER BY fre_id, bu_id, eff_from_dt, rec_eff_from_dt) RANK
    FROM AUD_TEST)
    aud1 AS
    (SELECT column_name,
    DECODE (column_id,
    7, TO_CHAR (eff_to_dt, 'MMDDRRRR'),
    8, active_flg,
    9, nm_long,
    10, nm_short,
    11, rplcmnt_bu_id,
    12, pc_cc_cd,
    13, tax_cd,
    14, bu_type_cd,
    15, ledger_cd) col_val_new,
    '' col_val_old, fre_id, bu_id, eff_from_dt, rec_eff_from_dt, rec_type, rank
    FROM metadata1, all_tab_columns u
    WHERE table_name = 'AUD_TEST'
    AND column_name IN
    ('EFF_TO_DT',
    'ACTIVE_FLG',
    'NM_LONG',
    'NM_SHORT',
    'RPLCMNT_BU_ID',
    'PC_CC_CD',
    'TAX_CD',
    'BU_TYPE_CD',
    'LEDGER_CD'
    AND rank = '1')      ,
    aud2 AS
    (SELECT column_name,
    DECODE (column_id,
    7, TO_CHAR (eff_to_dt, 'MMDDRRRR'),
    8, active_flg,
    9, nm_long,
    10, nm_short,
    11, rplcmnt_bu_id,
    12, pc_cc_cd,
    13, tax_cd,
    14, bu_type_cd,
    15, ledger_cd) col_val_new,
    '' col_val_old, fre_id, bu_id, eff_from_dt, rec_eff_from_dt, rec_type, rank
    FROM metadata1 m, all_tab_columns u
    WHERE table_name = 'AUD_TEST'
    AND column_name IN
    ('EFF_TO_DT',
    'ACTIVE_FLG',
    'NM_LONG',
    'NM_SHORT',
    'RPLCMNT_BU_ID',
    'PC_CC_CD',
    'TAX_CD',
    'BU_TYPE_CD',
    'LEDGER_CD')
    AND rank = '2'),
    aud3 AS
    (SELECT column_name,
    DECODE (column_id,
    7, TO_CHAR (eff_to_dt, 'MMDDRRRR'),
    8, active_flg,
    9, nm_long,
    10, nm_short,
    11, rplcmnt_bu_id,
    12, pc_cc_cd,
    13, tax_cd,
    14, bu_type_cd,
    15, ledger_cd) col_val_new,
    '' col_val_old, fre_id, bu_id, eff_from_dt, rec_eff_from_dt, rec_type, rank
    FROM metadata1 m, all_tab_columns u
    WHERE table_name = 'AUD_TEST'
    AND column_name IN
    ('EFF_TO_DT',
    'ACTIVE_FLG',
    'NM_LONG',
    'NM_SHORT',
    'RPLCMNT_BU_ID',
    'PC_CC_CD',
    'TAX_CD',
    'BU_TYPE_CD',
    'LEDGER_CD')
    AND rank = '3'),
    aud4 AS
    (SELECT column_name,
    DECODE (column_id,
    7, TO_CHAR (eff_to_dt, 'MMDDRRRR'),
    8, active_flg,
    9, nm_long,
    10, nm_short,
    11, rplcmnt_bu_id,
    12, pc_cc_cd,
    13, tax_cd,
    14, bu_type_cd,
    15, ledger_cd) col_val_new,
    '' col_val_old, fre_id, bu_id, eff_from_dt, rec_eff_from_dt, rec_type, rank
    FROM metadata1 m, all_tab_columns u
    WHERE table_name = 'AUD_TEST'
    AND column_name IN
    ('EFF_TO_DT',
    'ACTIVE_FLG',
    'NM_LONG',
    'NM_SHORT',
    'RPLCMNT_BU_ID',
    'PC_CC_CD',
    'TAX_CD',
    'BU_TYPE_CD',
    'LEDGER_CD')
    AND rank = '4'),
    aud5 AS
    (SELECT column_name,
    DECODE (column_id,
    7, TO_CHAR (eff_to_dt, 'MMDDRRRR'),
    8, active_flg,
    9, nm_long,
    10, nm_short,
    11, rplcmnt_bu_id,
    12, pc_cc_cd,
    13, tax_cd,
    14, bu_type_cd,
    15, ledger_cd) col_val_new,
    '' col_val_old, fre_id, bu_id, eff_from_dt, rec_eff_from_dt, rec_type, rank
    FROM metadata1 m, all_tab_columns u
    WHERE table_name = 'AUD_TEST'
    AND column_name IN
    ('EFF_TO_DT',
    'ACTIVE_FLG',
    'NM_LONG',
    'NM_SHORT',
    'RPLCMNT_BU_ID',
    'PC_CC_CD',
    'TAX_CD',
    'BU_TYPE_CD',
    'LEDGER_CD')
    AND rank = '5'),
    aud6 AS
    (SELECT column_name,
    DECODE (column_id,
    7, TO_CHAR (eff_to_dt, 'MMDDRRRR'),
    8, active_flg,
    9, nm_long,
    10, nm_short,
    11, rplcmnt_bu_id,
    12, pc_cc_cd,
    13, tax_cd,
    14, bu_type_cd,
    15, ledger_cd) col_val_new,
    '' col_val_old, fre_id, bu_id, eff_from_dt, rec_eff_from_dt, rec_type, rank
    FROM metadata1 m, all_tab_columns u
    WHERE table_name = 'AUD_TEST'
    AND column_name IN
    ('EFF_TO_DT',
    'ACTIVE_FLG',
    'NM_LONG',
    'NM_SHORT',
    'RPLCMNT_BU_ID',
    'PC_CC_CD',
    'TAX_CD',
    'BU_TYPE_CD',
    'LEDGER_CD')
    AND rank = '6'),
    aud7 AS
    (SELECT column_name,
    DECODE (column_id,
    7, TO_CHAR (eff_to_dt, 'MMDDRRRR'),
    8, active_flg,
    9, nm_long,
    10, nm_short,
    11, rplcmnt_bu_id,
    12, pc_cc_cd,
    13, tax_cd,
    14, bu_type_cd,
    15, ledger_cd) col_val_new,
    '' col_val_old, fre_id, bu_id, eff_from_dt, rec_eff_from_dt, rec_type, rank
    FROM metadata1 m, all_tab_columns u
    WHERE table_name = 'AUD_TEST'
    AND column_name IN
    ('EFF_TO_DT',
    'ACTIVE_FLG',
    'NM_LONG',
    'NM_SHORT',
    'RPLCMNT_BU_ID',
    'PC_CC_CD',
    'TAX_CD',
    'BU_TYPE_CD',
    'LEDGER_CD')
    AND rank = '7'),
    aud8 AS
    (SELECT column_name,
    DECODE (column_id,
    7, TO_CHAR (eff_to_dt, 'MMDDRRRR'),
    8, active_flg,
    9, nm_long,
    10, nm_short,
    11, rplcmnt_bu_id,
    12, pc_cc_cd,
    13, tax_cd,
    14, bu_type_cd,
    15, ledger_cd) col_val_new,
    '' col_val_old, fre_id, bu_id, eff_from_dt, rec_eff_from_dt, rec_type, rank
    FROM metadata1 m, all_tab_columns u
    WHERE table_name = 'AUD_TEST'
    AND column_name IN
    ('EFF_TO_DT',
    'ACTIVE_FLG',
    'NM_LONG',
    'NM_SHORT',
    'RPLCMNT_BU_ID',
    'PC_CC_CD',
    'TAX_CD',
    'BU_TYPE_CD',
    'LEDGER_CD')
    AND rank = '8'),
    aud9 AS
    (SELECT column_name,
    DECODE (column_id,
    7, TO_CHAR (eff_to_dt, 'MMDDRRRR'),
    8, active_flg,
    9, nm_long,
    10, nm_short,
    11, rplcmnt_bu_id,
    12, pc_cc_cd,
    13, tax_cd,
    14, bu_type_cd,
    15, ledger_cd) col_val_new,
    '' col_val_old, fre_id, bu_id, eff_from_dt, rec_eff_from_dt, rec_type, rank
    FROM metadata1 m, all_tab_columns u
    WHERE table_name = 'AUD_TEST'
    AND column_name IN
    ('EFF_TO_DT',
    'ACTIVE_FLG',
    'NM_LONG',
    'NM_SHORT',
    'RPLCMNT_BU_ID',
    'PC_CC_CD',
    'TAX_CD',
    'BU_TYPE_CD',
    'LEDGER_CD')
    AND rank = '9'),
    aud10 AS
    (SELECT column_name,
    DECODE (column_id,
    7, TO_CHAR (eff_to_dt, 'MMDDRRRR'),
    8, active_flg,
    9, nm_long,
    10, nm_short,
    11, rplcmnt_bu_id,
    12, pc_cc_cd,
    13, tax_cd,
    14, bu_type_cd,
    15, ledger_cd) col_val_new,
    '' col_val_old, fre_id, bu_id, eff_from_dt, rec_eff_from_dt, rec_type, rank
    FROM metadata1 m, all_tab_columns u
    WHERE table_name = 'AUD_TEST'
    AND column_name IN
    ('EFF_TO_DT',
    'ACTIVE_FLG',
    'NM_LONG',
    'NM_SHORT',
    'RPLCMNT_BU_ID',
    'PC_CC_CD',
    'TAX_CD',
    'BU_TYPE_CD',
    'LEDGER_CD')
    AND rank = '10'),
    metadata2 as
    (select aud1.column_name,
    aud1.col_val_new,
    '' col_val_old,
    aud1.fre_id,
    aud1.bu_id,
    aud1.eff_from_dt,
    aud1.rec_eff_from_dt,
    aud1.rec_type,
    aud1.rank
    from aud1
    union all
    select aud2.column_name, DECODE(aud2.rec_type,'D','',aud2.col_val_new) col_val_new, aud1.col_val_new col_val_old, aud2.fre_id, aud2.bu_id,
    aud2.eff_from_dt, aud2.rec_eff_from_dt, aud2.rec_type, aud2.rank
    from aud1, aud2
    where (aud1.fre_id = aud2.fre_id and aud1.bu_id = aud2.bu_id and aud1.eff_from_dt = aud2.eff_from_dt
    and aud1.column_name = aud2.column_name
    and ( (aud2.rec_type = 'C' and nvl(aud1.col_val_new,'^') <> nvl(aud2.col_val_new,'~') ) or
    (aud2.rec_type <> 'C' or (nvl(aud1.col_val_new,'^') <> nvl(aud2.col_val_new,'~'))))
    union all
    select aud3.column_name, DECODE(aud3.rec_type,'D','',aud3.col_val_new) col_val_new, aud2.col_val_new col_val_old, aud3.fre_id, aud3.bu_id,
    aud3.eff_from_dt, aud3.rec_eff_from_dt, aud3.rec_type, aud3.rank
    from aud2, aud3
    where (aud2.fre_id = aud3.fre_id and aud2.bu_id = aud3.bu_id and aud2.eff_from_dt = aud3.eff_from_dt
    and aud2.column_name = aud3.column_name
    and ( (aud3.rec_type = 'C' and nvl(aud2.col_val_new,'^') <> nvl(aud3.col_val_new,'~') ) or
    (aud3.rec_type <> 'C' or (nvl(aud2.col_val_new,'^') <> nvl(aud3.col_val_new,'~'))))
    union all
    select aud4.column_name, DECODE(aud4.rec_type,'D','',aud4.col_val_new) col_val_new, aud3.col_val_new col_val_old, aud4.fre_id, aud4.bu_id,
    aud4.eff_from_dt, aud4.rec_eff_from_dt, aud4.rec_type, aud4.rank
    from aud3, aud4
    where (aud3.fre_id = aud4.fre_id and aud3.bu_id = aud4.bu_id and aud3.eff_from_dt = aud4.eff_from_dt
    and aud3.column_name = aud4.column_name
    and ( (aud4.rec_type = 'C' and nvl(aud3.col_val_new,'^') <> nvl(aud4.col_val_new,'~') ) or
    (aud4.rec_type <> 'C' or (nvl(aud3.col_val_new,'^') <> nvl(aud4.col_val_new,'~'))))
    union all
    select aud5.column_name, DECODE(aud5.rec_type,'D','',aud5.col_val_new) col_val_new, aud4.col_val_new col_val_old, aud5.fre_id, aud5.bu_id,
    aud5.eff_from_dt, aud5.rec_eff_from_dt, aud5.rec_type, aud5.rank
    from aud4, aud5
    where (aud4.fre_id = aud5.fre_id and aud4.bu_id = aud5.bu_id and aud4.eff_from_dt = aud5.eff_from_dt
    and aud4.column_name = aud5.column_name
    and ( (aud5.rec_type = 'C' and nvl(aud4.col_val_new,'^') <> nvl(aud5.col_val_new,'~') ) or
    (aud5.rec_type <> 'C' or (nvl(aud4.col_val_new,'^') <> nvl(aud5.col_val_new,'~'))))
    union all
    select aud6.column_name, DECODE(aud6.rec_type,'D','',aud6.col_val_new) col_val_new, aud5.col_val_new col_val_old, aud6.fre_id, aud6.bu_id,
    aud6.eff_from_dt, aud6.rec_eff_from_dt, aud6.rec_type, aud6.rank
    from aud5, aud6
    where (aud5.fre_id = aud6.fre_id and aud5.bu_id = aud6.bu_id and aud5.eff_from_dt = aud6.eff_from_dt
    and aud5.column_name = aud6.column_name
    and ( (aud6.rec_type = 'C' and nvl(aud5.col_val_new,'^') <> nvl(aud6.col_val_new,'~') ) or
    (aud6.rec_type <> 'C' or (nvl(aud5.col_val_new,'^') <> nvl(aud6.col_val_new,'~'))))
    union all
    select aud7.column_name, DECODE(aud7.rec_type,'D','',aud7.col_val_new) col_val_new, aud6.col_val_new col_val_old, aud7.fre_id, aud7.bu_id,
    aud7.eff_from_dt, aud7.rec_eff_from_dt, aud7.rec_type, aud7.rank
    from aud6, aud7
    where (aud6.fre_id = aud7.fre_id and aud6.bu_id = aud7.bu_id and aud6.eff_from_dt = aud7.eff_from_dt
    and aud6.column_name = aud7.column_name
    and ( (aud7.rec_type = 'C' and nvl(aud6.col_val_new,'^') <> nvl(aud7.col_val_new,'~') ) or
    (aud7.rec_type <> 'C' or (nvl(aud6.col_val_new,'^') <> nvl(aud7.col_val_new,'~'))))
    union all
    select aud8.column_name, DECODE(aud8.rec_type,'D','',aud8.col_val_new) col_val_new, aud7.col_val_new col_val_old, aud8.fre_id, aud8.bu_id,
    aud8.eff_from_dt, aud8.rec_eff_from_dt, aud8.rec_type, aud8.rank
    from aud7, aud8
    where (aud7.fre_id = aud8.fre_id and aud7.bu_id = aud8.bu_id and aud7.eff_from_dt = aud8.eff_from_dt
    and aud7.column_name = aud8.column_name
    and ( (aud8.rec_type = 'C' and nvl(aud7.col_val_new,'^') <> nvl(aud8.col_val_new,'~') ) or
    (aud8.rec_type <>'C' or (nvl(aud7.col_val_new,'^') <> nvl(aud8.col_val_new,'~'))))
    union all
    select aud9.column_name, DECODE(aud9.rec_type,'D','',aud9.col_val_new) col_val_new, aud8.col_val_new col_val_old, aud9.fre_id, aud9.bu_id,
    aud9.eff_from_dt, aud9.rec_eff_from_dt, aud9.rec_type, aud9.rank
    from aud8, aud9
    where (aud8.fre_id = aud9.fre_id and aud8.bu_id = aud9.bu_id and aud8.eff_from_dt = aud9.eff_from_dt
    and aud8.column_name = aud9.column_name
    and ( (aud9.rec_type = 'C' and nvl(aud8.col_val_new,'^') <> nvl(aud9.col_val_new,'~') ) or
    (aud9.rec_type <> 'C' or (nvl(aud8.col_val_new,'^') <> nvl(aud9.col_val_new,'~'))))
    union all
    select aud10.column_name, DECODE(aud10.rec_type,'D','',aud10.col_val_new) col_val_new, aud9.col_val_new col_val_old, aud10.fre_id, aud10.bu_id,
    aud10.eff_from_dt, aud10.rec_eff_from_dt, aud10.rec_type, aud10.rank
    from aud9, aud10
    where (aud9.fre_id = aud10.fre_id and aud9.bu_id = aud10.bu_id and aud9.eff_from_dt = aud10.eff_from_dt
    and aud9.column_name = aud10.column_name
    and ((aud10.rec_type = 'C' and nvl(aud9.col_val_new,'^') <> nvl(aud10.col_val_new,'~') )
    or (aud10.rec_type <> 'C' or (nvl(aud9.col_val_new,'^') <> nvl(aud10.col_val_new,'~'))))
    select * from metadata2
    where (rec_type = 'C' and (col_val_new is not null or col_val_old is not null))
    or (rec_type <> 'C');

    create or replace view frd_bu_test as
    WITH metadata1 as
    (SELECT DISTINCT * FROM
    (SELECT fre_id, bu_id, eff_from_dt, rec_eff_from_dt,
    rec_eff_to_dt, rec_type, eff_to_dt,
    active_flg, nm_long, nm_short,
    rplcmnt_bu_id, pc_cc_cd, tax_cd, bu_type_cd,
    ledger_cd, internal_id, create_dt,
    last_upd_dt, last_upd_id,
    DENSE_RANK () OVER (PARTITION BY fre_id, bu_id, eff_from_dt
    ORDER BY fre_id, bu_id, eff_from_dt, rec_eff_from_dt) RANK
    FROM AUD_TEST)
    aud1 AS
    (SELECT column_name,
    DECODE (column_id,
    7, TO_CHAR (eff_to_dt, 'MMDDRRRR'),
    8, active_flg,
    9, nm_long,
    10, nm_short,
    11, rplcmnt_bu_id,
    12, pc_cc_cd,
    13, tax_cd,
    14, bu_type_cd,
    15, ledger_cd) col_val_new,
    '' col_val_old, fre_id, bu_id, eff_from_dt, rec_eff_from_dt, rec_type, rank
    FROM metadata1, all_tab_columns u
    WHERE table_name = 'AUD_TEST'
    AND column_name IN
    ('EFF_TO_DT',
    'ACTIVE_FLG',
    'NM_LONG',
    'NM_SHORT',
    'RPLCMNT_BU_ID',
    'PC_CC_CD',
    'TAX_CD',
    'BU_TYPE_CD',
    'LEDGER_CD'
    AND rank = '1')      ,
    aud2 AS
    (SELECT column_name,
    DECODE (column_id,
    7, TO_CHAR (eff_to_dt, 'MMDDRRRR'),
    8, active_flg,
    9, nm_long,
    10, nm_short,
    11, rplcmnt_bu_id,
    12, pc_cc_cd,
    13, tax_cd,
    14, bu_type_cd,
    15, ledger_cd) col_val_new,
    '' col_val_old, fre_id, bu_id, eff_from_dt, rec_eff_from_dt, rec_type, rank
    FROM metadata1 m, all_tab_columns u
    WHERE table_name = 'AUD_TEST'
    AND column_name IN
    ('EFF_TO_DT',
    'ACTIVE_FLG',
    'NM_LONG',
    'NM_SHORT',
    'RPLCMNT_BU_ID',
    'PC_CC_CD',
    'TAX_CD',
    'BU_TYPE_CD',
    'LEDGER_CD')
    AND rank = '2'),
    aud3 AS
    (SELECT column_name,
    DECODE (column_id,
    7, TO_CHAR (eff_to_dt, 'MMDDRRRR'),
    8, active_flg,
    9, nm_long,
    10, nm_short,
    11, rplcmnt_bu_id,
    12, pc_cc_cd,
    13, tax_cd,
    14, bu_type_cd,
    15, ledger_cd) col_val_new,
    '' col_val_old, fre_id, bu_id, eff_from_dt, rec_eff_from_dt, rec_type, rank
    FROM metadata1 m, all_tab_columns u
    WHERE table_name = 'AUD_TEST'
    AND column_name IN
    ('EFF_TO_DT',
    'ACTIVE_FLG',
    'NM_LONG',
    'NM_SHORT',
    'RPLCMNT_BU_ID',
    'PC_CC_CD',
    'TAX_CD',
    'BU_TYPE_CD',
    'LEDGER_CD')
    AND rank = '3'),
    aud4 AS
    (SELECT column_name,
    DECODE (column_id,
    7, TO_CHAR (eff_to_dt, 'MMDDRRRR'),
    8, active_flg,
    9, nm_long,
    10, nm_short,
    11, rplcmnt_bu_id,
    12, pc_cc_cd,
    13, tax_cd,
    14, bu_type_cd,
    15, ledger_cd) col_val_new,
    '' col_val_old, fre_id, bu_id, eff_from_dt, rec_eff_from_dt, rec_type, rank
    FROM metadata1 m, all_tab_columns u
    WHERE table_name = 'AUD_TEST'
    AND column_name IN
    ('EFF_TO_DT',
    'ACTIVE_FLG',
    'NM_LONG',
    'NM_SHORT',
    'RPLCMNT_BU_ID',
    'PC_CC_CD',
    'TAX_CD',
    'BU_TYPE_CD',
    'LEDGER_CD')
    AND rank = '4'),
    aud5 AS
    (SELECT column_name,
    DECODE (column_id,
    7, TO_CHAR (eff_to_dt, 'MMDDRRRR'),
    8, active_flg,
    9, nm_long,
    10, nm_short,
    11, rplcmnt_bu_id,
    12, pc_cc_cd,
    13, tax_cd,
    14, bu_type_cd,
    15, ledger_cd) col_val_new,
    '' col_val_old, fre_id, bu_id, eff_from_dt, rec_eff_from_dt, rec_type, rank
    FROM metadata1 m, all_tab_columns u
    WHERE table_name = 'AUD_TEST'
    AND column_name IN
    ('EFF_TO_DT',
    'ACTIVE_FLG',
    'NM_LONG',
    'NM_SHORT',
    'RPLCMNT_BU_ID',
    'PC_CC_CD',
    'TAX_CD',
    'BU_TYPE_CD',
    'LEDGER_CD')
    AND rank = '5'),
    aud6 AS
    (SELECT column_name,
    DECODE (column_id,
    7, TO_CHAR (eff_to_dt, 'MMDDRRRR'),
    8, active_flg,
    9, nm_long,
    10, nm_short,
    11, rplcmnt_bu_id,
    12, pc_cc_cd,
    13, tax_cd,
    14, bu_type_cd,
    15, ledger_cd) col_val_new,
    '' col_val_old, fre_id, bu_id, eff_from_dt, rec_eff_from_dt, rec_type, rank
    FROM metadata1 m, all_tab_columns u
    WHERE table_name = 'AUD_TEST'
    AND column_name IN
    ('EFF_TO_DT',
    'ACTIVE_FLG',
    'NM_LONG',
    'NM_SHORT',
    'RPLCMNT_BU_ID',
    'PC_CC_CD',
    'TAX_CD',
    'BU_TYPE_CD',
    'LEDGER_CD')
    AND rank = '6'),
    aud7 AS
    (SELECT column_name,
    DECODE (column_id,
    7, TO_CHAR (eff_to_dt, 'MMDDRRRR'),
    8, active_flg,
    9, nm_long,
    10, nm_short,
    11, rplcmnt_bu_id,
    12, pc_cc_cd,
    13, tax_cd,
    14, bu_type_cd,
    15, ledger_cd) col_val_new,
    '' col_val_old, fre_id, bu_id, eff_from_dt, rec_eff_from_dt, rec_type, rank
    FROM metadata1 m, all_tab_columns u
    WHERE table_name = 'AUD_TEST'
    AND column_name IN
    ('EFF_TO_DT',
    'ACTIVE_FLG',
    'NM_LONG',
    'NM_SHORT',
    'RPLCMNT_BU_ID',
    'PC_CC_CD',
    'TAX_CD',
    'BU_TYPE_CD',
    'LEDGER_CD')
    AND rank = '7'),
    aud8 AS
    (SELECT column_name,
    DECODE (column_id,
    7, TO_CHAR (eff_to_dt, 'MMDDRRRR'),
    8, active_flg,
    9, nm_long,
    10, nm_short,
    11, rplcmnt_bu_id,
    12, pc_cc_cd,
    13, tax_cd,
    14, bu_type_cd,
    15, ledger_cd) col_val_new,
    '' col_val_old, fre_id, bu_id, eff_from_dt, rec_eff_from_dt, rec_type, rank
    FROM metadata1 m, all_tab_columns u
    WHERE table_name = 'AUD_TEST'
    AND column_name IN
    ('EFF_TO_DT',
    'ACTIVE_FLG',
    'NM_LONG',
    'NM_SHORT',
    'RPLCMNT_BU_ID',
    'PC_CC_CD',
    'TAX_CD',
    'BU_TYPE_CD',
    'LEDGER_CD')
    AND rank = '8'),
    aud9 AS
    (SELECT column_name,
    DECODE (column_id,
    7, TO_CHAR (eff_to_dt, 'MMDDRRRR'),
    8, active_flg,
    9, nm_long,
    10, nm_short,
    11, rplcmnt_bu_id,
    12, pc_cc_cd,
    13, tax_cd,
    14, bu_type_cd,
    15, ledger_cd) col_val_new,
    '' col_val_old, fre_id, bu_id, eff_from_dt, rec_eff_from_dt, rec_type, rank
    FROM metadata1 m, all_tab_columns u
    WHERE table_name = 'AUD_TEST'
    AND column_name IN
    ('EFF_TO_DT',
    'ACTIVE_FLG',
    'NM_LONG',
    'NM_SHORT',
    'RPLCMNT_BU_ID',
    'PC_CC_CD',
    'TAX_CD',
    'BU_TYPE_CD',
    'LEDGER_CD')
    AND rank = '9'),
    aud10 AS
    (SELECT column_name,
    DECODE (column_id,
    7, TO_CHAR (eff_to_dt, 'MMDDRRRR'),
    8, active_flg,
    9, nm_long,
    10, nm_short,
    11, rplcmnt_bu_id,
    12, pc_cc_cd,
    13, tax_cd,
    14, bu_type_cd,
    15, ledger_cd) col_val_new,
    '' col_val_old, fre_id, bu_id, eff_from_dt, rec_eff_from_dt, rec_type, rank
    FROM metadata1 m, all_tab_columns u
    WHERE table_name = 'AUD_TEST'
    AND column_name IN
    ('EFF_TO_DT',
    'ACTIVE_FLG',
    'NM_LONG',
    'NM_SHORT',
    'RPLCMNT_BU_ID',
    'PC_CC_CD',
    'TAX_CD',
    'BU_TYPE_CD',
    'LEDGER_CD')
    AND rank = '10'),
    metadata2 as
    (select aud1.column_name,
    aud1.col_val_new,
    '' col_val_old,
    aud1.fre_id,
    aud1.bu_id,
    aud1.eff_from_dt,
    aud1.rec_eff_from_dt,
    aud1.rec_type,
    aud1.rank
    from aud1
    union all
    select aud2.column_name, DECODE(aud2.rec_type,'D','',aud2.col_val_new) col_val_new, aud1.col_val_new col_val_old, aud2.fre_id, aud2.bu_id,
    aud2.eff_from_dt, aud2.rec_eff_from_dt, aud2.rec_type, aud2.rank
    from aud1, aud2
    where (aud1.fre_id = aud2.fre_id and aud1.bu_id = aud2.bu_id and aud1.eff_from_dt = aud2.eff_from_dt
    and aud1.column_name = aud2.column_name
    and ( (aud2.rec_type = 'C' and nvl(aud1.col_val_new,'^') <> nvl(aud2.col_val_new,'~') ) or
    (aud2.rec_type <> 'C' or (nvl(aud1.col_val_new,'^') <> nvl(aud2.col_val_new,'~'))))
    union all
    select aud3.column_name, DECODE(aud3.rec_type,'D','',aud3.col_val_new) col_val_new, aud2.col_val_new col_val_old, aud3.fre_id, aud3.bu_id,
    aud3.eff_from_dt, aud3.rec_eff_from_dt, aud3.rec_type, aud3.rank
    from aud2, aud3
    where (aud2.fre_id = aud3.fre_id and aud2.bu_id = aud3.bu_id and aud2.eff_from_dt = aud3.eff_from_dt
    and aud2.column_name = aud3.column_name
    and ( (aud3.rec_type = 'C' and nvl(aud2.col_val_new,'^') <> nvl(aud3.col_val_new,'~') ) or
    (aud3.rec_type <> 'C' or (nvl(aud2.col_val_new,'^') <> nvl(aud3.col_val_new,'~'))))
    union all
    select aud4.column_name, DECODE(aud4.rec_type,'D','',aud4.col_val_new) col_val_new, aud3.col_val_new col_val_old, aud4.fre_id, aud4.bu_id,
    aud4.eff_from_dt, aud4.rec_eff_from_dt, aud4.rec_type, aud4.rank
    from aud3, aud4
    where (aud3.fre_id = aud4.fre_id and aud3.bu_id = aud4.bu_id and aud3.eff_from_dt = aud4.eff_from_dt
    and aud3.column_name = aud4.column_name
    and ( (aud4.rec_type = 'C' and nvl(aud3.col_val_new,'^') <> nvl(aud4.col_val_new,'~') ) or
    (aud4.rec_type <> 'C' or (nvl(aud3.col_val_new,'^') <> nvl(aud4.col_val_new,'~'))))
    union all
    select aud5.column_name, DECODE(aud5.rec_type,'D','',aud5.col_val_new) col_val_new, aud4.col_val_new col_val_old, aud5.fre_id, aud5.bu_id,
    aud5.eff_from_dt, aud5.rec_eff_from_dt, aud5.rec_type, aud5.rank
    from aud4, aud5
    where (aud4.fre_id = aud5.fre_id and aud4.bu_id = aud5.bu_id and aud4.eff_from_dt = aud5.eff_from_dt
    and aud4.column_name = aud5.column_name
    and ( (aud5.rec_type = 'C' and nvl(aud4.col_val_new,'^') <> nvl(aud5.col_val_new,'~') ) or
    (aud5.rec_type <> 'C' or (nvl(aud4.col_val_new,'^') <> nvl(aud5.col_val_new,'~'))))
    union all
    select aud6.column_name, DECODE(aud6.rec_type,'D','',aud6.col_val_new) col_val_new, aud5.col_val_new col_val_old, aud6.fre_id, aud6.bu_id,
    aud6.eff_from_dt, aud6.rec_eff_from_dt, aud6.rec_type, aud6.rank
    from aud5, aud6
    where (aud5.fre_id = aud6.fre_id and aud5.bu_id = aud6.bu_id and aud5.eff_from_dt = aud6.eff_from_dt
    and aud5.column_name = aud6.column_name
    and ( (aud6.rec_type = 'C' and nvl(aud5.col_val_new,'^') <> nvl(aud6.col_val_new,'~') ) or
    (aud6.rec_type <> 'C' or (nvl(aud5.col_val_new,'^') <> nvl(aud6.col_val_new,'~'))))
    union all
    select aud7.column_name, DECODE(aud7.rec_type,'D','',aud7.col_val_new) col_val_new, aud6.col_val_new col_val_old, aud7.fre_id, aud7.bu_id,
    aud7.eff_from_dt, aud7.rec_eff_from_dt, aud7.rec_type, aud7.rank
    from aud6, aud7
    where (aud6.fre_id = aud7.fre_id and aud6.bu_id = aud7.bu_id and aud6.eff_from_dt = aud7.eff_from_dt
    and aud6.column_name = aud7.column_name
    and ( (aud7.rec_type = 'C' and nvl(aud6.col_val_new,'^') <> nvl(aud7.col_val_new,'~') ) or
    (aud7.rec_type <> 'C' or (nvl(aud6.col_val_new,'^') <> nvl(aud7.col_val_new,'~'))))
    union all
    select aud8.column_name, DECODE(aud8.rec_type,'D','',aud8.col_val_new) col_val_new, aud7.col_val_new col_val_old, aud8.fre_id, aud8.bu_id,
    aud8.eff_from_dt, aud8.rec_eff_from_dt, aud8.rec_type, aud8.rank
    from aud7, aud8
    where (aud7.fre_id = aud8.fre_id and aud7.bu_id = aud8.bu_id and aud7.eff_from_dt = aud8.eff_from_dt
    and aud7.column_name = aud8.column_name
    and ( (aud8.rec_type = 'C' and nvl(aud7.col_val_new,'^') <> nvl(aud8.col_val_new,'~') ) or
    (aud8.rec_type <>'C' or (nvl(aud7.col_val_new,'^') <> nvl(aud8.col_val_new,'~'))))
    union all
    select aud9.column_name, DECODE(aud9.rec_type,'D','',aud9.col_val_new) col_val_new, aud8.col_val_new col_val_old, aud9.fre_id, aud9.bu_id,
    aud9.eff_from_dt, aud9.rec_eff_from_dt, aud9.rec_type, aud9.rank
    from aud8, aud9
    where (aud8.fre_id = aud9.fre_id and aud8.bu_id = aud9.bu_id and aud8.eff_from_dt = aud9.eff_from_dt
    and aud8.column_name = aud9.column_name
    and ( (aud9.rec_type = 'C' and nvl(aud8.col_val_new,'^') <> nvl(aud9.col_val_new,'~') ) or
    (aud9.rec_type <> 'C' or (nvl(aud8.col_val_new,'^') <> nvl(aud9.col_val_new,'~'))))
    union all
    select aud10.column_name, DECODE(aud10.rec_type,'D','',aud10.col_val_new) col_val_new, aud9.col_val_new col_val_old, aud10.fre_id, aud10.bu_id,
    aud10.eff_from_dt, aud10.rec_eff_from_dt, aud10.rec_type, aud10.rank
    from aud9, aud10
    where (aud9.fre_id = aud10.fre_id and aud9.bu_id = aud10.bu_id and aud9.eff_from_dt = aud10.eff_from_dt
    and aud9.column_name = aud10.column_name
    and ((aud10.rec_type = 'C' and nvl(aud9.col_val_new,'^') <> nvl(aud10.col_val_new,'~') )
    or (aud10.rec_type <> 'C' or (nvl(aud9.col_val_new,'^') <> nvl(aud10.col_val_new,'~'))))
    select * from metadata2
    where (rec_type = 'C' and (col_val_new is not null or col_val_old is not null))
    or (rec_type <> 'C');

Maybe you are looking for

  • Trouble connecting Ipod touch to home stereo.

    Hello, I have an Ipod Touch 3rd gen.  I currently use it mostly in my car and I use a simple aux 3.5 mm jack from the itouch to my aux input on my car stereo to listen to music.  Works great.  Now, I have been trying to get my ipod to connect to eith

  • HT1657 I have rented 2 movies,but i can t find them

    where can i find my rental movie (already payed for) in I tunes???

  • Unistalling proapps update

    hello ive misstakenly installed proapps 5.0 update ment for 10.5 on on my imac with 4.9.11 witch has caused all my pro apps to stop laucnching (aperture & FCP) how can i undo this update?

  • Is there any way to restart the bluetooth module without restarting Mountain Lion?

    Im using a Logitech V470 bluetooth mouse. The sensitivity and responsiveness was excellent at first. However, after about 2 to 4 days of using the mouse, it becames jumpy and lags. I found out that it can be solved by restarting the machine. Is there

  • Desfasaje

    hola,llevo grabando y editando audio propio hace un año,con el cool edit 2.0, no he tenido mayores problemas, pero hace poco cambiamos la placa de sonido integrada de la pc, y colocamos una creative audigy 7.1, desde entonces sucede lo mismo, la prim