Cfhttp post to AWS S3 works in CF9 but fails in CF10

I'm using the Instructure Canvas API for uploading files. After the initial API call, Canvas returns information that is used to make a POST request to Amazon Web Services's S3 service to upload a file.
Here is the request I'm using to post the file to AWS S3, populated with the data returned by the Canvas API:
<cfhttp url="#aws.upload_url#" result="result" method="post" multipart="yes">
          <cfhttpparam type="formfield" name="key" value="#aws.upload_params.key#" />
          <cfhttpparam type="formfield" name="acl" value="#aws.upload_params.acl#" />
          <cfhttpparam type="formfield" name="Filename" value="#photoName#" />
          <cfhttpparam type="formfield" name="AWSAccessKeyId" value="#aws.upload_params.AWSAccessKeyId#" />
          <cfhttpparam type="formfield" name="Policy" value="#aws.upload_params.Policy#" />
          <cfhttpparam type="formfield" name="Signature" value="#aws.upload_params.Signature#" />
          <cfhttpparam type="formfield" name="Content-Type" value="#aws.upload_params['content-type']#" />
          <cfhttpparam type="formfield" name="success_action_redirect" value="#aws.upload_params['success_action_redirect']#" />
          <cfhttpparam type="file" name="file" file="#fullPath#" />
</cfhttp>
This request works on a ColdFusion 9 server (the response returns "200 OK"), but fails on a ColdFusion 10 server (the response returns "500 Internal Server Error"). The Canvas API call works in both cases.
Any ideas or suggestions appreciated.

Thanks for the replies. I used cfdump to examine the results, but other than a custom 500 error page, I didn't see anything out of the ordinary.
Using CF's built-in S3 capabilities may work. I haven't used it before and so I was just following the steps provided in Canvas's documentation. I am not positive how to use the data returned from the initial Canvas API call to form the S3 request. I tried the following:
<cffile
    action="write"
    output="S3 Specifications"     file="s3://#jsonData.upload_params.AWSAccessKeyId#:#jsonData.upload_params.policy#@#Repla ce(jsonData.upload_url,'https://','','ALL')##jsonData.upload_params.key#"/>
Assuming that the returned policy value (a 545-character random string) is the secrect key and that the upload_params_key should be appended to the bucket location (it looks approximately like this: account_XXXXX/attachments/XXXXXXXX/XXXXXXXXXX.jpg). I was getting a SignatureDoesNotMatch error from that request.
Additionally, I tried sending the requests to a basic web server that should capture the request data and write them to a file. It doesn't look like it worked like I expected it to--I'm not sure why neither instance includes all the data--but here are the results in case they are relevant:
CF9:
POST / HTTP/1.1
Host: osric.com:50000
Connection: close, TE
TE: trailers, deflate, gzip, compress
User-Agent: ColdFusion
Accept-Encoding: deflate, gzip, x-gzip, compress, x-compress
Content-type: multipart/form-data; boundary=-----------------------------7d0d117230764
Content-length: 6289
CF10:
POST / HTTP/1.1
User-Agent: ColdFusion
Content-Type: multipart/form-data; boundary=-----------------------------7d0d117230764
Connection: close
Content-Length: 6289
Host: osric.com:50000
-------------------------------7d0d117230764
Content-Disposition: form-data; name="key"
Content-Type: text/plain; charset=UTF-8
account_XXXXX/attachments/XXXXXXXX/XXXXXXXXX.jpg
-------------------------------7d0d117230764
Content-Disposition: form-data; name="acl"
Content-Type: text/plain; charset=UTF-8
private
-------------------------------7d0d117230764
Content-Disposition: form-data; name="Filename"
Content-Type: text/plain; charset=UTF-8
XXXXXXXXX.jpg
-------------------------------7d0d117230764
Content-Disposition: form-data; name="AWSAccessKeyId"
Content-Type: text/plain; charset=UTF-8
XXXXXXXXXXXXXXXXXXXXXX
-------------------------------7d0d117230764
Content-Disposition: form-data; name="Policy"
Content-Type: text/plain; charset=UTF-8
XXXXXXXXXXXXXXXXXXXXX[...lots of characters...]XXXXX
-------------------------------7d0d117230764
Content-Disposition: form-data; name="Signature"
Content-Type: text/plain; charset=UTF-

