Unable to load app with rsl

Please help!!
My company project has 2 component libraries (swc) and 4-5 separate flex apps that use the 2 component libraries.  So far, the entire project has been build using "merge in code" and it is working fine.  However, some of the applications are getting so big that we need to reduce the overall size of all components and apps.  Using ant (flextask), I try to compile the components and the apps using the framework RSL and I was be able to get everything compiled and linked, but when I try to load one of the application at run time, nothing happens - I got no errors, just a blank, empty default screen.
pic 1: ant script to compile bs_vo component:
     <!-- Compile component files -->
     <target name="compile" depends="init,doWindows,doUnix" description="Compiles the mxml/as source files">
          <!-- Create the deploy directory if it doesn't exist -->
          <mkdir dir="${deploy.dir}" />
          <mkdir dir="${deploy.dir}/lib" />
          <!-- Compile Flex mxm/as files -->
          <compc output="${swc.export}" locale="${DEFAULT.LOCAL}" debug="${FLEX_DEBUG}">
               <!-- Define namespace to be referenced in other MXML source files -->
               <namespace uri="http://bidshift.com/vo" manifest="${manifest.xml.file}" />
               <include-namespaces uri="http://bidshift.com/vo" />
               <!-- Load default compiler options -->
            <load-config filename="${FLEX_HOME}/frameworks/${flex.conf.filename}" />
               <!-- List of path elements that form the roots of ActionScript
               class hierarchies -->
               <source-path path-element="${FLEX_HOME}/frameworks"/>
               <!-- Path of mxml/as source files -->
               <compiler.source-path path-element="${src.dir}" />
               <!-- List of SWC files or directories that contain SWC files use to
                    build and include in the component -->
               <compiler.include-libraries dir="${lib.dir}" append="true">
                    <include name="**/*.swc"/>
               </compiler.include-libraries>
               <!-- Do not merge the framework SWC files -->
               <compiler.external-library-path dir="${FLEX_HOME}/frameworks" append="true">
                    <include name="libs/**/*.swc" />
                    <exclude name="libs/framework.swc" />
                    <exclude name="libs/rpc.swc" />
               </compiler.external-library-path>
          </compc>
        <!--*****************************************************-->
        <!-- Prepare the RSL so that it can be found at run time -->
        <!--******************************************************-->
        <!-- Extract the SWF file from the SWC file -->
        <unzip src="${swc.export}" dest="${deploy.dir}/lib">
            <patternset>
                <include name="library.swf" />
            </patternset>
        </unzip>
        <!-- Run the flex optimizer on the extracted SWF so that it does not
             contain any debug code or unnecessary metadata.  Note that the
             as3 metadata that's kept, it's required -->
        <exec executable="${flex.optimizer}" dir="." failonerror="true">
            <arg line="-input ${deploy.dir}/lib/library.swf -output ${deploy.dir}/${application.name}.swf" />
            <arg line="-keep-as3-metadata='Bindable,Managed,ChangeEvent,NonCommittingChangeEvent,Transient'" />
        </exec>
        <!-- Delete the unoptimized SWF, don't need it anymore -->
        <delete file="${deploy.dir}/lib/library.swf" />
        <!-- Restore the digest from catalog.xml -->
        <exec executable="${flex.digest}" dir="." failonerror="true">
            <arg line="-digest.rsl-file ${deploy.dir}/${application.name}.swf" />
            <arg line="-digest.swc-path ${swc.export}" />
        </exec>
     </target>
