How to modify an EXTERNAL_TABLE and MAPPING using OMBplus

I need to implement a QA--> Production migration technique using OMB+ scripting. We are using source safe for keeping the MDL files.
As we have insufficient resources both environments are in the same database as different schemas. Configuration is as below;
Source Schema: DWPROD_TST (test) and DWPROD (production)
Target Schema: DWEXTRACT_TST (test) and DWEXTRACT (production)
Source Flat File Module: DWEXTRACT_TST_INPUT (test) and DWEXTRACT_INPUT (production)
Target Flat File Module: DWEXTRACT_TST_OUTPUT (test) and DWEXTRACT_OUTPUT (production)
All schemas have their own locations and modules defined. Once a mapping is create in TST environment developers should check in the individual
mdl files for the object they used for development. From is point the strategy I have follow is like below as I haven't seen a similar scenario before.
I rename the mdl extensiton .zip. I unzip the file. I take the mdx file extracted and make a text based search/replace for all the test environment modules, locations... etc
replacing them with production environment names. Then I run the OMB+ script below in order to import and deploy this object. This technique works for table and flat file object
with slightly different OMB+ scripts. But I can not make it work for external tables and mappings and the reason that I can guess is the Configuration information of the Data File used
as source for external table and target for the mapping I have developed. I can import the MDX successfully but cant deploy it. When i rigt click the mapping or the external file in OWB GUI
and click on CONFIGURATION I can see that:
For the MAPPING : Flat File Operator/(OperatorName)/Target Data File Location is still pointing to TEST environment even tough I have replaced all the TEST environment information with PRODUCTION.
For the EXTERNAL_TABLE : Data File/(OperatorName)/Data File Location is still pointing to TEST environment even tough I have replaced all the TEST environment information with PRODUCTION.
Is there any way to modify these LOCATION information for a MAPPING and an EXTERNAL TABLE OMB+. I read though all OWB+ scripting Reference but it sucks or I am so dumb.
Or if you have an alternative solution for my problem I will be more then happy to read it.
OMB+ Script for EXTERNAL_TABLE
OMBCONNECT DWPROD/DWPROD@cakir:1521:orcl USE REPOSITORY 'OWBDB_SYS'
OMBIMPORT MDL_FILE 'C:\\tfs\\stage\\externaltables\\XTRCT_XTRNL_INPUT_FILE\\XTRCT_XTRNL_INPUT_FILE.mdx' USE UPDATE_MODE MATCH_BY NAMES OUTPUT LOG TO 'C:\\tfs\\stage\\externaltables\\XTRCT_XTRNL_INPUT_FILE\\XTRCT_XTRNL_INPUT_FILE.log'
OMBCC 'MY_PROJECT'
OMBCONNECT CONTROL_CENTER
OMBCOMMIT
OMBALTER LOCATION 'XTRCT_DWEXTRACT_LOC' SET PROPERTIES (PASSWORD) VALUES ('PASSWORD')
OMBALTER ORACLE_MODULE 'XTRCT_DWEXTRACT' ADD REFERENCE LOCATION 'XTRCT_DWEXTRACT_LOC' SET AS DEFAULT
OMBALTER ORACLE_MODULE 'XTRCT_DWEXTRACT' SET PROPERTIES (DB_LOCATION) VALUES ('XTRCT_DWEXTRACT_LOC')
OMBCOMMIT
OMBREGISTER LOCATION 'XTRCT_DWEXTRACT_LOC'
OMBCOMMIT
OMBREGISTER LOCATION 'DWEXTRACT_INPUT'
OMBCOMMIT
OMBCC 'XTRCT_DWEXTRACT'
OMBALTER EXTERNAL_TABLE 'XTRCT_XTRNL_INPUT_FILE' SET REFERENCE DEFAULT_LOCATION 'DWEXTRACT_INPUT'
OMBCOMMIT
OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN' ADD ACTION 'TABLE_DEPLOY' SET PROPERTIES (OPERATION) VALUES ('REPLACE') SET REFERENCE EXTERNAL_TABLE 'XTRCT_XTRNL_INPUT_FILE'
OMBDEPLOY DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN'
OMBDROP DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN'
OMBCOMMIT
OMBDISCONNECT
OMB+ Script for the mapping
OMBCONNECT DWPROD/DWPROD@cakir:1521:orcl USE REPOSITORY 'OWBDB_SYS'
OMBIMPORT MDL_FILE 'C:\\tfs\\stage\\mappings\\XTRCT_PROTOTYPE_XTRCTFILE_000\\XTRCT_PROTOTYPE_XTRCTFILE_000.mdx' USE UPDATE_MODE MATCH_BY NAMES OUTPUT LOG TO 'C:\\tfs\\stage\\mappings\\XTRCT_PROTOTYPE_XTRCTFILE_000\\XTRCT_PROTOTYPE_XTRCTFILE_000.log'
OMBCC 'MY_PROJECT'
OMBCONNECT CONTROL_CENTER
OMBCOMMIT
OMBALTER LOCATION 'XTRCT_DWEXTRACT_LOC' SET PROPERTIES (PASSWORD) VALUES ('PASSWORD')
OMBALTER ORACLE_MODULE 'XTRCT_DWEXTRACT' ADD REFERENCE LOCATION 'XTRCT_DWEXTRACT_LOC' SET AS DEFAULT
OMBALTER ORACLE_MODULE 'XTRCT_DWEXTRACT' SET PROPERTIES (DB_LOCATION) VALUES ('XTRCT_DWEXTRACT_LOC')
OMBCOMMIT
OMBALTER LOCATION 'XTRCT_DWPROD_LOC' SET PROPERTIES (PASSWORD) VALUES ('PASSWORD')
OMBALTER ORACLE_MODULE 'XTRCT_DWPROD' ADD REFERENCE LOCATION 'XTRCT_DWPROD_LOC' SET AS DEFAULT
OMBALTER ORACLE_MODULE 'XTRCT_DWPROD' SET PROPERTIES (DB_LOCATION) VALUES ('XTRCT_DWPROD_LOC')
OMBCOMMIT
OMBREGISTER LOCATION 'XTRCT_DWEXTRACT_LOC'
OMBCOMMIT
OMBREGISTER LOCATION 'XTRCT_DWPROD_LOC'
OMBCOMMIT
OMBREGISTER LOCATION 'DWEXTRACT_INPUT'
OMBCOMMIT
OMBREGISTER LOCATION 'DWEXTRACT_OUTPUT'
OMBCOMMIT
OMBCC 'XTRCT_DWEXTRACT'
OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN' ADD ACTION 'MAPPING_DEPLOY' SET PROPERTIES (OPERATION) VALUES ('CREATE') SET REFERENCE MAPPING 'XTRCT_PROTOTYPE_XTRCTFILE_000'
OMBDEPLOY DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN'
OMBDROP DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN'
OMBCOMMIT
OMBDISCONNECT
Kind Regards,
Emrah
Edited by: cakire82 on Jul 29, 2009 12:57 PM

