Component Serivces - Documentation

Is there any documentation available for the osoft component services running on the server? Specifically, the OSoftDMServer seems to consume a lot of memory. Does anyone know what this service does....should it consume >250MB of RAM when doing apparently nothing?

That component is executing SSIS packages. Depending by what is doing that package the COM+ component can request a lot of memory.
For example when you are dooing an import for big file then that component it can allocate a lot of memory.
The process name where this compoennt is created is dllhost.exe
Usually the allocation and deallocation of memory is done corectly.
It seems in your case something is not working correct and release of memory is not done correct.
Regards
Sorin Radulescu

Similar Messages

  • Insert really slow on 100Mb file

    Hello,
    I have an XMLType table with a registered XSD. Performance on smaller files is good but 1 XML file which is 100 Mb takes 8+ hours only to load. I really need to speeds this up.
    I detected the most time being consumed in the INSERT statement. This i didnt expect but also i dont know how to improve this. I hope someone can help me out here.
    See following for detailed information.
    Thanks in advance
    Remy
    Table definition
    CREATE TABLE PHILIPS_XML of XMLType
                           XMLSCHEMA "http://localhost/philips_format.xsd" ELEMENT "Tree"First thing i tried is loading the file directly into the Table using
    INSERT INTO PHILIPS_XML
      VALUES (XMLTYPE(bfilename('XMLDIR',:1 ),NLS_CHARSET_ID('AL32UTF8')))No performance so i tried loading using the sql*loader but no major succes on this one also
    In order to find out where my performance loss is i tried loading into a CLOB and then insert into the XMLType table
    CREATE TABLE TEMP_CLOB
                           (TEMP_DATA CLOB)
        dest_clob   CLOB;
        src_clob    BFILE;
        dst_offset  number := 1 ;
        src_offset  number := 1 ;
        lang_ctx    number := DBMS_LOB.DEFAULT_LANG_CTX;
        warning     number;
       BEGIN
        INSERT INTO temp_clob(temp_data)
            VALUES(empty_clob())
            RETURNING temp_data INTO dest_clob;
        -- OPENING THE SOURCE BFILE IS MANDATORY
        src_clob:=bfilename('XMLDIR',p_supplier_xml);
        DBMS_LOB.OPEN(src_clob, DBMS_LOB.LOB_READONLY);
        DBMS_LOB.LoadCLOBFromFile(
              DEST_LOB     => dest_clob
            , SRC_BFILE    => src_clob
            , AMOUNT       => DBMS_LOB.GETLENGTH(src_clob)
            , DEST_OFFSET  => dst_offset
            , SRC_OFFSET   => src_offset
            , BFILE_CSID   => DBMS_LOB.DEFAULT_CSID
            , LANG_CONTEXT => lang_ctx
            , WARNING      => warning
        DBMS_LOB.CLOSE(src_clob);
      I let the loading part run with a trace.
    INSERT INTO PHILIPS_XML
            SELECT XMLTYPE(TEMP_DATA) FROM TEMP_CLOB;   Here are the trace results (please forget the first error .. i made a typo in the statement)
    TKPROF: Release 10.1.0.2.0 - Production on Mon May 19 09:20:45 2008
    Copyright (c) 1982, 2004, Oracle.  All rights reserved.
    Trace file: ecd1d_ora_19063_REMY.trc
    Sort options: default
    count    = number of times OCI procedure was executed
    cpu      = cpu time in seconds executing
    elapsed  = elapsed time in seconds executing
    disk     = number of physical reads of buffers from disk
    query    = number of buffers gotten for consistent read
    current  = number of buffers gotten in current mode (usually for update)
    rows     = number of rows processed by the fetch or execute call
    The following statement encountered a error during parse:
    insert into philips_xml
    (select xmltype(xml_data) from temp_table
    Error encountered: ORA-00942
    select metadata
    from
    kopm$  where name='DB_FDO'
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      2      0.01       0.00          0          0          0           0
    Fetch        1      0.00       0.00          0          2          0           1
    total        4      0.01       0.00          0          2          0           1
    Misses in library cache during parse: 0
    Optimizer mode: CHOOSE
    Parsing user id: SYS   (recursive depth: 1)
    Rows     Row Source Operation
          1  TABLE ACCESS BY INDEX ROWID KOPM$ (cr=2 pr=0 pw=0 time=59 us)
          1   INDEX UNIQUE SCAN I_KOPM1 (cr=1 pr=0 pw=0 time=31 us)(object id 365)
    SELECT /* OPT_DYN_SAMP */ /*+ ALL_ROWS IGNORE_WHERE_CLAUSE
      NO_PARALLEL(SAMPLESUB) opt_param('parallel_execution_enabled', 'false')
      NO_PARALLEL_INDEX(SAMPLESUB) NO_SQL_TUNE */ NVL(SUM(C1),:"SYS_B_0"),
      NVL(SUM(C2),:"SYS_B_1")
    FROM
    (SELECT /*+ NO_PARALLEL("TEMP_CLOB") FULL("TEMP_CLOB")
      NO_PARALLEL_INDEX("TEMP_CLOB") */ :"SYS_B_2" AS C1, :"SYS_B_3" AS C2 FROM
      "TEMP_CLOB" "TEMP_CLOB") SAMPLESUB
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        3      0.00       0.00          0          0          0           0
    Execute      3      0.01       0.00          0          0          0           0
    Fetch        3      0.00       0.00          0         23          0           3
    total        9      0.01       0.00          0         23          0           3
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 46     (recursive depth: 1)
    Rows     Row Source Operation
          1  SORT AGGREGATE (cr=9 pr=0 pw=0 time=601 us)
          0   TABLE ACCESS FULL TEMP_CLOB (cr=9 pr=0 pw=0 time=431 us)
    insert into philips_xml
    (select xmltype (temp_data) from temp_clob)
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.02       0.01          0        108          0           0
    Execute      1      0.00       0.00          0          7          0           0
    Fetch        0      0.00       0.00          0          0          0           0
    total        2      0.02       0.01          0        115          0           0
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 87 
    Rows     Row Source Operation
          0  TABLE ACCESS FULL TEMP_CLOB (cr=7 pr=0 pw=0 time=64 us)
    (select xmltype (temp_data) from temp_clob)
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        2      0.01       0.00          0          8          0           0
    Execute      2      0.00       0.00          0          0          0           0
    Fetch        2    100.80     260.23     263377    1756877          0           1
    total        6    100.81     260.24     263377    1756885          0           1
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 87 
    Rows     Row Source Operation
          1  TABLE ACCESS FULL TEMP_CLOB (cr=7 pr=0 pw=0 time=492 us)
    select sys_nc_oid$
    from
    xdb.xdb$resource where rowid = :1
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        2      0.00       0.00          0          0          0           0
    Execute      2      0.00       0.00          0          0          0           0
    Fetch        2      0.00       0.00          0          4          0           2
    total        6      0.00       0.00          0          4          0           2
    Misses in library cache during parse: 0
    Optimizer mode: CHOOSE
    Parsing user id: SYS   (recursive depth: 1)
    Rows     Row Source Operation
          1  TABLE ACCESS BY USER ROWID XDB$RESOURCE (cr=2 pr=0 pw=0 time=40 us)
    select value(p$)
    from
    "XDB"."XDB$RESOURCE"                 as of snapshot(:2) p$ where SYS_NC_OID$
      = :1
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      2      0.00       0.00          0          0          0           0
    Fetch        2      0.00       0.00          0          4          0           2
    total        5      0.00       0.00          0          4          0           2
    Misses in library cache during parse: 0
    Optimizer mode: CHOOSE
    Parsing user id: SYS   (recursive depth: 1)
    select obj#,type#,ctime,mtime,stime,status,dataobj#,flags,oid$, spare1,
      spare2
    from
    obj$ where owner#=:1 and name=:2 and namespace=:3 and remoteowner is null
      and linkname is null and subname is null
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      2      0.00       0.00          0          0          0           0
    Fetch        2      0.00       0.00          0          4          0           0
    total        5      0.00       0.00          0          4          0           0
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: CHOOSE
    Parsing user id: SYS   (recursive depth: 1)
    Rows     Row Source Operation
          0  TABLE ACCESS BY INDEX ROWID OBJ$ (cr=2 pr=0 pw=0 time=53 us)
          0   INDEX RANGE SCAN I_OBJ2 (cr=2 pr=0 pw=0 time=48 us)(object id 37)
    insert into philips_xml
    (select xmltype(temp_data) from temp_clob)
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.01       0.00          0         15          0           0
    Execute      1  25003.01   30465.99     526759    3514263      29095           1
    Fetch        0      0.00       0.00          0          0          0           0
    total        2  25003.02   30465.99     526759    3514278      29095           1
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 87 
    select file#
    from
    file$ where ts#=:1
    call     count       cpu    elapsed       disk      query    current        rows
    Parse       82      0.00       0.00          0          0          1           0
    Execute     82      0.08       0.11          0          0          0           0
    Fetch      164      0.03       0.01          0        328          0          82
    total      328      0.11       0.13          0        328          1          82
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: CHOOSE
    Parsing user id: SYS   (recursive depth: 1)
    Rows     Row Source Operation
          1  TABLE ACCESS FULL FILE$ (cr=4 pr=0 pw=0 time=145 us)
    update seg$ set type#=:4,blocks=:5,extents=:6,minexts=:7,maxexts=:8,extsize=
      :9,extpct=:10,user#=:11,iniexts=:12,lists=decode(:13, 65535, NULL, :13),
      groups=decode(:14, 65535, NULL, :14), cachehint=:15, hwmincr=:16, spare1=
      DECODE(:17,0,NULL,:17),scanhint=:18
    where
    ts#=:1 and file#=:2 and block#=:3
    call     count       cpu    elapsed       disk      query    current        rows
    Parse       82      0.00       0.00          0          0          2           0
    Execute     82      0.03       0.06          0        410         82          82
    Fetch        0      0.00       0.00          0          0          0           0
    total      164      0.03       0.06          0        410         84          82
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: CHOOSE
    Parsing user id: SYS   (recursive depth: 1)
    Rows     Row Source Operation
          0  UPDATE  SEG$ (cr=5 pr=0 pw=0 time=537 us)
          1   TABLE ACCESS CLUSTER SEG$ (cr=5 pr=0 pw=0 time=175 us)
          1    INDEX UNIQUE SCAN I_FILE#_BLOCK# (cr=2 pr=0 pw=0 time=21 us)(object id 9)
    select /*+ rule */ bucket_cnt, row_cnt, cache_cnt, null_cnt, timestamp#,
      sample_size, minimum, maximum, distcnt, lowval, hival, density, col#,
      spare1, spare2, avgcln
    from
    hist_head$ where obj#=:1 and intcol#=:2
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          6           0
    Execute      7      0.01       0.01          0          0          0           0
    Fetch        7      0.00       0.00          0         21          0           7
    total       15      0.01       0.01          0         21          6           7
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: RULE
    Parsing user id: SYS   (recursive depth: 2)
    Rows     Row Source Operation
          1  TABLE ACCESS BY INDEX ROWID HIST_HEAD$ (cr=3 pr=0 pw=0 time=398 us)
          1   INDEX RANGE SCAN I_HH_OBJ#_INTCOL# (cr=2 pr=0 pw=0 time=374 us)(object id 257)
    OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        4      0.04       0.02          0        131          0           0
    Execute      4  25003.01   30465.99     526759    3514270      29095           1
    Fetch        2    100.80     260.23     263377    1756877          0           1
    total       10  25103.85   30726.25     790136    5271278      29095           2
    Misses in library cache during parse: 3
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse      173      0.00       0.02          0          0          9           0
    Execute    182      0.14       0.20          0        410         82          82
    Fetch      181      0.03       0.01          0        386          0          97
    total      536      0.17       0.24          0        796         91         179
    Misses in library cache during parse: 5
    Misses in library cache during execute: 5
        7  user  SQL statements in session.
      177  internal SQL statements in session.
      184  SQL statements in session.
    Trace file: ecd1d_ora_19063_REMY.trc
    Trace file compatibility: 10.01.00
    Sort options: default
           0  session in tracefile.
           7  user  SQL statements in trace file.
         177  internal SQL statements in trace file.
         184  SQL statements in trace file.
          11  unique SQL statements in trace file.
        1653  lines in trace file.
       31142  elapsed seconds in trace file.XSD + register statement is here:
        DBMS_XMLSCHEMA.REGISTERSCHEMA(
           'http://localhost/philips_format.xsd'  ,
           '<?xml version="1.0" encoding="UTF-8"?>
           <!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com) by Philips Consumer Electronics BV (Philips Consumer Electronics BV) -->
           <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
            <xs:element name="Tree">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element ref="Node" minOccurs="0" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="Node">
                <xs:annotation>
                    <xs:documentation>This XSD is designed to have very similar structure as the XML v2 specification. Please see XMLv2Spec_rev_15.pdf for more information </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="Id" type="xs:string"/>
                        <xs:element name="SuppliersId" type="xs:string" minOccurs="0">
                            <xs:annotation>
                                <xs:documentation>Is used to make a unique identifier that is readable. You dont have to worry about it, this key is unique across all service providers because the id that is stored in the DB will have the service nodes id prepended to it</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="TopLevel" minOccurs="0">
                            <xs:annotation>
                                <xs:documentation>Add this tag if the node is to be the first node after the service node. </xs:documentation>
                            </xs:annotation>
                            <xs:complexType/>
                        </xs:element>
                        <xs:element name="Name" type="xs:string" minOccurs="0"/>
                        <xs:element name="ChildNodes" minOccurs="0">
                            <xs:annotation>
                                <xs:documentation>The list of child nodes. Note that this doesnt form a strict tree!! A child node can have multiple parent nodes.</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="ChildNode" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                        <xs:element name="DataItems" minOccurs="0">
                            <xs:annotation>
                                <xs:documentation>Exactly the same as the XMLv2 Spec</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="DataItem" type="DataItem" minOccurs="0" maxOccurs="unbounded"/>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                        <xs:element name="NodeProperties" type="Properties" minOccurs="0">
                            <xs:annotation>
                                <xs:documentation>For internal use. It is used for as a point to add service specific code that is needed for that dataloader. </xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="Filters" minOccurs="0">
                            <xs:annotation>
                                <xs:documentation>For internal use. This is where a list of filters can be added. There are many filters in ECD if we need.</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:sequence maxOccurs="unbounded">
                                    <xs:element name="Filter" type="xs:string" minOccurs="0"/>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                        <xs:element name="DynamicNavigationNode" minOccurs="0">
                            <xs:annotation>
                                <xs:documentation>For internal use. A flag that indicates that there will be child nodes that are going to be created so this node should be a navigationNode and not a playableNode</xs:documentation>
                            </xs:annotation>
                            <xs:complexType/>
                        </xs:element>
                        <xs:element name="DynamicDataLoader" type="xs:string" minOccurs="0">
                            <xs:annotation>
                                <xs:documentation>For internal use. This points to an component</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="MenuHelper" type="xs:string" minOccurs="0">
                            <xs:annotation>
                                <xs:documentation>For internal use. A menu helper is used to return how the node should be displayed and not what it actually is for example there is a DropThoughMenuHelper that will make the current node effectively invisible and will display the nodes children instead</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="PlayableProperties" type="PlayableProperties" minOccurs="0"/>
                        <xs:element name="Type" type="xs:int" minOccurs="0">
                            <xs:annotation>
                                <xs:documentation>This allows you to override the default node type. In almost all cases the default node type is needed. The data loader will make nodes that have children a navigationNode and the ones that have no children, playableNodes</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:complexType name="DataItem">
                <xs:all>
                    <xs:element name="Title" type="xs:string" minOccurs="0"/>
                    <xs:element name="Album" type="xs:string" minOccurs="0"/>
                    <xs:element name="Artist" type="xs:string" minOccurs="0"/>
                    <xs:element name="Playlength" type="xs:int" minOccurs="0"/>
                    <xs:element name="MIMEType" type="xs:string" minOccurs="0"/>
                    <xs:element name="Aspect" type="xs:string" minOccurs="0"/>
                    <xs:element name="Bitrate" type="xs:string" minOccurs="0"/>
                    <xs:element name="Description" type="xs:string" minOccurs="0"/>
                    <xs:element name="Filesize" type="xs:string" minOccurs="0"/>
                    <xs:element name="FramesPerSecond" type="xs:string" minOccurs="0"/>
                    <xs:element name="Genre" type="xs:string" minOccurs="0"/>
                    <xs:element name="Height" type="xs:int" minOccurs="0"/>
                    <xs:element name="Quality" type="xs:string" minOccurs="0"/>
                    <xs:element name="Samplerate" type="xs:string" minOccurs="0"/>
                    <xs:element name="TrackNumber" type="xs:string" minOccurs="0"/>
                    <xs:element name="Width" type="xs:int" minOccurs="0"/>
                    <xs:element name="Year" type="xs:int" minOccurs="0"/>
                    <xs:element ref="DetailSet" minOccurs="0"/>
                    <xs:element ref="URLSet" minOccurs="0"/>
                    <xs:element name="Usage" type="xs:string" minOccurs="0"/>
                </xs:all>
            </xs:complexType>
            <xs:complexType name="Properties">
                <xs:sequence>
                    <xs:element name="Property" minOccurs="0" maxOccurs="unbounded">
                        <xs:complexType>
                            <xs:sequence>
                                <xs:element name="Key" type="xs:string"/>
                                <xs:element name="Value" type="xs:string"/>
                            </xs:sequence>
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
            </xs:complexType>
            <xs:element name="DetailSet">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="Detail" minOccurs="0" maxOccurs="unbounded">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="Title" type="xs:string" minOccurs="0"/>
                                    <xs:element name="Value" type="xs:string" minOccurs="0"/>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="URLSet">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="URL" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:complexType name="PlayableProperties">
                <xs:sequence minOccurs="0">
                    <xs:element name="QualityLevels" minOccurs="0">
                        <xs:complexType>
                            <xs:sequence minOccurs="0" maxOccurs="unbounded">
                                <xs:element name="Level" type="xs:string"/>
                            </xs:sequence>
                        </xs:complexType>
                    </xs:element>
                    <xs:element name="Recordable" type="xs:integer" minOccurs="0"/>
                    <xs:element name="SkipForward" type="xs:integer" minOccurs="0"/>
                    <xs:element name="SkipBackward" type="xs:integer" minOccurs="0"/>
                    <xs:element name="Pauseable" type="xs:integer" minOccurs="0"/>
                    <xs:element name="Seekable" type="xs:integer" minOccurs="0"/>
                    <xs:element name="RepeatAll" type="xs:integer" minOccurs="0"/>
                    <xs:element name="RepeatTrack" type="xs:integer" minOccurs="0"/>
                    <xs:element name="MandatoryConnect" type="xs:integer" minOccurs="0"/>
                    <xs:element name="RequestSingleSet" type="xs:integer" minOccurs="0"/>
                    <xs:element name="InvalidateSetOnError" type="xs:integer" minOccurs="0"/>
                    <xs:element name="ReconnectOnError" type="xs:integer" minOccurs="0"/>
                    <xs:element name="Syncable" type="xs:integer" minOccurs="0"/>
                    <xs:element name="ShowProgressBar" type="xs:integer" minOccurs="0"/>
                    <xs:element name="AllowDigitalOut" type="xs:integer" minOccurs="0"/>
                </xs:sequence>
            </xs:complexType>
        </xs:schema>'
        , TRUE
        , TRUE
        , FALSE
        , TRUE);

    You can "boost" via FTP by setting database initialization parameters:
    - shared servers = 5
    - large_pool_size at a minimum of 150 Mb (please increase ++ if you have the room / mem.)
    - java_pool_size at a minimum of 150 Mb
    - don't use sga_target and other "memory wizards" but set the parameters manually
    - purge the dba_recyclebin and set the feature off.
    - have a look a the tnsnames.ora and listener.ora files and / or local_listener and dispatcher settings and avoid TCP/IP name resolution. Use hard coded names, tcp/ip names (name resolution via the hosts file / NOT via a nameserver)
    to name some pointers.

  • Object with argument constructor in ATG

    HI guys
    Is it possible to craete an object with argument constructor with component in atg
    if it is possible give me an example

    With ATG 10.0.3 and later, you can use an $instanceFactory to create objects with constructor objects or create a Nucleus component from factory (either a static class method, or a method of another Nucleus component).
    Documentation (and an example) are here: http://docs.oracle.com/cd/E36434_01/Platform.10-1-2/ATGPlatformProgGuide/html/s0208parameterconstructorinstancefact01.html

  • Xml slideshow playback controls issue

    Hi, I'm trying to create a picture slideshow which can be controled by the user with play / stop / next buttons. I've managed to program the play / stop events with success, but I'm stuck trying to create the next button event since it doesn´t work properly. The first time I hit the next button it takes me to the same picture that has been currently loaded, the second time I hit the next button it works as expected, takes me to the next image.
    I appreciate your help, thank you in advance.
    Here's the Code:
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    import fl.transitions.TweenEvent;
    stop();
    //Escondo botones navegación
    navigation.visible = false;
    //Declaro/inicio variables
    var loadernike:loadercreditos = new loadercreditos();
    var my_speed:Number;
    var my_total:Number;
    var my_images:XMLList;
    var my_loaders_array:Array = [];
    var my_labels_array:Array = [];
    var my_success_counter:Number = 0;
    var my_playback_counter:Number = 0;
    var my_contador_next:Number = 0;
    var my_slideshow:Sprite = new Sprite();
    var my_image_slides:Sprite = new Sprite();
    var my_label_slides:Sprite = new Sprite();
    var my_preloader:TextField;
    var my_timer:Timer;
    var my_prev_tween:Tween;
    var my_tweens_array:Array = [];
    var my_xml_loader:URLLoader = new URLLoader();
    //Precarga xml
    my_xml_loader.load(new URLRequest("images/interior/NIKE/slideshow.xml"));
    my_xml_loader.addEventListener(Event.COMPLETE, processXML);
    var htmlContent:TextField;
    function processXML(e:Event):void
        var my_xml:XML = new XML(e.target.data);
        my_xml.ignoreWhitespace = true;
        //htmlContent = my_xml.title.text();
        my_speed = my_xml. @ SPEED;
        my_images = my_xml.IMAGE;
        my_total = my_images.length();
        loadImages();
        trace("imag", my_images);
        my_xml_loader.removeEventListener(Event.COMPLETE, processXML);
        my_xml_loader = null;
    function loadImages():void
        for (var i:Number = 0; i < my_total; i++)
            var my_url:String = my_images[i]. @ URL;
            var my_loader:Loader = new Loader();
            my_loader.load(new URLRequest(my_url));
            my_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
            my_loaders_array.push(my_loader);
            //formateo texto;
            var myFont = new Font1();
            var myFormat:TextFormat = new TextFormat();
            myFormat.align = TextFormatAlign.RIGHT;
            myFormat.font = myFont.fontName;
            var my_label:TextField = new TextField();
            my_label.textColor = 0xffffff;
            my_label.embedFonts = true;
            my_label.antiAliasType = AntiAliasType.ADVANCED;
            my_label.defaultTextFormat = myFormat;
            my_label.text = my_images[i]. @ TITLE;
            //my_label.autoSize = TextFieldAutoSize.LEFT;
            my_label.width = 450;
            my_label.background = true;
            my_label.border = true;
            my_label.backgroundColor = 0x000000;
            //my_label.htmlText = htmlContent;// Assign the HTML content to the text field*/
            my_labels_array.push(my_label);
            //preloader;
            addChild(loadernike);
            loadernike.x = (stage.stageWidth - loadernike.width)/2;
            loadernike.y = (stage.stageHeight - loadernike.height)/2 + 50;
    function onComplete(e:Event):void
        my_success_counter++;
        if (my_success_counter == my_total)
            startShow();
        var my_loaderInfo:LoaderInfo = LoaderInfo(e.target);
        my_loaderInfo.removeEventListener(Event.COMPLETE, onComplete);
    function startShow():void
        removeChild(loadernike);
        loadernike = null;
        //muestro botones navegacion
        navigation.navintback.visible = false;
        navigation.visible = true;
        addChild(my_slideshow);
        my_slideshow.addChild(my_image_slides);
        my_slideshow.addChild(my_label_slides);
        my_slideshow.x = 30;
        my_slideshow.y = 160;
        nextImage();
        my_timer = new Timer(my_speed * 1000);
        my_timer.addEventListener(TimerEvent.TIMER, timerListener);
        my_timer.start();
        //boton stop;
        function clickstopboton(event:MouseEvent):void
            navigation.navintnext.gotoAndStop(1);
            if (MisGlobales.vars.i == 0 && MisGlobales.vars.h != 1)
                navigation.navint.gotoAndPlay(2);
                my_timer.stop();
            else if (MisGlobales.vars.i==1 && MisGlobales.vars.h != 1)
                //play
                navigation.navint.gotoAndPlay(1);
                my_timer.start();
            if (MisGlobales.vars.h == 1 && MisGlobales.vars.i == 0)
                navigation.navint.gotoAndStop(2);
                my_timer.stop();
            else if ( MisGlobales.vars.h == 1 && MisGlobales.vars.i == 1 )
                navigation.navint.gotoAndStop(1);
        navigation.navint.addEventListener(MouseEvent.CLICK, clickstopboton);
        navigation.navint.buttonMode = true;
        //boton next;
        function clicknextboton(event:MouseEvent):void
            my_timer.stop();
            navigation.navint.gotoAndStop(2);
            nextImage();
            my_playback_counter++;
            trace("playback_counter_next",my_playback_counter);
            if (my_playback_counter == my_total)
                my_playback_counter = 0;
        navigation.navintnext.addEventListener(MouseEvent.CLICK, clicknextboton);
        navigation.navintnext.buttonMode = true;
        //boton back;
        function clickbackboton(event:MouseEvent):void
            my_timer.stop();
            nextImage();
            my_playback_counter--;
            if (my_playback_counter == 0)
                my_playback_counter = my_total;
                my_timer.stop();
        navigation.navintback.addEventListener(MouseEvent.CLICK, clickbackboton);
        navigation.navintback.buttonMode = true;
        //slide auto
        function nextImage():void
            var my_image:Loader = Loader(my_loaders_array[my_playback_counter]);
            my_image_slides.addChild(my_image);
            my_tweens_array[0] = new Tween(my_image,"alpha",Strong.easeOut,0,1,1,true);
            var my_label:TextField = TextField(my_labels_array[my_playback_counter]);
            my_label_slides.addChild(my_label);
            my_label.x=(stage.stageWidth - 63) - my_label.width;
            my_label.y=(my_image.y+my_image.height)+7;
            my_tweens_array[1] = new Tween(my_label,"alpha",Strong.easeOut,0,1,1,true);
        function timerListener(e:TimerEvent):void
            hidePrev();
            my_playback_counter++;
            if (my_playback_counter == my_total)
                my_playback_counter = 0;
            nextImage();
            trace("playback_counter_play",my_playback_counter);
        function hidePrev():void
            var my_image:Loader = Loader(my_image_slides.getChildAt(0));
            my_prev_tween = new Tween(my_image,"alpha",Strong.easeOut,1,0,1,true);
            my_prev_tween.addEventListener(TweenEvent.MOTION_FINISH, onFadeOut);
            var my_label:TextField = TextField(my_label_slides.getChildAt(0));
            my_tweens_array[2] = new Tween(my_label,"alpha",Strong.easeOut,1,0,1,true);
        function onFadeOut(e:TweenEvent):void
            my_image_slides.removeChildAt(0);
            my_label_slides.removeChildAt(0);
        function clickbotonskb(event:MouseEvent):void
            my_timer.removeEventListener(TimerEvent.TIMER, timerListener);
            gotoAndPlay(10);
            MovieClip(root).main.main_bar.seccinteriors.my_playback_counter_sk = 0;
        skunkfunk_btn.addEventListener(MouseEvent.CLICK, clickbotonskb);
        skunkfunk_btn.buttonMode = true;
    See example at:
    http://www.neoconfort.com/neoconfort/Neoconfort.html

    I did a workaround by using the slideshow component shown in
    http://flashotaku.com/blog/slideshow-component-as3-documentation/
    Thank you to FlashOtaku

  • Af:tree skin selectors in JDeveloper 10.1.3.3

    Hi,
    i've read that in JDeveloper release 10.1.3.3 the af:tree component can now be skinned. Does anyone know of any documentation or examples in relation to this? The af:treeTable component is documented in http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/skin-selectors.html and i've attempted to use these skin selectors for the af:tree component. However the only ones that seem to have any effect are af|tree::expanded-icon and af|tree::collapsed-icon. Are these the only skin selectors available for the af:tree component? Or are there others?
    Thanks,
    Michael.

    Hi Frank,
    i was going by what was said in Re: ADF &CSS :overriding the default ADF:tree icons and CSSs (In the fix list it is listed as bug number 5682799). After re-reading this, i guess it just mentions the tree icons. So does this mean the only part of the af:tree component we can customize is the af|tree::expanded-icon and af|tree::collapsed-icon?
    Thanks,
    Michael.

  • FF: Unable to view Reports in Virsa Toolbox.

    HI All,
    I am using FireFighter Version 5.2 SP5 Patch 1 and facing issues in the Firefighter Tool box. Also, I have VIRSANH  add-on release 520_700 with Level 010 in the backend.
    When i enter transaction "/n/virsa/vfat" and click on the Virsa Toolbox button, i am not able to see the standard reports on the screen. The tree structure shown just has the text - "Node text not found" displayed.
    Would wish if any one could give a clue how to resolve the same.
    Thanks and Regards,
    Hersh.

    Hi,
    You have to activate the BC set /VIRSA/FFTAB_52 via transaction SCPR20.
    This would have to be done in your dev client and then transported to the various clients in the landscape.
    This is mentioned in the Fire Fighter 5.2 ABAP Component Installation documentation.
    Regards

  • Xcelsius SDK download help

    This is a silly question...I am at the site https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm
    Can anyone tell me which exe I need to download to get the Xcelsius SDK?
    Thanks

    Ash,
    A technical webinar on how to create Xcelsius components:
    http://www.sdn.sap.com/irj/boc/index?rid=/webcontent/uuid/50dc3997-067b-2b10-199d-902ca23ffb5b [original link is broken]
    the Xcelsius SDK (if you did not install it with Xcelsius SP3):
    http://www.sdn.sap.com/irj/boc/sdklibrary#section11
    and the component SDK documentation (tutorial):
    SAP Dashboard Design (Xcelsius Engage) 2008 Component SDK SP3
    Edited by: Tony Foster on Oct 25, 2010 8:18 AM

  • Localized  Access Keys

    Hi,
    I have a component like <af:commandImageLink icon="/images/abc.png" accessKey="h"/> ,
    to localize the access key "h" can it be moved to resource bundle.
    If moved to resource bundle, will ADF match char in english to char in other language.
    Please advise.
    Thanks

    Hi,
    according to the published component tag documentation, the accessKey attribute supports EL. So the answer to your question should be "yes"
    Frank

  • Undefined in alert of JavaScript Function

    Dear All
    i have the below source of my jsf page, it contains java script small function (to access input text component) & get its value and show it in alert, but i am facing "*undefined*" instead of the value in the alert , please advise
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <af:document title="untitled2.jsf" id="d1" binding="#{backingBeanScope.backing_untitled2.d1}">
    <af:messages id="m1" binding="#{backingBeanScope.backing_untitled2.m1}"/>
    <af:form id="f1" binding="#{backingBeanScope.backing_untitled2.f1}">
    *<af:resource type="javascript">*
    *function checkval() {*
    var val = document.getElementById('it2');
    alert(val.value);
    *</af:resource>*
    <af:panelStretchLayout topHeight="50px" id="psl1" binding="#{backingBeanScope.backing_untitled2.psl1}">
    <f:facet name="top">
    *<af:inputText value="#{bindings.EmployeeId.inputValue}" label="#{bindings.EmployeeId.hints.label}"*
    *required="#{bindings.EmployeeId.hints.mandatory}"*
    *columns="#{bindings.EmployeeId.hints.displayWidth}"*
    *maximumLength="#{bindings.EmployeeId.hints.precision}"*
    *shortDesc="#{bindings.EmployeeId.hints.tooltip}" id="it2"*
    *binding="#{backingBeanScope.backing_untitled2.it2}" clientComponent="true">*
    <f:validator binding="#{bindings.EmployeeId.validator}"/>
    <af:convertNumber groupingUsed="false" pattern="#{bindings.EmployeeId.format}"/>
    <f:facet name="context"/>
    </af:inputText>
    </f:facet>
    <f:facet name="center">
    <af:panelGroupLayout layout="scroll" id="pgl1" binding="#{backingBeanScope.backing_untitled2.pgl1}">
    <af:inputText label="Label 1" id="it1" binding="#{backingBeanScope.backing_untitled2.it1}"
    clientComponent="true" autoSubmit="true"/>
    *<af:commandButton text="commandButton 1" id="cb1"*
    *binding="#{backingBeanScope.backing_untitled2.cb1}" clientComponent="true"*
    *partialSubmit="true">*
    *<af:clientListener method="checkval" type="action"/>*
    </af:commandButton>
    </af:panelGroupLayout>
    <!-- id="af_one_column_header_stretched" -->
    </f:facet>
    </af:panelStretchLayout>
    </af:form>
    </af:document>
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_untitled2-->
    </f:view>

    Dear All
    i made all the above solutions but still facing the same error, but i need another help, i found in oracle doc regarding this, the below statement
    Absolute expressions use the fully qualified JSF client ID (meaning, prefixed with the IDs of all NamingContainer components that contain the component) with a leading NamingContainer.SEPARATOR_CHAR character
    You can determine whether or not a component is a naming container by reviewing the component tag documentation. The tag documentation states whether a component is a naming container.
    so can any one help me to know the a naming container list of jsf components for 11.1.2.0 JSF 2.0 ?
    thanks
    Edited by: Oracle ITself on Sep 5, 2011 12:51 AM

  • How do I Stretch the third column in a treetable?

    Well the title says it all. I am using Jdeveloper Studio Edition Version 11.1.1.0.2 and I want to stretch the 3. column of a treetable. How do I do that?

    Hi,
    reading the component type documentation helps. Here is what it has to say:
    Property: columnStretching
    Indicates what kind of stretching you want applied to the columns. For optimal performance, use the "none" (default) option. If you want the last column to stretch to fill up any unused space inside of the viewport, use the "last" option. If you want to have an empty blank column be automatically inserted and have it stretch (so the row background colors will span the entire width of the table), use the "blank" option. If you want to have a specific leaf (non-group) column stretch to fill up any unused space inside of the viewport, use the option where you specify "column:" followed by the ID of the column that you want to have stretched, e.g. "column:myColId". Note that row headers and frozen columns will not be stretched because doing so could easily leave the user unable to access the scrollable data body of the table. Only a maximum of one column may be stretched at a time.
    Frank

  • How to consume JSF template in JSF page?

    Honestly - I have read about templates in Web User Interface Developers Guide for Oracle ADF, and I am doing the simple steps - I create the page template e.g. AppTemplate.jspx and it is based on 3-column quick layout - I can select any facet in this template page and then edit. But then I am trying create page Dashboard.jspx, that is based on AppTemplate.jspx. Well - no facets from AppTemplate.jspx is available in Dashboard.jspx - I can do anything around the 3-column box in Dashboard.jspx but nothing inside it. So - I had intention to use AppTemplate as base template for my application but I am starting to feel, that my current solution is trying to create template page (AppTemplate), tad already uses another template (quick start layout) and so - the faces of quick start layout cann't be available in Dasboard.jspx page... My intent was to palce controls on the facets of any of the 3 columns directly in Dashboard.jspx page but currently I cann't achieve this...
    Well, after my unsuccessfule efforts now I am strating to think, that - it is the intent of ADF, that I should copy my favourite quick start layout jspx page, add to my project and rename it and use it as my base app template?... This can be true, but - there are 2 strange issues: 1) why Oracle provides the possibility to choose quick start layout for template file at all and there are no sound warnings in documentation against the use of quick start layouts for templates; 2) usual OO approach is to derive from the base class and not to copy and modify this base class.
    Edited by: user454720 on 2010.4.1 12:38
    Edited by: user454720 on 2010.4.1 12:39

    Hi,
    the closest to what you want to achive is to build a base page template and a set of declarative components for the area layouts. There is a (not so well documented feature) of dynamic declarative components (information of how to use it is provided in the component tag documentation) that allows you to build page fragments within a project and define them as a declarative component. The declarative component can have facetRef elements for the developer to add components. The nice thing to say about dynamic declarative components, compared to "normal" declarative components is that their content is flattened and added to the page hierarchy, which means they also participate in the layout geometry management of the surrounding parent component.
    Because dynamic declarative components are based on page fragments, you can leverage the quick layouts mentioned by Shay
    Frank

  • Multi row column table

    Hi i would like a multi row column table in ADF .Is the possible.
    The below is what i would like
    Ex
    Col A ColB
    1 a
    b
    2 a
    Edited by: 806913 on Nov 29, 2010 6:48 PM
    Edited by: 806913 on Nov 29, 2010 6:48 PM

    Use pivotTable
    Look out for some samples at http://jdevadf.oracle.com/adf-richclient-demo/faces/components/index.jspx
    component: pivotTable
    Documentation:
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31973/dv_crosstab.htm
    Thanks,
    Navaneeth

  • How to capture Flash SWC events?

    Can someone point me in the right direction on how to capture an event from a Flash SWC in Flex?
    Scenario:
    I have an animated gameboard that I built in Flash. Nothing fancy, just a simple tile game where you select a tile, click it and it flips over to reveal something.
    I've managed to export a SWC, and get it to display just dandy in my Flex project, but I cannot figure out how to get Flex to capture and respond to any type of event... custom or predefined (such as MouseEvent.CLICK) when clicking one of the tiles in the swc.
    I've done quite a bit of googling but I'm cross-eyed at this point and could use some expert direction.
    Thanks in advance.
    JL

    Hi Alex,
    After further research, I've found some answers to my questions, but I've encountered a related obsticle.
    I finally stumbled upon the Flex 3 Component Kit documentation, and on page 9 of that document, it describes in detail an example of adding custom events.
    To summarize, my related obsticle this:
    I created a simple MovieClip symbol in Flash (named "My Circle").
    I created a simple external class mimicing the example code in the Flex 3 Component Kit documentation (named "MyCircle.as") which extends mx.flash.UIMovieClip
    The .fla containing the MovieClip symbol "My Circle" and the external class "MyCircle.as" reside in the same directory
    In Flash I convert the symbol "My Circle" to a Flex component and verify that the class is "MyCircle" and there is no base class
    I export the now converted MovieClip as a .swc file
    In my Flex project, I add MyCircle.swc to the Library path
    In my Flex project source I add an instance of MyCircle as <local:MyCircle id="my_circle" />
    Switching to Design view in my Flex project I don't see anything. I refresh design view and still do not see a graphic representation of my .swc file. There are no errors or warnings
    Using the Outline, I select the instance of MyCircle and discover that it is indeed on the stage, but it's bounding box dimensions are essentially zero. It seems there is no image in the swc.
    Returning to Flash, I duplicated the MovieClip symbol, renamed it to "My Circle No External Class", and converted it to a Flex component. I also verified that this new component had a class name of "MyCircleNoExternalClass" and had a base class of mx.flash.UIMovieClip.
    Following the above proceedure to correctly link it to my Flex project's Library path and adding an instance of <local:MyCircleNoExternalClass /> to the source, the .swc file show's up beautifully.
    So, why would adding an external class file (with the ultimate goal of being able to dispatch custom events) cause the contents of the MovieClip itself to not be included in the .swc?
    Again, I'm following the example on page 9 of the Flex 3 Component Kit documentation and using the Flex 3.3 SDK.

  • UIX XML & Download Of Uploaded Files.txt

    What is the right way (in UIX XML) to show the content of an uploaded file (retrieving it from a BC4J component)?
    Documentation, Samples?

    your question is rather vague; are you asking how to handle a fileUpload using the UIX controller? Please see the javaDoc for the class
    oracle.cabo.servlet.AbstractPageBroker

  • NWDI recommendations

    I am supporting a landscape with XI, portal and UCES (java pages for utilities). I would like to use NWDI for tracking abilities of dynpro development.  The caveat is I have a team of < 10 developers for dynpro. I dont want to overcomplicate the process.  Is there way to do this?
    Thanks

    Hello,
    just to complete your proposal, here is the link to the
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/1c/bca99c220c0e45a1cae3c4cccf4346/frameset.htm">Component Model documentation</a>

Maybe you are looking for

  • Removing AddressBar, StatusBar from Default Application Window

    Hi, I want to hide address bar from default application window! This application would be triggered from a link in another (web dynpro / non-web dynpro) application. And user should not be able to see where he is gets navigated. So, is there anyway w

  • SQL Parsing Bug in Oracle SQL Analyze in 9i

    The following does not work in SQL Analyze on 9i: select extract(HOUR from to_TIMESTAMP('2003-02-28 13:00:00','YYYY-MM-DD HH24:MI:SS')) FROM DUAL; It complains at there being two "from" in the SQL. As I'm new to OTN is there a fix for this bug and is

  • Printing Problem in 6i

    Hi, I am facing a problem in printing from Reports 6i. We are using shared Laser Printer HP 4100 N. If i print report using this printer then 6i given General Page Fault (GPF) and comes out of program. Can anybody help me in resolving the issue. This

  • Why does my AirPort Extreme keep shutting off?

    My AirPort Extreme keeps shutting off randomly can any one help? -thanks

  • How to hide the cucilync 9.2.5 window

    Hi, I am pretty sure there should be a way to hide the cucilync window, our customer does not want to have two different windows. Any idea? Thanks, HM