Similar Messages

  • Connection to db works with ezconnect but fails with tnsnames.ora

    Hi,
    When I try to connect to remote datbase using 10g ezconnect, it works fine. But when I tried to connect to same database using tnsnames.ora, it fails:
    sqlnet.ora on client side:
    ================
    ###SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH=(tnsnames, onames, hostname, ezconnect)
    tnsnames.ora on client side
    =================
    MRAP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = moody)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = MRAP.ALBILAD.COM)
    Listener On DB Server:
    ===============
    $ lsnrctl status
    LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Production on 04-APR-2010 16:29:16
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=moody)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Production
    Start Date 04-APR-2010 16:28:59
    Uptime 0 days 0 hr. 0 min. 16 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP ON
    Listener Parameter File /u01/app/oracle/product/10.2.0/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/10.2.0/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=moody)(PORT=1521)))
    Services Summary...
    Service "mrap.albilad.com" has 1 instance(s).
    Instance "mrap", status READY, has 1 handler(s) for this service...
    Service "mrapXDB.albilad.com" has 1 instance(s).
    Instance "mrap", status READY, has 1 handler(s) for this service...
    Service "mrap_XPT.albilad.com" has 1 instance(s).
    Instance "mrap", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Now, on client, when I connect with each of methods written above, following is output:
    C:\Documents and Settings\c900796>sqlplus ingrian/[email protected]:1521/mrap.albilad.com
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 4 16:57:18 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> show user;
    USER is "INGRIAN"
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64
    bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    C:\Documents and Settings\c900796>sqlplus ingrian/ingrian@mrap
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 4 16:57:25 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Enter user-name:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
    C:\Documents and Settings\c900796>
    What do you suspect could be the issue?
    Br,
    Anjum

    C:\Documents and Settings\c900796>sqlplus ingrian/ingrian@mrap
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 4 16:57:25 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specifiedstates, in no uncertain terms, that the system can not find the @mrap in the TNS translation methods. Usually that indicates a problem in finding the correct entry in the correct tnsnames.ora file. Some related thoughts:
    1) The LIST of methods allowed is found in SQLNET.ORA on the client. If multiple methods are in the list, the client will step through the methods.
    It is possible that you do not have method calling the TNSNAMES.ORA file in the list. (You appear to have that.)
    2) The mrap must be one of the entries on the left hand side of te equals sign of a stanza.
    MRAP = (DESCRIPTION (appears to provide that)
    3) The SQLNET.ORA could provide a 'default domain' to append on the end of the lookup value in TNSNAMES.ORA
    Not sure whether your post of the sqlnet.ora selectred only a few lines or the entire file.
    4) Variable issues can exist.
    - The TNS_ADMIN variable may be used to force the use of a specific directory instead of %ORACLE_HOME%\network\admin .
    - ORACLE_HOME can be adjusted by a variety of methods, and may be in both teh registry and the system environment

  • IDVD 8.0 chapters work in preview but fail on DVD burn

    Hi All-
    I have been looking around and it seems like I am up against a software bug in iDVD 8.0, but I wanted to be sure.
    I have a project with a movie that I imported from iMovie via media browser to iDVD 8.0
    I made chapters in iDVD 8.0 using the 5 minute spacing.
    I finished the project (lots more, slide shows etc etc)
    I preview the project in iDVD using the play button
    -Everything works perfectly, chapters link to appropriate video
    I burn the disc either directly, or image it and then burn with disc utility
    -The DVD works except for the chapters.
    If I select the "beginning" chapter from my chapters submenu the Video starts correctly.
    If I try to select chapter 2-12 nothing happens. It is as if the links are disabled.
    I tried it again in the iDVD application preview and it works perfectly. I tried the disc in three different computers and it always fails.
    This is very annoying, I almost cannot believe that such a simple obvious bug would be left in a distributed piece of software. But... thats apparently what everyone is saying. So... is it true or am I doing something stupid.
    Finally, the solution (work around for a bug fix apple is not making), can I indeed place chapter markers in garage band and then export the movie to media browser and reimport it into iDVD and will the existing chapters update to reflect the correct placement? If this works, its great with me because I can make meaningful chapter markers, to be honest this every 5 minute stuff is useless but is marginally better than fast forward.
    Thanks for any response. I know I have suggested an answer to my own question, but I was rather hoping that by doing this someone could tell me another way, and correct whatever it is I am doing wrong. If garage band or Imovie HD 6 is the only way, perhaps someone could post or link to a discussion on the details of how to do that stuff.

    There have been several posts on this forum regarding scene selection issues / buttons that don't always link properly to their respective / appropriate chapters or scenes. Menu navigation can be problematic within iDvd'08. This is much less of an issue within Roxio Toast and DVDSP (apple's top end dvd authoring software part of FCS2).
    You may want to use the iDvd feedback web form located within iDvd once the app is launched .... simply go to the menu and scroll down to provide iDvd Feedback. Apple WILL take note of requests for added features and / or an update request to resolve a specific issue. It won't happen instantly, but it will get apple's attention.
    In the meantime, here's what I'd recommend that does work for me .... iM6=>iDvd'08:
    Download iMovie 6 free from apple provided you already have iLife'08:
    http://www.apple.com/support/downloads/imovieHD6.html

  • PB Filter working in Toolkit, but fails to give same result in Flash Player

    I'm playing with the excellent LittlePlanet filter by Tom Beddard. The results in the PixelBender toolkit(2.6.453492)  are amazing, but when I try to use the PBJ as a filter in Flash the output is entirely different.
    I have built a few filters and implemented numerous others all with no problems and fantastic results, but LittlePlanet (I also have the same issue with the Escher Droste kernels) is being a pain.
    Here is the kernel that I'm using:
    #define PI 3.141592653589793
    #define TWOPI 6.283185307179586
    #define HALFPI 1.570796326794897
    #define PI180 0.017453292519943
    #define DEBUG 0
    <languageVersion : 1.0;>
    kernel LittlePlanet
    <   namespace : "com.subblue";
        vendor : "Tom Beddard - www.subblue.com";
        version : 2;
        displayname: "Little Planet";
        description : "Generates a stereographic projection from an equirectangular panorama image to create 'little planet' type images.";
    >
        parameter float2 size
        <
            minValue: float2(200, 200);
            maxValue: float2(4096, 4096);
            defaultValue: float2(480, 320);
            stepInterval: float2(1, 1);
            displayName: "Input image size";
            componentName: "Width|Height";
            aeDisplayName: "Input image size";
        >;
        // Seems buggy on OSX
        parameter float2 size
        <
            defaultValue: float2(1024, 512);
            displayName: "Input image size";
            componentName: "Width|Height";
            aeDisplayName: "Input image size";
            parameterType: "inputSize";
        >;
        parameter float2 outputSize
        <
            minValue: float2(200, 200);
            maxValue: float2(4096, 4096);
            defaultValue: float2(480, 320);
            stepInterval: float2(1, 1);
            displayName: "Output image size";
            componentName: "Width|Height";
            aeDisplayName: "Output image size";
        >;
        parameter float2 center
        <
            minValue: float2(-1, -1);
            maxValue: float2(1, 1);
            defaultValue: float2(0, 0);
            stepInterval: float2(0.01, 0.01);
            componentName: "X|Y";
            displayName: "Center point";
            aeDisplayName: "Center point";
        >;
        parameter float longitude
        <
            minValue: 0.0;
            maxValue: 360.0;
            defaultValue: 0.0;
            stepInterval: 0.5;
            displayName: "Longitude offset";
            aeDisplayName: "Longitude offset";
            aeUIControl:"aeAngle";
        >;
        parameter float latitude
        <
            minValue: 0.0;
            maxValue: 360.0;
            defaultValue: 90.0;
            stepInterval: 0.5;
            displayName: "Latitude offset";
            aeDisplayName: "Latitude offset";
            aeUIControl:"aeAngle";
        >;
        parameter float rotate
        <
            minValue: -360.0;
            maxValue: 360.0;
            defaultValue: 0.0;
            stepInterval: 0.5;
            displayName: "Rotate";
            aeDisplayName: "Rotate";
            aeUIControl:"aeAngle";
        >;
        parameter float zoom
        <
            minValue: 0.1;
            maxValue: 10.0;
            defaultValue: 0.4;
            stepInterval: 0.01;
            displayName: "Zoom";
            aeDisplayName: "Zoom";
        >;
        parameter float wrap
        <
            minValue: -2.0;
            maxValue: 2.0;
            defaultValue: -0.16;
            stepInterval: 0.01;
            displayName: "Wrap effect";
            aeDisplayName: "Wrap effect";
        >;
        parameter float twist
        <
            minValue: -1.0;
            maxValue: 1.0;
            defaultValue: -0.08;
            stepInterval: 0.01;
            displayName: "Twist effect";
            aeDisplayName: "Twist effect";
        >;
        parameter float bulge
        <
            minValue: -1.0;
            maxValue: 1.0;
            defaultValue: 0.0;
            stepInterval: 0.01;
            displayName: "Bulge effect";
            aeDisplayName: "Bulge effect";
        >;
        input image4 src;
        output pixel4 dst;
        void
        evaluatePixel()
            float2 hsize = size * 0.5;
            float2 rads = float2(PI / hsize.x, HALFPI / hsize.y);                // Radians per pixel
            float4 color = float4(0);
            float2 ps = float2(0);
            float rc = cos(radians(rotate));
            float rs = sin(radians(rotate));
            float2x2 rotation = float2x2(rc, rs, -rs, rc);
            #if DEBUG
            float3 guide = float3(0, 0, 0);
            float w = 0.05;
            #endif
                    float2 p = (outCoord() + ps - outputSize * 0.5 - center * outputSize) / size.y;
                    p *= rotation;
                    // Stereographic projection
                    float r = length(p);
                    float c = 2.0 * atan(r, 0.5 * (zoom + bulge));
                    float cc = cos(c);
                    float sc = sin(c);
                    float cl = cos(radians(latitude));
                    float sl = sin(radians(latitude));
                    float lat = asin(cc * sl + (p.y * sc * cl) / r) + (wrap * PI);
                    float lon = radians(longitude) + atan(p.x * sc, (r * cl*cc - p.y * sl * sc));
                    // Twist
                    lon += twist * r * PI;
                    // Wrap longitude
                    lon = mod(lon + PI, TWOPI) - PI;
                    if (wrap != 0.0) {
                        // Reflect the top and bottom to get smooth wrapping
                        if (lat > TWOPI) {
                            // Second inner sky reflection (+wrap)
                            #if DEBUG
                            if (lat < TWOPI + w) guide = float3(0, 1, 0);
                            #endif
                            lat = mod(abs(lat), HALFPI);
                        } else if (lat > TWOPI - HALFPI) {
                            // First inner sky reflection (+wrap)
                            #if DEBUG
                            if (lat < TWOPI - HALFPI + w) guide = float3(1, 0, 0);
                            #endif
                            lat = mod(abs(lat), HALFPI) - HALFPI;
                        } else if (lat > HALFPI) {
                            // First ground reflection (+wrap)
                            #if DEBUG
                            if (lat < HALFPI + w) guide = float3(0, 1, 0);
                            #endif
                            lat = PI - lat;
                        } else if (lat < -TWOPI) {
                            // Second outside sky reflection (-wrap)
                            #if DEBUG
                            if (lat > -TWOPI - w) guide = float3(0, 0, 1);
                            #endif
                            lat = -mod(abs(lat), HALFPI);
                        } else if (lat < -TWOPI + HALFPI) {
                            // Second outside ground reflection (-wrap)
                            #if DEBUG
                            if (lat > -TWOPI + HALFPI - w) guide = float3(0, 1, 1);
                            #endif
                            lat = HALFPI - mod(abs(lat), HALFPI);
                        } else if (lat < -PI) {
                            // First outside ground reflection (-wrap)
                            #if DEBUG
                            if (lat > -PI - w) guide = float3(0, 1, 0);
                            #endif
                            lat = mod(abs(lat), HALFPI);
                        } else if (lat < -HALFPI) {
                            // First outside sky reflection (-wrap)
                            #if DEBUG
                            if (lat > -HALFPI - w) guide = float3(0, 0, 1);
                            #endif
                            lat = -HALFPI + mod(abs(lat), HALFPI);
                    // Convert back to equirectangular coordinates
                    float2 op = -float2(lon, lat) / rads;
                    op.y += bulge * r * hsize.x;
                    color += sampleLinear(src, clamp(hsize - op, float2(0.5), size - float2(0.5)));
                    #if DEBUG
                    if (guide != float3(0)) color.rgb += guide * 0.5;
                    #endif
            dst = color;

    First of all, Tom Beddard writes amazing Pixel Bender filters, we've always been blown away by the imagination and quality of his work.
    There's nothing in the kernel itself that looks suspicious, and when I run it in Flash mode in the toolkit I get reasonable looking results. Can you come up with a particular set of parameters that shows the problems, and attach images showing the correct and incorrect output.
    Also, it isn't clear to me whether the problems you're seeing are in the toolkit using flash mode, or in your own Actionscript code. If it's in your own code can you post the complete AS application that you're running, it could be that there's a problem with the way you're getting data into and out of the shader.
    There are also a number of good tutorials online, some from Adobe folks, some from people in the community. I'll put a short list here:
    http://blog.leeburrows.com/2011/01/pixelbender-filters-1/
    http://www.adobe.com/devnet/pixelbender.html
    http://aswebcreations.com/?p=288
    http://www.mikechambers.com/blog/2008/09/08/using-pixel-bender-filters-within-flex/
    Bob

  • FTP connection on mobile device works over wifi but fails over 3G

    Hi all,
    Hoping someone can help, or has come across this issue.
    I am developing a mobile app using flash builder 4.6 with the flex 4.6 sdk. My app needs to transfer files via ftp.
    The issue I am experiencing is that the ftp connection establishes and files transfer without a problem when connected via wifi, on both android and ios platforms.
    However, when only connecting via a 3G connection on a device, a problem occurs. While I can establish a connection, when I send the USER command, I never receive a response.
    A simple view with code to reproduce this issue is listed below. Has anyone come across this problem? I have been searching far and wide but cannot find anything related.
    Could this be an issue with Adobe Air or the socket class? I have written equivalent code using the android sdk in eclipse, and a connection to the same server and user details works on both wifi and 3g connections.
    Any help would be appreciated.
    Thanks.
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView">
              <fx:Script>
                        <![CDATA[
                                  private var commands:Array;
                                  private var s:Socket;
                                  private var data_channel:Socket;
                                  private function connectToFtp():void
                                            var ftp_response:String;
                                            var data_response:String;
                                            var data_channel_ip:String;
                                            var data_channel_port:int;
                                            s = new Socket();
                                            s.addEventListener(Event.CLOSE, closeConnection);
                                            s.addEventListener(Event.CONNECT, connectionMade);
                                            s.addEventListener(IOErrorEvent.IO_ERROR, showError);
                                            s.addEventListener(SecurityErrorEvent.SECURITY_ERROR, showSecError);
                                            s.addEventListener(ProgressEvent.SOCKET_DATA, receiveReply);
                                            s.connect("mydomain.com", 21);
                                            function receiveReply(e:ProgressEvent):void{
                                                      ftp_response = s.readUTFBytes(s.bytesAvailable);
                                                      trace(ftp_response);
                                                      var code:String = ftp_response.substr(0, 3);
                                                      if (code == "220")
                                                                // connected.
                                                                // send user command
                                                                 s.writeUTFBytes("USER myUserName\n");
                                                                s.flush();
                                                      else if (code == "331")
                                                                // user command sent. password required
                                                                // send password
                                                                s.writeUTFBytes("PASS myPassword\n");
                                                                s.flush();
                                                      else if (code == "230")
                                                                // login successful
                                                                // change directory
                                                                s.writeUTFBytes("CWD /fibreSyncFtp/\n");
                                                                s.flush();
                                                      else if (code == "250")
                                                                // change directory successful
                                                                // send passive command
                                                                s.writeUTFBytes("PASV\n");
                                                                s.flush();
                                                      else if(code == "227")
                                                                //get the ip from the string response
                                                                var temp:String = ftp_response.substring(ftp_response.indexOf("(") + 1, ftp_response.indexOf(")"));
                                                                var data_channel_temp:Array = temp.split(",");
                                                                data_channel_ip = data_channel_temp.slice(0,4).join(".");
                                                                //calculate the port number from the last two digits - if this makes no sense, google
                                                                // FTP PROTOCOL - there are loads of guides that explain the server responses.
                                                                data_channel_port = parseInt(data_channel_temp[4]) * 256 + int(data_channel_temp[5]);
                                                                data_channel = new Socket(data_channel_ip, data_channel_port);
                                                                data_channel.addEventListener(ProgressEvent.SOCKET_DATA, receiveData);
                                                                s.writeUTFBytes("LIST\n");
                                                                s.flush();
                                                      else if (code == "125")
                                                                //use the new IP to open a second socket - this will transmit the data.
                                                                // Your first socket will transmit any commands you issue and this new socket will transmit the data
                                                      else if (code == "226")
                                                                // transfer complete
                                                                // close the connection
                                                                //s.close();
                                                      else if (code == "425")
                                                                // can't open connection
                                            function connectionMade(e:Event):void
                                                      trace("Connection Made");
                                            function receiveData(e:ProgressEvent):void{
                                                      data_response = data_channel.readUTFBytes(data_channel.bytesAvailable);
                                                      trace(data_response);
                                            function showError(e:IOErrorEvent):void{
                                                      trace(e.text);
                                            function showSecError(e:SecurityErrorEvent):void{
                                                      trace(e.text);
                                            function closeConnection(e:Event):void{
                                                      trace(e.type);
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
              <s:Button top="10" label="FTP" click="connectToFtp()" horizontalCenter="0"/>
    </s:View>

    Probably you need to write your own AIR native extension, which uses the native Android sockets..I have the same problem and I'm just starting writing the extension...I guess there is no other way..At least you test with native android socket and you confirm is fine, so we know it should work

  • Mapping works fine alone but fails in Process flow

    Hi All,
    I have got a mapping which runs fine alone, but not in the process flow. I am using OWB 10gR2 (10.2.0.1.31).
    Any thoughts??
    This is mapping is used for Update.
    Thanks in advance.

    I think it's will show error message in Job Detail Windows,
    don't track only status pic, cause that pic just the End_Success operator in OWB.
    if you need to know,lets try working fine mapping and connect it to the END_ERROR operator
    they will return Error status picture,
    Solution : Set condition in the line between any operator
    Sorry about my English Language, ;p
    Thx you

  • Air project works in test but fails when installed.

    I have a little project I'm trying to put together as a stand-alone widget.  It loads some sounds that are set up in sets and saved in a subdirectory of the application directory.  I have a movie clip in the library that appears when the "Config" button is pressed.
    Works great in test mode.  The sounds are loaded and play.  The config screen shows up when the button is pressed.  The components (two sliders) work and their listeners fire.  Wonderful!
    But when I pack it up as an installable AIR file and then actually install it on my poncuter, epic fail.  The sliders don't appear, the config button doesn't call up the configure movieClip and no sounds are played.  The buttons that I placed on the stage at design time appear but don't appear to function.  Nothing I added programmatically appears.
    Is this an Adobe CS3 problem or did I miss something in the security sandbox?  No files are being written to,  I'm getting a directory listing of ./sets and then opening the files in that directory where .isDirectory comes up false.  The files are XML and point to a folder off the ./sets folder and the files in that set.
    I could probably track this but I have no experience debugging an AIR project.  Trace is not working in development.  How do people debug the final?  Output to a dynamic text field?

    Sorry to hear you are having a tough go of it...
    there should be no reasons that your application functions differently debugging than when you install the application so the behavior you are seeing is likely something easy to fix (as opposed to having to re-write a bunch of AS code :D).
    Couple of Questions:
    1.) Are you using CS3 as-is out of the box - or did you manually upgrade your AIR SDK inside Flash Professional to target a later version?
    2.) What version of AIR are you targeting?
    3.) What version of AIR do you have installed on your system?
    4.) What OS are you running on?
    5.) Can you install any AIR applications on your machine and have them run properly? (Bunch of AIR apps here: http://www.adobe.com/go/airmarketplace)
    6.) It sounds like you are likely using CS3 and not the command line tools - but if you are using the command line tools (ADT) to create your AIR package what command line do you use to create it?
    That should help get things rolling...but likely the best course of action is for you to send us your project so we can take a look. You can send your project to cthilgen at adobe.com - please do not send a zip as our mail system will auto-reject it.
    Also, you should be able to get trace output. If you are using CS3 the trace output goes to the output panel. (Windows->Output) If you are using the AIR command line tools (ADL) - debug output is enabled by default (you have to manually pass -nodebug to turn it off).
    Hope this helps.
    Thanks,
    Chris Thilgen
    AIR Engineering

  • Opening cursor works in 8i but fails in 9i

    I am writing a multithread application which uses proC to talk with Oracle. It works fine with 8i but it crashes with 9i. (Running with 8i library on one PC, but connects to 9i database on another PC) The same code is as below:
    The program crashes with it opens a cursor, in cpp..
    sqlcxt(&_sql_ctx, &sqlctx, &sqlstm, &sqlfpn);
    int GL_DBOracleCacheClient::getNoSecurity(int numExchange, char** exchangeId)
         EXEC SQL BEGIN DECLARE SECTION;
              long out_SecCount; short out_SecCount_ind;
              sql_context     sqlctx = sql_ctx;
              VARCHAR          stmt[65533];
         EXEC SQL END DECLARE SECTION;
         char tmpStmt[65533];
         strcpy(tmpStmt, "SELECT count(secid) FROM security WHERE ");
         for (int i = 0; i < numExchange; i++)
              strcat(tmpStmt, "exchgId='");
              strcat(tmpStmt, exchangeId);
              strcat(tmpStmt, "' ");
              if (i < numExchange-1)
                   strcat(tmpStmt, "OR ");
         VARCHAR_NCPY(stmt, tmpStmt);
         EXEC SQL CONTEXT USE :_sql_ctx;
         EXEC SQL PREPARE sql_stmt FROM :stmt;
         if (sqlca.sqlcode != 0)
              LOG_ERR("GL_DBOracleCacheClient::getNoSecurity", "Fail to prepare the SQL statement: " << SQLERRMC);
              return -1;
         EXEC SQL CONTEXT USE :_sql_ctx;
         EXEC SQL DECLARE sectyCountCursor CURSOR FOR sql_stmt;
         if (sqlca.sqlcode != 0)
              LOG_ERR("GL_DBOracleCacheClient::getNoSecurity", "Fail to declare the cursor.");
              return -1;
         EXEC SQL OPEN sectyCountCursor;
         if (sqlca.sqlcode != 0)
              LOG_ERR("GL_DBOracleCacheClient::getNoSecurity", "Fail to open the cursor.");
              return -1;
         EXEC SQL FETCH sectyCountCursor INTO
              :out_SecCount:out_SecCount_ind;
         if (out_SecCount_ind == 0 && sqlca.sqlcode == 0)
              TRACE("GL_DBOracleCacheClient::getNoSecurity:", out_SecCount);
              EXEC SQL CLOSE sectyCountCursor;
              return out_SecCount;
         else
              EXEC SQL CLOSE sectyCountCursor;
              return -1;

    Sorry to hear you are having a tough go of it...
    there should be no reasons that your application functions differently debugging than when you install the application so the behavior you are seeing is likely something easy to fix (as opposed to having to re-write a bunch of AS code :D).
    Couple of Questions:
    1.) Are you using CS3 as-is out of the box - or did you manually upgrade your AIR SDK inside Flash Professional to target a later version?
    2.) What version of AIR are you targeting?
    3.) What version of AIR do you have installed on your system?
    4.) What OS are you running on?
    5.) Can you install any AIR applications on your machine and have them run properly? (Bunch of AIR apps here: http://www.adobe.com/go/airmarketplace)
    6.) It sounds like you are likely using CS3 and not the command line tools - but if you are using the command line tools (ADT) to create your AIR package what command line do you use to create it?
    That should help get things rolling...but likely the best course of action is for you to send us your project so we can take a look. You can send your project to cthilgen at adobe.com - please do not send a zip as our mail system will auto-reject it.
    Also, you should be able to get trace output. If you are using CS3 the trace output goes to the output panel. (Windows->Output) If you are using the AIR command line tools (ADL) - debug output is enabled by default (you have to manually pass -nodebug to turn it off).
    Hope this helps.
    Thanks,
    Chris Thilgen
    AIR Engineering

  • Disk Utility works for FAT but fails for Mac OS Extended

    Hi Folks,
    I have a 2TB WD My Book drive that I am trying to format as Mac OS Extended for Time Machine. Disk Utility will cheerfully format it as FAT (the FAT drive shows up in finder and seems to work fine), but won't format it as Mac OS Extended. I'm trying to figure out whether this is a hardware error, or whether I am doing something wrong.
    To format it for Mac OS Extended, I am going into the partition tab, removing the current (FAT) partition, and adding a new Mac OS Extended partition. When I do this, Disk Utility shows the new partition as "grayed out" and it does not mount in Finder.
    If I run Verify and Repair, I get the following errors:
    Verify and Repair volume “Untitled 1”
    Checking Journaled HFS Plus volume.
    Invalid node structure
    Invalid B-tree node size
    Invalid record count
    Invalid B-tree node size
    The volume could not be verified completely.
    Volume repair complete.Updating boot support partitions for the volume as required.Error: Disk Utility can’t repair this disk. Back up as many of your files as possible, reformat the disk, and restore your backed-up files.
    Am I doing something wrong here, or does this sound more like a hardware failure?
    Thanks!

    @kbd1: Yes, if I erase the disk from the erase tab and format it as MS-DOS (FAT) the disk works just fine. If I erase and format it as Mac OS Extended, I get the same errors listed above and it doesn't mount.
    @Thomas: Yes, if I set the format to GUID I get the same errors. I've even tried setting up two partitions: one FAT and one GUID and the FAT one mounts and the GUID one doesn’t.
    So, from both of your responses it sounds like hardware, which makes sense. What is strange to me is that it works as a FAT drive...
    Message was edited by: terpfan

  • BEx query Authorization works in BW but fails in WebI

    Have a BEx query which has 5 fields marked as authorization relevent.  Some of the fields use BW Auth variable in the BEx query, although not all fields do.  The BEx query runs fine and does not throw any authorization failures.  One of the fields is Org Unit, which uses hierarchy node variable.  This field and its user variable exist in two different queries, using different multiprovider. 
    One BEx query and its corresponding universe and WebI report fails when user tries to refresh Org Unit prompt values in WebI, however a secondar query with identical field and variable does not fail.  A trace on BW side does not reveal any authorization failures.  We tried refreshing the universe and even creating a whole new universe, refreshing it, etc.. however the issue is not resolved. 
    Has anyone seen this problem before?  If so, how did you resolve it.

    Hi,
    You need Single sign-on (SSO).
    Regards

  • OSD works on one but fails on subsequent systems error 0x800700002

    SCCM 2012 OSD deployment error 0×80070002
    In the last 5 days we are seeing this
    error code 0×80070002 when we try to deploy systems.
    If we start more than one system before letting the first task sequence
    OS download the .wim file we see this error on all subsequent systems we
    are trying to deploy. (Note the first system will deploy and complete
    the task just fine)
    We tried removing and re-adding the network access account and also
    setting up a new one with the same results , nothing in the smsts log of
    the failed system it just stops logging. Also tried to copy the .win
    from the DP pkg share from the command prompt on the failed system and I
    get this message: (process cannot access the file because it is being
    used by another process).
    if I try and copy the file from two desktop system though windows file
    explorer they copy just fine as long as the task sequence has finished on the OSD deployments
    if not you see process cannot access the file because it is being
    used by another process.
    Any ideas.
    Thanks

    Jeff:
    Thanks for the reply all our DP's are physical boxes and have not been updated or touched in a month, this issue started last week, so if I PXE boot 2 system and run the a task sequence, both system start the task till one of them starts to download
    the image wim, at that second the other will fail with the 0x800700002, if I go to the system that failed and open a cmd prompt and map to the DP's smspkgd$\pakage id and do a copy *.win to the c: of the failed system I see on the screen (process cannot access
    the file because it is being
    used by another process)
    I have an open ticket with MS but we are having no luck. (one more thing the system that did not error out completes the task just fine)

  • Eth0 not working in netcfg but in rc.conf

    i have a itx board intel d525mw. i am trying to let the eth0 working under netcfg but failed. i try to do 'dhcpcd eth0' but it returned a time out. however, i hand coded the ip address in rc.conf and it works (on intra-net but no internet). it is a headless nas so it is difficult to move it back and fore to my monitor and keyboard.

    just did and it can connect to internet now. but i want to point out that it is not a driver problem (i guess). it must be some setting wrong. i copy the example/ethernet-dhcp to /etc/networks.d/ put the "ethernet-dhcp" in NETWORKS in rc.conf. change network to net-profiles in  rc.conf. it should work but it didn't.

  • SQL*Plus variable assignment works for 8i but not 9i

    We have scripts that connect to each database on the box and perform database tasks nightly. The scripts first set the environment then connects to each database with SQL*Plus. This works for 8i but fails in the recently created 9i environment. (Unix Solaris environment)
    Because the SQL*Plus connection appears in many areas in the scripts, we assign the following connection string to a variable:
    SQLPLUS="/usr/oracle/product/9.2.0/bin/sqlplus -s 'xxx/xxxxxx@xxxx as sysdba'"
    Export SQLPLUS
    echo "$SQLPLUS"
    (This echo out correctly: /usr/oracle/product/9.2.0/bin/sqlplus -s 'xxx/xxxxxx@xxxx as sysdba')
    It fails when the script calls the assigned variable:
    $SQLPLUS <<-EOF
    with the following error:
    Usage: SQLPLUS [ [<option>] [<logon>] [<start>] ]
    where <option> ::= -H | -V | [ [-L] [-M <o>] [-R <n>] [-S] ]
    <logon> ::= <username>[<password>][@<connect_string>] | / | /NOLOG
    <start> ::= @<URI>|<filename>[.<ext>] [<parameter> ...]
    "-H" displays the SQL*Plus version banner and usage syntax
    "-V" displays the SQL*Plus version banner
    "-L" attempts log on just once
    "-M <o>" uses HTML markup options <o>
    "-R <n>" uses restricted mode <n>
    "-S" uses silent mode
    However, if I remove the SQLPLUS variable assignment and changed all occurrence of
    $SQLPLUS <<-EOF to
    /usr/oracle/product/9.2.0/bin/sqlplus -s 'xxx/xxxxxx@xxxx as sysdba' <<-EOF
    Then the script runs successfully. But this solution is cumbersome.
    Any ideas as to how to have the script work with assigning the SQLPLUS variable????
    Any help is appreciated.

    I has an immediate suspicion it might be related to the issue
    mentioned in
    http://otn.oracle.com/support/tech/sql_plus/htdocs/sub_var2.html#2_7
    but this proved wrong: the SP2-306 still occurs in the latest
    SQL*Plus.
    I wonder what version of 8i you had working? With an old SQL*Plus
    8.1.7.0 my connection failed the same as in 9.2 and 10i.
    My solution was to do:
      SQLPLUS='sqlplus -s'
      UNPW='/ as sysdba'
      $SQLPLUS "$UNPW" &lt;&lt;EOF
      EOFThis worked in 9.2.0.5, 10.1.0.2 and 8.1.7.0.
    One common security risk on UNIX remains: putting the username and
    password on the command line. On some systems a "ps" command will
    show the password to any user. If OS authentication cannot be used
    for connection, perhaps putting the username/password in the SQL
    script may be more secure?
    A final note is that in SQL*Plus 10g, no quotes are needed around
    AS SYSDBA, i.e.
      sqlplus / as sysdba works from the OS prompt, whereas in 9.2 you need to do
      sqlplus "/ as sysdba"This makes a solution easy:
      SQLPLUS="/usr/oracle/product/10.1.0/bin/sqlplus -s xxx/xxxxxx@xxxx as sysdba"-- CJ

  • SQL*Plus assignment works for 8i but not 9i

    We have scripts that connect to each database on the box and perform database tasks nightly. The scripts first set the environment then connects to each database with SQL*Plus. This works for 8i but fails in the recently created 9i environment.
    Because the SQL*Plus connection appears in many areas in the scripts, we assign the following connection string to a variable:
    SQLPLUS="/usr/oracle/product/9.2.0/bin/sqlplus -s 'xxx/xxxxxx@xxxx as sysdba'"
    Export SQLPLUS
    echo "$SQLPLUS"
    (This echo out correctly: /usr/oracle/product/9.2.0/bin/sqlplus -s 'xxx/xxxxxx@xxxx as sysdba')
    It fails when the script calls the assigned variable:
    $SQLPLUS <<-EOF
    with the following error:
    Usage: SQLPLUS [ [<option>] [<logon>] [<start>] ]
    where <option> ::= -H | -V | [ [-L] [-M <o>] [-R <n>] [-S] ]
    <logon> ::= <username>[<password>][@<connect_string>] | / | /NOLOG
    <start> ::= @<URI>|<filename>[.<ext>] [<parameter> ...]
    "-H" displays the SQL*Plus version banner and usage syntax
    "-V" displays the SQL*Plus version banner
    "-L" attempts log on just once
    "-M <o>" uses HTML markup options <o>
    "-R <n>" uses restricted mode <n>
    "-S" uses silent mode
    However, if I remove the SQLPLUS variable assignment and changed all occurrence of
    $SQLPLUS <<-EOF to
    /usr/oracle/product/9.2.0/bin/sqlplus -s 'xxx/xxxxxx@xxxx as sysdba' <<-EOF
    Then the script runs successfully. But this solution is cumbersome.
    Any ideas as to how to have the script work with assigning the SQLPLUS variable????
    Any help is appreciated

    I has an immediate suspicion it might be related to the issue
    mentioned in
    http://otn.oracle.com/support/tech/sql_plus/htdocs/sub_var2.html#2_7
    but this proved wrong: the SP2-306 still occurs in the latest
    SQL*Plus.
    I wonder what version of 8i you had working? With an old SQL*Plus
    8.1.7.0 my connection failed the same as in 9.2 and 10i.
    My solution was to do:
      SQLPLUS='sqlplus -s'
      UNPW='/ as sysdba'
      $SQLPLUS "$UNPW" &lt;&lt;EOF
      EOFThis worked in 9.2.0.5, 10.1.0.2 and 8.1.7.0.
    One common security risk on UNIX remains: putting the username and
    password on the command line. On some systems a "ps" command will
    show the password to any user. If OS authentication cannot be used
    for connection, perhaps putting the username/password in the SQL
    script may be more secure?
    A final note is that in SQL*Plus 10g, no quotes are needed around
    AS SYSDBA, i.e.
      sqlplus / as sysdba works from the OS prompt, whereas in 9.2 you need to do
      sqlplus "/ as sysdba"This makes a solution easy:
      SQLPLUS="/usr/oracle/product/10.1.0/bin/sqlplus -s xxx/xxxxxx@xxxx as sysdba"-- CJ

  • Airplay works with Remote but cuts out for every other App

    Remote works perfectly fine but whenever I try another AirPlay app it cuts in and out.  Driving me crazy. I have att wifi with an airport express.  Any ideas?  Why would AirPlay work with Remote but fail with every other app?

    Remote does not use AirPlay.

