Coldfusion Data/Services INT bug?

Hi, I'm have some troubles with data types in FLASH Builder 4 beta build 235740
=========================================
My coldfusion component takes a primary key called "id" of type int
<!--- FLEX Vars To CFC --->
<cfargument name="id" required="yes" type="int"/>
=========================================
I've imported the service yet the Data/Services tab shows the function as....
UserManager
    Data Types
    DisplayUser( id : Object ) : Object
=========================================
Which I would expect....
UserManager
    Data Types
    DisplayUser( id : Int ) : Object
=========================================
IF I change my data type in my coldfusion component to be string
<!--- FLEX Vars To CFC --->
<cfargument name="id" required="yes" type="string"/>
=========================================
save and refresh my Data/Services Tab I get the following
UserManager
    Data Types
    DisplayUser( id : String ) : Object
=========================================
I notice that the String data type was updated in the FB Data/Service tab
but when the component uses an 'int' FB Data/Services treats it as an object
What am I missing here? - OR - Is this a beta bug?

I am not sure if there is a type called "int" in ColdFusion. However you can try setting it as "numeric", which should work.
Thanks,
- Gaurav

Similar Messages

  • Cannot connect to ColdFusion Data/Service in Flash Builder 4

    Hello,
    I am attempting to connect to a ColdFusion data service using the Connect to Data/Service for Flash4 window, however, when I go to select service type I only see HTTP or XML as options. I have set-up my Flash project with CF Flash Remoting and when I type http://localhost:8500/flashservices/gateway into a browser I get a blank page, which I think means that the Flash gateway is working. I am going crazy trying to figure this out, any help would be greatly appreciated!
    Thanks!

    If you been a customer long enough call and ask for a unlock code for your phone and get a temporary sim to use (similar to how walmart here has straight talk) and use that. You will of course need to buy the sim and buy the time you use. This way it will avoid big charges on your bill etc..  So just call verizon and ask for a unlock code and you will take out your current phone sim (put it somewhere safe) and put the new sim in and turn phone on and put the unlock code in. Make sure the sim you get it set to use the type of network your phone is. (look at the specs of your phone) good luck.

  • Beta 2: Connect to ColdFusion Data Service issue

    I installed Beta 2 and am re-doing my data services for a Beta 1 app now since package names, etc. have changed in Beta 2. When I go to the Connect to ColdFusion Data Service wizard and point to my .cfc, the accompanying"Service Operations" dialog box is blank, it no longer shows any of the operations in my .cfc, so I'm not able to select any.
    Why is it doing this?

    That is the right directory. Not sure as to why that file is not there, but method-access-level tag that I was mentioning, if it is set to remote, then you can see only those functions that have access = "remote", so in all probability wherever that value is it is set to remote (probably in services-config.xml itself, are you using 8.01 or 8.0?)
    So, just change the access attribute in cffunction to remote, you should be able to see the functions.
    Thanks
    -Sunil

  • Enabling data management for  a coldfusion  data service

    Hello,
        i have problem in calling a service withen a data service ,, that if i enable the data management  i cant insert or update records , if i desable the data manabemt i can insert records but dont have result for get all or any get service all .  it was working befor now no i completly remove the data service and created it again but the same problem even i deleted the valueobject and all the actionscript file related to that data service i have the same problem.
    but
    if i call the create record function ,, then i try to get the record i get the resutl from the database ?!!!
    can someone help please

    I saw the tutorial but that doesn't actually show how to configure for POST - it just uses GET and DELETE. When you configure for POST, you get prompted to "Specify an XSD that describes the structure of the request content". That implies that it is going to send the service an XML file as the attachment and wants to know the format of the XML file. The service that I want to use doesn't expect to receive an XML file, it expects form fields, and I think HTML forms send these like this:
    p_zip_code=22209
    p_selection=a
    p_selection=b
    p_selection=cOf course, the correct answer to my question may be "You can't get there from here" at least until 12c.
    Ah ha! I see that some of what Frank mentioned is in the newly released 11.1.2.2, and didn't wait for 12c. I'll give that a try.
    Edited by: jflack on May 11, 2012 2:58 PM

  • Flex Data Services does not see remote methods in extended ColdFusion component.

    I have created a remote service base component as a AModelService.cfc file. I extend that file to make my ModelService.cfc. When I configure the ColdFusion data service and point to ModelService.cfc and click next, I don't see any remote methods (there are none explicitly defined in the component) in the Service Operations window.
    If I go back and point to AModelServide.cfc, the parent component, and hit next, I see all the remote methods that are defined in the parent component. So, either I am doing something wrong, or Data Services does not look at methods up the cfc prototype chain, which from an OOP standpoint means that instead of say creating one restful base class and being nice and DRY you can't. I.e. not OOP for data services. Is this a bug, or what?
    Anybody get data services to work with extended service components?
    Mark

    Thanks for the reply. Yes, I did compile all the Java and it
    works OK with a simple Java program. It just will not work in a
    Flex application.
    The java classes are:
    RRA:
    package blah.myPackage;
    import java.util.List;
    import java.util.Collection;
    import flex.data.DataSyncException;
    import flex.data.assemblers.AbstractAssembler;
    class RRA extends AbstractAssembler
    public Collection fill( List fillParameters )
    RRS service = new RRS();
    return service.getSome();
    RRS:
    package blah.myPackage;
    import java.util.ArrayList;
    import java.util.List;
    import java.sql.*;
    import flex.EORS.*;
    class RRS
    public List getSome()
    ArrayList list = new ArrayList();
    String str = "bob";
    RR rr = new RR(str);
    list.add(rr);
    return list;
    RR:
    package blah.myPackage;
    class RR
    private String name;
    public RR() { }
    public RR(String name)
    this.name = name;
    public String getName()
    return this.name;
    public void setName(String name)
    this.name = name;
    I started with something that retrieved data from a database
    but watered it down just to try and get some kind of communication
    between Flex and Java.

  • Shared hosting, Coldfusion 8 & Livecycle Data Services ES

    I want to develop a CF/Flex/Air online/offline application that uses Livecylcle Data Services (LCDS) to synchronize client (SQLlite) and server (MySQL) databases.  I'm a coldfusion developer (MX6) and have done some Flash work (AS2).  I'm going to learn Flex, Air and AS3.
    I can only use shared hosting.   I'm confused about the licensing of LCDS and if there is shared hosting that provides it.  I Googled for Coldfusion/Flex/LCDS web hosting and the only one I found was way too expensive, e.g.$250/month. 
    But I just read that LCDS is included with Coldfusion 8.  So does that mean web hosting with CF 8 (Enterprise) automatically includes LCDS?

    It really depends on the hosting provider.  The ColdFusion 8 install (Standard & Enterprise) have the ability to install a LCDS "trial" which after 30 days will revert to LCDS ES which is free, as long as the server that it's installed on has no more than 1 processor (up to 2 cores though I believe).
    To more specifically answer your question, it really depends on whether the individual hosting provider has installed and offers this option to their clients.  The use of LCDS with Flex required configuration of a data-management-config.xml file and certain ports may need to be opened up for rtmp vs. polling transfer methods.  I'm not sure exactly how this would work given a shared hosting environment and if you could sandbox the configurations per client.
    The sure way to get this setup (and the method I've used for the past few years) is to get yourself a dedicated box (which can be had for less than 100 dollars, especially given the processor limitation on the LCDS licensing) and get yourself a license for CF8 while they're still available.  CF9 will still support LCDS integration, but the install isn't seamless like it is with CF8.  During the install process for CF8 you can choose to install LCDS and after a bit of configuration you're all set.

  • Excel 2012 SP1 plagin for Master Data Services - Bugs ???

    Excel 2012 SP1 plagin for Master Data Services 32bit or 64bit
    1.  
    My entity A has 50,000 records.
    Entity B has a domain attribute "City" from entity A.
    I successfully add new records to the entity B, but after refresh I cannot see any data in the domain attribute "City" for new records (empty cels)!!! Although in the Web client (or through SSMS in table)  I can see the data in "City"
    attribute (e.g. code_095 {Moscow}).
    If I reduce the number of records in the entity A to 20 000, then I see code_095 {Moscow} in Excel 2012 SP1 plagin for MDS.
    Bug???
    2.
    Why Excel 2012 SP1 plagin for MDS resets the format cells ???  Bug???
    3.
    I have created rows for my own headings (business captions) above the MDS-table in the Excel-worksheet.
    Excel 2012 SP1 plagin for MDS: Why after applying the filter (query from server) Excel-worksheet completely recreated ?
    And all my row headers have been removed!!! What the hell ?
    from Moscow with money

    Superbluesman, is this still an issue? This looks like a bug. Did you file a Connect Item?
       Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • ColdFusion Remote Service Calls and Dates

    Hi all, I'm hoping someone can help me out with my confusion.  I’m sending an object including datetime data from ColdFusion to a Flash application.  The datetime in the ColdFusion object include milliseconds, however, if I use the getTime() function on the Date object in the Flex application, the milliseconds have been zeroed out.  Is there any way to retain the milliseconds when the data is passed through the flexgateway?
    Thanks,
    Christine

    Hi Balaji,
    I have attached a demo of my proxy webservice called pxTest.cfc.  pxTest.cfc contains two functions, testDate and pushBackTestDate.  I also attached a simple Flex App called testDate.mxml.  And a Test file called test.cfm.
    Save pxTest.cfc to your CFC folder.  Create a new project called TestDate.  Go to the data/services tab, click "Connect to Data/Service" and select Data Service ColdFusion.  Browse to PxTest.cfc and select it for the CFC location.  Click Next, then click Finish.  Configure ReturnType as Date for both pushBackTestDate and testDate.  Paste the code from TestDate.mxml into the blank TestDate.mxml file that was created when you created the project TestDate.  Run the TestDate.mxml application.
    On load of the application a date was requested and received from pxTest.cfc.  Click Confirm Test Date and note the date returned, and the milliseconds value for that date.  Next click Push User Data back, this will call the method pushBackTestDate sending the date from the Flex app back into CF.  All pushBackTestDate does is set the value returned into session and return it back to the Flex app again.
    Click the button Show Pushed Data Result to see the date that was returned.  In my tests this date no longer has a value for milliseconds.  As long as pxTest.cfc and test.cfm run in the same session you will be able to see the dates sent and returned by running test.cfm.  The dump of that session variable and time formatted versions of that variables are displayed below:
    RETURNED
    {ts '2009-09-17 12:57:50'}
    SEND
    {ts '2009-09-17 12:57:50'}
    TimeFormat Send 12:57:50 13
    TimeFormat Returned 12:57:50 0
    Note the date sent contains milliseconds, the date returned does not have milliseconds.  Hopefully this demo will work for you and demonstrate the issue.  Please let me know if you need more information.
    Thanks,
    Christine

  • How to install Flex Data Services 2 on Coldfusion MX 7?

    hello,
    How to install Flex Data Services 2 on Coldfusion MX 7?
    was is tomcat..
    I want to use RemoteObject(CFC) for oracle.
    Thanks for your support.

    Hello -
    To use mx:RemoteObject with CFC you don't even need FDS, you
    can use FlexBuilder 2.0 and use it's internal FDS SDK to build,
    compile and deploy full apps to be used in conjunction with CF 7.02
    (Flex Connectivity)
    Secondly, if you do want to install the full FDS 2.0
    enterprise software you can find the instructions to do so for J2EE
    apps servers here
    http://www.adobe.com/support/documentation/en/flex/2/install.html#flexj2ee
    HTH, Bill

  • Jobs gets hanged when a call is made to PLSQL function in Data Services XI

    Hi,
    I am facing the below issue after migration of BODI 11.7 to BODS XI 3.1.
    The job is not proceeding after the below mentioned statements.
    print('before call');
    $is_job_enable=DS_TEST.TEST.MY_PKG.IS_JOB_ENABLED(job_name());
    print($is_job_enable);
    MY_PKG.IS_JOB_ENABLED plsql function will return Number.
    $is_job_enable is a global variable declared as decimal (10, 0).
    This Job works fine in Data Integrator 11.7.3 version and gets handed in Data Services XI 3.1.
    I tried changing the global variable $is_job_enable to int and created new data sources before doesn't solve the problem. Can anyone tell me what is the issue?
    Thanks & Regards
    Maran MK
    The trace file says
    5260     3284     JOB     5/5/2009 4:43:17 AM     Job <TEST_JOB> is started.
    5260     3284     PRINTFN     5/5/2009 4:43:17 AM     before call
    5260     3284     SP     5/5/2009 4:43:18 AM     Stored procedure call <MY_PKG.IS_JOB_ENABLED> is started.
    5260     3284     SP     5/5/2009 4:43:18 AM     SQL query submitted for stored procedure call <MY_PKG.IS_JOB_ENABLED> is: <BEGIN :AL_SP_RETURN :=
    5260     3284     SP     5/5/2009 4:43:18 AM     "TEST"."MY_PKG"."IS_JOB_ENABLED"("P_JOB_NAME" => :P_JOB_NAME); END;
    5260     3284     SP     5/5/2009 4:43:18 AM     >.
    5260     3284     SP     5/5/2009 4:43:18 AM     Stored procedure call <E> input parameter <P> has value of <TEST_JOB>.
    5260     3284     SP     5/5/2009 4:43:18 AM     Stored procedure call <E> return value is <1.0000000>.
    5260     3284     SP     5/5/2009 4:43:18 AM     Stored procedure call <MY_PKG.IS_JOB_ENABLED> is done.
    The below error occurs only in Windows and not in Linux environment.
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     |Session TEST_JOB
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     System Exception <ACCESS_VIOLATION> occurred. Process dump is written to <E:\Program Files\Business Objects\Data
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     Services\log\BODI_MINI20090505044318_5260.DMP> and <E:\Program Files\Business Objects\Data
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     Services\log\BODI_FULL20090505044318_5260.DMP>
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     Process dump is written to <E:\Program Files\Business Objects\Data Services\log\BODI_MINI20090505044318_5260.DMP> and
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     <E:\Program Files\Business Objects\Data Services\log\BODI_FULL20090505044318_5260.DMP>
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     Call stack:
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     001B:00CA9EAB, ActaDecimalImpl<RWFixedDecimal<RWMultiPrecisionInt<3> >,RWMultiPrecisionInt<3>,ActaDecimal28,char
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     [29]>::operator=()0315 byte(s), x:\src\rww\actadecimalimpl.cpp, line 13140004 byte(s)
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     001B:00D8A267, Convert()+0999 byte(s), x:\src\eval\calc.cpp, line 0303
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     001B:00DBF9E0, XVal_cast::compute()+0272 byte(s), x:\src\core\compute.cpp, line 1664
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     001B:00DBC239, XStep_assn::execute()+0057 byte(s), x:\src\core\step.cpp, line 0069
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     001B:00DBB30D, XStep_sblock::execute()+0029 byte(s), x:\src\core\step.cpp, line 0707
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     001B:00DBB30D, XStep_sblock::execute()+0029 byte(s), x:\src\core\step.cpp, line 0707
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     001B:00DBE0BC, XPlan_spec::execute()+0348 byte(s), x:\src\core\plan.cpp, line 0082
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     001B:00DC5EA0, XPlan_desc::execute()+0336 byte(s), x:\src\core\xplan.cpp, line 0153
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     001B:00DBD68E, XPlan_spec::compute()0206 byte(s), x:\src\core\plan.cpp, line 01450011 byte(s)
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     001B:00DBD891, XPlan_spec::compute()+0225 byte(s), x:\src\core\plan.cpp, line 0244
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     001B:0074533A, AE_Main_Process_Options()+31498 byte(s), x:\src\xterniface\actamainexp.cpp, line 3485
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     001B:00747EDA, AE_Main()1498 byte(s), x:\src\xterniface\actamainexp.cpp, line 07680030 byte(s)
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     001B:004029F9
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     Registers:
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     EAX=0000000E  EBX=03E392E0  ECX=04B455A0  EDX=012346D8  ESI=02B75D88
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     EDI=04B455A0  EBP=00212738  ESP=002124BC  EIP=00CA9EAB  FLG=00210206
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     CS=001B   DS=0023  SS=0023  ES=0023   FS=003B  GS=0000
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     Exception code: C0000005 ACCESS_VIOLATION
    5260     3284     SYS-170101     5/5/2009 4:43:21 AM     Fault address:  00CA9EAB 01:00585EAB E:\Program Files\Business Objects\Data Services\bin\acta.dll

    Hi Manoj & Tiji,
    Thanks for your comments. Please find the below outcome.
    print($is_job_enable); -- is not executed if PLSQL function is called.
    I changed $is_job_enable to VARCHAR, still the same issue.
    I created new project and executed the same in new job, still the same issue (all objects are new except Datastore).
    The dmp happens only when we the PLSQL function is called. I commented the Function call, the execution proceeds further but got hanged in other PLSQL function call (different than the 1st one)
    Is this bug in 12.1?
    Can you tell any Hot fix available? If possible please give me the SAP Notes Number.
    Is there any other way to execute the PLSQL functions/procedures in 12.1?
    Thanks
    Maran MK

  • ADF BC and the Active Data Service

    hi
    The OFM Fusion Developer's Guide for Oracle ADF 11g Release 1 (B31974-05) has a section "42 Using the Active Data Service"
    at http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/adv_ads.htm
    that says "... If you want your components to update based on events passed into ADF Business Components, then you need to use the Active Data Proxy. ..."
    but it does not seem to explain how to use ADF BC and the Active Data Service.
    I have been able to create this example application ...
    http://www.consideringred.com/files/oracle/2010/ActiveDataServiceADFBCApp-v0.01.zip
    ... that does not have a af:poll component (but has moved polling into a managed bean).
      <managed-bean>
        <managed-bean-name>sumSalBean</managed-bean-name>
        <managed-bean-class>activedataserviceadfbcapp.view.SumSalBean</managed-bean-class>
        <managed-bean-scope>session</managed-bean-scope>
        <managed-property>
          <property-name>empSumSalVO</property-name>
          <value>#{data.activedataserviceadfbcapp_view_sumSalPagePageDef.SumSal.viewObject}</value>
        </managed-property>
      </managed-bean>This is some code in the SumSalBean class:
    package activedataserviceadfbcapp.view;
    // also based on code found in "ADF’s Active Data Service and scalar data (like activeOutputText)" by Matthias Wessendorf
    // at http://matthiaswessendorf.wordpress.com/2010/01/07/adf%E2%80%99s-active-data-service-and-scalar-data-like-activeoutputtext/
    public class SumSalBean
         extends BaseActiveDataModel
         protected static final String SUM_SAL_NAME = "sumSal";
         protected final AtomicInteger fCurrentChangeCount = new AtomicInteger(0);
         protected long fActiveDataUpdateEventTime;
         protected EmpSumSalVO fEmpSumSalVO = null;
         @PostConstruct
         public void setupActiveData()
              ActiveModelContext vActiveModelContext =
                   ActiveModelContext.getActiveModelContext();
              Object[] vKeyPath = new String[0];
              vActiveModelContext.addActiveModelInfo(this, vKeyPath, SUM_SAL_NAME);
              ScheduledExecutorService vSEService = Executors.newScheduledThreadPool(1);
              vSEService.scheduleAtFixedRate(new Runnable()
                        public void run()
                             if (hasDataChanged())
                                  triggerActiveDataUpdateEvent();
                   3, // let's wait some seconds
                   2, // period between the updates
                   TimeUnit.SECONDS);
         public void triggerActiveDataUpdateEvent()
              setActiveDataUpdateEventTime(System.currentTimeMillis());
              incrementCurrentChangeCount();
              ActiveDataUpdateEvent vEvent =
                   ActiveDataEventUtil.buildActiveDataUpdateEvent(
                        ActiveDataEntry.ChangeType.UPDATE,
                        getCurrentChangeCount(), new String[0], null,
                        new String[] { SUM_SAL_NAME },
                        new Object[] { getSumSal() });
              fireActiveDataUpdate(vEvent);
         public String getSumSal()
              EmpSumSalVO vEmpSumSalVO = getEmpSumSalVO();
              return "" + vEmpSumSalVO.getFirstSumSal();
         protected void startActiveData(Collection<Object> rowKeys,
              int startChangeCount)
         protected void stopActiveData(Collection<Object> rowKeys)
         public int getCurrentChangeCount()
              return fCurrentChangeCount.get();
         protected boolean hasDataChanged()
              EmpSumSalVO vEmpSumSalVO = getEmpSumSalVO();
              return vEmpSumSalVO.hasDataChanged(getActiveDataUpdateEventTime());
         public void setEmpSumSalVO(EmpSumSalVO pEmpSumSalVO)
              fEmpSumSalVO = pEmpSumSalVO;
    }How all this behaves a runtime can be seen in this screencast
    at http://www.screentoaster.com/watch/stUEpQSkxIR19aSV9YW1NRVF9W/activedataserviceadfbcapp_v0_01_zip_demo
    I would welcome comments on how the example application in ActiveDataServiceADFBCApp-v0.01.zip can be improved, or references to information on how this should be done properly.
    question
    (q1) Where can I find some example code that does use ADF BC and the Active Data Service?
    many thanks
    Jan Vervecken

    Jan,
    ADF BC does not natively support ADF yet. Its planned for a next release. The only Data Control that out of the box support ADS is BAM. To use ADF BC with e.g. databae change notifications you
    - create a shared AM
    - Configure the VO to respond to database changes (check box)
    - Configure the database to broadcast changes
    - Use an af:poll component for the refresh because the update would be on the model layer only
    So what is in the documentation is a doc bug. In the current releae you can use ADS best with a POJO model (that you use directly for dashboard use cases). You can though use a POJO data control, but this at the current stage would just act as a pass through for the data access.
    See example 156 on http://blogs.oracle.com/smuenchadf/examples/ for how to do it with ADF BC
    Frank
    Ps.: Of course, the plan is to make everything working out of the box with no developer action required.
    Edited by: Frank Nimphius on Feb 12, 2010 6:56 AM
    Re-read your post. Maybe I need to revise my comment. Are you accessing AM directly or via the ADF layer. If the latter - I did not yet look at your sample - then this may work if you don't release the AM module you access directly (may not scale well)

  • Data Services and Flash Player 9.0.115

    Hi All,
    Yesterday, I upgraded flash to version 9.0.115 and since then
    Flex Data Services do not work. I'm using FDS with ColdFusion(an
    application which is a year old now, so I know it works properly).
    Just to be sure the upgrade performed properly I tried it on
    another computer with the same result. Is this a known issue with
    the flash upgrade? Do I need to recompile the flex app with the new
    flash? If so will this break in older versions of flash player
    after recompiling?
    I've downloaded the flash version 9 archive and tried
    installing a previous version but it will now allow the install
    since there is a newer version of flash available. I also
    downloaded the flash player uninstaller found here
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14157
    and rebooted and tried disconnecting the internet before
    installing(so it wouldn't see a newer version)
    Can anyone please help?

    Ive also been having this problem/bug in Firefox 2 and 3 for
    a while.
    While watching a Youtube video or any other video site, the
    video will suddenly stop and freeze Firefox after a total of
    watching about 15 min of content.
    However, i have not been able to use Internet Explorer
    sometimes any .exe after this bug happens.
    along with not just videos but other sites using flash player
    related material. The only way to repair my computer temporarily is
    to restart my computer and restrain myself from using flash player.
    Also, I attempted to resolve the issue by downgrading my
    player to 9,0,45,0 only to fail.
    My computer Specs are:
    Windows XP Professional
    Intel Pentium D  2.79 GHz 2.50GB of RAM
    NVIDIA GeForce 8600 GT
    Free: 3.73 GB/69.79 GB

  • Unable to create records in database using PHP Data Service

    Hello, I've been stuck on this for a few days and search up and down for this on the net, no response I've found has worked, so I come to you...
    Here are the steps I've taken, I think it's pretty standard
    1. I have a macbook pro running osx 10.7.3
    2. I installed MAMP all default (I've acually reinstalled this because someone suggested this might fix it)
    3. Thru phpMyAdmin I created a database called my_test
    4. In that database I created a table, this is the export of that table: (I've also tried this with InnoDB which is the default)
    CREATE TABLE `customer` (
      `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
      `name` varchar(50) NOT NULL,
      `email` varchar(150) NOT NULL,
      PRIMARY KEY (`id`),
      UNIQUE KEY `id` (`id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
    5. I created a new Flx Project (Running Flash Builder 4.5.1 Premium)
         Project Name: PHPTest
         Application Type: Desktop (Although I've done the same thing with Web and got the same results)
         >> Next
         Application Server Type: PHP
         Web Root: /Applications/MAMP/htdocs/
         URL Root: http://localhost:8888/
         Clicked 'Validate Configuration' and that worked
         Output Folder: /Applications/MAMP/htdocs/PHPService (default by Flash Builder)
         >> Finished
    6. On the Data/Services tab on the bottom I click 'Connect to Data/Service...'
         Select 'PHP'
         >> Next
         Select 'Click here to generate a sample'
         Select 'Generate from database' radio button
         Username: root
         Password: root (default for MAMP)
         Host name: localhost
         Server port: 8889 (default for MAMP MySQL port, the HTTP port default is 8888 which in both cases seem to work but every video I've seen that uses MAMP on youtube uses 8889)
         Database: my_test
         Click 'Test Connection' (works)
         Table: customer
         Primary Key: id (this field is greyed out and Flash Builder selects 'id' which it figures out from the SQL table)
         >> Click OK
    7. Then if I don't have the Zend Framework folder in my /Applications/MAMP/htdocs/ folder it tells me its going to create that and I say alright. Then Flash Builder says stuff about how this is really only for testing and not production server ready and I say alright.
    8. Then it takes me back to the Form from Step 6 when I get the chance to select 'Click here to generate a sample'
         These fields are now filled with this data automaticly:
         PHP Class: /Applications/MAMP/htdocs/PHPTest/services/CustomerService.php
         Service name: CustomerService
         Service package: services.customerservice
         Data type package: valueObjects
         >> Click Next (shows all the functions that will be now availible)
         >> Click Finished (End of the forms and it opens Dreamweaver to the php file it created CustomerService.php which I have no need to edit so I close that down)
    9. Back in Flash Builder I switch to design view and drag a datagrid onto the big white area in the middle, whatever that is called.
    10. Then below in Data/Services tab on the bottom I click drag the function 'GetAllCustomer' on top of the datagrid.
         I say yes to rebound and click ok and the view of the datagrid is updated with the colums from the 'customer' table in mySQL.
    (Now let me say that when I hit save and compile this, if I actually had records in this table that I insert thru phpMyAdmin, this does show in the datagrid. So for the whole CRUD thing I am able to get the R which is Read)
    11. Now going back to the design view in Flash Builder I will create a form to create records in the table... (I guess this isn't really a step)
    12. In the Data/Service tab on the bottom I select 'createCustomer' function and then there is an icon called 'Generate Form' that looks like a white piece of paper with a gear on the bottom of it.
    13. This opens up a new form and since I don't have a crazy bunch of fields in my table I just click Finished (If you click next you can specify which fields you want to exclude from the form but this time I don't need to)
    14. This actually creates 2 forms if you look at the code, the second just shows the return type from when you click 'CreateCustomer' button on the first form. Because they overlap in design view I drag the form out of the way so you can see the input form, the return form, and the datagrid
    15. Then I save and compile...
    (Also if your actually reading this I didn't remove the id form field, I get the same result either way, but if you do remove the form field in the code/design you also have to update the button function to not deal with the id before it gets sent off to the php page since in this case the MySQL table is set to auto_increment the id, sorry this doesn't make much sence but this little area doesn't matter much either way)
    16. Now fill in whatever data you want for name and email, try differnt numbers in the id field like 0, nothing, 1, 1000 and click 'CreateCustomer'
    (For me nothing happens, no return is put in the return field, no error pops up and the datagrid is not updated with the new record, also going over to phpMyAdmin and checking out the table browse doesn't show any changes either, I know the button is calling the function because if I add a state change in that function it changes, it would seem that the line:
    createCustomerResult.token = customerService.createCustomer(customer2); doesn't do anything)
    So any idea what is wrong here, I'm convenced it's something stupid easy simple I just can't see it.

    In case you need more info, here is a code dump on a mxml project that has this problem:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                           xmlns:s="library://ns.adobe.com/flex/spark"
                           xmlns:mx="library://ns.adobe.com/flex/mx"
                           xmlns:customerservice="services.customerservice.*"
                           xmlns:valueObjects="valueObjects.*"
                           currentState="State1">
        <fx:Script>
            <![CDATA[
                import mx.controls.Alert;
                import mx.events.FlexEvent;
                protected function dataGrid_creationCompleteHandler(event:FlexEvent):void
                    getAllCustomerResult.token = customerService.getAllCustomer();
                protected function button_clickHandler(event:MouseEvent):void
                    var customer2:Customer = new Customer();
                    customer2.id = parseInt(idTextInput.text);
                    customer2.name = nameTextInput.text;
                    customer2.email = emailTextInput.text;
                    currentState = "Test";
                    createCustomerResult.token = customerService.createCustomer(customer2);
            ]]>
        </fx:Script>
        <s:states>
            <s:State name="State1"/>
            <s:State name="Test"/>
        </s:states>
        <fx:Declarations>
            <s:CallResponder id="getAllCustomerResult"/>
            <customerservice:CustomerService id="customerService"
                                             fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)"
                                             showBusyCursor="true"/>
            <valueObjects:Customer id="customer"/>
            <s:CallResponder id="createCustomerResult"/>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <s:DataGrid id="dataGrid" includeIn="State1" x="330" y="10" width="392"
                    creationComplete="dataGrid_creationCompleteHandler(event)" requestedRowCount="4">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="id" headerText="id"></s:GridColumn>
                    <s:GridColumn dataField="name" headerText="name"></s:GridColumn>
                    <s:GridColumn dataField="email" headerText="email"></s:GridColumn>
                </s:ArrayList>
            </s:columns>
            <s:typicalItem>
                <fx:Object id="id1" email="email1" name="name1"></fx:Object>
            </s:typicalItem>
            <s:AsyncListView list="{getAllCustomerResult.lastResult}"/>
        </s:DataGrid>
        <s:Form includeIn="State1" defaultButton="{button}">
            <s:FormItem label="Id">
                <s:TextInput id="idTextInput" text="{customer.id}"/>
            </s:FormItem>
            <s:FormItem label="Name">
                <s:TextInput id="nameTextInput" text="{customer.name}"/>
            </s:FormItem>
            <s:FormItem label="Email">
                <s:TextInput id="emailTextInput" text="{customer.email}"/>
            </s:FormItem>
            <s:Button id="button" label="CreateCustomer" click="button_clickHandler(event)"/>
        </s:Form>
        <s:Form includeIn="State1" x="0" y="204">
            <s:FormItem label="CreateCustomer">
                <s:TextInput id="createCustomerTextInput" text="{createCustomerResult.lastResult as int}"/>
            </s:FormItem>
        </s:Form>
    </s:WindowedApplication>

  • Zend AMF Data Service Return Problem

    Hi Folks,
    I am working with FB4 and Zend AMF/PHP and MySQL.  I began integrating the PHP stuff using the great article by Mihai Corlan called 'Working in Flash Builder 4 with Flex and PHP.  I followed all the steps exactly, aside from creating my own app-specific PHP classes and functions, etc...  I 'hooked up' the Zend stuff just like the article, created a text datagrid, just like the article, and viola!, it worked.  I then tweaked it a bit and interwove it into my 'real' component.  So far, so good.
    Then I created a second PHP class with a different 'get data' type of function.  It queries a different table in MySQL, but is essentially the 'same' as the query/function in the initial PHP class.
    In FB, in the Data Services window, I choose the 'Connect to Data/Services' function, just like the first time.  I then find/select my PHP class file and FB 'interrogates it' enough to show me the function that exists in the class.  I 'finish' the operation and it adds a new 'service' to the list of services in that window.  Again, so far, so good.
    The problem comes when I try to 'test' the service or 'configure return types' (which basically requires a 'test' operation anyway).  I can enter the 'input' params just fine, but when I try to execute the call, I get the following error:
    InvocationTargetException:There was an error while invoking the operation. Check your operation inputs or server code and try invoking the operation again.
    Reason: An error occured while reading response sent by server. Try encoding the response suitably before sending it. e.g. If a database column contains UTF-8 characters then use utf8_encode() to encode its value before returning it from the operation.
    I don't know where to go after this.  Again - the 2nd PHP class is essentially identical to the 1st.  The function in it is essentially identical, differing only by the input params, the name of the function and the actual SQL it sends to MySQL.  There is no special text, no special characters, no image stuff, nothing.  I do not 'encode' the results of the function in the first class - in fact the code in the second class is practically identical to the first.  I do not know what the error is talking about.  My guess is that it's more of a generic message.
    I can debug the PHP code just fine from within a seperate instance of Eclipse.  The function runs/returns just fine - an array of PHP-defined objects (simple strings).
    Any insights or advice would be welcomed.   Thank you,
    -David Baron

    Thank Jorge, but that was not the issue, though, it may be related.
    I checked the mySQL my.ini file, and there was already an entry for:
    [mysql]
    default-character-set=utf8
    I added the 'default-collation=utf8_unicode_ci', like you suggested, but that didn't do anything.
    I checked the Apache httpd.conf file, and added the following line 'under' the "DefaultType text/plain" line:
    AddDefaultCharset UTF-8    but that did not do anything.
    I checked my mySQL database, all the tables involved.  They were already at UTF-8 (default).  However, some of the 'varchar' columns were defined as 'latin 1-default collation'.   I changed them all to utf-8 (default table collation), but that did not help either.
    Finally, I found the problem, though I don't really know if it is "my" problem, or ZendAMF's problem, or Adobe's problem.
    It turned out that 'some' of my data had a 'bad' character in it.  Specifically, I had 'copied and pasted' some data from MS Word into mySQL Workbench.  Some of the data included the 'elipsis' character - you know, when you type "..." (dot dot dot) in MS Word, it replaces the three periods with a single elipsis character.  Although PHP could easily query and assemble this data into a nice object array, I noticed that that character showed up (in PHP's debugger) as a 'box' character, meaning "bad character".  Thus, I guess, Zend AMF and/or FlashBuilder could not 'bring over' and/or deal with this type of character.  As soon as I replace the few instances of that character with three periods, everything began to work perfectly.
    So... what to do about this?  I thought I was through with silly encoding/decoding of data when I left JavaScript and HTML behind in moving to FlashBuilder technology.  Am I really going to have to worry about this kind of thing?  Or might this be a bug/deficiency somewhere in the stack?
    Thanks for your help,
    -David

  • Data Services 4.0 error when running job - not updating repository table

    Hi All,
    I am hoping someone might have come across this error before.
    When running a data services job, from within Data Services Designer, when trying to re-run the same job, I get the following error messages:
    9332     2572     DBS-070300     17/10/2011 10:38:39 AM     |Data flow DF_XXXX_Data_DW1Date
    9332     2572     DBS-070300     17/10/2011 10:38:39 AM     SQL submitted to Oracle Server <BO3> resulted in error <ORA-00001: unique constraint (DS3_ADMIN.SYS_C005632) violated
    9332     2572     DBS-070300     17/10/2011 10:38:39 AM     >. The SQL submitted is <INSERT INTO AL_BW_REQUEST (REQUESTID,TYPE,VALUE,DF_NAME,CREATION_TIME) VALUES (
    9332     2572     DBS-070300     17/10/2011 10:38:39 AM     'REQU_4NIVIZ1G9S5B7LUY0HHP65ZJU', 3 , '29', 'DF_XXXX_Data_DW1Date',  to_date('2011.10.17 10:38:39', 'yyyy.mm.dd
    9332     2572     DBS-070300     17/10/2011 10:38:39 AM     hh24:mi:ss') )>.
    9332     2572     REP-100109     17/10/2011 10:38:39 AM     |Data flow DF_XXXX_Data_DW1Date
    9332     2572     REP-100109     17/10/2011 10:38:39 AM     Cannot save <RequestID info> into the repository. Additional database information: <SQL submitted to Oracle Server <BO3>
    9332     2572     REP-100109     17/10/2011 10:38:39 AM     resulted in error <ORA-00001: unique constraint (DS3_ADMIN.SYS_C005632) violated
    When I go and look into the Data Services repository AL_BW_REQUEST  table, the first time the job is run, all five fields in this table populate with data successfully. When re-running the job, on 3 out of the five fields within this table are populated but the VALUE and DF_NAME field are not populated, hence causing the primary key violation.
    Here is the data below from the AL_BW_REQUEST  table:
    REQUESTID                                      TYPE  VALUE     DF_NAME                               CREATION_TIME
    REQU_4NIVIZ1G9S5B7LUY0HHP65ZJU     3                      10/17/2011 10:38:38 AM
    REQU_4NJ503RVIFD3VLBJJEKBJ3OE2     3                       10/17/2011 10:33:37 AM
    REQU_4NJ4ZHSP9F93L3OAUDV6RHCMY     3                       10/17/2011 10:32:31 AM
    REQU_4NIV1NKP9645E394E7H12Q796     3                      10/17/2011 9:53:53 AM
    REQU_4NEYFNI2U68MBJOEWFJWVWWU2     3  24     DF_XXXX_Data_DW1Date      10/17/2011 9:47:58 AM
    If I truncate this table and re-run the DS job, it will not populate the VALUE and DF_NAME fields. 
    Does anyone know what could be causing this? The target source is BW.
    Seems like a bug to me.
    Thanks,
    Ainsley

    Hi Ramesh,
    Am a HANA apps consultant in India, would like to get in touch with you. but don't know how
    regards,
    Tilak

Maybe you are looking for

  • Error while load the data from CSV with CTL file..?

    Hi TOM, When i try to load data from CSV file to this table, CTL File content: load data into table XXXX append      Y_aca position char (3),      x_date position date 'yyyy/mm/dd' NULLIF (x_date = ' '), X_aca position (* + 3) char (6) "case when :Y_

  • AAAArrrrhhhh!!!!

    I have had Itunes on my Windows 95 comp since xmas, I have just had broadband put on the computer and I cant open Itunes. There is no eror message, It just isn't opening at all, My ipod can play and charge but I cant update. Please give me some answe

  • When I try to send an iMessage from my iMac to her iPhone (text) I am told her number is not registered. How do I register?

    When I try to send an iMessage from my iMac to a friend on her iPhone (text) I am told her number is not registered. How do I register?

  • Modules in Healthcare

    What are the main modules in the Healthcare arena? Thanks Guillaume Massey RDBMS Manager [email protected]

  • Slow browser - plz help :)

    Hi all still trying to solve my speed prob Here's the setup: Mac Pro hadwired to AEBS with a mac address DHCP reservation: 192.168.1.2 i can connect to internet but the pages take about 10 secs to load On my wireless powerbook pages load in about 1 s