REP-51018 + REP-50004 Errors (Urgent)

Hello,
I am working under Oracle 9i iDS on Windows XP Pro.
When I invoke my WebReports from WebForms, I see my Parameter Form that Pops-Up in a new Browser window.
When I hit, the "Submit Query" button, I am prompted to enter the username/password/database information.
I also get a message like:
REP-51018: Need Database User Authentication
I enter the required parameters even though they are already defined by the application code. Then I get an error like:
REP-50004: No Report specified on the command line.
1) Why do I get these errors ?
When I relauch my WebReport from WebForms, it works fine and I can get a WebReports from the WebForms.
2) What is going on ?
PT
PS: I created a generic function called RUN_REPORT_OBJECT_PROC that uses the run_report_object() and web.Show_document built-ins as indicated in:
http://www.oracle.com/technology/products/forms/pdf/10g/frmrepparamform.pdf
PS2: I increased the SESSIONS parameter in the init.ora file and set its value to 9999, but still cannot resolve the issue.
PS3: I get the same REP-51018 error under Forms/Report Services 10g on my Linux box.

Hello,
I used the generic RUN_REPORT_OBJECT_PROC presented in the white paper. The generic procedure makes calls to the run_report_object and the web.show_document built-ins.
The only modification that I have done to this generic function is to add the SYNCHRONIZE keyword before the call to web.show_document built in as was suggested by a technical note on Metalink.
The RUN_REPORT_OBJECT_PROC also makes a call to the ENCODE function which I have also added.
In addition in my WebReports, I added the 3 user parameters: P_ACTIONS, P_SERVER_NAME and P_USER_CONNECT as well as added code to the BeforePForm trigger as indicated in the white paper.
All very straight forward stuff.
On Oracle 9i iDS running under Windows XP Pro, I can generate the Parameter Form then get the REP-51018 followed by the REP-50004 errors when pressing the "Submit" button. If I come back and press the "Reset" button on my Parameter form, I can generate the corresponding WebReport without errors.
These errors occur only the first time that I try to call a WebReport using a Parameter Form from a WebForm.
On the Forms/Reports 10g running on my LinuxServer under iAS, the right hand side Fields for my Parameter Form Parameters are missing, for parameters of type Character + I cannot call-up my WebReports.
YOur feedback is appreciated......
PT
PS: I tried to make modifications to the rwservlet.conf and the repsrv.conf and the rep_Linux2005.conf files without success.