Maybe you are looking for

  • Table not showing data after refresh

    Hi gurus , A unique problem We have added a field in the custom table . once moved to quality system it is not showing up the data whwn when we do a select query on that table in se16 . say total entries are ten thousand four of them are checked and

  • FIREFOX 4 CRASHES WHEN I USE THE "BROUSE" MODE TO SELECT A PROGRAM TO OPEN A PARTICULAR FILE TYPE

    USING TOOLS-OPTIONS- APPLICATION BRINGS UP THE PANEL TO SELECT PROGRAMS FOR EACH FILE TYPE. SELECTING "USE OTHER" BRINGS ANOTHER PANEL WITH VARIOUS OPTIONS. NONE OF THESE ARE APPROPRIATE FOR MY SITUATION. AS SOON AS I CLICK "BROWSE" FIREFOX CRASHES.

  • Multiple Passphrases for a Single SSID ?

    We are getting ready to deploy a special SSID for handheld devices to be used on. Is there any way to have multiple passphrases for a single SSID ?  The reason I am looking at this is that we may have users who come into one of our offices and may no

  • I need to turn off autosave for one Numbers document

    I have a Numbers document consisting of a single blank cell. I use it as follows: I have 10 small spreadsheets that I have to combine each week and save as .csv. I wrote an applescript do open each spreadsheet and paste it into the 1-cell document. I

  • Apple Mobile Device service not started - how do I fix this?

    Hi, So when I plug my Itouch into my computer, iTunes comes up with a message that says "This iPod cannot be used because the Apple Mobile Device service is not started." I attempted to fix this problem by using the Troubleshoot solutions in the Supp