pic 2:  ant script to compile bs_comp component which includes bs_vo as dependency
     <!-- Compile component files -->
     <target name="compile" depends="init,doWindows,doUnix" description="Compiles the mxml/as source files">
          <!-- Create the deploy directory if it doesn't exist -->
          <mkdir dir="${deploy.dir}" />
          <mkdir dir="${deploy.dir}/lib" />
          <!-- Compile Flex mxm/as files -->
          <compc output="${swc.export}" locale="${DEFAULT.LOCAL}" debug="${FLEX_DEBUG}">
               <!-- Define namespace to be referenced in other MXML source files -->
               <namespace uri="http://bidshift.com/component" manifest="${manifest.xml.file}" />
               <include-namespaces uri="http://bidshift.com/component" />
               <namespace uri="http://mikenimer.com/component" manifest="${nimer.manifest.xml.file}"/>
               <include-namespaces uri="http://mikenimer.com/component"/>
               <namespace uri="http://hevery.com/component" manifest="${hevery.manifest.xml.file}"/>
               <include-namespaces uri="http://hevery.com/component"/>
               <namespace uri="http://adobe_extra.com/component" manifest="${adobe.manifest.xml.file}"/>
               <include-namespaces uri="http://adobe_extra.com/component"/>
               <!-- Load default compiler options -->
            <load-config filename="${FLEX_HOME}/frameworks/${flex.conf.filename}" />
               <!-- List of path elements that form the roots of ActionScript
               class hierarchies -->
               <source-path path-element="${FLEX_HOME}/frameworks"/>
               <!-- Path of mxml/as source files -->
               <compiler.source-path path-element="${src.dir}" />
               <!-- List of SWC files or directories that contain SWC files use to
                    build and include in the component -->
               <compiler.include-libraries dir="${lib.dir}" append="true">
                    <include name="**/*.swc" />
               </compiler.include-libraries>
               <!-- List of SWC files or directories to compile against but to omit
                 from linking -->
                        <compiler.external-library-path dir="${deploy.dir}/lib">
                             <include name="bs_vo.swc" />
                        </compiler.external-library-path>
               <!-- Do not merge the framework SWC files -->
               <compiler.external-library-path dir="${FLEX_HOME}/frameworks/" append="true">
                    <include name="libs/**/*.swc" />
                    <exclude name="libs/framework.swc" />
                    <exclude name="libs/rpc.swc" />
               </compiler.external-library-path>
          </compc>
        <!--*****************************************************-->
        <!-- Prepare the RSL so that it can be found at run time -->
        <!--******************************************************-->
        <!-- Extract the SWF file from the SWC file -->
        <unzip src="${swc.export}" dest="${deploy.dir}/lib">
            <patternset>
                <include name="library.swf" />
            </patternset>
        </unzip>
        <!-- Run the flex optimizer on the extracted SWF so that it does not
             contain any debug code or unnecessary metadata.  Note that the
             as3 metadata that's kept, it's required -->
        <exec executable="${flex.optimizer}" dir="." failonerror="true">
            <arg line="-input ${deploy.dir}/lib/library.swf -output ${deploy.dir}/${application.name}.swf" />
            <arg line="-keep-as3-metadata='Bindable,Managed,ChangeEvent,NonCommittingChangeEvent,Transient'" />
        </exec>
        <!-- Delete the unoptimized SWF, don't need it anymore -->
        <delete file="${deploy.dir}/lib/library.swf" />
        <!-- Restore the digest from catalog.xml -->
        <exec executable="${flex.digest}" dir="." failonerror="true">
            <arg line="-digest.rsl-file ${deploy.dir}/${application.name}.swf" />
            <arg line="-digest.swc-path ${swc.export}" />
        </exec>
     </target>