Similar Messages

  • REP-51018 -- cookie method is not working :(

    Trying to invoke a simple report from a simple form by using web.show_document()
    if I pass the userid=x/y@z then it work fine
    if I try to use the cookie method as defined in the OTN whitepaper "Secure Web.Show_Document() calls to Oracle Reports", I am bumping to the REP-51018 error.
    Tried the metalink and found primarily 2 documents, one (note#279938) is suggesting using
    SYNCHRONIZE; prior to invoking the WEB.SHOW_DOCUMENT(...), which I did - not worked,
    then I read the document (#309652.1) which tells that the cookie method will not work if not using fully qualified domain name -- I have a fully qualified domain name and I can see in the browser cookie settings that the domain is set correctly.
    I also edited the basejini.htm and basejpi.htm files and added the suggested entries as shown in the same OTN whitepaper (page #9). And recycled the entire iAS server after all the editing (reports.sh, formsweb.cfg, etc).
    I can see the cookie is saved on the client browser and the userid is displayed in the JInitiator control window.
    FrmReportsInteg0: Debugging true
    FrmReportsInteg0: Adding new userid string "zafer/mutlu@jtls5"
    FrmReportsInteg0: Default cookie domain: .rolands.com
    FrmReportsInteg0: set RW_AUTH10g
    FrmReportsInteg0: Arguments: encryptionKey=reports9i; Reports version=RW10g
    FrmReportsInteg0: Cookie value for RW10g is: zafer/mutlu@jtls5;1135302256455:30
    FrmReportsInteg0: Encoded cookie value is: W3zbSs88ClXKCO9kxqPbyQiyd120sKakxxmhtfgtZoUe4Q==
    FrmReportsInteg0: Complete cookie string is: userid=W3zbSs88ClXKCO9kxqPbyQiyd120sKakxxmhtfgtZoUe4Q==
    FrmReportsInteg0: Added domain ".rolands.com" to cookie
    FrmReportsInteg0: Generated Cookie String: userid=W3zbSs88ClXKCO9kxqPbyQiyd120sKakxxmhtfgtZoUe4Q==; domain=.rolands.com; path=/
    liveconnect: JSObject::eval(document.cookie="userid=W3zbSs88ClXKCO9kxqPbyQiyd120sKakxxmhtfgtZoUe4Q==; domain=.rolands.com; path=/")
    liveconnect: the url of the applet is http://raptus.rolands.com:7778 and the permission is = false
    FrmReportsInteg0: NS Cookie Set
    network: Connecting http://raptus.rolands.com:7778/forms/lservlet;jsessionid=0a0a0a2230d8a457f8e558fe43b4b3e5a9b908500738.e38Oc3aQc3ySci0TbheLaNuSah50n6jAmljGr5XDqQLvpAe with proxy=DIRECT
    network: Connecting http://raptus.rolands.com:7778/forms/lservlet;jsessionid=0a0a0a2230d8a457f8e558fe43b4b3e5a9b908500738.e38Oc3aQc3ySci0TbheLaNuSah50n6jAmljGr5XDqQLvpAe with cookie "userid=W3zbSs88ClXKCO9kxqPbyQiyd120sKakxxmhtfgtZoUe4Q=="
    network: Connecting http://raptus.rolands.com:7778/forms/lservlet;jsessionid=0a0a0a2230d8a457f8e558fe43b4b3e5a9b908500738.e38Oc3aQc3ySci0TbheLaNuSah50n6jAmljGr5XDqQLvpAe with proxy=DIRECT
    network: Connecting http://raptus.rolands.com:7778/forms/lservlet;jsessionid=0a0a0a2230d8a457f8e558fe43b4b3e5a9b908500738.e38Oc3aQc3ySci0TbheLaNuSah50n6jAmljGr5XDqQLvpAe with cookie "userid=W3zbSs88ClXKCO9kxqPbyQiyd120sKakxxmhtfgtZoUe4Q=="
    The only thing I can see is this line:
    liveconnect: the url of the applet is http://raptus.rolands.com:7778 and the permission is = false
    if this is the problem how can I fix it?
    What is wrong with this cookie method? What I am doing wrong?
    Any input is appreciated very much.
    Zaf.

    Here is the code I am using in a when-button-pressed trigger in the form to invoke the report.
    And yes, the javabean USERID_BEAN is created/defined under the CONTROL block, with all the properties as explained in the OTN whitepaper.
    thank you.
    =================================================
    message('Invoking the related report...', ACKNOWLEDGE);
    message(' ', NO_ACKNOWLEDGE);
    DECLARE
    rep_url varchar2(2000);     
    user_name varchar2(40);
    passwd varchar2(40) ;
    connectstring varchar2(20) ;
    BEGIN
    user_name := LOWER(get_application_property(username));
    passwd := LOWER(get_application_property(password));
    connectstring := LOWER(get_application_property(connect_string));
    rep_url:='/reports/rwservlet?&envid=jtlsDDS&&report=readme.rdf'
    ||'&desformat=htmlcss&destype=cache&userid=';
    -- Write log messages to the Forms JInitiator console. The next line must
    -- be disabled before running this code in any production environment
    set_custom_property('CONTROL.USERID_BEAN',1,'WRITE_LOGOUTPUT','true');
    -- set userid in encrypted cookie before calling Web.Show_Document()
    set_custom_property('CONTROL.USERID_BEAN',1,'ADD_USERID',
    user_name||'/'||passwd||'@'||connectstring);
    -- writing the cookie
    set_custom_property('CONTROL.USERID_BEAN',1,'WRITE_USERID_COOKIE','10g');
    -- Add the next line to correct REP 51018 error
    SYNCHRONIZE;
    WEB.SHOW_DOCUMENT(rep_url,'_blank');
    END;

  • OAS v10.1.2.3 REP-51018: Need database user authentication

    Hi all,
    I have an Forms/Reports 10g application, and when I call a report, I always get the "REP-51018: Need database user authentication" when using IE8.   It works fine with version 19, 20 and 21 of Firefox.   As IE8 is the corporate browser, calling reports need to work within IE8.
    First, some pertinent information:
    Server:
    - Windows Server 2003 Standard Edition with SP2
    - OAS v10.1.2.0.2 upgraded to v10.1.2.3
               => Of note, reports did work with JInitiator on v10.1.2.0.2, but for several reasons, we need to move to v10.1.2.3 and use JPI.
    - Server is a VM created by VMWare.
    Client:
    - Windows XP Pro v2002 with SP3 (moving to Windows 7 soon)
    - IE8
    - Firefox (for developers)
    I have applied several ideas from several threads within this forums and documentation from other sites (Oracle being one of them), but to no avail. Here is a list of a couple of them that were pertinent to my problem:
    need java been frmrwinteg.jar (especially the sections from Francois Degrelle and Steve Cosner)
    10.1.2.3 problem with frmrwinteg.jar
    Upgrade to patchset 3 10.1.2.3 from 10.1.2.0.2 causes Java errors (I have used this thread to fix the Java issues that I had initially)
    https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?returnToSrId=&_afrLoop=483184561714826&srnum=&type=DO… (Doc Id. 564522.1) (I have tried Option 2 only as the FrmReportsInteg.java is not provided.)
    https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_afrLoop=483273286061582&_afrWindowMode=0&_adf.ctrl-s…
    http://www.oracle.com/technetwork/developer-tools/forms/documentation/frmwebshowdoc-rep-10gr2-1-128932.pdf
    It is getting very frustrating!  I have performed this same upgrade, on different platforms, between 10 and 12 times with no issues what-so-ever!  The strange part is that, for this upgrade (that I'm having difficulties with), I needed to sign the frmwebutil.jar and frmrwinteg.jar files; I never needed to do this for the other upgrades, except for the jacob.jar file, of course!
    From the formsweb.cfg file, here is the configuration area that I'm using:
    [VailWUStd]
    width=950
    height=650
    IE=native
    HTMLbeforeForm=<SCRIPT>window.onbeforeunload = unloadMess; function unloadMess() {mess = "Clicking 'ok' will terminate all Vailtech applications!"; return mess;}</SCRIPT>
    baseHTMLJInitiator=webutiljpi.htm
    baseHTMLjpi=webutiljpi.htm
    baseHTML=webutilbase.htm
    # Used for Sun JRE/JPI Dynamic CLSID
    jpi_classid=clsid:CAFEEFAC-0016-0000-0041-ABCDEFFEDCBA
    jpi_codebase=/forms/java/jre-6u41-windows-i586.exe
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_41
    jpi_download_page=/forms/java/jre-6u41-windows-i586.exe
    form=E:\tax\vailtechMenu.fmx
    userid=
    archive=frmall.jar,VailtechAppIcons.jar,frmrwinteg.jar
    lookAndFeel=oracle
    colorScheme=Titanium
    imageBase=codebase
    networkRetries=5
    # Webutil:
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    # WebUtilLogging=console
    # WebUtilLoggingDetail=detailed
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    And from the Java Console, here is the section related to the FRMREPORTSINTEG bean:
    FrmReportsInteg1: Debugging true
    FrmReportsInteg1: Adding new userid string "VAILTECH/*********@taxg2"                                                                -- I did hide the password here.
    FrmReportsInteg1: Default cookie domain:
    FrmReportsInteg1: set RW_AUTH10g
    FrmReportsInteg1: Arguments: encryptionKey=reports9i; Reports version=RW10g
    FrmReportsInteg1: Cookie value for RW10g is: VAILTECH/M0NKEYS@taxg2;1372248145539:30
    FrmReportsInteg1: Encoded cookie  value is: d1z0Y+lWJGiRKapq55Lu6X39JxTgt66lxhymsfggYosY5IfpZurc
    FrmReportsInteg1: Complete cookie string is: userid=d1z0Y+lWJGiRKapq55Lu6X39JxTgt66lxhymsfggYosY5IfpZurc
    FrmReportsInteg1: Added domain " " to cookie
    FrmReportsInteg1: Generated Cookie String: userid=d1z0Y+lWJGiRKapq55Lu6X39JxTgt66lxhymsfggYosY5IfpZurc; domain= ; path=/
    FrmReportsInteg1: IE Cookie Set
    FrmReportsInteg1: Setting domain to city.a.ottawa.ca
    FrmReportsInteg1: Domain provided is not empty and is evaluated right now
    FrmReportsInteg1: First period found at 4
    FrmReportsInteg1: Second period found at 6
    FrmReportsInteg1: Cookie domain now is: city.a.ottawa.ca
    As you can see, everything looks fine!  (well, I think it is!!)   I'm just out of ideas!   I even re-installed OAS v10.1.2.0.2 and applied the v10.1.2.3 upgrade, TWICE, but again, to no avail!!
    Any help would be greatly appreciated!
    Thx!
    Cheers,
    Steph

    Hi DB,
    I am refering to the thread you had in Re: Help pages problem for Arabic on R12.1.1 could you tell if you fixed this error
    Regards
    Taher

  • I am getting report error rep-0736&rep-1247 from concurrent

    Hi,
    I am running inventory report from concurrent is giving error as rep-0736&rep-1247.That report is giving result in report builder.
    Can anybody please tell me.It's urgent.
    Thank You,

    These two errors are just saying that there is uncompiled PL/SQL in the report:
    REP-0736: There exist uncompiled program unit(s)
    REP-1247: Report contains uncompiled PL/SQL
    When you are running your report in Reports Builder are you using the same database connection as when the report is run from the concurrent manager (ie are you logged on as APPS in Reports Builder)?
    If not, I would guess that the user you are connected to in Reports Builder has access to a database object you are referencing in PL/SQL that the APPS user does not have access to or refers to by a different name.
    If you are connected as APPS, then I would suggest that you do a full recompile in Reports Builder (Program -> Compile -> All) and see if that identifies any errors.

  • REP-9: A fatal error occured: in the toolkit.

    Ok, so I just installed a fresh install of Forms and Reports 11.1.2.0.0 and applied the most recent patch for it like I've been doing to the other servers in my environments. This one is the only one that gives me errors when I try to run a report. Here's what I'm looking at:
    REP-9: A fatal error occured: in the toolkit.
    UI-9: This function call is out of context.
    REP-0002: Unable to retrieve a string from the Report Builder message file.
    REP-0009:
    oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
    at..
    I'd type out the rest but I can't paste in the new forum for some reason... Anyone seen this before?

    I think I may have found the problem. The path in my account profile was wrong... I'm going to re-install everything with the correct path and see if that helps.

  • REP-1437: Run time error in the PL/SQL development environment (DE).

    I have a report that has always worked. Now I get the following error
    REP-0003: Warning: Unable to open global preference file.
    Starting report STCONF6 [Mon Nov 10 21:38:59 2008] ...
    REP-1437: Run time error in the PL/SQL development environment (DE).
    PDE-PSD001 Could not resolve reference to <Unknown Program Unit> while loading <Unknown> <Unknown>.
    End report STCONF6 [Mon Nov 10 21:39:10 2008].
    What is it? I DON'T know.
    Regards SILVIA

    I recall my report from a form, I get the parameter form with my parameters, then click on the traffic light to run and the error appears here
    Silvia

  • Reports Error - REP-0110 Rep-1070

    Dear All,
    When i try to open Report,
    REP-0110 Rep-1070
    error is showing.
    Pl send the solution of open the reports.
    Thanks
    Regards,
    Raghavan

    1 Please always write complete English words as opposed to IM-speak as 'Plz'. We are not teenagers.
    2 Do not dump all error messgaes in the Database General forum. This is an Oracle Reports message and does not belong in this forum.
    3 All error messages can be looked up in the online documentation.
    This error message is self-explanatory.
    Sybrand Bakker
    Senior Oracle DBA

  • Error message: rep-4232, rep-4204 while running report

    hi
    if possible pl. reply me at: [email protected]
    i want to email my report by using report6i. i have given following parameters as per
    oracle note : 106549.1;
    destype: mail
    desformat: pdf
    desname: [email protected]
    i am running this application on window nt .
    in my system i am able to send emails using netscape browser. i am getting rep-4232, rep-4204 while running report when i run my report.
    pl. suggest.
    bye
    navdeep
    null

    i got one reply:
    This bug is fixed in version 6.0.8.12.0
    Please go through this bug document REP-4204 / REP-4232 WHEN EMAIL REPORT TO VALID EMAIL ADDRESS NOT IN ADDRESS BOOK for explanation.
    but problem is that i have 6.0.8.8.3
    how to resolve problem in this version

  • REP-1070/REP-1051

    Hi,
    I have a javascript that works independently and when I put that inside ora-rep, I get this error:
    REP-1051 unable to save report
    REP-1070 Error while opening or saving a document. non-specific error occurred.
    help!
    thanks!

    Hi,
    thanks, I'm using rpt6i, oracle 8.1.7.2. still can't figure out why it doesnt work =(, but I since that still restricts my validations, I've trying to write an html/javascript page that will call my oracle report. I've used an oracle pl/sql package where in it I'm calling my oracle report:
    <form name="UndelvrdShipForm" onSubmit="return show_alert(this)" method=post
    action="http://xxx.xxx.com/dev60cgi/rwcgi60?xuserid&xpwd=/web/app/ors/orsd/opt/reports/xyz.rdf&desformat=html">
    but I'm getting this error:
    Error: The requested URL was not found, or cannot be served at this time.
    Oracle Reports Server CGI - Reports Server name is not specified.
    but if I ran the http://... separately it works fine, any ideas?
    THANKS!

  • Concurrent req failed with  Rep-0069,Rep-57054

    Hi All,
    Please suggest on this error.
    I have submitted active user concurrent req.
    Failed with the below error
    REP-0069: Internal error
    REP-57054: In-process job terminated:Finished successfully but output is voided
    Ny clues on this.
    Regards,
    Nag.

    Please post the details of the application release, database version and OS.
    Was this working before? If yes, any changes have been done recently?
    What is the type of this concurrent program? Is it Text (which is by default) or it was changed to something else?
    Can you reproduce the issue with other concurrent programs?
    Please see if these docs help.
    All Concurrent Reports Are Failing With Error REP-0004,REP-0082 and REP-0104 [ID 844976.1]
    Intermittent Oracle Reports REP-0069: REP-57054: Error [ID 1237834.1]
    After Upgarde to R 12.1.2 Running Any PDF Reports: Get: REP-3000,REP-0069 and REP-57054 [ID 1204553.1]
    REP-1924, REP-0069, REP-57054, REP-1924 - Errors When Generate Reprts By PDF Style [ID 1053091.1
    Reports Fail With REP-0004 REP-3000 REP-0069 REP-57054 On a Cloned R12 (12.0.4) Instance [ID 742122.1]
    Reports Cache Directory in Oracle E-Business R12 is Growing Rapidly [ID 859255.1]
    Thanks,
    Hussein

  • Adclonectx.pl fails on db tier with RC-50004: Error occurred in CloneContext - using options addnode noprompt

    I'm trying to run adclonectx.pl non-interactively using a pairsfile and noprompt to automate my clone, this is to create the second node context file on the db tier of a 2 node Linux RAC environment and is the only bit that's still interactive so it would be really cool to get this working!
    I'm using a pairsfile with all the variables from a sucessfull interactive run, I probably need to add more variables to this file though I can't figure out what.
    Has anyone else got this working?
    EBS 12.1.3 DB 11.2.0.3 RAC.
    This is the command I run, I'm using host variables which are defined beforehand.
    --this bit just shows the variables are valid
    [orebsdba@dxd1client02 clone_dev]$ echo $CONTEXT_NAME2
    EBSDBA2_dxd1db02-ib
    [orebsdba@dxd1client02 clone_dev]$ echo $SRCCTX
    /u01/EBSDBA/product/11.2.0/appsutil/EBSDBA1_dxd1db01-ib.xml
    [orebsdba@dxd1client02 clone_dev]$ echo $NEWCTX
    /u01/EBSDBA/product/11.2.0/appsutil/EBSDBA2_dxd1db02-ib.xml
    [orebsdba@dxd1client02 clone_dev]$ cd ${ORACLE_HOME}/appsutil/clone/bin
    [orebsdba@dxd1client02 bin]$ cp ${SRCCTX} ${DBMNT}/${SID}/tmp
    [orebsdba@dxd1client02 bin]$ export APPSPWD=**********
    echo \$APPSPWD | perl ./adclonectx.pl \
    > contextfile=$SRCCTX \
    > template=$ORACLE_HOME/appsutil/template/adxdbctx.tmp \
    > outfile=$NEWCTX \
    > pairsfile=$PAIRSFILE \
    > addnode noprompt
    Copyright (c) 2002 Oracle Corporation
    Redwood Shores, California, USA
    Oracle Applications Rapid Clone
    Version 12.0.0
    adclonectx Version 120.23.12010000.1
    Running:
    /u01/EBSDBA/product/11.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -classpath /u01/EBSDBA/product/11.2.0/appsutil/clone/bin/../jlib/ojdbc5.jar:/u01/EBSDBA/product/11.2.0/appsutil/clone/bin/../jlib/xmlparserv2.jar:/u01/EBSDBA/product/11.2.0/appsutil/clone/bin/../jlib/java oracle.apps.ad.context.CloneContext -e /u01/EBSDBA/product/11.2.0/appsutil/EBSDBA1_dxd1db01-ib.xml -tmpl /u01/EBSDBA/product/11.2.0/appsutil/template/adxdbctx.tmp -pairsfile /u01/EBSDBA/product/11.2.0/appsutil/clone/pairsfile2.txt -out /u01/EBSDBA/product/11.2.0/appsutil/EBSDBA2_dxd1db02-ib.xml -addnode -noprompt
    Log file located at /u01/EBSDBA/product/11.2.0/appsutil/log/CloneContext_0916151900.log
    RC-50004: Error occurred in CloneContext:
    null
    Check Clone Context logfile /u01/EBSDBA/product/11.2.0/appsutil/log/CloneContext_0916151900.log for details.
    ERROR: context creation not completed successfully.
    Log contains this:
    Using admin directory: /u01/EBSDBA/product/11.2.0/appsutil
    #------Log File time stamp: 0916151900------------
    # $Header: CloneContext.java 120.92.12010000.26 2013/05/06 12:02:01 mmanku ship $
    # Running on          - dxd1client02
    # Source Host         - null
    # Domain Name         - mgmt.shared.health.nz
    # Context Location    - /u01/EBSDBA/product/11.2.0/appsutil/EBSDBA1_dxd1db01-ib.xml
    # Context Type        - null
    # Context Template    - /u01/EBSDBA/product/11.2.0/appsutil/template/adxdbctx.tmp
    # Clone Stage Area    - null
    # Pairs File          - /u01/EBSDBA/product/11.2.0/appsutil/clone/pairsfile2.txt
    # Destination Context - /u01/EBSDBA/product/11.2.0/appsutil/EBSDBA2_dxd1db02-ib.xml
    # Validation          - false
    # Platform Migration  - false
    # no prompt           - true
    Variables extracted from pairsfile: /u01/EBSDBA/product/11.2.0/appsutil/clone/pairsfile2.txt
    ****************************************************/n
      s_undo_tablespace  =  APPS_UNDOTS2
      s_dbClusterInst  =  2
      s_db_oh  =  /u01/EBSDBA/product/11.2.0
      s_dbhost  =  dxd1db02-ib
      s_dbSid  =  EBSDBA2
      s_hostname  =  dxd1db02-ib
      s_dbGlnam  =  EBSDBA
      s_database_type  =  RAC
      s_virtual_hostname  =  dxd1db02-ib
      s_clusterInterConnects  =  dxd1db02-priv
      s_base  =  /u01/EBSDBA
      s_dbuser  =  orebsdba
      s_dbgroup  =  oinstall
      s_db_util_filedir  =  /u01/EBSDBA/tmp
      s_dbhome1  =  +DATA_DXD1
      s_display  =  dxd1db02-ib:0.0
      s_instName  =  EBSDBA2
      s_domainname  =  mgmt.shared.health.nz
      s_instThread  =  2
      s_dbCluster  =  true
      s_contextname  =  EBSDBA2_dxd1db02-ib
      s_dbdomain  =  mgmt.shared.health.nz
      s_instNumber  =  2
      s_db_ons_remoteport  =  6414
      s_db_ons_localport  =  6314
      s_cmanport  =  1535
      s_dbport  =  1535
      s_port_pool  =  14
    StackTrace:
    java.lang.NullPointerException
    at oracle.apps.ad.context.CloneContext$RACContext.checkRACDBConnection(CloneContext.java:6424)
    at oracle.apps.ad.context.CloneContext$RACContext.access$400(CloneContext.java:5655)
    at oracle.apps.ad.context.CloneContext.getInputDBRACAdd(CloneContext.java:1587)
    at oracle.apps.ad.context.CloneContext.getInputFromUsers(CloneContext.java:988)
    at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:601)
    at oracle.apps.ad.context.CloneContext.main(CloneContext.java:5266)
    RC-50004: Error occurred in CloneContext:
    null
    Context file creation not succesful
    I have been trying to work my way through the stack trace and the source code.  I can see that getInputFromUsers() is called and that then calls getInputDBRACAdd().   That will then call checkRACDBConnection().  The question is where in checkRACDBConnection() – source code below – is it finding the NULL?
    I am guessing that as we don’t see the following in the log file:
    LogFile.getLogFile().info("Attempting to connect to database using :\n");
    the NULL has to happen before this line.  This gives us to work with:
    s = CloneContext.access$2000(CloneContext.this).getReplValIgnoreCase("s_apps_user").toString();
            if(CloneContext.access$2500(CloneContext.this) == null)
                CloneContext.access$2502(CloneContext.this, CloneContext.access$1400(CloneContext.this, "APPS password is required to validate database connection \nEnter APPS Password [APPS]"));
            i = 0;
    _L2:
            String s1;
            if(i >= m_racHostList.length)
                break; /* Loop/switch isn't completed */
            s1 = (new StringBuilder()).append("jdbc:oracle:thin:@").append(m_racHostList[i]).append(".").append(m_racdomain).append(":").append(m_racPortList[i]).append(":").append(m_racSidList[i]).toString();
    Not  much.
    Could it be this?
    if(i >= m_racHostList.length)
    In which case perhaps s_rachostlist needs to be set?  But I think the length function should return 0 not NULL if something is unset, so perhaps not.
    I am not sure there would be a problem with s_apps_user or the string assignment.
    So perhaps it’s the loop.
    i = 0;
    _L2:
            String s1;
            if(i >= m_racHostList.length)
                break; /* Loop/switch isn't completed */
    ‘i’ is set to 0.  If m_racHostList.length is 0 that means it breaks out of the conditional and, though I don’t know enough Java to be sure, as the function throws an exception, perhaps it goes into the exception handler:
    catch(Exception exception)
                Object obj1 = null;
                String as[] = {
                    m_racSidList[i]
                String s2 = MessageHandler.getMessage("RC-40201", as, 0, false);
                LogFile.getLogFile().printStackTrace(exception);
                LogFile.getLogFile().info(s2);
                i++;
    But that gives us an RC-40201 message, which isn’t what I'm seeing.
    So I just don’t know, unless s_rachostlist is the key, I am out of ideas.
    Has anyone else done this?
    I've also raised an SR but haven't had a response yet.
    Thanks in advance.
    Jeremy

    further info..
    I've pulled these variables out of the java code and added them to the pairsfile which gets rid of the null value problem but now it returns a tns error..
    s_isDBCluster=Y
    s_rachostlist=dxd1db01-ib
    s_racdomain=xxxxxxxxxxxxxxx
    s_racsidlist=EBSDBA
    s_racportlist=1535
    s_rachostlist=dxd1db02-ib                      
    s_racvirtualhostlist=dxd1db02-ib                      
    s_racinstnumlist=2
    s_clusterInterConnects=dxd1db02-priv
    we noticed that s_rachostlist is used for two different values in the java code, interactilvey this value is prmpted for twice using the same variable - this may be causing our problem.
    strangely when run interactively the tns connectivity details are the same as when run interactively, the first works the latter doesn't ...
    we're thinking this could be a bug...
    Cheers
    Jeremy

  • Adcfgclone.pl dbTier error with RC-50004: Error occurred in CloneContext: null

    PROMPT :
    Target System Hostname (virtual or normal) [migrate]
    ANSWER :
    migrate
    PROMPT :
    Target Instance is RAC (y/n) [n]
    ANSWER :
    n
    PROMPT :
    Target System Database SID
    ANSWER :
    EBS12
    PROMPT :
    Target System Base Directory
    ANSWER :
    /u01/R12/ora11
    PROMPT :
    Target System utl_file_dir Directory List
    ANSWER :
    /usr/tmp
    PROMPT :
    Number of DATA_TOP's on the Target System [1]
    ANSWER :
    1
    PROMPT :
    Target System DATA_TOP Directory 1 [/u01/11i/ora11/ebs11data]
    ANSWER :
    /u01/R12/ora11/db/ebs11data
    Creating /u01/R12/ora11/db/tech_st/11.1.0/appsutil/clone/data/stage/addbhomtgt.xml which will contain Target system database mount points.
    PROMPT :
    Target System RDBMS ORACLE_HOME Directory [/u01/R12/ora11/db/tech_st/11.1.0]
    ANSWER :
    /u01/R12/ora11/db/tech_st/11.1.0
    Creating /u01/R12/ora11/db/tech_st/11.1.0/appsutil/clone/data/stage/addbhomtgt.xml which will contain Target system database mount points.
    PROMPT :
    Do you want to preserve the Display [null] (y/n)
    ANSWER :
    n
    PROMPT :
    Target System Display [migrate:0.0]
    ANSWER :
    migrate:0.0
    PROMPT :
    Do you want the the target system to have the same port values as the source system (y/n) [y] ?
    ANSWER :
    n
    Started testing the availabilty of ports in port pool 1
    Checking  Database Port on migrate:  Port Value = 1522
       Database Port available:  Port Value = 1522
    Checking  DB ONS Local Port on migrate:  Port Value = 6301
       DB ONS Local Port available:  Port Value = 6301
    Checking  DB ONS Remote Port on migrate:  Port Value = 6401
       DB ONS Remote Port available:  Port Value = 6401
    INFO: Unable to obtan DB Version!!!
    INFO: Because DB Version could not be obtained, defaulting s_jdktop and s_jretop to adxdbctx.tmp defined values
    setDestination s_contextfile to : /u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
    Clone Context Parameters:
            Pairs File      = /tmp/adpairsfile_31321.lst
            Target XML File = /u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
            Template File   = /u01/R12/ora11/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
    The following values will be used to create the context file
      s_isWeb  =  YES
      s_db_listener  =  EBS12
      s_db_util_filedir  =  /usr/tmp
      s_db_rollback_segs  =  NOROLLBACK
      s_dbhome4  =  /u01/R12/ora11/db/ebs11data
      s_dbhome3  =  /u01/R12/ora11/db/ebs11data
      s_dbhost  =  migrate
      s_db_oh  =  /u01/R12/ora11/db/tech_st/11.1.0
      s_dbhome2  =  /u01/R12/ora11/db/ebs11data
      s_dbhome1  =  /u01/R12/ora11/db/ebs11data
      s_dbgroup  =  dba
      s_dbGlnam  =  EBS12
      s_dbdomain  =  evosys.co.in
      s_dbSid  =  EBS12
      s_dbuser  =  ora11
      s_isForms  =  YES
      s_database_type  =
      s_temp  =  /u01/R12/ora11/db/tech_st/11.1.0/appsutil/temp
      s_db_ons_localport  =  6301
      s_hostname  =  migrate
      s_dbSidLower  =  ebs12
      s_cmanport  =  1522
      s_dbCluster  =  false
      s_domainname  =  evosys.co.in
      s_isAdmin  =  YES
      s_isConc  =  YES
      s_contextfile  =  /u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
      s_dbport  =  1522
      s_display  =  migrate:0.0
      s_contextname  =  EBS12_migrate
      s_db_ons_remoteport  =  6401
      s_clonestage  =  /u01/R12/ora11/db/tech_st/11.1.0/appsutil/clone
      s_base  =  /u01/R12/ora11
    Clone Context will now iteratively apply changes
    to create the new target context file.
    instantiate file:
       source : /u01/R12/ora11/db/tech_st/11.1.0/appsutil/temp.xml
       dest   : /tmp/tmpCtxClone.xml
    instantiate file:
       source : /tmp/tmpCtxClone.xml
       dest   : /tmp/tmpCtxClone.xml
    instantiate file:
       source : /tmp/tmpCtxClone.xml
       dest   : /tmp/tmpCtxClone.xml
    instantiate file:
       source : /tmp/tmpCtxClone.xml
       dest   : /tmp/tmpCtxClone.xml
    instantiate file:
       source : /tmp/tmpCtxClone.xml
       dest   : /u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
    instantiate file:
       source : /u01/R12/ora11/db/tech_st/11.1.0/appsutil/temp.xml
       dest   : /tmp//dummy.xml
    instantiate file:
       source : /tmp//dummy.xml
       dest   : /tmp//dummy.xml
    instantiate file:
       source : /tmp//dummy.xml
       dest   : /tmp//dummy.xml
    instantiate file:
       source : /tmp//dummy.xml
       dest   : /tmp//dummy.xml
    instantiate file:
       source : /tmp//dummy.xml
       dest   : /tmp//dummy.xml
    PROMPT :
    Source and Target platforms differ.  Rapid Clone will perform a platform migration.
    Do you wish to continue?  [y]
    ANSWER :
    y
    The values for these variables will be retained from the source context
      s_admin_restrictions  =  OFF
      s_metalink_id  =
      s_parallel_max_servers  =  8
      s_systemcsi  =  N/A
      s_apps_version  =  12.1.1
      s_contextserial  =  0
      s_instThread  =  0
      s_sqlnet_expire_time  =  10
      s_contexttype  =  Database Context
      s_db_sga_target  =  1G
      s_dbsharedpool_size  =  300000000
      s_db_shared_pool_size  =  400M
      s_clusterServicePort  =  9998
      s_dbcache_size  =  163577856
      s_rapidwizloc  =  /tmp/RapidInstall
      s_db_pga_aggregate_target  =  1G
      s_dbtype  =  VISION
      s_proxyhost  =
      s_nthreads  =  5
      s_db_processes  =  200
      s_enable_listener_password  =  OFF
      s_alt_service_instances  =
      s_dbClusterInst  =  1
      s_installedFrom  =  FS
      s_undo_tablespace  =  APPS_UNDOTS1
      s_adjreopts  =  -Xms128M -Xmx512M
      s_dbQuorumDisk  =
      s_db_linkctrl  =
      s_dbcomp  =  oracle.apps.dbseed.fresh
      s_db_sessions  =  400
      s_installloc  =  /tmp
      s_isDB  =  YES
      s_proxyport  =
      s_database  =  db111
      s_dbseed  =  No Database
      s_apps_user  =  APPS
      s_dbfiles  =  512
      s_db_shared_pool_reserved_size  =  40M
      s_bits  =  32
      s_dbblock_buffers  =  20000
      s_sys_user  =  SYS
      s_dlsnstatus  =  enabled
      s_db_plsql_native_library_subdir_count  =  149
      s_country_code  =
      s_subscribe_for_node_down_event  =  OFF
      s_instNumber  =  0
    The new context file has been created at:
            /u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
    Performing file system cleanup specific to Platform Migration:
    StackTrace:
    java.lang.NullPointerException
            at java.util.Hashtable.put(Unknown Source)
            at oracle.apps.ad.clone.util.CloneCleanser.doMigrate(CloneCleanser.java:98)
            at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:718)
            at oracle.apps.ad.context.CloneContext.main(CloneContext.java:5266)
    RC-50004: Error occurred in CloneContext:
    null
    Context file creation not succesful
    am trying to clone R12.1.1 with 11.1.0.7 from Linux5.5-32.bit to Linux5.8-64bit.
    migrating is fails.
    So please help me out of this.
    Thanks in Advance

    Hi,
    DB cloning will not suffice the migrating process. In order to perform a cloning from 32 bit to 64 bit, please follow the instructions in the below note:
    Migrating Oracle E-Business Suite R12 from Linux 32-bit to Linux 64-bit (Doc ID 471566.1)
    Thanks &
    Best Regards,

  • "RC-50004: Error occurred in CloneContext" during R12 cloning

    Hi,
    I have installed Oracle Apps R12 on Linux server.
    The installation was smooth with no issues.
    Now I am doing cloning using rapid clone on the same server.
    I ran the preclone on db and apps tier of source.
    Then I shutdown apps + db and copied to target instance directories.
    Now I am running the adcfgclone on db tier (the first step)
    I run adcfgclone as orasimp user (not root)
    I get the following error immed after I start the adcfgclone.
    Performing file system cleanup specific to Platform Migration:
    StackTrace:
    java.lang.NullPointerException
    at java.util.Hashtable.put(Unknown Source)
    at oracle.apps.ad.clone.util.CloneCleanser.doMigrate(CloneCleanser.java:98)
    at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:697)
    at oracle.apps.ad.context.CloneContext.main(CloneContext.java:4801)
    RC-50004: Error occurred in CloneContext:
    null
    Context file creation not succesful
    What could be the reason?
    Thanks,
    DR

    Hi,
    Refer to the following documents.
    Note: 460391.1 - CloneContext detects incorrect platform on AIX
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=460391.1
    Note: 443667.1 - Rc-50004: Error Occurred In Clonecontext
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=443667.1
    Regards,
    Hussein

  • RW-50004 error when installing Oracle EBS 12.1.1 on Windows 32 bit, 2003

    Hi All
    I am installing Oracle EBS 12.1.1 for Windows 32 bit on a Windows 2003 server, my pre-requisite checks have gone through successfully when checked by the oracle ebs installer.
    However during the installation process i get RW-50004 error and the installation stops, the log file seems to have the following last entries
    Mon 07/04/2011
    05:05 PM
    1 file(s) copied.
    1 file(s) copied.
    1 file(s) copied.
    "afmkinit.cmd exiting with status 0"
    ERRORCODE = 0 ERRORCODE_END
    .end std out.
    .end err out.
    Skipping Profile Phase
    Skipping Apply Phase
    adcvmlog.xml renamed to C:\oracle\VIS\db\tech_st\11.1.0\appsutil\log\VIS_99a4659\adcvmlog.xml.07041705
    [AutoConfig Error Report]
    The following report lists errors AutoConfig encountered during each
    phase of its execution. Errors are grouped by directory and phase.
    The report format is:
    <filename> <phase> <return code where appropriate>
    [SETUP PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: C:\oracle\VIS\db\tech_st\11.1.0\appsutil\install\VIS_99a4659
    adsvdlsn.cmd INSTE8_SETUP 9020
    AutoConfig is exiting with status 1
    RC-50014: Fatal: Execution of AutoConfig was failed
    Raised by oracle.apps.ad.clone.ApplyDBTechStack
    Can some one please help me on what I am missing or how can i correct this. Thank you.

    adsvdlsn.cmd INSTE8_SETUP 9020Search AutoConfig log file for adsvdlsn.cmd and you should find more details about the error.
    Please see if (Rapidwiz R12 Failed at 66% with error: RW-50004: Error code received when running external process. [ID 418109.1]) is applicable.
    Also, please run md5sum as per (MD5 Checksums for R12.1.1 Rapid Install Media (Doc ID 802195.1)) to verify the integrity of the stage area directory.
    Thanks,
    Hussein

  • RW-50004: Error code received when running external process.

    Hi,
    I am trying to install 11.5.10 on windows vista and receiveing following error.
    RW-50004: Error code received when running external process. Check log for details. Running Database Install Driver for VIS Instance
    When checked on the log file following is the error. Could anyone pls help me with this regard
    There was an error while running the command - c:\OracleApps\visdb\9.2.0\temp\VIS_erp\adrun9i.cmd APPS APPS
    The process tried to write to a nonexistent pipe.
    The process tried to write to a nonexistent pipe.
    The process tried to write to a nonexistent pipe.
    The process tried to write to a nonexistent pipe.
    The process tried to write to a nonexistent pipe.
    The process tried to write to a nonexistent pipe.
    The process tried to write to a nonexistent pipe.
    The process tried to write to a nonexistent pipe.
    The process tried to write to a nonexistent pipe.
    The process tried to write to a nonexistent pipe.
    RW-50010: Error: - script has returned an error: 1
    RW-50004: Error code received when running external process.
    "dbInstancecfg" file shows below error
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCVIS))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 2: No such file or directory
    Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=erp.erp)(Port=1521))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 61: Unknown error
    LSNRCTL for 32-bit Windows: Version 9.2.0.6.0 - Production on 13-JUL-2008 05:48:04
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Starting tnslsnr: please wait...
    TNS-12546: TNS:permission denied
    TNS-12560: TNS:protocol adapter error
    TNS-00516: Permission denied
    32-bit Windows Error: 5: Input/output error
    addlnctl.cmd exiting with status 3
    OpenSCManager failed
    adsvdlsn.cmd exiting with status 1002
    ERRORCODE = 1002 ERRORCODE_END
    .end std out.
    System error 1060 has occurred.
    The specified service does not exist as an installed service.
    .end err out.
    File c:\OracleApps\visdb\9.2.0\appsutil\install\VIS_erp\afmkinit_inst.cmd not instantiated in the current pass, this file will not be executed
    Executing script in InstantiateFile:
    c:\OracleApps\visdb\9.2.0\appsutil\install\VIS_erp\afmkinit.cmd
    script returned:
    Sun 07/13/2008
    05:48 AM
    1 file(s) copied.
    1 file(s) copied.
    1 file(s) copied.
    "afmkinit.cmd exiting with status 0"
    ERRORCODE = 0 ERRORCODE_END
    .end std out.
    .end err out.
    Skipping INSTE8_PRF
    Skipping INSTE8_APPLY
    [AutoConfig Error Report]
    The following report lists errors AutoConfig encountered during each
    phase of its execution. Errors are grouped by directory and phase.
    The report format is:
    <filename> <phase> <return code where appropriate>
    [SETUP PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: c:\OracleApps\visdb\9.2.0\appsutil\install\VIS_erp
    adsvdlsn.cmd INSTE8_SETUP 1002
    AutoConfig is exiting with status 1

    Thanks for the update and the link was informational.
    Can I install following on windows vista? Pls confirm.
    Oracle® Applications 11i Release 10.2 Media Pack for
    Microsoft Windows (32-bit) No That's not possible, if you would like to use this machine for Applications then the OS needs to be changed or install vmware/Microsoft Virtual PC with a Certified Operating system to be able to use Applications.
    Thanks
    Ronald

Maybe you are looking for

  • My WRT54G2 will Not Work HELP NEEDED !! PLease Help

    Hey i Have a WRT54G2 and it has worked Flawlessly for about a Year... One Day i Wake u To No Connection coming From my Linksys ..... on the Wirless Connections Pop up there is a Message saying  " Information Sent over this network might be visable to

  • Want to Upgrade from Tiger

    Hey, I'm still on Tiger 10.4.11 and I want to upgrade to snow leopard. If I do, will I lose all my saved passwords? I'm doing online courses and I had to use a one-time use code to get onto my site. If I upgrade, will I lose the use of that site?

  • How do you do Footnotes on all the pages of your site?

    You know the ones that usually say "Copyright 2010 blah blah blah" and have links to the "About Us" and "Contact Us" pages?

  • Can't access Blog

    New computer, Mac Book Pro with latest version of IWeb. Last night I tried transferring information from my old powerbook. Not only was I not successful, but the power book bit the dust. I have backups where I published to folder from my blog, but a

  • Help sought getting powershell script to run

    Platform is SP 2010 service pack 2. Goal is to generate a list of users within the farm that are no longer in active directory. http://sharepointpsscripts.codeplex.com/releases/view/21699  is a script that purports to accomplish this. However, what I