How to specify specific libraries to be used by OC4J?

We are using Oracle AS 10.1.2 and are using OracleConnectionCacheImpl as our DataSource implementation. We'd like to do some tracing and logging from within the impl but are informed by the logging output that we need to use libraries set up for tracing & debugging (meaning we need for the application server to use ojdbc14_g.jar). How do make OC4J use this particular library when it creates its cached datasources?

Create a new SSLContext for every connection; configure it with its own KeyManager that has access to the appropriate private keys and certificates; and create the SSLSocket from that SSLContext.

Similar Messages

  • How to specify dateField in DataGridColumn by use it's attribute

    How to specify dateField in DataGridColumn by use it's
    attribute ( For example use attribute "name" and "table" to specity
    each dataField)
    Thanks any idea.
    <mx:HTTPService id="myEmployee" url="
    http://localhost/test/myEmployee.xml"
    useProxy="false" method="POST"/>
    myEmployee.xml :
    <?xml version="1.0" encoding="utf-8"?>
    <database>
    <table>
    <record>
    <field name="auto_id" table="employee">2</field>
    <field name="id" table="employee">2</field>
    <field name="name" table="employee"></field>
    <field name="first_name"
    table="employee">James</field>
    <field name="middle_name"
    table="employee">Francis</field>
    <field name="last_name"
    table="employee">Ryan</field>
    <field name="id" table="department">1</field>
    <field name="name"
    table="department">Marketing</field>
    </record>
    </table>
    </database>
    <mx:DataGrid
    dataProvider="{myEmployee.lastResult.database.table.record}"
    width="100%">
    <!--////////////////////////////////////////////////////////////////////////////////
    <mx:columns>
    <mx:DataGridColumn dataField="field"/>
    <mx:DataGridColumn dataField="field"/>
    <mx:DataGridColumn dataField="field"/>
    <mx:DataGridColumn dataField="field"/>
    <mx:DataGridColumn dataField="field"/>
    <mx:DataGridColumn dataField="field"/>
    </mx:columns>
    ////////////////////////////////////////////////////////////////////////////////-->
    </mx:DataGrid>

    Hi,
    i have creted java class. In this i have getting data from database.these data am putting into array objects, these array objects inturn putting into vector as shown below. But am not getting how to get these objects from vector and display one by one value. please help me how to get array object from vector and display.
    String[] PONum;
    String[] POVersion;
    public Vector ExceData;
    int totalRecords = 20;
    PONum = new String[totalRecords];
    POVersion = new String[totalRecords];
    while (rs.next())
    PONum[i] = rs.getString(1);               
    POVersion[i] = rs.getString(2);
    ExceData = new Vector();
    ExceData.add(0,PONum);
    ExceData.add(1, POVersion);
    Object[] obj = new Object[2];
    obj = ExceData.elementAt(0);
    System.out.println(obj[0]);
    I am waiting for your reply.
    Thanks & Regards,
    -Vishwanath

  • How to Specify Metadata When Adding Content Using iTunes U Web Service?

    I've been developing Java applications using iTunes U Web service and uploaded content to iTunes U site using iTunes U Web service without problem. Now I want to add metadata fields (name, artist name, album name, etc.) for the tracks I uploaded. It seems to me that "AddTrack" will do. So I tested it but it neither adds a track under the specified group nor updates metadata fields for an existing track. It turned out "MergeTrack" actually updates metadata fields for an existing track. So is there any way to specify metadata at the time of adding content using iTunes U Web service? And what exactly does AddTrack do? This is all about contents hosted by iTunes U site and no RSS is involved.
    I'm referring to the "AddTrack" method in iTunes U Web service:
    http://deimos.apple.com/rsrc/doc/iTunesUAdministrationGuide/iTunesUWebServices/c hapter18_section_21.html#//appleref/doc/uid/AdminGuide-CH13-SW26

    Thanks for all the replies. My question is whether there is any way to specify metadata WHEN adding content using iTunes U Web service. Specifying metadata AFTER adding content can be achieved by MergeTrack (weird naming) and it does work.
    As for setting track level meta-data in the media file and then upload it, there're several reasons against that, among which are:
    1. Some track metadata are context-dependent. A video about buildings on Michigan Ave in Chicago can be track #2 in a history course and described as "historic view of the Magnificent Mile", but the same media can also be track #5 in a landscape design course and described as something like "contemporary architecture". Setting these metadata in the media file itself is not the preferred way to do it since it implies maintaining a version of the same media for any course/group it gets uploaded to.
    2. Setting metadata in a location separate from the media file helps track the metadata change and search for media without digging into the media itself.
    3. If MergeTrack "updates" metadata, there got to be some other method that "creates" metadata - that's what a well-designed API should look like. And setting metadata in the media file is not an equivalent to a "create metadata" method call. In rickwolf's term, that implicit AddTrack should actually be made explicit so the party uploading content can explicitly specify metadata instead of having iTunes U extract metadata from the media.
    It is still not clear what "AddTrack" does exactly, maybe rickwolf is right - it's only relevant to tracks created through RSS.
    So it seems to me there is no other way to specify metadata WHEN adding content using iTunes U Web service than setting metadata in the media file. To me it is more like a design flaw.
    Message was edited by: Stone Xiang
    Message was edited by: Stone Xiang
    Message was edited by: Stone Xiang

  • How can we get ADFSecurity work when used in OC4J, OID and OAM?

    I am getting error in http server log "mod_oc4j: Response status=499 and reason=Oracle SSO, but failed to get mod_osso global context."
    But I am not using Oracle SSO and my client doesn't want to use it either, I am using OAM SSO(CoreIDSSO) in my configuration. Please read the details below.
    I am using ADFSecurity in an app that is protected by OAM. To migrate ADFSecurity permissions from
    system-jazn-data.xml to OID, I used JAZNMigrationTool to populate OID with Grantees and Permissions. OAM gives login page, and authentication works fine.
    But ADFSecurity is not working. ADFComponent Delete button is enabled even for roles that dont have permissions for the iterator delete.
    - The app works fine when I use without OAM. ADF Security permissions work fine.
    - The app works fine when used with OAM, but with ADFSecurity disabled (enforce=false).
    - When I enforce ADFSecurity alongwith OAM, ADFSecurity is not working.
    In the doc "Oracle Containers for J2EE Security Guide b28957", there is a mention of use of CoreIDPrincipal for permissions. Our OID Permissions entries show
    LDAPRealmRole for attribute orcljaznprincipal. I am not sure if this could be the reason.
    We have configured AccessServerSDK for the SOA instance and have policy for the urls in the policy manager. We have entries in orion-application.xml, orion-web.xml and system-jazn-data.xml as per the documentations.
    How can we get ADFSecurity work when used with OID and OAM?

    Have you been able to successfully integrate OAS with OAM & OID? We have similar requriement and so far we have not been able to get it working.
    We have application specific roles which we map to OID roles using orion-application.xml.
    Any pointers to achieve this would be greatly appreciated.
    thanks,
    Dipal

  • ARQ: How to Specify specific system in "System" Field in "Risk Violations" Tab in Access Request???

    Hi,
    I would like restrict users from selection systems from the drop down in "Risk Violations" Tab. In order to achieve this, I opened  GRAC_OIF_RQUEST_SUBMISSION" application in Admin mode and disabled. As a result, this field is disabled. But this is blank. I am unable to maintain any value in it. I tried to select a value from the drop down and then disabling the field. I saved with the selected value. But later when Access Request application accessed, it is again showed blank.
    However, when a user performs risk analysis, application still performs for all the connectors!
    user is authorized to perform risk analysis for specific connector (controlled using GRAC_SYS object). But not sure where from application is picking up different connectors?
    Secondly, I also noticed that this "System" drop down has multiple entries in it along with "ALL". I dont have any clue where these values are coming from!
    Can anybody help me in understanding and addressing this?
    Also, may I know how other are tackling this? I mean, is "System" drop down disabled with specific value as default or enabled with ONLY specific value?
    Please advise.
    Regards,
    Faisal

    Hi Faishal,
    I went through the challenge you have described. On top of mentioned issues - do you know that if a user select a system (has requested a role for it) but you have no sod rule book defined for it - grc will identify no sod risks for request and will mark all roles (even those for other systems for which rulebook is defined) as 'green' on access approver screen. The expected behavior would be only selected role would be marked as green and others would be still red. We have tried also with option 'ALL' however results provided in our case were not accurate (we did recons to single systems)
    This strange system behavior (SP14) was reported to SAP. In this case if you have path defined for SoD detour - system will not go on detour as there is no risk defined.
    What we did -was we setup a fix value in this field (our production system with rulebook) an put this system as parameter TVARV (system depended) and using the value of this parameter we fixed the system against which the analysis are executed.
    Filip

  • How to specify global libraries?

    Hello,
    I'm newbie in Sun Studio,
    please could any kind soul tell me how to setup global library paths e.g. boost?
    I tried menu 'Tools->Libraries'. The 'Library Manger' window appears and has only 'Remove' button enabled, 'New Library' button is disabled.
    Thank you.

    Not sure what you mean by 'global library', but you can try and open project properties and click on Libraries in the Linker property. Here you have several options. What is it you are building? How did you create your project?

  • How to specify warehouse in item object using set GL Method by Warehouse

    Hi all,
    </p>
    I have a sdk to import item master from excel using item object. In general setting, the default warehouse was not set. Therefore, when the program creates the item master, it will first set GL Method by Item Level in order to take in the warehouse code from the excel file and after the item master created, sdk will change the set GL Method from item level to warehouse using object cos customer wants item to manage by warehouse. This sdk was working fine until recently it upgraded to 2007 whereby the change of set GL Method is no longer available using object except thru B1 interface. 
    </p>
    Does anyone know any workaround?
    </p>
    The below is my sample coding.
    </p>
    <pre>
                Dim RetVal As Long
                Dim errCode As Long
                Dim errMsg As String
                Dim dr As System.Data.DataRow
                Dim objRows As DataRow() = dtHeader.Select
                If objRows.GetUpperBound(0) >= 0 Then
                    For Each objDataRow In objRows
                        oITM = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems)
                        oITM.ItemCode = objDataRow("Item")
                        oITM.ItemName = objDataRow("Descr")
                        oITM.ItemType = SAPbobsCOM.ItemTypeEnum.itItems
                        oITM.ItemsGroupCode = objDataRow("ItmGrp")
                        oITM.IssueMethod = objDataRow("IssMthd")
                        oITM.SalesItem = objDataRow("SlsItem")
                        oITM.InventoryItem = objDataRow("InvItem")
                        oITM.PurchaseItem = objDataRow("PurItem")
                        oITM.ManageSerialNumbers = objDataRow("ManageSerial")
                        oITM.ManageBatchNumbers = objDataRow("ManageBatch")
                        oITM.CostAccountingMethod = SAPbobsCOM.BoInventorySystem.bis_FIFO
                        oITM.ManageStockByWarehouse = SAPbobsCOM.BoYesNoEnum.tYES
                        oITM.InventoryUOM = objDataRow("InvUom")
                        oITM.PurchaseUnit = objDataRow("PurUom")
                        oITM.PurchaseItemsPerUnit = objDataRow("PerPurUnit")
                        oITM.SalesUnit = objDataRow("SlsUom")
                        oITM.SalesItemsPerUnit = objDataRow("PerSlsUnit")
                        oITM.ShipType = objDataRow("ShipTyp")
                        oITM.Properties(1) = objDataRow("StdPart")
                        oITM.Properties(2) = objDataRow("FabPart")
                        oITM.UserFields.Fields.Item("U_Materials").Value = objDataRow("Material")
                        oITM.UserFields.Fields.Item("U_Treatment").Value = objDataRow("Treatment")
                        oITM.UserFields.Fields.Item("U_ProdType").Value = objDataRow("PrdTyp")
                        If objDataRow("Manufacturer") <> String.Empty Then
                            oITM.Manufacturer = objDataRow("Manufacturer")
                        End If
                        oITM.GLMethod = SAPbobsCOM.BoGLMethods.glm_ItemLevel
                        'Get detail
                        Dim oRows As DataRow() = dtDetail.Select("LineNo = " & objDataRow("LineNo") & "")
                        If oRows.GetUpperBound(0) >= 0 Then
                            For Each dr In oRows
                                With oITM.WhsInfo
                                    .WarehouseCode = dr("Whs")
                                    .RevenuesAccount = "_SYS00000000209"
                                    .ExpensesAccount = "_SYS00000000003"
                                    .SalesCreditAcc = "_SYS00000000209"
                                    .PurchaseCreditAcc = "_SYS00000000003"
                                    .Add()
                                End With
                            Next
                        End If 'oRows
                        RetVal = oITM.Add()
                        'Check for error
                        If RetVal <> 0 Then
                            oCompany.GetLastError(errCode, errMsg)
                            Throw New Exception("[Import Item Master]: " & errCode & "-" & errMsg)
                        End If
                        'Change GLMethods from ItemLevel to Warehouse
                        If oITM.GetByKey(objDataRow("Item")) = True Then
                            oITM.GLMethod = SAPbobsCOM.BoGLMethods.glm_WH
                            If oITM.Update() <> 0 Then
                                oCompany.GetLastError(errCode, errMsg)
                                Throw New Exception("[Update Item Master]: " & errCode & "-" & errMsg)
                            End If
                        End If
                    Next
                End If 'objRows</pre>
    </p>
    Regards,</br>
    Cherine

    Hello,
    This code is working on 2007. What is the error message you get when you change the G/L method by WH?
    Try it to change in SAP B1 GUI  an item G/L Method tp WH which has been added via your code , I think settings of G/L Account is missing.....
    And check that the Addd all warehouse is not checked in the System Settings.
    Regards,
    J.

  • How to read specific value in XML using AppleScript?

    I have a XML file which I get from Mediainfo, and I want to get the value of Format of the Audio Track from it (In this case, ALAC) using AppleScript. Could anybody help me with this? Thanks.
    <?xml version="1.0" encoding="UTF-8"?>
    <Mediainfo version="0.7.69">
    <File>
    <track type="General">
    <Complete_name>/Volumes/Macintosh HDD/Movies/Strike the Blood 12.mov</Complete_name>
    <Format>MPEG-4</Format>
    <Format_profile>QuickTime</Format_profile>
    <Codec_ID>qt  </Codec_ID>
    <File_size>1.64 GiB</File_size>
    <Duration>23mn 41s</Duration>
    <Overall_bit_rate_mode>Variable</Overall_bit_rate_mode>
    <Overall_bit_rate>9 887 Kbps</Overall_bit_rate>
    <Movie_name>[ReinForce] Strike the Blood - 12 (BDRip 1920x1080 x264 FLAC)</Movie_name>
    <Encoded_date>UTC 1904-01-01 00:00:00</Encoded_date>
    <Tagged_date>UTC 1904-01-01 00:00:00</Tagged_date>
    <Writing_application>Lavf55.33.100</Writing_application>
    </track>
    <track type="Video">
    <ID>1</ID>
    <Format>AVC</Format>
    <Format_Info>Advanced Video Codec</Format_Info>
    <Format_profile>[email protected]</Format_profile>
    <Format_settings__CABAC>Yes</Format_settings__CABAC>
    <Format_settings__ReFrames>4 frames</Format_settings__ReFrames>
    <Codec_ID>avc1</Codec_ID>
    <Codec_ID_Info>Advanced Video Coding</Codec_ID_Info>
    <Duration>23mn 41s</Duration>
    <Bit_rate>9 084 Kbps</Bit_rate>
    <Width>1 920 pixels</Width>
    <Height>1 080 pixels</Height>
    <Display_aspect_ratio>16:9</Display_aspect_ratio>
    <Frame_rate_mode>Variable</Frame_rate_mode>
    <Frame_rate>23.976 fps</Frame_rate>
    <Color_space>YUV</Color_space>
    <Chroma_subsampling>4:2:0</Chroma_subsampling>
    <Bit_depth>8 bits</Bit_depth>
    <Scan_type>Progressive</Scan_type>
    <Bits__Pixel_Frame_>0.183</Bits__Pixel_Frame_>
    <Stream_size>1.50 GiB (92%)</Stream_size>
    <Writing_library>x264 core 142</Writing_library>
    <Encoding_settings>cabac=1 / ref=4 / deblock=1:-2:-2 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / psy_rd=0.70:0.00 / mixed_ref=0 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=32 / lookahead_threads=5 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=9 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=16.0 / qcomp=0.70 / qpmin=10 / qpmax=20 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00</Encoding_settings>
    <Language>English</Language>
    <Encoded_date>UTC 1904-01-01 00:00:00</Encoded_date>
    <Tagged_date>UTC 1904-01-01 00:00:00</Tagged_date>
    </track>
    <track type="Audio">
    <ID>2</ID>
    <Format>ALAC</Format>
    <Codec_ID>alac</Codec_ID>
    <Codec_ID_Info>Apple Lossless Audio Codec</Codec_ID_Info>
    <Duration>23mn 41s</Duration>
    <Duration_LastFrame>-51ms</Duration_LastFrame>
    <Bit_rate_mode>Variable</Bit_rate_mode>
    <Bit_rate>799 Kbps</Bit_rate>
    <Channel_s_>2 channels</Channel_s_>
    <Channel_positions>Front: L R</Channel_positions>
    <Sampling_rate>48.0 KHz</Sampling_rate>
    <Bit_depth>16 bits</Bit_depth>
    <Stream_size>135 MiB (8%)</Stream_size>
    <Language>11</Language>
    <Encoded_date>UTC 1904-01-01 00:00:00</Encoded_date>
    <Tagged_date>UTC 1904-01-01 00:00:00</Tagged_date>
    </track>
    </File>
    </Mediainfo>

    Hello
    You may try something like the following script. It is indeed a Perl script wrapped in AppleScript, though.
    set f to (choose file with prompt "Choose the XML file")'s POSIX path
    get_audio_format(f)
    on get_audio_format(f)
            string f : POSIX path of source XML file
        do shell script "/usr/bin/perl -CSDA -w <<'EOF' - " & f's quoted form & "
    use strict;
    use XML::LibXML;
    my $parser = XML::LibXML->new();
    my $doc = $parser->parse_file($ARGV[0]);
    print $doc->find('/Mediainfo/File/track[@type=\"Audio\"]/Format');
    EOF"
    end get_audio_format
    And a littel more general-purpose script is -
    set f to (choose file with prompt "Choose the XML file")'s POSIX path
    get_value_at_xpath(f, "/Mediainfo/File/track[@type=\"Audio\"]/Format")
    on get_value_at_xpath(f, xpath)
            string f : POSIX path of source XML file
            string xpath : XPath of target node
        do shell script "/usr/bin/perl -CSDA -w <<'EOF' - " & f's quoted form & " " & xpath's quoted form & "
    # $ARGV[0] : xml file
    # $ARGV[1] : xpath
    use strict;
    use XML::LibXML;
    my $parser = XML::LibXML->new();
    my $doc = $parser->parse_file($ARGV[0]);
    print $doc->find($ARGV[1]);
    EOF"
    end get_value_at_xpath
    Hope this may help,
    H
    PS. If copied code has extra spaces in front of every line, which appears to be the case with some browsers including Firefox, please remove them before running the script.

  • How to specify path to read E$ tab records into .xls file using odisqlunlod

    Hi
    Can any one help me how to specify specific path in odisqlunload tools which is useful for both windows and linux.
    I am developing and testing in windows and moving generated scenario into linux box to test for testing people
    If in case any error out records are populated in E$ table then how that records will populated on xls file, later I am sending that attachement for email notification to concern people
    Below code is present in odisqlunload tool
    OdiSqlUnload "-FILE=d:\ODI_Error_Out_Files\Notification_Error_Records.xls" "-DRIVER=oracle.jdbc.OracleDriver" "-URL=jdbc:oracle:thin:@10.75.114.146:1521:POCWCDS" "-USER=wcds" "-PASS=h2yXeih4hFlXXV,QaMeRR2Fy" "-FILE_FORMAT=VARIABLE" "-ROW_SEP=\r\n" "-DATE_FORMAT=yyyy/MM/dd HH:mm:ss" "-CHARSET_ENCODING=ISO8859_1" "-XML_CHARSET_ENCODING=ISO-8859-1"
    select * from E$_notification
    Please help how to make a single code which is useful and work on both windows and linux
    Any sugession willl help me
    Thanks in advance
    Regards,
    Phanikanth

    Hi Bhabani,
    I have written below code in KM itself and select technology as Java BeanShall
    Code:
    <@
    String OS = System.getProperty("os.name").toLowerCase();
    String v_path="";
    if((OS.indexOf("win") >= 0))
    v_path="D:\Unload_Dir\<%=snpRef.getSession("SESS_NO")%>.xlsx";
    else if (OS.indexOf("mac") >= 0)
    v_path="path details";
    else if (OS.indexOf("nix") >= 0 || OS.indexOf("nux") >= 0 || OS.indexOf("aix") > 0 )
    v_path="/odi_a/Middleware/logs/wcds/odi_logs/<%=snpRef.getSession("SESS_NO")%>.xlsx";
    else if (OS.indexOf("sunos") >= 0)
    v_path="soliaris path";
    @>
    OdiSqlUnload "-FILE=<@=v_path@>" "-DRIVER=<%=odiRef.getInfo("DEST_JAVA_DRIVER")%>" "-URL=<%=odiRef.getInfo("DEST_JAVA_URL")%>" "-USER=<%=odiRef.getInfo("DEST_USER_NAME")%>" "-PASS=<%=odiRef.getInfo("DEST_ENCODED_PASS")%>" "-FILE_FORMAT=VARIABLE" "-ROW_SEP=\r\n" "-DATE_FORMAT=yyyy/MM/dd HH:mm:ss" "-CHARSET_ENCODING=ISO8859_1" "-XML_CHARSET_ENCODING=ISO-8859-1"
    select * from <%=odiRef.getTable("L","ERR_NAME", "W")%>
    It was executed well and below is the Execution code of the above code
    Execution Code:
    <@
    String OS = System.getProperty("os.name").toLowerCase();
    String v_path="";
    if((OS.indexOf("win") >= 0))
    v_path="D:\Unload_Dir\1341360.xlsx";
    else if (OS.indexOf("mac") >= 0)
    v_path="path details";
    else if (OS.indexOf("nix") >= 0 || OS.indexOf("nux") >= 0 || OS.indexOf("aix") > 0 )
    v_path="/odi_a/Middleware/logs/wcds/odi_logs/1341360.xlsx";
    else if (OS.indexOf("sunos") >= 0)
    v_path="soliaris path";
    @>
    OdiSqlUnload "-FILE=<@=v_path@>" "-DRIVER=oracle.jdbc.OracleDriver" "-URL=jdbc:oracle:thin:@10.75.114.146:1521:POCWCDS" "-USER=wcds" "-PASS=<@=snpRef.getInfo("DEST_ENCODED_PASS") @>" "-FILE_FORMAT=VARIABLE" "-ROW_SEP=\r\n" "-DATE_FORMAT=yyyy/MM/dd HH:mm:ss" "-CHARSET_ENCODING=ISO8859_1" "-XML_CHARSET_ENCODING=ISO-8859-1"
    select * from WCDS.E$_CDS_COMPANY
    Please confirm me if the above Code is correct or not, if Not, please correct it and DESC_ENCODE_PASS is not encoding the password
    Regards
    Phanikanth
    Edited by: Phanikanth on Feb 18, 2013 1:09 AM

  • How to specify Complex Type Parameter

    Hi,
    Can anyone tell me how to specify a complex type parameter using the AddServiceDefinition command in the fnscript? Thanks
    Pao Wang
    NMR

    The only types supported are those listed in the Process Development Guide.
    Stephen

  • In OPEN DATASET Statement Filenames are platform-specific How to specify MS

    In OPEN DATASET Statement
    Filenames are platform-specific. You must therefore use file- and pathnames that conform to the rules of the operating system under which your R/3 System is running. However, you can also use logical filenames to ensure that your programs are not operating system-specific. For further information, refer to Using Platform-Independent Filenames.
    DATA FNAME(60).
    FNAME = '/tmp/myfile'.
    OPEN DATASET 'myfile'.
    OPEN DATASET FNAME.
    This example works as long as your R/3 System is running under UNIX. The program opens the file "myfile" in the directory in which the R/3 System is running, and also opens the file "myfile" in directory "/tmp".
    FNAME = '[TMP]myfile.BIN'
    OPEN DATASET 'myfile.BIN'.
    question]]  How to specify an MS-file & how to go about?

    Hi,
    Just get the input file name from the application server through selection screen and keep it in parameter(p_inpfile).
    Then pass the parameter to OPEN DATASET statement.
    OPEN DATASET p_inpfile FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc NE 0.
        WRITE :/ text-004.                                   "'No such input file' COLOR 3.
        EXIT.
      ELSE.
        DO.
          CLEAR : wa_string,wa_0001.
    *Reading the file from application server and moving to work area*
          READ DATASET p_inpfile INTO wa_string.
          IF sy-subrc NE 0.
            EXIT.
          ELSE.
            CLEAR wa_0001.
    *Spliting fields in the file-
            REPLACE ALL OCCURRENCES OF '#' IN wa_string WITH ' '.
            SPLIT wa_string AT c_htab INTO wa_0001-pernr
                                           wa_0001-werks       "Personnel Area
                                           wa_0001-persk       "Employee Sub-Group
                                           wa_0001-vdsk1       "Org. Key
                                           wa_0001-abkrs       "Payroll area
                                           wa_0001-ansvh.      "Work contract
            wa_0001-begda = p_efdate.
            wa_0001-endda = '99991231'.
            APPEND wa_0001 TO int_0001.
          ENDIF.
        ENDDO.
        CLOSE DATASET p_inpfile.
    Use like this and pass all those values to internal table.
    Thanks,
    Sakthi C
    *Rewards if useful*

  • I installed Mountain Lion so that I could sync my notes with my iPhone that already syncs notes with a specific email address I use for school, but during the install it automatically set up Notes to sync w the wrong email addy. How can I fix it?

    I installed Mountain Lion so that I could sync my notes with my iPhone that already syncs notes with a specific email address I use for school, but during the install it automatically set up Notes to sync w the wrong email addy. It looked in Mail, which had 5 email accounts set up in it, and for some reason picked the only one that I no longer use because it is for a school that I no longer attend. How can I fix it so that it syncs with the correct email account for notes and calendar? There don't seem to be any settings available other than to check if you want to use the basic features. It also said during the set up that it was setting up 'find my mac' but if I look on the iCloud website there is nothing showing there for finding my mac.
    At this point I feel like I wasted my money paying for this supposed upgrade. I got nothing for it but frustration. It even automatically set my security settings to allow only downloads from the Mac store so the first time I went to download something I had to stop what I was doing and go correct settings first. I feel like there should be a security setting to block downloads from the Mac store so I don't accidentally end up clicking the wrong thing and being charged.

    iCloud isn't syncing them on your phone.  You simply added the email account to your phone and enabled calendar and notes syncing with the email provider, and the calendar and notes appear in the calendar and notes apps on your phone.  You can do this with Gmail, Yahoo and other IMAP account.  iCloud email is just another IMAP account, but syncs notes with Apple's iCloud server just as Gmail syncs notes and calendars with Google's server.
    iCloud didnt' set up a non-iCloud account on your Mac.  When you check Mail in System Preferences>iCloud, it only creates an iCloud email account.  You can also add other email accounts to your Mac by going to System Preferences>Mail,Contacts,Calendars and clicking on the "+" sign on the bottom of the left sidebar.  If you added these other email accounts to your Mac before you upgraded to Mountain Lion, these were simply maintained on your Mac after you upgraded.

  • How do I setup multiple users to use one source but manage playlists separately?  For example, play counts are specific to each user.

    How do I setup multiple users to use one source but manage playlists separately?  For example, play counts are specific to each user.

    Hi,
    Thank you for posting in Windows Server Forum.
    Here adding to the words of “Tim”, a forwarder is a DNS server on a network used to forward DNS queries for external DNS names to DNS servers outside of that network. You can also forward queries according to specific domain names using conditional forwarders.
    A DNS server on a network is designated as a forwarder by having the other DNS servers in the network forward the queries they cannot resolve locally to that DNS server. You can refer information regarding forwarders and how to configure from beneath link.
    Understanding forwarders
    http://technet.microsoft.com/en-us/library/cc782142(v=ws.10).aspx
    Configure a DNS Server to Use Forwarders
    http://technet.microsoft.com/en-us/library/cc754941.aspx
    Hope it helps!
    Regards.

  • How to specify a mapping file using annotations?

    Hi,
    i am trying to deploy a WebService (with annotations) on oc4j 10.1.3.1.0. but all i get is the following exception:
    07/03/13 12:41:52 oracle.j2ee.ws.common.tools.api.ValidationException: test.datamodel.SimpleObjectId - Duplicate type name "test.datamodel.SimpleObjectId" for Java type "{http://tdeer.de/services/internal/test/1_0}SimpleObjectId" found. To remove this error do not specify a single typeNamespace for all value types or specify a mapping file. This error could also be caused when an erroneous type has been used more than once.
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.modeler.rmi.RmiModeler.buildModel(RmiModeler.java:247)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.config.ModelInfo.buildModel(ModelInfo.java:173)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.Processor.runModeler(Processor.java:72)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.metadata.annotation.DeploymentGenerator$DeploymentCompileTool.run(DeploymentGenerator.java:200)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.metadata.annotation.DeploymentGenerator.generateDeploymentArtifacts(DeploymentGenerator.java:131)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.metadata.annotation.EJBWebServiceAnnotationParser.parseAnnotatedBean(EJBWebServiceAnnotationParser.java:165)
    07/03/13 12:41:52      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    07/03/13 12:41:52      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    07/03/13 12:41:52      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    07/03/13 12:41:52      at java.lang.reflect.Method.invoke(Method.java:585)
    07/03/13 12:41:52      at oracle.j2ee.ws.server.deployment.oc4j.WebServiceAnnotationListener.parseAnnotatedClass(WebServiceAnnotationListener.java:85)
    07/03/13 12:41:52      at com.evermind.server.ejb.AnnotationParser.notifyAnnotationListeners(AnnotationParser.java:201)
    07/03/13 12:41:52      at com.evermind.server.ejb.AnnotationParser.parseAnnotations(AnnotationParser.java:73)
    07/03/13 12:41:52      at com.evermind.server.ejb.EJBPackageDeployment.parseMetaData(EJBPackageDeployment.java:939)
    07/03/13 12:41:52      at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:832)
    07/03/13 12:41:52      at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:217)
    07/03/13 12:41:52      at com.evermind.server.Application.setConfig(Application.java:413)
    07/03/13 12:41:52      at com.evermind.server.Application.setConfig(Application.java:314)
    07/03/13 12:41:52      at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1853)
    07/03/13 12:41:52      at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
    07/03/13 12:41:52      at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
    07/03/13 12:41:52      at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    07/03/13 12:41:52      at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
    07/03/13 12:41:52      at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    07/03/13 12:41:52      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    07/03/13 12:41:52      at java.lang.Thread.run(Thread.java:595)
    07/03/13 12:41:52 Caused by: oracle.j2ee.ws.common.processor.modeler.rmi.InvalidParameterException: test.datamodel.SimpleObjectId - Duplicate type name "test.datamodel.SimpleObjectId" for Java type "{http://tdeer.de/services/internal/test/1_0}SimpleObjectId" found. To remove this error do not specify a single typeNamespace for all value types or specify a mapping file. This error could also be caused when an erroneous type has been used more than once.
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.modeler.rmi.LiteralTypeModeler.addTypeName(LiteralTypeModeler.java:1249)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.modeler.rmi.LiteralTypeModeler.processClass(LiteralTypeModeler.java:290)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.modeler.rmi.LiteralTypeModeler.modelTypeLiteral(LiteralTypeModeler.java:235)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.modeler.rmi.LiteralTypeModeler.modelTypeLiteral(LiteralTypeModeler.java:181)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.modeler.rmi.LiteralTypeModeler.modelSubclasses(LiteralTypeModeler.java:1048)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.modeler.rmi.RmiModeler.buildModel(RmiModeler.java:210)
    07/03/13 12:41:52      ... 25 more
    The Stateless-SessionBean has one WebMethod with the following Signature:
    public Element getElement(TestObjectId1 pObjectId1, TestObjectId2 pObjectId2) throws RemoteException
    TestObjectId1 and TestObjectId2 have the same Superclass, SimpleObjectId.
    How to specify a mapping file using annotations?
    Thanks
    tdeer

    We you codegen a Policy annotated WSDL, the policies are get included in the stub. Hence you don't have to specify a separate Policy file.
    But if you need to use a separate policy then you need to set them in the AxisDescription object that you use in the ServiceClient and OperationClient.
    e.g.
    ServiceClient serviceClient = new ServiceClient();
    OperationClient operationClient = serviceClient
    .createClient(ServiceClient.ANON_OUT_IN_OP);
    FileInputStream fis = new FileInputStream("path-to-policy.xml");
    Policy servicePolicy = PolicyEngine.getPolicy(fis);
    AxisService axisService = serviceClient.getAxisService();
    axisService.getPolicyInclude().setPolicy(servicePolicy);
    If you need more information please repost this to [email protected] with a [AXIS2] subject prefix.

  • How to specify term file when using static html to run webforms 10g

    I'm using static HTML to run forms
    document.writeln('<PARAM NAME="serverArgs" ');
    document.writeln(' VALUE="escapeParams=true module=genoa.fmx userid= sso_userid=%20 sso_formsid= sso_subDN= sso_usrDN= debug=no host= port= term=/forms90/hsd65html/genoa.res"> ');
    I'm specifying the term as term=/forms90/hsd65html/genoa.res.
    During forms startup I get the message unable to read the file. I can bwoense the file by http://server/forms90/hsd65html/genoa.res
    Any idea how to specify the term file in static html.
    Thanks

    term is not a http address, but a directory address. So, you have to specify the path on the server:
    term=c:\oracle\forms90\.....