pic 3:  ant script to compile application
     <!-- Compile Main application -->
     <target name="compile" depends="init" description="Compiles the mxml/as source files">
          <!-- get the common styles css files -->
          <copy todir="${src.assets}" includeEmptyDirs="no">
               <fileset dir="${assets.dir}">
                    <include name="**/*.css" />
                    <include name="**/*.gif" />
                    <include name="**/*.jpg" />
                    <include name="**/*.png" />
                    <include name="**/*.svg" />
                    <include name="**/*.swf" />
                    <include name="**/*.ttf" />
               </fileset>
          </copy>
          <!-- Compile client flex mxm/as -->
          <mxmlc file="${main.class}"
               output="${swf.export}"
               services="${server.conf.dir}/flex/services-config.xml"
               context-root="${WEBAPP_CONTEXT_ROOT}"
               use-network="true"
               actionscript-file-encoding="${ENCODING}"
               keep-generated-actionscript="false"
               incremental="false"
              debug="${FLEX_DEBUG}"
               static-link-runtime-shared-libraries="false"
              link-report="${deploy.dir}/bs_employee_calendar_link-report.xml">
               <!-- Load default compiler options -->
            <load-config filename="${FLEX_HOME}/frameworks/${flex.conf.filename}" />
               <!-- List of path elements that form the roots of ActionScript class hierarchies -->
               <source-path path-element="${FLEX_HOME}/frameworks"/>
               <!-- Path of mxml/as source files -->
               <compiler.source-path path-element="${src.dir}"/>
               <!-- List of SWC files or directories that contain SWC files use to
                    build and include in the component -->
               <compiler.include-libraries dir="${lib.dir}" append="true">
                    <include name="**/*.swc"/>
                    <exclude name="bs_vo.swc"/>
                    <exclude name="bs_comp.swc"/>
               </compiler.include-libraries>
               <!--******************************************************-->
                        <!-- Location and other information about an RSL that the -->
                        <!-- application will use                                 -->
               <!--******************************************************-->
            <!-- Framework RSL linked libraries -->
            <runtime-shared-library-path path-element="${FRAMEWORKS}/libs/framework.swc">
                <url rsl-url="framework_3.5.0.12683.swz"/>
                <url rsl-url="framework_3.5.0.12683.swf"/>
            </runtime-shared-library-path>
            <!-- RPC RSL linked libraries -->
            <runtime-shared-library-path path-element="${FRAMEWORKS}/libs/rpc.swc">
                <url rsl-url="rpc_3.5.0.12683.swz"/>
                <url rsl-url="rpc_3.5.0.12683.swf"/>
            </runtime-shared-library-path>
            <!-- Third party RSL linked libraries -->
            <runtime-shared-library-path path-element="${flex.src.dir}/deploy/lib/bs_vo.swc">
                <url rsl-url="bs_vo.swf"/>
            </runtime-shared-library-path>
            <runtime-shared-library-path path-element="${flex.src.dir}/deploy/lib/bs_comp.swc">
                <url rsl-url="bs_comp.swf"/>
            </runtime-shared-library-path>
          </mxmlc>
     </target>
Thanks in advance.

If you are going to use RSLs in a multi-SWF project, it is recommended that
the first app load the RSLs and the others don't.

