A very urgent deployment issue about DBAdapter

Hello All,
I have a very urgent deployment issue about DBAdapter.
That DBAdapter is connect to DB2 AS400 Database. I have a developing database (jdbc:as400://server01/TEST) and a production database (jdbc:as400://server01/PROD).
During developing, I used DBAdapter wizard to create it, and import some tables, and set the Adapter to use jabc/DB2DS as connection information for easily deployment later.
Then I deploy to Production. I configured Data-source.xml and oc4j-ra.xml rightly; I set DB connection point to production database. But the DBAdapter still write into developing Database.
I checked the DBAdapter, the imported tables are something like this, TEST.table1, TEST.table2. And there are a lot "TEST" located in DB2Writer_toplink_mapping.xml, DB2Writer.xml, TEST.schema, DB2Writer.table1.ClassDescriptor.xml.
This TEST is refrer to the TEST in connect String jdbc:as400://server01/TEST.
I think this might be the reason cause the problem. As to production database, "TEST" should replaced by "PROD". If I changed it manually, I have to change every time when switch between TEST and PROD. And I also don't know if it is safe to do it? (I tried, and bring some toplink mapping problem)
By the way, for Oracle Database, because we use 2 instances for testing and production with same schema name, and do not have this issue.
Anyone could help and many thanks.
Kerr
Message was edited by:
Kerr

Hi Kerr,
The idea is to set up all connections in the BPEL or ESB services with logical names, e.g. typically of the form eis/DB/MyFinancialSystem or eis/DB/MyLogisticsSystem. This way, you do not have to modify code when deploying it onto different environments that serve different purposes.
When moving your services through their lifecyle, on every environment you deploy these to you will have the same logical connections configured on each instance, e.g. for DEV, QA, SIT, UAT and PROD. Only, in case of QA the actual physical connection is configured to point to the QA instance of the systems that your services interact with whereas in case of UAT it points to the UAT instance of the same system.
Maybe your problem is caused by connecting as user "SomeUser" when running the DB Adapter wizard during development and actually selecting objects from a different schema than you used to connect with, e.g. "Test" in your case.
Hth,
Sjoerd

Similar Messages

  • Very urgent Decimal issue in ADF page

    Hello friends,
    i have an issue in ADF page which was weight field, issue has below.
    1) weight filed was validated that without entering 5 digit value in filed, example suppose i enter 12345 in weight it is showing that in small dialog box -weight value should be 0 to 9999.999 only. but it is let me to go next field and submit button. it is happening only in create page only.
    2)but when i go to detail page , same weight fild is populated there - i enter invalid weight something 12345, it is showing that in small dialog box -weight value should be 0 to 9999.999 only. but here let me not go to another filed until i ENTER valid value.
    create page weight filed need to work same as detail page.i am new to ADF development, how to check where this validation done and how to fix this.
    very very urgent.
    Thanks,
    vamshi.

    If you use ADF BC, open the entity and choose "Business Rules". You can then add validation rules such as range limits under the attributes. It is usually best practice to include validation rules in the entity (model layer), this way they apply automatically to all view objects based on the entity and you are guaranteed to have only valid values in the database. (View layer validation may have its place as a convenience supplement.)
    Read more about business rules in the developer's guide: http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcvalidation.htm

  • !!!Very Urgent-Production Issue -Please help

    Hello IDMers,
    We are facing an issue in production, we updated the AD Process form yesterday. Two fields- Employee Type and Employee ID field in AD User Process form got refreshed for all existing users. Those two fields are empty now for all users.
    But these fields have appropriate value in the Xellerate User Table for all users. Now I need to some how populate the Employee Type and Employee ID field for all employees from User Table to AD Process form.
    for example: Consider an Employee called Peter- His emp type is Full Time and Emp ID is 100; which i have it in OIM User Table, but this user is provisioned with AD and now i will have to update his AD Process form so that these two fields are populated. I need to do this for all users in OIM. I guess the prepop adapter triggers only when the form is created for the first time. Please suggest me some ideas.
    Is there a easy way to do this task?
    What my thinking is, I need to have a scheduled task that basically loops through all users and updates their employee type and id field in AD User Form from Xellerate User Table.
    Please help me with this as it is highly important.
    Thanks again every one for your support all the while.
    Regards,
    ~VSN

    hey,
    i was doing lots of migration from one OIM box to another during our last release. I guess something would have gone wrong while doing an import/export from one OIM system to another.
    What I learned was while doing an import the vulnerable object is AD USER (or any resource of OIM) Object (both Process form and process definition), because those are the two objects which you need to import fully no matter how big a change you have done.
    So when you do an import watch out for USER DEFINED FIELDS in the process form because for me the two fields which disappeared were user defined/custom created by me. So make sure you export the latest version;even if you didnt make any changes to them better create a new version copy of the form and then export it.
    Hope that helps.
    ~VSN

  • VERY URGENT: Prining issue.

    When we manually print directly from the view output, it is printing correctly as desired. But when it is printed by the concurrent program automatically, output was not aligning properly. Though we change the top, bottom margins in rtf layout, it is not considering those values. Even the font size is also mismatching.
    I am using the following arguments for my print driver,
    -pn$PROFILES$.PRINTER -f$PROFILES$.FILENAME -c$PROFILES$.CONC_COPIES -Fpasta_checks.cfg
    And i am using the following preprocess command,
    preprocess=/usr/local/bin/pdftops {infile} {outfile}
    I tried modifying the pasta_checks.cfg file too(and bounced the concurrent manager), but its not effecting the output. Is there any thing else i need to check.
    Please help me, i have been working on this issue since 1 week, any help is much appreciated. Many thanks in advance.
    Edited by: User1984 on Oct 19, 2008 11:00 AM

    Hi All,
    We have installed acroread and tried with it, but no difference. When i try to place the check number in the desired location its cutting (printing partially) and when i try to move a bit down its not visible at all. If i move up its printing , but it is not accepted by bank.
    I have also tried with pdftops. Our unix people are not able to install gsview.(they lost confidence on me :( )
    In the configuration file we have modified options like 'bottomMargin=0', and modified the preprocess commmand as below,
    preprocess=/usr/local/bin/pdftops -paper letter {infile} {outfile}
    From the command line we tried the following options, but no change. we are not able to control the FOOTER SIZE. its always fixing to some size. Same commands we tried with acroread and pdftops.
    FNDPSTAX -pneno -fTEST.PDF -c1 -Fpasta_pdf.cfg
    FNDPSTAX -pneno -fTEST.PDF -c1 -paper letter -Fpasta_pdf.cfg
    FNDPSTAX -pneno -fTEST.PDF -c1 -l -s7 -Fpasta_pdf.cfg
    Please give me your suggestions and let me out, of this critical issue.(i have beeen spending 10 days and i have also logged an SR, and tried the options they mentioned. They asked me to install acroread and they also told its not an oracle issue.
    Please take a look at this.

  • VERY URGENT - Deploying  using JSDM

    Hi,
    Can any provide me step by step procedure to undeploy the applications using JSDM .
    Actually I want to deploy UMEADMIN*.SDA using JSDM .
    When I run the User Administration --> Identity Management  --> it is giving an error :
    A required service for Identity management user interface is not available .  Contact  System Admistrator .
    In SAP NOTE 869852 , pg 6 :  to reploy the UMEADMI*.SDA .
    Will it be the correction of reploying ?
    As this is occuring in production server , if i apply any other affects will cause to the server.
    Thanks ,
    Srini

    Hi,
    It would help if you can post a snap shot of your code.
    BTW, search this group for postings by me.
    One of them includes a similar question and its answer.
    rgds
    G1

  • Very urgent:about deployment kit or executable option

    hay programmers
    i have a very urgent problem
    i want to make my developer project as executable
    is this possible
    the next thing is that is there any deployment kit available for developer 6i so that it will automatically install the application as well as developer runtime.
    any suggestion regarding this will be wellcome.
    Send it to [email protected]
    Thanks
    Kamran Ahmed

    You can use Oracle Software Packager. It can be found on this site.

  • Attachment issue --very urgent help  required

    Hello friends,
    1)i have create page and deatal page . requirement is that we have to load required attachments in table region, if not loading required attachments exception will raise. this validation is working fine in create page.
    2)same in detail page i loaded required attachments also excepiton is raising.
    waht would be cause. i am very new to ADF technology.
    very urgent to fix this issue. any one help me out.
    Thanks,
    vamshi.
    Edited by: Krishna Vamshi on Jul 1, 2010 6:14 PM

    Kirshna,
    Unfortunately your question is very unclear.
    Let me say that if you are asking about OA Framework, you should ask on the OA Framework forum, not here.
    also excepiton is raising.It will help if you say what the exception is.
    John

  • Very Urgent: Deleting Batch from STO and Goos Issue reversal  Using BAPI

    Hi,
    I want to delete outbound delivery for particular shipment number and this should be done using BAPI or a FM not using the tcode VL02N.
    I wld be very grateful
    Please List out the BAPI 's or FM that can be used for to perform these listed , with using Tcodes:
    1) REVERSE BILLING DOCUMENT(VF11)
    2) GOODS ISSUe REVERSAL (VL09N)
    3) REMOVE DELIVERY FROM SHIPMENT (VT02N)
    4) DELETING DELIVERY(VL02N)
    5) REMOVE BATCH FROM STO (ME22N)
    Its very urgent..
    Thank you in advance....

    1) REVERSE BILLING DOCUMENT(VF11)
    BAPI_BILLINGDOC_CANCEL
    2) GOODS ISSUe REVERSAL (VL09N)
    BAPI_GOODSMVT_CANCEL
    3) REMOVE DELIVERY FROM SHIPMENT (VT02N)
    BAPI_SHIPMENT_CHANGE
    4) DELETING DELIVERY(VL02N)
    5) REMOVE BATCH FROM STO (ME22N)
    BAPI_PO_CHANGE

  • Very Very Urgent Issue: Restricted Key Figure does not return any data

    Hi all,
    Please help me solving this urgent issue.
    created customer exit variable on characterstics version and also
    other customer exit variable on Value type.
    I coded that in variable exit. Problem is when I include these in
    restrickted keyfigure My query does not return me any data.
    But if I remove from restrickted key firgure and put it as normal
    charaterstics I see the variable is getting populated.
    Also in RSRT the SQl generated when these are included in RKF is not
    correct.
    I debugged and know they are getting populated. As when included in RKF
    I can also see the values of customer exit variables from information
    tab.
    I also know that there is data in cube for those restrictions.
    I posted one OSS Notes regarding this urgent issue. But got no reply from SAP.
    FYI: We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11
    Thanks
    SAP BW
    **Please do not post the same question twice: Very Urgent Issue: Restricted Key Figure does not return any data

    Hi,
    Everyone out there this is very urgent. If someone can help me solving this problem.
    We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11.
    I posted one oss notes also regarding this issue. But got no reply from SAP.
    So, Please help me solving this issue.
    Thanks
    SAP BW

  • HT201317 I had 250 photos stored in photo stream but i restore them now they are just 150. I m missing about 100 photos those were very urgent please please help

    I had 250 photos stored in photo stream but i restore them now they are just 150. I m missing about 100 photos those were very urgent please please help

    Photo stream only keeps photos in iCloud for 30 days, even though up to 1000 photos will remain on your device until you delete them (such as by restoring your phone).  When you turned on photo stream again you only got back the photos added in the last 30 days as the others have already been removed.
    If the missing photos were still in your camera roll when you last backed up, restoring the backup should recover them.  (The backup includes camera roll photos but not photo stream photos.)

  • CATS Issue VERY Urgent..

    HI ALL,
    BiW  PROD is placing CATS data for 2007 in to week 52 2006.  Can advise why?
    Please advise what would be the error.
    Cheers,
    Sri

    Hi All,
    We have a problem for 0CALWEEK in CATS.
    FOR  0CALQUARTER
    20061 means 1st quarter
    20062 means 2ND quarter
    20063 means 3RD quarter
    20064 means 4TH quarter
    FOR 0calweeK:
    20061 means 1st WEEK
    20062 means 2ND WEEK
    20063 means 3RD WEEK
    20064 means 4TH WEEK
    0CALWEEK is giving problem  IN CUBE.
    It  shows wrongly.
    0CALQUARTER      0CAL WEEk
    2007 1             2006 52 ( 52 week)
    2007 1                          2006 52
    <b>0CAL WEEk          should show 2007 1     instead of 2006 52.</b>
    It should show :
    0CALQUARTER      0CAL WEEk
    2007 1             2007 1 (ist week in 2007)
    2007 1                         2007 1
    we have a routine on 0CAL_week
    =====
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    DATA:   ...
    data:   employee_md like /bi0/memployee,
            employee_wa like /bi0/memployee,
            person_md   like /bi0/mperson,
            PERSON_WA   LIKE /BI0/MPERSON.
    DATA:   G_RECORD_NO LIKE SY-TABIX.
    INCLUDE RS_BCT_HR_UPDATE_RULES_GENERAL.
    INCLUDE RS_BCT_HR_PAPA_UPDATE_RULES.
    $$ end of global - insert your declaration only before this line   -
    FORM compute_characteristics
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CS0CATS_IS_1
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BIC/VZCATST-CALWEEK
               RETURNCODE LIKE SY-SUBRC
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
    data: w_date type d.
    data: w_date_check type d.
    data: w_numberofdays type p decimals 2.
    data: w_numberofweeks type i.
    data: w_dayofweek type p.
    data: w_first_day_of_sap_calendar type d value '19790101'.
    data: check type i.
    data: w_year(4) type c.
    data: w_weekno(2) type c.
    w_date_check = COMM_STRUCTURE-CALDAY.
    w_date = w_date_check.
    w_date+04(04) = '0101'. " beginning of the year
    do.
    w_dayofweek = ( ( w_date - w_first_day_of_sap_calendar ) mod 7 ) + 1.
    if w_dayofweek = 7. " First sunday(7) of the Current year
    exit.
    endif.
    add 01 to w_date+07(01).
    enddo.
    w_numberofdays = ( w_date_check - w_date ) + 1.
    w_numberofweeks = ceil( w_numberofdays / 7 ).
    w_year = w_date_check+0(4).
      if w_numberofweeks = 53.
        w_numberofweeks = 1.
        w_year = w_date_check+0(4) + 1.
      endif.
      if w_numberofweeks = 0.
        w_numberofweeks = 52.
        w_year = w_date_check+0(4) - 1.
      endif.
    w_weekno = w_numberofweeks.
    call function 'CONVERSION_EXIT_ALPHA_INPUT'
         exporting
              input   = w_weekno
        importing
             output  = w_weekno.
    concatenate w_year w_weekno into RESULT.
    result value of the routine
    RESULT = .
    if the returncode is not equal zero, the result will not be updated
      RETURNCODE = 0.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    ENDFORM.
    ========
    This is giving problem from 2007 year only.
    We need to check with FI or HR teams , Is there any configuration settings in R/3 side for 0Calweek?
    This is production ISSUE. Help me on very Urgent BASIS!!
    Thanks & Regards,
    Sri.

  • Query Issue(Very Urgent)

    Hi,
         I have issue with select statement to pull the records from two tables. Here I have two tables one is with Billing Document Items and Service Order Operations.
    I have service order as unique field in both tables, When I execute select statement with one service order I got 10 records like
    S Ord Oper                           Billing Document Items
    Oper    Repair Code                 Item    Oper    Repair Code
    10        AD01                           1         10        AD01
    20        AD01                           2         20        AD01  
    30        OT01                           3         10        AD01
    40        RE01                           4         20        AD01
    50        RP01                           5         20        AD01
                                                   6        20         AD01
                                                    7        30         OT01
                                                    8        40         RE01  
                                                    9        50         RP01
                                                   10      50         RP01
                 This are the records with same Service order number, and my select statement giving data like
    O/P
    Service Order =  60001212
    OPER    ITEM    REPAIR TYPE
    10         1           AD01
    20         1           AD01
    10         2           AD01
    20         2           AD01
    10         3           AD01
    20         3           AD01
    10         4           AD01
    20         4           AD01
    10         5           AD01
    20         5           AD01
    10         6           AD01
    20         6           AD01
    30         7           OT01
    40         8           RE01
    50         9           RP01
    50         10         RP01
    But I need output like this
    Item  Oper                   Rep Code
    1      10                      AD01
    2      20                      AD01
    3      10                      AD01
    4      20                      AD01
    5      20                      AD01
    6      20                      AD01
    7      30                      AD01
    8      40                      RE01
    9      50                      RP01
    10    50                      RP01
             Please give me the select statement which gives the above output. I need very urgent please....
    Thanks
    Robbie

    hi robert,
    The ouput u want is just a little away from the one u r actually getting. it is the two fields OPER and ITEM interchangeably..
    U just have to use GROUP BY ITEM..........if u want the desired output with ITEM as first field.
    <group-by-clause> &#8594; GROUP BY [<column-ref>,*]<column-ref>
    if it helps please reward points.
    thanks

  • Problem with Accessing Deployed Servlets Please help, very urgent.

    Inspite of going through lots of Docs. I am not able to access the JSP which is deployed using JDeveloper 3.2 in the browser? What should be the URL and where should I place the JSP and the related files in the Apache Server (Specific directory)?
    Please help, this is very Urgent.
    Could I get some sites where I can get detailed description of how to deploy and access Servlets and JSPS using JDeveloper 3.2 for OAS 9i?
    Thanks in advance,
    Regards,
    Kavita.
    null

    Hi Kativa,
    In answer to your first question: In most apache installs, you want to place all your JSPs under the Apache/htdocs directory. This htdocs directory becomes the root directory of your HTTP request, so, for example, to access the file
    Apache/htdocs/mydir/myJSP.jsp
    you'd point your browser to
    server:port/mydir/myJSP.jsp]http://server:port/mydir/myJSP.jsp
    As to your second question: Do you mean Oracle 9iAS? If so, look at this HOWTO: http://technet.oracle.com:89/ubb/Forum2/HTML/006398.html
    JDeveloper 3.2 does not support deployment to OAS (the predecessor to iAS), but there was no OAS 9i.
    null

  • Manual Deployment (Very Urgent)

    Hi,
    What is manual Deployment, Why do we use Manual deployment. I guess manual deployment is done after automatic deployment.
    What are the prerequisites for performing manual deployment.
    How is it different from automatic Pull/ Push deployment??
    Please help me out.
    Thanks,
    My

    Hi,
    Please Help. This is very urgent.
    I modified the above program in this manner:
    loop at IOBJ. (selection-screen variable)
    loop at it_RSZSELECT.
    it_result-iobj = iobj.
    it_result-iobjnm = it_RSZSELECT-iobjnm.
    select * from rszeltxref
    where teltuid = it_RSZSELECT-eltuid
    and objvers = 'A'.
    IF rszeltxref-laytp = 'FIX'.
    UPDATE rszeltxref SET laytp = 'AGG'.
    ENDIF.
    endselect.
    endloop.
    endloop.
    Rollback Work.
    Inclusion of this statement did not help in any way.
    Regards

  • Deploying EJB in Weblogic 8.1 very very urgent

    Hi
    I had followed the logic Mr Mark has told me. But it did not work. Please
    the attached files.
    1. I had copied all of my class files into META-INF directory.
    my SampleObject.jar file contains as follows.
    jar -tvf SampleObject.jar gives
    .META-INF
    .Sample.class, SampleHome.class, SampleBean.class, SampleClient.class and
    ejb-jar.xml,
    weblogic-ejb-jar.xml files.
    I did not package my class files. instead i had deployed it in META-INF.
    Further I made one more attempt as follows.
    My server is called myserver.
    so I copied all of my class files, SampleObject.jar files into the following
    directory.
    C:\bea\user_projects\domains\mydomain\myserver\upload directory. This is the
    directory
    where weblogic copies the SampleObject.jar files.
    It did not work at all.
    Please help me.
    I am failing for the past five days . Treat this as very urgent.
    Thanks in advance.

    Murali:
    I suggest you start with something simple that works. And then go from
    there, modifing it one bit at a time and ensuring that it still works. Your
    jar tf output is all munched up so it is hard to follow. I suggest you
    start with
    $WL_HOME/samples/server/examples/src/examples/splitdir/helloWorldEar/
    See how it builds the ear and the ejb jars and go from there.
    You can do:
    ant ear
    and
    examine the contents from there.
    Alternatively you can use Workshop to build an EJB as well.
    PS. Your classes dont go into META-INF. But rather than go through the
    entire exercise of getting your app working I suggest as noted above you
    start from a known and modify.
    cheers
    mbg
    "Murali" <[email protected]> wrote in message
    news:3fc08518$[email protected]..
    >
    Hi
    I had followed the logic Mr Mark has told me. But it did not work.Please
    the attached files.
    1. I had copied all of my class files into META-INF directory.
    my SampleObject.jar file contains as follows.
    jar -tvf SampleObject.jar gives
    .META-INF
    .Sample.class, SampleHome.class, SampleBean.class, SampleClient.classand
    ejb-jar.xml,
    weblogic-ejb-jar.xml files.
    I did not package my class files. instead i had deployed it in META-INF.
    Further I made one more attempt as follows.
    My server is called myserver.
    so I copied all of my class files, SampleObject.jar files into thefollowing
    directory.
    C:\bea\user_projects\domains\mydomain\myserver\upload directory. This isthe
    directory
    where weblogic copies the SampleObject.jar files.
    It did not work at all.
    Please help me.
    I am failing for the past five days . Treat this as very urgent.
    Thanks in advance.

Maybe you are looking for

  • Illustrator CS5 crashes while trying to open after installing Maverick

    CS5 Photoshop and indesign seems to be OK.

  • Problem with multiple inputs / sequential shaders in flash

    Hi, I'm working with pixelbender for the first time and having a little difficulty understanding a couple of things. The project is a little flash game with pixel art spaceships, and I've embedded a couple of pixelbender shaders into the swf. I'm wri

  • Child of a child merged HTML help not searchable

    In the help for Robohelp the ability to merge projects talks about the ability to merge project B into A and then A into C for example. This works very well for a single level merge for both TOC and index/search (doing all the right things). However,

  • Oracle 10g - Unable to do any admin function

    I have installed oracle 10g database and can login and do all task except admin. The PC has window XP OS system. When I do admin function, the system fails with invalid password for host username. I type in the password that I use to login to windows

  • How to take Screen shot on N97

    guys please help me out, how to take screen shot in N97? Thanks Akshara N97 Black India Attending Nokia Discussion has become new hobby, Thanks to Nokia... for having so many bugs Solved! Go to Solution.