WebLogic 12 c | Reports | key mapping issues. cgicmd.dat

Hi guys

I managed to configure Weblogic 12 forms and States on Windows 10 & having a minor problem with the key mapping for the (current) report server

I added a key to the file cgicmd.dat as follows

Userlogin: userid=APPS/APPS@sct % * (who has worked with 10.3.6 weblogic 11 g) and call reports Forms as follows:

Web.Show_Document ('/ reports/rwservlet? userlogin & desformat = PDF & destype = cache & report ='|: CTRL.) REPORT_NAME | ("& paramform = Yes, '_new');

This call blocks the report server, while a call as follows

Web.Show_Document ('/ reports/rwservlet? userid=APPS/APPS@sct & desformat = PDF & destype = cache & report ='|: CTRL.) REPORT_NAME | ("& paramform = Yes, '_new');

works perfectly. I have checked and confirmed that the map file is loaded correctly.

Please suggest me what could be the problem.

Thank you and best regards,

Hello Irfan

I don't know if the solution that I found is really worth sharing, yet:

I disabled IPV6 completely from my Windows 10 box

Deleted the folder tmp for the WLS_REPORTS

Restart the servers & and the mapping of the keys works fine now.

Kind regards

Tags: Fusion Middleware

Similar Questions

  • Problem with cgicmd.dat in reports 10g

    Dear Sir/Mam,

    I configured serve report on solaris 10. When running reports using web url with key mapping in the cgicmd.dat folder, I get a very strange problem. Regardless of settings m passing reports through a web url an additional "=" character is added automatically. I give you the details of the files below. Please help me. Thanks in advance.

    The content of rwservlet.properties: -.

    SERVER_IN_PROCESS = YES
    RELOAD_KEYMAP = YES
    DIAGNOSIS = YES
    TRACEOPTS = TRACE_ALL
    TRACEFILE = rwservlet.trc
    FIND = TRACE_REPLACE
    SERVER = test
    #IMAGEURL = http: / / < web_server_name >: < port_num > rwservlet/reports /.
    KEYMAPFILE = cgicmd.dat
    #DBAUTH = RWDBAUTH. HTM
    #SYSAUTH = RWSYSAUTH. HTM
    #ERRORTEMPLATE = RWERROR. HTM
    #COOKIEEXPIRE = 30
    ENCRYPTIONKEY = reports9i
    #DIAGBODYTAGS = < reports_servlet_help_file_title >
    #DIAGHEADTAGS = < reports_servlet_help_file_body_tag >
    #HELPURL = < url_of_customized_help_file_for_reports_servlet >
    #SINGLESIGNON = YES
    OID_ENTITY = % REPORTS_OID_ENTITY %
    #ALLOWHTMLTAGS = NO
    #REPORTS_NETWORK_CONFIG = rwnetwork.conf
    #OIDCON_INIT = 10
    #OIDCON_INCREMENT = 10
    #OIDCON_TIMEOUT = 0
    DEFAULTCHARSET = JA16EUC
    #DEFAULTCHARSET = EUC - JP

    The content of cgicmd.dat: -.

    osk47zgenp: report = 1% userid=utimainapp/utimainapp@testdb rundebug no = NO delimited = destype = cache mode desformat = bitmap mast_ext = roymask.xls p_start_dt = p_end_dt % %2 = 3 p_srvc_id = 4% p_sch_id = 5 p_agnt_cd = 6% p_user_id = %7 = 8% p_sesn_id %


    Reports URL is: -.

    http://10.10.100.110:8890/reports/rwservlet?osk47zgenp+rp_os424_mat_recon.RDF+30-Jun-2009+01-Jan-2010++31++Shashi+1492544

    Error coming on the browser: -.

    REP-110: file 'rp_os424_mat_recon.rdf =' not found.
    REP-0110: cannot open the file 'rp_os424_mat_recon.rdf ='.

    The content of rwservlet.trc: -.

    [2011/1/19 7:37:1:624] (RWClient:doGet) enter...
    From [7:37:1:625 1/19/2011] bug 50103 (RWClient:doGet): QueryString: osk47zgenp + rp_os424_mat_recon.rdf + 30-JUN-2009 + 01 - JAN-2010 ++ 31 +
    Shashi1492544
    [2011/1/19 7:37:1:625] 50103 (RWClient:processRequest) Info: recharge the key mapping file: s_reloadKeyMap: YES
    From [7:37:1:626 1/19/2011] bug 50103 (KeyEntry:replaceParams): report = rp_os424_mat_recon.rdf = userid=utimainapp@testdb rundebug = N
    O desformat = delimited destype = mode cache = bitmap mast_ext = roymask.xls p_start_dt = 30 June 2009 = p_end_dt = = p_srvc_id = 31 = January 1, 2010
    shashi = p_agnt_cd = 1492544 = p_sch_id = p_user_id = p_sesn_id =
    From [7:37:1:626 1/19/2011] bug 50103 (RWClientUtility:isFromPortal): Portal: null
    From [7:37:1:626 1/19/2011] bug 50103 (RWClientUtility:isFromPortal): webdbversion: null
    [2011/1/19 7:37:1:627] 50103 (RWClientUtility:findServer) Info: Failed to connect to the server: test
    [2011/1/19 7:37:1:627] 50103 (RWClient:startInProcessServer) WARNING: start the test server inprocess
    From [7:37:1:657 1/19/2011] bug 50103 (NetworkUtility:getIOR): find a server and returning the IOR
    From [7:37:1:658 1/19/2011] bug 50103 (ServerManager:getServer): object of class server Found
    From [7:37:1:659 1/19/2011] bug 50103 (ServerManager:getServer): ping server successfully
    From [7:37:1:660 1/19/2011] bug 50103 (RWClientUtility:getReportsServer): server: test
    From [7:37:1:660 1/19/2011] bug 50103 (ServerManager:getServer): object of class server Found
    From [7:37:1:660 1/19/2011] bug 50103 (ServerManager:getServer): ping server successfully
    From [7:37:1:661 1/19/2011] bug 50103 (AuthManager:getAuthId): secure server: false
    From [7:37:1:663 1/19/2011] bug 50103 (RWClientUtility:getReportsServer): server: test
    From [7:37:1:664 1/19/2011] bug 50103 (RWClientUtility:getReportsServer): server: test
    From [7:37:1:664 1/19/2011] bug 50103 (ServerManager:getServer): object of class server Found
    From [7:37:1:665 1/19/2011] bug 50103 (ServerManager:getServer): ping server successfully
    From [7:37:1:666 1/19/2011] bug 50103 (RWClientUtility:isFromPortal): Portal: null
    From [7:37:1:666 1/19/2011] bug 50103 (RWClientUtility:isFromPortal): webdbversion: null
    From [7:37:1:667 1/19/2011] bug 50103 (RWClient:runReport): cmdline: p_end_dt = January 1, 2010 = baseUrl = http://10.10.100.110:8890 / report
    s/rwservlet/GetFile/userid=utimainapp@testdb USER_AGENT = "Mozilla/4.0 (compatible;". MSIE 7.0; Windows NT 5.1; (Trident/4.0) ' p_srv
    C_ID = 31 = 10.10.100.110 SERVER_NAME = jobname = "rp_os424_mat_recon.rdf =' p_sesn_id = mast_ext = roymask.xls getFilestr = / not > imagekey = re"
    ports9i p_user_id = REMOTE_ADDR = 10.10.105.54 SERVER_PROTOCOL = HTTP/1.1 authid = RWUser = 30 June 2009 = mode p_start_dt = bitmap REMOTE_HO
    ST = 10.10.105.54 destype = cache SERVER_PORT = 8890 = shashi report = p_sch_id = "rp_os424_mat_recon.rdf =" expiredays = 0 ACCEPT_LANGUAGE = en
    -We desformat delimited = p_agnt_cd = 1492544 = rundebug = / rwservlet SCRIPT_NAME = NO
    From [7:37:1:668 1/19/2011] bug 50103 (ServerManager:getServer): object of class server Found
    From [7:37:1:669 1/19/2011] bug 50103 (ServerManager:getServer): ping server successfully
    From [7:37:1:669 1/19/2011] bug 50103 (ReportRunner:connectToServer): new connection request for userid: RWUser server: test
    From [7:37:1:673 1/19/2011] bug 50103 (ReportRunner:connectToServer): successful user connection: RWUser server: test
    [2011/1/19 7:37:1:709] 51022 (ReportRunner:Release) Info: Connection object has been released.
    [2011/1/19 7:37:1:711] Exception (110): File 'rp_os424_mat_recon.rdf =' could not be found.
    REP-0110: cannot open the file 'rp_os424_mat_recon.rdf ='.

    oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
    at oracle.reports.RWExceptionHelper.read(RWExceptionHelper.java:67)
    at oracle.reports.server._ConnectionStub.runJob(_ConnectionStub.java:504)
    at oracle.reports.client.ReportRunner.dispatchReport(ReportRunner.java:288)
    at oracle.reports.rwclient.RWReportRunner.dispatchReport(RWReportRunner.java:86)
    at oracle.reports.rwclient.RWClient.runReport(RWClient.java:1671)
    at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1525)
    at oracle.reports.rwclient.RWClient.doGet(RWClient.java:366)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter (unknown Source)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)

    From [7:37:1:711 1/19/2011] bug 50103 (RWClientUtility:isFromPortal): Portal: null
    From [7:37:1:711 1/19/2011] bug 50103 (RWClientUtility:isFromPortal): webdbversion: null
    From [7:37:1:716 1/19/2011] bug 50103 (RWClientUtility:isStatusFormat): statusformat: null
    From [7:37:1:717 1/19/2011] bug 50103 (RWClientUtility:isStatusFormat): statusformat: null
    [2011/1/19 7:37:1:717] (RWClient:doGet)... .exit

    Hello

    The document 341188.1 is available on http://support.oracle.com

    The problem is a bug fixed in the version of Group of patches 2 rel 2 reports 10g (10.1.2.2.0)

    Concerning

  • Creating primary key based on the Date

    Hi all
    I am trying to create a unique ID for each record, based on the date that the record is created. Example, if the folder is created today, I want to the key is 20101130XX where XX is a sequential list of numbers e.g. 01, 02, 03 etc... in the case where more than one person creates a record today.

    If 3 people created record yesterday their unique ID would be

    2010112900
    2010112901
    2010112902

    and then comes the midnight and someone creates a new record, that it would be

    2010113000

    This is intended to give each record with a unique ID that will be used to reference the ticket.

    We are already using the date format, but currently users have to manually enter the id and who can create errors such as 2011112900 when it should have been 2010112900 then instead of 2010 they put 2011

    I'm not sure how to create a trigger to generate this type of unique identification number and would appreciate any help

    Thanks in advance

    Wally

    Never said it was perfect, but then again, it is a rather sticky issue... Reset sequence work would be scheduled to run @ some point... You entered in tables past 24/7? I would say that system could be locked for those 5 minutes sequence is updated, or the table is locked to allow no access while the process is...

    To be honest, that is the question in the design of a key value that is dependent on outside data, as apposed to a surrogate key, which is generated System... Again, you could have at ONCE and have the surrogate for a key key REAL primary and date + sequence as a secondary key for the use of basic unit of carbon...

    Thank you

    Tony Miller
    Webster, TX

    If vegetable oil is made from vegetables, then what is baby oil?

  • Want the old data of Firefox, old PC died, new recovery keys will remove old data on server.

    I created Sync on my hard drive now unusable, with all my goodies of Firefox on it. I am now on another hard drive but when I try to set up the synchronization and recover my old data, he said that I need a recovery key. I can't get a so it generates one, but a new will apparently remove the old data that I want to do unnecessary synchronization. How to access my old data without a key?

    I was and am now running Firefox 28.0 on two hard drives.

    Hello, it is not possible to recover your old data sync without the recovery key, because the data is stored encrypted on mozilla sync servers and it's the only key to decrypt. If you have already generated a new recovery key and then also data on the servers was overwritten - so I'm afraid that this data is lost for good...

  • How to assign the WASD keys for arrows (the key mapping)?

    To increase the rate to make source code, it is useful to use WASD rather arrow keys. It is useful for users of right.

    Hello Jiri,

    I recommend you to use external applications for the mapping of the keys.

    An example: http://www.howtogeek.com/howto/windows-vista/map-any-key-to-any-key-on-windows-xp-vista/

    I'm sure you can find many web-based applications that meet your needs,

    Mircea

  • How can I disable these very annoying keys mapped to the F keys. I want normal F keys!

    I play a little my surprise (for me) 4 Gig HP Pvillion g6 powerful i3 laptop (W7 64-bit, integrated :() graphics I am more than happy with it.) HOWEVER! There is one thing that finally pushed now a few minutes ago, and it's shortcut keys of STUPID pre mapped keys f. WHY have buttons F have F BUTTONS DON'T WORK? It is causing me a lot of stress in the world of the imaginary game that I often live and we cannot have just that. Rant on (not a real favorite hangover that I promise you! Just a little Catharsis) Please help oh ye enlightened internet folk!

    EDIT: I should have clarified that I mean keys F # but I have faith in your intelligence to help a friend. Overcome my simple ignorance, and bring me the knowledge of the ancients! Can do you so soon? I wan't to play Far Cry 3 without a hitch

    Seems that HP has made these keys just active in them pressed (nowhere did he clear how long this interval is).
    BUT (and now comes the good news), they can be disabled in the BIOS so that they operate strictly as keys 'F' (page 38):
    "An action key performs an assigned function. The icon on each of the f1 through f4 and f6 keys
    by f12 keys shows the function assigned to this key.
    To use a function key to action, press in and hold the key.
    The main feature of the action is enabled in the factory. You can disable this feature in the configuration utility (BIOS).
    See Using Configuration Utility (BIOS) and the system on page 68 Diagnostics for instructions on opening
    Setup Utility (BIOS) and then follow the instructions at the bottom of the screen. »

    Then, after it is disabled in the BIOS, they only work as 'special' according to Mr. Clement keys, pressing the Fn key in combination with her:
    "To enable the function assigned after deactivation of the key feature of the action, you must press the fn key in.
    combination with the appropriate action button. »

    Here is a link to the manual for more information:
    http://h10032.www1.HP.com/CTG/manual/c03271200.PDF>

    If you still have a problem with her due to the proximity of the Fn key, then I believe that you can turn it off completely by stopping HP Quick Launch in the Task Manager. Test it offline before game to ensure that the judgment it does not affect other functions of the keyboard that you need.
    Game on, my friend!

    SC Tom

  • Patch that provides the location EMEA report "KEY: VAT Register (CZ) 01.01.2016 effective?

    Hello

    Anyone know patch that provides the latest legislative requirements for report location EMEA "KEY: VAT Register (CZ) 01.01.2016 effective?

    Client uses R12.1.3

    Operating system: HP - UX Itanium

    OS version: B.11.31

    Thanks in advance!

    Inga Kierpe

    Information on Czech Republic locations module in Oracle Note 548882.1.

  • the movement of the cursor and other keys mapped to the guest operating system

    Host operating system is fedora 10.  Guest operating system is Windows XP Pro.  The arrow of special keys, group of 4 and at home, delete, insert, etc., group of 6 on a typical keyboard on the host computer are not mapped to the guest OS.  Anyone know how this can be corrected?

    Thank you

    Jeepers

    Same problem for me, but I found the solution via google a few weeks ago and I think there's a post on this forum about this as well. But here's my version...

    in your user directory, it must be a directory .vmware.

    Inside this directory must be a file named config, otherwise create it

    in the config file should be a line like this:

    xkeymap.nokeycodeMap = true

    If this isn't there, add it.

    Remotely close sessions and reconnect. Problem solved!

    Other messages on the Internet are talking about doing this on the host machine when running VMware workstation, but it works well enough for the VMware remote console.

    Sure just what do you on the computer that is running the Remote Console and not the host machine, run the virtual machine.

  • loading google Maps issue part 2

    I found an example of using the ExternalInterface class to transmit to AS2, but I'm stuck on how to get a google map to a clip.
    Here's the HTML:
    "" < html xmlns = " http://www.w3.org/1999/xhtml ' XML: lang ="fr"lang ="fr">
    < head >
    < meta http-equiv = "Content-Type" content = text/html"; charset = iso-8859-1 "/ >"
    fi < title > < /title >
    "" < script src = " http://maps.google.com/maps?file=api & amp; v = 2 & amp; key = ABQIAAAAREqiX-rchDAf5rxchuz6dBRqQJ_ot-KK68KcaQrOr8j2RiVYalRQjpWPmQ3DjfT01fj8K-cd-ZGo5rg '
    Type = "text/javascript" > < / script >
    < script type = "text/javascript" >

    <! [CDATA]

    function load() {}
    If (GBrowserIsCompatible()) {}
    var map = new GMap2 (document.getElementById ("map"));
    map.setCenter (new GLatLng (37.125,-122.127), 13);
    }
    }

    []] >
    < /script >

    < / head >
    < body bgcolor = "#ffffff" >
    <! - url is used in the film - >
    <! - text used in the film - >
    <!-saved from url = (0013) subject: internet->
    < object classid = "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase ="" http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8, 0,0,0 " width ="550"height ="400"id ="fi"align ="middle">"
    < param name = "allowScriptAccess" value = "sameDomain" / >
    "" "< param name ="movie"value =" fi.swf"/ > < param name = ' value ' = 'high' / > < param name ="bgcolor"="#ffffff"value / > < embed src =" fi.swf "quality ="high"bgcolor ="#ffffff"width ="550"height ="400"name = 'fi' align ="middle"allowScriptAccess ="sameDomain"type =" application/x-shockwave-flash"pluginspage =" http://www.macromedia.com/go/getflashplayer ' / >
    < / object >
    < / body >
    < / html >
    : Here are the ACEs:
    flash.external import. *;
    var depth: Number = this.getNextHighestDepth ();
    var mapHolder:MovieClip = new MovieClip();
    mapHolder = this.createEmptyMovieClip ("mapHolder_" + depth, depth);

    var btn:MovieClip = createButton (100, 30, 0xCCCCCC);
    btn.onPress = function() {}
    mapHolder.loadMovie = function (): MovieClip {}
    var clip: MovieClip = new MovieClip();
    Clip = MovieClip (ExternalInterface.call("saveglobalscore",score) ("load"));
    Back to clip;
    }
    }

    function createButton(width:Number,_height:Number,_color:Number):MovieClip {}
    var depth: Number = this.getNextHighestDepth ();
    var mc:MovieClip = this.createEmptyMovieClip ("mc_" + depth, depth);
    var mcFmt:TextFormat;

    mc.beginFill (color);
    mc.lineTo (0, height);
    mc.lineTo (width, height);
    mc.lineTo (width, 0);
    mc.lineTo (0, 0);

    mcFmt = new TextFormat();
    mcFmt.align = 'center ';
    mcFmt.bold = true;

    mc.createTextField ("mcTxt", depth, 0, 0, width, height);
    mc.mcTxt.text = 'Function call JS';
    mc.mcTxt.setTextFormat (mcFmt);

    return mc;
    }

    Nevermind I found a couple of good workarounds. We're here:
    http://code.Google.com/p/Google-Maps-Flash-interface/ The other is to build the master.swf in as3.

  • One - Key post issue...

    After uninstalling a program on my new G570, my Lenovo has become unstable (explorer.exe acted upward). System Restore didn't help, so I used a spare key and it helped. To re - install my programs, I noticed that my software defrag has shown that there are files along the edge of the C: (one of the keys before there was a line neat on the edge with a space at the end of the disc) and a sequence of files until the middle of the disc where there is none before. Now, my computer is significantly slower and the download speeds are significantly slower (Youtube videos now buffer where they loaded before seamlessly). The computer works fine other than the slight slowdown. I tried several defragmenters does not. The separation of the files appear to affect computer management. The files until the middle of the disc are indicated as 'good behaviour' by SmartDefrag. I tried a boot time defrag with Puran thus does not.

    Anyone have a similar experience, and someone has a suggestion to fix the problem? When the files were all together at the edge of the disc the G570 very well performed. It is not now erratic, but very stable. I just noticed the slight slowdown after a key.

    Thank you, Kyuzo.

    Fixed.

    One caveat: maybe it's just my system, but allow EA Boot Optimizer complete its operation (from the second reboot). I had to turn off during the restart due to an emergency situation, and then the computer would crash and eventually does not restart.

  • SCVMM and LUN Mapping issue

    Hi all

    We have C7000 blade Gen9 servers and manage through the HP ONEVIEW. We have installed HYPER V and in addition, we have 2 virtual machines running on that. We must create the Windows cluster to that. I therefore created a Virtual SAN Manager and assigned WWN to the virtual machine.

    When you assign the LUNS to the virtual machine, its not detecting not not the OS level. HITACHI V OPEN I added manually in the MPIO, but logic unit number is not visible. When I checked in the Device Manager it shows like device hidden in the server.

    Also I need a suggestion for the below,

    We have virtual machines HYPER v for SCVMM.

    Is it mandatory to have the Windows for SCVMM Failover Cluster in a virtualized environment?
    Also, have we not create HYPER V failover cLUSTER to manage the HYPER-V hosts in SCVMM?
    Cant, we manage the guest individually through SCVMM?
    If we all the Hyper-V cLUSTER, all guests will have 2 a throgh redundancy the Cluster FAILOVER and new to SCVMM. Whats is the best practice.

    Help, please

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • Mapping issues

    Hey all the...

    Need some advice on how to handle this and to see if others have any type of similar problems.  In the process of 'cleansing' of our database, I came across a number of example of places where people 'accidentally' mapped the wrong field and replaced what was originally in the field... i. e source has been mapped to the name by mistake and first name became our source code.  It seems to have happened several times now and I want to stop it, but wanted to see if anyone had best practices to get people to map the fields correctly...

    Any guidance appreciated...

    Thank you!

    Paul

    Thanks Eytan, but actually the mapping takes place at the stage of an e-mail of dosage when the distribution list is created... it seems that people are not to be

    1. verification of their columns to ensure that the correct information is under the correct hearer or
    2. mapping of the items in the wrong places

    and what happens is that they are replacing the old information by that and it is incorrect, so our title column names of companies, or email batch names or surnames...

    Paul

  • FDM 11.1.2.1 mapping issue conditional mapping error

    I setup the newly installed FDM 11.1.2.1 have and start with conditional account mapping where I ' varValues (9) "and it comes up with this error. I took the script of our current versionm FDM 9.3 where he did worked, but in FDM 11.1.2.1 he goes none pass.

    The script is not correct? Or is this different new version somewhere?

    Thank you
    Henri



    Error message

    * Start the journal entry for the Runtime Error FDM [2011-10-05 16:25:41] *.
    -------------------------------------------------------------
    ERROR:
    Code............................................. 13
    Description... Conditional Script error map: incompatibility of Type to the line (1)

    Script:
    If varValues (9) = 0 then result = "5821.11.060" other result = "5821.11.060" End If
    Rule = w98x

    Process... clsImpProcessMgr.fLoadAndProcessFile
    The component... upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 5000

    IDENTIFICATION:
    ... The user < selected >
    ... < Selected > computer name
    Name of the application... < selected >
    Client App....................................... WebClient

    CONNECTION:
    Provider......................................... SQLOLEDB
    ... < Selected > database server
    Name of the database... < selected >
    Trust connect... Fake
    Connect status... Open connection

    GLOBALS:
    ... < Selected > location
    Location ID... 750
    Location Seg... 4
    Category......................................... Actuals - PP
    ID of the category... 13
    Period... - 7 - 2011
    Period ID........................................ 30/09/2011
    POV Local........................................ Fake
    Language......................................... 1033
    User Level....................................... 1
    All Partitions... True
    Is Auditor....................................... Fake

    No problem. If you find useful answers or answered your question, please mark it as such. Thank you.

  • Composite key mapping.

    I have the table that has a composite key as the primary key. (I'm creating entity of the editor. Base_de_donnees contains several tables, where the list tables are not displayed in the data model editor)

    When creating entity I have traced the two field (which are primary keys of database) as fields Id (OrderNumber and number)

    After the model on the deployment server and running code, I get no result.

    Also, no error message appears on the console of the server of LCD screens.

    Composite key can be used in data modeling. If so, what is a good way to set up the composite key.

    I use screens LCD 3.1 and latest version of the plugin for Flash Builder 4

    < entity name='LineItemBean' persistent='true'>

                < annotation name="VisualModeler" width="239" height="123" x="293" y="51"/>

    <annotation ='ServerProperties' from the name of ServerType='LCD'/ >

                < annotation name="DMS" Table="ADVJPMT. Of the ELEMENTS' using transactions='false'/ >

    <annotation name='ActionScriptGeneration' package='valueObjects' ImplicitServicePackage='services'/ >

                < id name="orderNumber" type="integer" generated="false">

                      < annotation name="DMS" ColumnName="ORDER_NUMBER"/>

                </ id >

                < id name="itemNumber" type="integer" generated="false">

    <annotation ='DMS' from the name of ColumnName='ITEM_NUMBER'/ >

    <annotation name='ActionScriptGeneration' DisableAutoReCalc='true'/ >

                </ id >

                < property name="quantity" type="integer">

                      < annotation name="DMS" ColumnName="QUANTITY"/>

    <annotation name='ActionScriptGeneration' DisableAutoReCalc='true'/ >

                </ property >

          </ entity >

    Hi Amit,

    This use case must certainly work, and I don't see anything bad in your model as it is. Can you give some more information about what exactly are you trying to run? You run LineItemBeanService.getAll ()? It is the simplest filling/filter, you can try to see if the template has been correctly configured.

    To see what can go wrong, you can try a few things:

    1. enable debug logging. Open services - config.xml in the directory WEB-INF/flex to your LCDS webapp. At the bottom of the file, find the logging-> target and replace the level attribute 'Debug '.

    2. try to get the data from the table of the ELEMENTS with a direct SQL query ("" Select * elements "") in the viewer request RDS (point of view of data model, RDS Dataview)

    See if you directly to the database running the query gives the expected result and if so, check the server logs to see what happens when the server receives the request count with all.

    _______________

    That said, the LineItemBean entity in your model that makes me think you may also have an OrderBean and an ItemBean entity in your model. I'm guessing an order consists of a few command elements, each with a certain amount, and a given element can appear on many orders. If this is the case, you should consider these data modeling with the associations between the entity of LineItemBean and the OrderBean and ItemBean entities. This would mean that the ORDER_NUMBER and ITEM_NUMBER columns in your table will be the primary keys and foreign keys, and your model will look like this:

    Give it a try, if that seems reasonable (I just guess on your case of use here)

    Thank you

    Svetlin

  • foreign key mapped to a unique constraint

    OK, here's the question

    create a parent of the table (col1, col2 char char);
    alter table add constraint pk_parent key (col1) parent primary;
    alter table add constraint uk_parent unique(col1,col2) parent;

    Insert into parent values ('A', '7');

    * 1 row created.*

    create the child table (col1, col2 char char);
    ALTER table child add constraint fk_child_parent foreign key(col1,col2) references parent(col1,col2);

    insert into values('B','4') of the child;

    insert into the child values('B','4')
    ***
    ERROR on line 1:
    ORA-02291: integrity constraint (WILDGOD. FK_CHILD_PARENT) violated - parent key
    not found

    That's what I expect... but

    insert into values('B',) of the child;

    * 1 row created.*


    why he let me do, I realize its because col2 is NULL, but it should not yet check for col1 in the parent?

    Please clarify, thanks in advance.

    Documented behavior.

    See here:
    http://download.Oracle.com/docs/CD/E11882_01/AppDev.112/e10471/adfns_constraints.htm#ADFNS273

    -Mark

Maybe you are looking for