Similar Messages

  • Unable to load pictures with mac osx..

    I was wondering if anyone knows the reason why I'm unable to load pictures with my macbook for e-bay when I sell??? It just keep turning and turning with no results...
    Is it the new operating platform (osx) or what could it be?? I have tried it with an older mac, had no problem loading them....
    Thanks for comments....David..

    Is there an uploader program from ebay that you use? If so, then you might try digging out the preference file from your library/preferences and see if it generates a new, non-corrupt one. If it uses a browser interface and that is stalling, then I'd suggest using a different browser. You can also ask ebay support.

  • "Unable to load IAmWebPolicy" with Policy Agent 2.2 on Sun App Server 8.2

    I'm trying to install the Policy Agent for App Server 9.0/9.1 to App Server 8.2 (which claims to be supported). Identity Manager is the target resource. I get this when I try accessing the /idm root context:
    Exception caught in AmWebPolicyManager initializer: Unable to load IAmWebPolicy: com.sun.identity.agents.policy.AmWebPolicy
         at com.sun.identity.agents.policy.AmWebPolicyManager.<clinit>(AmWebPolicyManager.java:135)
    Thanks,
    Steve Maring

    You were absolutely correct
    I've resolved this issue - the problem was caused by two things:
    1. There is a new version of a library called libxml2.so that I had to get from Sun (they provided version 2.6.7)
    2. My web server with the agent on it is on a seperate box from the identity server. These two servers were out of sync in terms of their system time (ie, the solaris box with the agent / web server was about 8 minutes ahead of the solaris box with the identity server)
    Once both of these things were fixed (the time issue most importantly), the web server would not hang anymore.

  • Unable to load page with Safari

    My access to the internet with Safari has been incredibly slow recently, I think especially for sites that require a logon, secure or not, including my online banking, Wall Street Journal, Comcast Email. I get an unable to load error message after a long wait. I recieved a security update recently and I think the problem started about then. I have read this forum and tried what I could for slow Safari like resetting but without improvement. I can't access the Apple website because it takes too long to load. I can access iTunes.

    Hi
    Welcome to Apple Discussions
    Secured sites are affected by the Keychain file contents, especially the X509 Anchors. Go to your Utilities folder>Keychain Access.app - open the application. On the left you'll see your various collections. Please confirm you see x509 Anchors. While there, go to the Keychain Menu>Keychain First Aid. Select, then enter your password and select "repair". If any errors appears, rerun until you get a clean pass.
    If errors were present, restart the system, and try Safari. If no errors...
    Another possible avenue of resolution is to reapply the 10.4.9 combo update. After the install/restart (don't use the computer for other tasks while the installer is running) "repair permissions" using Disk Utility in your Utilities menu.
    Post back

  • TS1702 Unable to install apps with iOS 6

    After i update my iPhone 4s with iOS 6, I am unable to install apps. Is there any other way other than what's mentioned on this article?

    Just to clarify previous message.
    1. The article I mentioned was the link above, iOS: Troubleshooting applications purchased from the App Store
    2. All items mentioned on the said article has been done but issue still exist.
    Please assist.
    Thanks in advance!

  • Why i'm unable to update App with different Apple ID? (it gives me an error: Impossible to connect to iTunes Store)

    Hello,
    i installed a lot of Apps on my iPad (both free and purchased), then a sad day  i had to change my apple ID (due to some mistakes in configuring the ipad for my wife with a different apple ID and for icloud...).
    Now i have apps with my last apple ID account and apps with my previous one.
    When i have to update Apps with my last apple ID, there's no problem, but when i try to update Apps installed with the OLD one a problem occurs and even if i type the right password for it i get always the same message: Impossible to connect to iTunes Store!
    Password for old apple ID is correct because i can log on line at account page on https://appleid.apple.com/it/
    I read everywhere that having Apps with different account on the same Ipad is allowed, so....What's the Problem?? 
    thank you in advance.
    Bye

    Content and Apple IDs -
    Content is forever tied to the Apple ID that bought it. Apple does not transfer content from one Apple ID to another. Apple does not merge Apple IDs. You will never be able to access your content bought with another Apple ID with a new Apple ID.

  • Unable to load App update until old App deleted

    I've been having a problem with updating Apps. I download the App update and move it into applications, I'm asked to Authenticate and when I do nothing happens. I then have to go to Applications And delete the original App. I can then Authenticate and load the App. Then I am unable to Eject the dmg. I have to relaunch Finder and then eject? This has been happening since installing Yosemite.
    Have I missed a setting? Any suggestions?

    I agree with you but the software that is doing this always worked prior to OS X. It works that same way until I try to Authenticate then nothing until I delete and do it again?

  • Unable to load data with impdp

    Hi friends,
    I've encountered with follwing errors while loading data through impdp utility.
    ORA-31626: job does not exist
    ORA-31633: unable to create master table "TRACE.SYS_IMPORT_FULL_05"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPV$FT", line 863
    ORA-00955: insufficient privileges
    I think problem is with last line ORA-00955: insufficient privileges what are you opinion kindly tell me what necessary priviliges user should have to import/export dump file.
    Looking for you Help and suggestion
    Regards,
    Abbasi

    Is this dumpfile consists of onlyTRACE schema objects or other schema objects?
    no need to grant dba priviliges to trace, you can import using sys/system user.
    impdp system/****@TNRDB directory=tnr_dump_dir dumpfile-tnrsms.dmp logfile=loading.logThanks

  • Unable to update apps with new account

    Hi, recently I've been using our family iTunes account to download and purchase songs and apps, although I never knew the password myself. I only recently created a new account using an iTunes card, so I now have my own account to purchase items off the App Store.
    However, I've just tried to update one of the apps I had bought with the old account, and it asks me for it's password- even though I'm signed in as mine. Do I have to delete and reinstall the app for it to be managed by my new account or it is forever stuck as something only controllable by the other account?

    Apps are DRM protected & tied to the itunes account used to originally purchase them. They cannot be transferred to another itunes account & updates to the apps in question must be done using the same account used to originally purchase them.

  • Unable to download apps with creative cloud installer

    Trying to download an app, I get a window that reads Installer wants to make changes type password to allow, after carefully typing in the correct password the installer window does not work. Why isn't the installer working?

    Hi JeffCingy
    I would suggest to try downloading the Creative Cloud app manager with a different browser like Google Chrome and clear the  browsers cache.
    Here is a network troubleshooting page if you are having issues with downloading the software. Check your hosts file.
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    The link that Rajshree provided is good to go thru for troubleshooting.
    Let us know if you are still not able have the CC app working for you.
    Thanks
    Scott

  • Unable to load data with data source 2LIS_04_P_COMP

    trying to load ARBPL,MATNR and COMP of PP detailed setup.
    Due to the design error (as per SAP) I am trying to load (instead of deactivating the MATNR datasource)from each datasource seperately, each time deleting the setup table.( that is : load setup table for B confirmations and then run init in BW take it to delta. then delete the setup table fill setup table with goods issue (c) and run init in bw aN TAKE IT DELTA)
    i could finish the first step,load confirmations and run delta, but when iam doing it for COMP OR MATNR the setup tables are filling( as shown in np)but no records are being brought into BW when i ran init.
    please help

    Hello Experts
    Kindly let me know what may cause this. or let me know if any one is also facing the same issue.
    Regards

  • Custom ABAP flatfile loading app with statuses

    Hi all,
    I inherited a rather large ABAP program that is used here to load flat file data that is emailed to me as CVS files.  One of the nice things about this program is that it "cleans" the data, presents the "to be uploaded data,"  triggers the load and then reports the Load status back.
    Unfortunately everything seems to work OK except the load status which always returns the programs error message indicating that the load was not confirmed.
    The code basically queries table RSMONICDP a few times and waits 20 seconds.  If the load is not finished by then it returns an error. This means that I have to manually confirm each load and that I can never give this job to a non-BW person to perform (as was the initial intention i think).
    Can anyone tell me if there is a better or easier way to report the load statuses (via email or an ABAP function that can embed a customized monitor screen).
    ===========================
    here is the current code:
    ===========================
      " Verify the success of the request:
      " The problem is, that for data uploads into the fact table,
      " the table RSMONICDP (Request Status MONitor InfoCube Data Package)
      " is the most detailed table to query, however, it does not contain
      " Requests that pertain to info objects.
      " Query table RSMONICDP
      " to check that upload was performed:
      " RSMONICDP-ICUBE = the target cube of a request.
      " RSMONICDP-REC_INSERT = no of records inserted.
      " RSMONICDP-TIMESTAMP = YYYYMMDDhhmmss (UTC)
      DATA:   bw_log_wa  LIKE RSMONICDP,
              no_records TYPE i,
              count      TYPE i.
      DESCRIBE TABLE sales_pack->clean_sales.
      no_records = sy-tfill.
      WHILE count < 8.
        " check if registered as uploaded
        count = count + 1.
        WAIT UP TO 3 SECONDS.            "give BW server time to load.
        SELECT SINGLE *
          FROM  RSMONICDP
          INTO  bw_log_wa
          WHERE ICUBE      = icube        AND
                TIMESTAMP >= time         AND
                REC_INSERT = no_records.
        If sy-subrc <> 0.
          If count >= 3.                 " loop 3 times, server may be slow
            w_tit    = 'ERROR'.
            w_msg1   = 'The upload was not confirmed by BW within 20 sec.!'.
            w_msg2   = 'Probably the Schedule does not respond to events'.
            w_msg3   = 'Or the Server is slow.'.
            CALL SELECTION-SCREEN 200 STARTING AT 10 10.
            MESSAGE 'Upload job failed !!!!!!!.'  TYPE 'S'.
            return = 'False'.
            RETURN.
          ENDIF.
        ELSE.
          IF bw_log_wa-STATUS <> '@08@' OR bw_log_wa-QMSTATUS <> ''.
            w_tit    = 'ERROR'.
            w_msg1   = 'The upload was performed by BW but failed !'.
            CONCATENATE  'Remove manually request '
                         bw_log_wa-RNR
                         INTO w_msg2.
            w_msg3   = 'See your administrator !'.
            CALL SELECTION-SCREEN 200 STARTING AT 10 10.
            MESSAGE 'Upload request marked red !!!.'  TYPE 'S'.
            return = 'False'.
          ENDIF.
          EXIT.    " get out of while loop.
        ENDIF.
       ENDWHILE.
       MESSAGE 'Data uploaded into BW !.'  TYPE 'S'.
       return = 'True'.
    endform.

    Hi,
    can you try:
    - select ViewProject
    - choose Run --> Clear <project name>
    - Make project
    Frank

  • Unable to sync apps with iPhone

    I recently updated to OS 4.2.1 and got the following when I tried to sync my apps:
    The app was not installed on iPhone because an unknown error occurred (0xE8000001).
    I did try the "de-authorizing then authorizing" trick but it didn't work.
    Not to mention that battery life now ***** really bad.
    Saw a thread that suggested resetting all settings, restoring the phone etc, but nothing worked.

    Did you check if "App-Installation" is activated in Settings/General/Restrictions on your phone?

  • Unable to load pages after update to 3.6.8

    unable to load pages with any browser after update to 3.6.8
    windows update only online function that works

    try this
    download and run norton removal tool. this woked for me
    http://www.symantec.com/norton/support/kb/web_view.jsp?wv_type=public_web&docurl=20080710133834EN&ln=en_US

  • Unable to deliver  iphone5  app with application loader

    i get an error itms 9000 when trying to deliver my app with application loader
    i understand that i miss icon 568h
    my air version is 3.8.0.440 and there is not possible way to download png file with size 568h
    please help

    Have you tried this against our latest AIR release?

Maybe you are looking for

  • IPod touch cannot be synced error 13019. What do I do?

    I manually manage all songs and info on the ipod touch. Nothing is selected to sync automatically. I have no voice notes, there are no podcasts, only a bunch of songs I'm trying to put on my ipod. When it is plugged in, it shows up under devices in t

  • Mixed Media: 720p 60 + DVCPRO 50

    Hi all, I've searched the forums looking to answer this question, and may have actually found the answer more than once but have now thoroughly confused myself into a corner, so I thought I should just post. What would be the best method to work with

  • Read the csv file from plsql

    Hi, I have data in csv file. I need to read the data from that file and at the same time i need to omit first row(ie column header). How can i do this...? Please help me....asap Thanks in advance....

  • Ipod Classic 80 gb

    When the battery finally dies on my favorite iPod, will it be replacable? thanks if you know

  • Juice pack air plus di mophie and rx iphone...

    I have a network provider (Vodafone) and often i get with my Iphone 4 "no network" or when i louse signal i can get it back exept if i restart the phone.Yersterady i found the problem it seames to be the cover i use a moshi iglaze 4 infact i cut two