If it helps, this is a chunk from a script I have which turned off the parallel loading hint on all targets in a given mapping which was required after we discovered that ANSI cross joins and parallel query do NOT work very well in Oracle 10.
You can see that I OMBRETREIVE all table operators and then use a foreach loop to cycle through them.
log_msg LOG  "Altering: $mapName"
set tablist [OMBRETRIEVE MAPPING '$mapName' GET TABLE OPERATORS ]
foreach tgt_tble $tablist {
    if [catch { set retstr [ OMBALTER MAPPING '$mapName' MODIFY OPERATOR    '$tgt_tble' SET PROPERTIES (LOADING_HINT) VALUES ('NOPARALLEL ("$mapName")')] } errmsg] {
        log_msg ERROR "Unable to set hint for table $tgt_tble of mapping $mapName "
        log_msg ERROR "$errmsg"
    } else {
        set print [ exec_omb OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN' ADD ACTION 'MAPPING_DEPLOY' SET PROPERTIES (OPERATION) VALUES ('CREATE') SET REFERENCE MAPPING '$mapName' ]
        if [omb_error $print] {
             log_msg ERROR "Unable to create Deployment plan for '$mapName'"
        } else {
              set print [ exec_omb OMBDEPLOY DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN' ]
              if [omb_error $print] {
                  log_msg ERROR "Error on execute of Deployment plan for '$mapName'"
        OMBDROP DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN'
        OMBCOMMIT
}Ignore the exec_omb function as this is just a wrapper I built for OMB+ commands.
As to passing parameters, look into argc and argv:
if { $argc > 0 } {
     set i 1
     foreach arg $argv {
          puts "argument $i is $arg"
          incr i
  } else {
     puts "no command line argument passed"
  }You can also write interactive scripts if you prefer too. From earlier in the script above which turned off the parallel hint:
puts ""
puts -nonewline "Which mapping do you want to set to NOPARALLEL? "
set mapName [gets stdin]I've even done loops to allow the user to perform the operation on multiple mappings, and to use pattern matching to determine which mappings to alter:
set doLoop "1"
while { [string match "1" $doLoop] } {
    puts -nonewline "What mapping to reconfigure (use name of generated plsql package)? "
    flush stdout
    set mapName [ string toupper [gets stdin] ]
    puts -nonewline "What value do you want to set as the maximum allowed errors? "
    flush stdout
    set eValue [gets stdin]
    set mapList [OMBLIST MAPPINGS '.*$mapName.*']
    if { [llength $mapList] == 0 } {
       log_msg ERROR "No mappings matching search string $mapName"
    } else {
        foreach mName $mapList {
             puts -nonewline "Update mapping $mName (y/n)? "
             flush stdout
             set doThisUpdate [string toupper [gets stdin]]
            if { [string match "Y" $doThisUpdate ] } {
                if [catch { set retstr [ OMBALTER MAPPING '$mName' SET PROPERTIES (MAXIMUM_NUMBER_OF_ERRORS) VALUES ( '$eValue')] } errmsg] {
                    log_msg ERROR "Unable to modify max errors on Mapping $mName"
                    log_msg ERROR "$errmsg"
                } else {
                    set print [ exec_omb OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN' ADD ACTION 'MAPPING_DEPLOY' SET PROPERTIES (OPERATION) VALUES ('CREATE') SET REFERENCE MAPPING '$mName' ]
                    if [omb_error $print] {
                        log_msg ERROR "Unable to create Deployment plan for '$mName'"
                    } else {
                        set print [ exec_omb OMBDEPLOY DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN' ]
                        if [omb_error $print] {
                            log_msg ERROR "Error on execute of Deployment plan for '$mName'"
                    exec_omb OMBDROP DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN'
                    exec_omb OMBCOMMIT
            } else {
                log_msg LOG "Skipping update to mapping $mName"
    puts -nonewline "Do Another? (y/n) "
    flush stdout
    set doAnother [gets stdin]
    if { [string match "Y" [string toupper $doAnother] ] } {
        log_msg LOG "User requests more updates"
    } else {
        set doLoop "0"
}Anyway - there is lots that you can do to parameterize script or make them interactive. Just spend a bit of time working through a couple of TCL tutorials and you'll be well on your way.
+(Note: script chunks have been edited for clarity of the main point I wanted to illustrate and may contain missmatched braces or other syntax problems.)+

Similar Messages

  • My ipod touch wont restore - I plugged it into friends computer to charge and now it is stuck. How can I successfully restore and start using my I touch again (4th gen). TKS.

    my ipod touch wont restore - I plugged it into friends computer to charge and now it is stuck. How can I successfully restore and start using my I touch again (4th gen). TKS.

    You have to put the iPod touch into the recovery mode.

  • How to find the columns and tables used in a stored procedure?

    Hi,
    Can someone suggest how to find the columns and tables used within a stored procedure?
    Thanks
    VBK

    For example:
    SQL> create or replace
      2    procedure p1
      3      is
      4          cnt number;
      5      begin
      6          select count(*) into cnt from emp;
      7  end;
      8  /
    Procedure created.
    SQL> select  referenced_owner,
      2          referenced_name
      3    from  dba_dependencies
      4    where owner = 'SCOTT'
      5      and name = 'P1'
      6      and referenced_type = 'TABLE'
      7  /
    REFERENCED_OWNER               REFERENCED_NAME
    SCOTT                          EMP
    SQL> SY.

  • How to find a memory and CPU used by a specific concurrent program ?

    Dear All ,
    How to find a memory and CPU used by a specific concurrent program ?
    Thanks.

    Hi,
    How to find a memory and CPU used by a specific concurrent program ?
    Could you please let us can we get the
    memory used for a specific concurrent request .
    Please refer scripts available at:
    Concurrent Manager and program related scripts
    Queries : Concurrent Managers/Processes
    Thanks &
    Best Regards,

  • How to modify a template and use both old/new in the same library without interference

    OK first Thank you for reading this and hopefully being able to help me out. I got dumped this project on my desk to update two different templates already published in
    share point(2010) years ago. The original developer left the company 4 years ago. Since then anyone that tried to do anything with them made a big mess. I have done some heavy reading and am stuck on few issues.
    Please note the templates were created IP 2007 and I will be using IP 2007 to modify them. The temples have a small amount of C# that does not have to be changed. There is also a digital signature linked to them.
    After some heavy reading this week. I figured that I need to edit the template from Share point(2010)/IP(2007) and not copy the templates to a different location laptop/desktop
    because that will ruin the digital signature. There is also a large volume of submitted forms from these temples. The new version of the temples will be heavily modified deleting rolls columns changing names. My understanding is that since I want to keep the
    old submitted forms the way they are and still use the old template to open them. I would need a second version of the original template with all the visual modification to still use the original template's C# digital signatures and any other file that runs
    in the background.
    The plan:
    1)Turn off the automatic update to forms/template when a new version of the template is created.
    2) Copy the existing template (.xsn) file to a new document folder in share point(same network).
    3) Change the name of the .XSN file that I copied and modify it??????????? Will keeping the same name interfere with the old template/C# digital signature ect? I would like to change to something like SameName_version_2015 for example. or will changing the
    name cut the link to the old C# digital signature? or will it get modify the background files and break the old template/submitted files.
    4) Publish the new template in share point.
    5) Change the data connection to a new directory that I wish to submit all files.
    Please advice am I missing anything? and help me understand my step 3 better. Also I would love to get a better understanding of how i can backup and recover everything. Do I simple copy unmodified .XSN files somewhere and publish them if things goes wrong?
    Do I need to backup anything else?
    I am open to options if I can create a test folder in the share point for safety.
    Once again THANK YOU for trying to help.

    Hi, thanks for the reply!
    Just to follow up for what we did to disable the delete function for maintaining table records. We hided the Delete button by adding a "MODULE disable_delete" code in Screen Painter. So now only adding records to the table is allowed.
    Thanks,
    Jenny

  • How to modify regional settings and keep Acrobat 9.4.1 working?

    When I modify the regional settings on my W7 PC (i.e. switching the decimal symbol and digit grouping symbol from dot to comma and vice-versa), I cannot print to Adobe PDF Printer nor can I convert Office documents to PDF files anymore. It seem like the joboptions files were getting corrupted (I can see read errors).
    Can anyone advise on how to modify the regional settings and keep Acrobat 9.4.1 Pro working properly? Do I have to adopt the joboptions files (and if yes, how?)?
    Thank you for your advice!

    The defaults for three are blank entries. That is there are no defaults, The only way to get those back to being blank would be to delete your preferences file ( Home->Library->Preferences->com.apple.Aperture,plist ) and possibly the files in *Home->Library->Program Support->Aperture* (but I don't think you would need to do these, not sure.)
    However before you do this you should know there is no drawback to having these entries filled in. Aperture would only attempt to use them if you actually selected them while using Aperture. It won't be looking for them on startup. And if the programs pointed to by these entries no longer exist on your system Aperture won't even fill in the names in the menu items where these are pointed to ( *Photos->Edit with* for example)

  • How to create mass users and map them to existing  hrms users

    Hi,
    Im running oracle ebusiness suite 12i . I want to create mass users , and map them to existing hrms users.
    The users I want to create exist in an excel spreadsheet with the columns employee id, user name. They will all be granted the same responsibility. I want to map them to existing hrms users using the employee id key.
    I have read about the package FND_USER_PKG.CREATEUSER and I can loop over it by using sql loader to create a temporary table, but I m lost on how to automatically map them to hrms users as part of the script.
    Any help.
    dula

    Thanks a lot Omka,
    I managed to create the users by running the script:
    declare
    Cursor C1 is
    select d.product_code,b.responsibility_key from FND_USER_RESP_GROUPS_ALL a,fnd_responsibility b,fnd_user c,fnd_application d
    where a.user_id = c.user_id
    and a.responsibility_id = b.responsibility_id
    and b.application_id = d.application_id
    and c.user_name ='JOCHIENG';
    Cursor employee is
    SELECT EMPLOYEE_ID,EMPLOYEE_NAME from eldoret_final;
    BEGIN
    for e in employee loop
    fnd_user_pkg.createuser
    x_user_name => e.EMPLOYEE_NAME
    *,x_owner => ''*
    *,x_unencrypted_password => 'welcome123'*
    *,x_start_date => SYSDATE - 10*
    *,x_end_date => NULL*
    *,x_description => 'CBK Employee'*
    *,X_EMPLOYEE_ID => e.EMPLOYEE_ID*
    fnd_user_pkg.addresp(upper (e.EMPLOYEE_NAME),'PER', 'CBK_EMPLOYEE_DIRECT_ACCESS','STANDARD', 'DESCRIPTION', sysdate, null);
    end loop;
    commit;
    end;
    I had first created the user JOCHIENG and assigned it the responsibility for Self service. So the script just assigns the responsibilities by copying from the one assgined to this user.
    Everything seems ok. However, when trying to log in as the new user, the login error: Login failed. Please verify your login information or contact the system administrator.
    is returned. But I can reset the password using the forms under Security > Define. Even with the correct password, the login doesn't go through.
    Any idea?
    dula

  • How to Modify Hierarchy Filed Values by using Import Manager

    Hi All,
    I have some lookup table values in my source file in 1st attempt I have updated successfully. But, after cross checks the same i found that hierarchy level are incorrect at the destination side.
    Source Hierarchy lookup values
    Item1
           Item 2
           Item 3
    Item4 
    Destination Hierarchy lookup values
    Item1
    Item 2
    Item 3
    Item4 
    Note: After Adding the Source filed hierarchy structure by selecting the  Add Branch as child opting in the value mapping area
    I am getting unique constraint Violated error message while importing the values.
    So, how can I update the Source Hierarchy fields structure to Destination Hierarchy Field structure?
    Thanks in Advance.
    Mahesh

    Hi Mahesh,
    While importing the values if you get the error unique constraint Violated, that means that the same value has been mapped twice.
    when you try to map the values of the hierarchy, NULL would have been automatically mapped.
    When you select all the records and do add branch as child, the same NULL would have been added and mapped again.
    If not with NULL, this could be the case with some other value.
    Just check if some value is added and mapped twice in your value mapping.
    This should solve your issue.
    Try and let me know the result.
    Regards,
    Sravan

  • How to modify the layout  and coding for 'RVORDER01' after copying ..

    Hi all,
       I am trying to modify standard script layout SALES ORDER for Quotation,
    i.e. I had copied standard form 'RVORDER01' to 'ZBAT_RVORDER01'.
    and now I am trying to compress the information box. But no box in the layout  was selecting while trying to resize it. Can any one help in this issue.
      And I also want to know, how to modify the coding in that standard script. i.e. to add a perform statement and etc..
    Thanks in advance,
    Surender.

    GOTO SE71, and give the form name as 'ZBAT_RVORDER01' and Language as DE, try to compress the box according to your requirement, save activate and return to SE71, now change the language to EN, you will see the compressed window in EN.
    The casue of your problem is the original language is in DE so window changes, character formats etc can be done in DE language or change original language to english,
    TO change original language to EN, SE71 ,FOrm name Language DE click change, goto utilities--> change Language.
    Regards,
    Sairam

  • Impact Analysis: How to trace which objects and tables used in a report?

    Impact Analysis: How to trace which Webi objects and tables used in a report?
    Currently, our company have been using BO Webi as our ad-hoc and reporting tool for over a year now.  Past several months, we've been pushing our power users to develop their own report, and started to notice that we loss track off which data (tables, columns, ... , BO objects) being used where and by whom.   The BI team now spend more time tracing through reports manually, instead of designing Universe.
    After consulted with our local  SAP  technical sale, they said the only solution is to buy BO's ETL (Data Integration) and
    Metadata Management tool, which price starting from $300K per CPU.  I suppose that is NOT the right solution; however, we have not found one yet.  Some executives believe Cognos (now by IBM) would provide a better BI solution as we scale.
    If anyone know, please provide (1) Impact Analysis method: How to trace which Webi objects and tables used in a report? and (2) Does Cognos provide better impact analysis method without a heavy spending?
    Thank you very much,
    Ed
    Edited by: EdPC-SCB on Sep 8, 2009 3:56 PM

    EdPC-SCB,
    have you tried enabling auditing?
    - Yes, audit log only shows user's activities which isn't useful for us. Please let us know any audit log that might be helpful .
    For most of the servers listed in the CMC there is an "Audit" tab.  I'd say if you have the disk space in your database for Auditor available, then if in doubt turn it on (at least for a while) to see if it exposes what you are seeking to find out --that'd be the quickest way.  The documentation (xir2_bip_auditor_en.pdf) doesn't offer much in helping you to see a correlation between ticking on an Audit option in a Server and how it will populate in the Auditor DB -- most of us just hunt and peck until we get what we want.  Once you have the good stuff in each of the Servers ticked on you'll be able to track down which report recieves which object.  To help youself out initially, you should run every report that you can find so Auditor will get seeded.
    thanks,
    John

  • How to invoke Internet Explorer and Adobe using OLE2

    Hi all
    We have to call IE and adobe using OLE2.
    how to do that ?
    Is it like how we do for word or excel. We tried that way but not working.
    e.g:
    app := OLE2.CREATE_OBJ('IExplore.Application');
    please help us.
    Thnx and regards
    Sriram

    The commands you pass are specific to the OLE service, so its not really a Forms question but a question for the OLE provider.
    Having said that - the questions I would ask is what are you trying to do? If you want to launch IE and display a PDF document you can do that with web.show_document. OLE will only work on the server and so the clients would not see IE if you were using OLE.
    REgards
    Grant Ronald
    Oracle Product Management

  • How to sync hotmail calendars and ICal using exchange/ active-sync.

    I have just recently updated my hotmail account to the exchange setting in my iPhone and I have synced my mail,calendar and contacts. I'm just wondering if it's possible to sync my hotmail Calendar with my iCal on Mac os x using the exchange program. Also out of curiosity has any body been able to sync their hotmail with mail using exchange?
    Thanks

    a better forum for Office-for-Mac questions, is here:
    http://answers.microsoft.com/en-us/mac
    there's a lot more traffic in the Answers forum, so your chances of getting help there with your Mac are a lot better, I think (based on observation alone).
    Also, these articles may help:
    Add an email account to Outlook for Mac 2011
    http://office.microsoft.com/en-us/mac-outlook-help/add-an-e-mail-account-HA102928245.aspx
    Set up or recover Outlook.com, Gmail, or AOL (POP or IMAP) email in Outlook for Mac 2011
    http://support.microsoft.com/kb/2352963
    Setup & Use Windows Live Hotmail in Outlook & Entourage
    http://www.officeformachelp.com/2011/02/setup-use-windows-live-hotmail-in-outlook-entourage/
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • How to display missing plugin and plugin used in a document?

    Hi,
    I need to write a plugin to display missing plugin and plugin used in a document using IContentMgr.
    Please help proceed further.....

    Try,
    InterfacePtr<IContentMgrAccess> contentMgrAccess(doc, UseDefaultIID());
    InterfacePtr<IContentMgr> contentMgr(contentMgrAccess->QueryContentMgr());

  • How to properly cite images and media used as to copyright

    All of the images and media used in my iBook were either created by me or gotten from an Open Educational Resource repository such as Wikimedia Commons and are CC licensed such that I am permitted to use them.  Wanting to avoid any delay in getting onto the iBookstore or have any questions raised about these assets after publication, I would like to cite these facts somewhere in my iBook.  I'd rather not use captions for this since the citations will include long, ugly URLs.  Traditional books have a page listing illustrations but I see no equivalent in the templates available by default. 
    So what is the best way to include information like this?  Should I include a list of illustrations and media in a Reference section?

    There are lots of different ways to cite the source of the image. I guess a big question is do you want to credit the source (or perhaps you are required by the license) right beside the image or is it okay to credit the picture at the back in a reference section.
    Personally, I like to credit the source by the picture and put something like "Photo by John Smith / genericStockAgency" in the caption. Alternatively you can credit the source in a section at the back (e.g., see E.O Wilson's life on earth).
    I'd suggest looking at various other ibooks and find a style that you like. BTW most books I have seen do not provide deep linking URLs for individual images and just list the source generically. E.g., image from wikimedia commons.

  • How to Modify Server.xml and web.xml inTomcat

    Hii
    i am very new to tomcat..and using servlets..so plx tell me hw i can modify the server.xml and web.xml....
    if my installables are in c:\program files\apache group\tomcat4.1
    ok...i have my servlets file in c:\program files\apache group\tomcat4.1\webapps\ap1\WEB-INF\classes..so plz advice me on modifying the server.xml and web.xml....also tell me how and what we do in mapping
    Plz tell me soon...
    thanking u in advance.
    rahul
    Take care.:)

    for web.xml you need something like this, i took this from the web.xml under the examples directory in tomcat:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <servlet>
    <servlet-name>
    servletToJsp
    </servlet-name>
    <servlet-class>
    servletToJsp
    </servlet-class>
    </servlet>
    <servlet>
    <servlet-name>
    CompressionFilterTestServlet
    </servlet-name>
    <servlet-class>
    compressionFilters.CompressionFilterTestServlet
    </servlet-class>
    </servlet>
    </web-app>
    basically you need to map the servlet with a class, for servlet-name call it whatever you like, you'll be using this name in the url to access you servlet, for the class give it the name of the class, java complied class, that's it.
    server.xml is used to configure tomcat.

Maybe you are looking for

  • Inserting paragraphs into a report based on a certain condition

    Hi, I need some advice on the best method to insert paragraphs of text into a report. I have +/- 100 paragraphs which are in text format, I need to insert these into the report based on certain conditions. I have tried entering them into the trailer

  • Https ssl config Oracle AS, webcache, portal...almost works

    Hi, I have searched the forums and I havent found anything that works for me. I have Oracle infrastructure on one server, and Oracle App server/portal on another server. I can get as far as the http server showing the "welcome to oracle" page in http

  • How can i get my iPod touch's battery changed in India and how much will it cost

    Plzz help me out !!! My iTouch's battery goes off within 30-45mins on internet,1-2hrs on music and 15-30mins on games..... Kindly help me as soon as possible. 

  • Select-options: in inner join

    in this peace of code i got error message like: The column name "VBELN" has two meanings.. Please let me know how to resolve this <b>select-options:</b> problem tables:vbap,lips,likp. data: begin of first occurs 0,       vbeln1 like vbap-vbeln,      

  • Error importing data via Apex

    Hi, I have an apex application on a 10g XE machine, and am in the process of migrating this to an 11g machine (same version of apex: 3.2.1). With a dozen or more "Apex" users, I first was a little disgruntled to find that there wasn't a readily-avail