Maybe you are looking for

  • Create image of XSTRING data and display it in Web Dynpro

    Hello, I am trying to dynamically display an image in a Web Dynpro ABAP Image-Control. The problem is that the data is stored in the DB as XSTRING and I can't find a Method for example to create a new object in the MIME-Repository of the data which i

  • Trouble deleting PDF files

    I purchased Acrobat X1 Standard recently which worked perfectly. Then I upgraded from Windows 8 to 8.1 recently. Not sure if Op-System caused problem, but now.... when I try to delete a PDF file, dialog box says 'file is open in another program" and

  • Is the HiDPI fix available for older versions? (Was: Dreamweaver UI Issues with Hi Res Displays...)

    Hello, A post mentioned a fix for DW CC. What about DW CS 5.5 or 6 for Windows?  Will there be a fix for these versions? If not, is there an upgrade discount? BTW - I have a new 2014 Dell XPS 15 9530 with QHD Ultra Touch Display & Windows 8.1. Specs

  • Compile new version on net-snmp.

    Hello i would like to know if it possible to compile; install a new version to net-snmp in solaris 10. there is already one version running with svc:/application/management/sma:default how can i compile a new version and replace this one, (smf manife

  • Apple TV 5.1.1 Update

    Apparently this update was just released today (haven't checked my ATV3 to verify). Has anyone tried it yet to see if it fixed previous problems?