Downloading an image from a remote table via dblink

Hi
I am building an Apex 3.0 app that will access data remotely, via a database link. One of the tables has a BLOB column, that I need to display in the app as an image (in a single-record form page) and allow the user to update it as well, uploading a new image if required.
As it is not possible to select blobs over a dblink, but it is ok to insert/update them, I was planning to:
- insert the blob into a local temporary table which would have only one column ("image")
- select from the local table to get a reference to the blob and do the usual stuff to download it to the client
Though this might work, it seems a bit inefficient to me. Is there any other way to do this?
Thanks,
Luis

http://developer.apple.com/Documentation/Cocoa/Conceptual/URLLoadingSystem/URLLo adingSystem.html

Similar Messages

  • Download an image from sap directories

    Hi all,
    is there anyway that i can download an image from sap directories into an internal table in binary mode?
    than you

    Hi all,
    is there anyway that i can download an image from sap directories into an internal table in binary mode?
    than you

  • How to download an image from SAP to my PC?

    Hello SAPients.
    I know that I can upload an image to SAP using transaction SE78, but now I need the inverse process, I mean, download an image from SAP to my PC. How can I do this?
    Thanks in advance for your help.

    The following program codes allow you to download SAP images stored in SE78 and the traditional SO10:
    *& Report  Z_DOWNLOAD_BDS_GRAPHICS
    *& Download image stored in document server
    *& Published at ****************
    REPORT  z_download_bds_graphics                 .
    * Variable declaration
    DATA: v_graphic_size TYPE i,
          v_graphic_xstr TYPE xstring,
          v_graphic_conv TYPE i,
          v_graphic_offs TYPE i,
          v_file         TYPE string.
    * Table declaration
    DATA: BEGIN OF i_graphic_table OCCURS 0,
            line(255) TYPE x,
          END OF i_graphic_table.
    DATA: lt_tline type table of tline with header line.
    data: l_thead type thead.
    * Structure declaration
    DATA: st_stxbitmaps       TYPE stxbitmaps.
    * Selection screen
    PARAMETERS: P_SO10 RADIOBUTTON GROUP RB1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS: p_TDID     LIKE THEAD-TDID DEFAULT 'ADRS',
                p_TDNAME   LIKE THEAD-TDNAME,
                p_TDOBJ    LIKE THEAD-TDOBJECT DEFAULT 'TEXT',
                p_TDSPRA   LIKE THEAD-TDSPRAS DEFAULT 'EN'.
    SELECTION-SCREEN END OF BLOCK b2.
    PARAMETERS: p_se78 RADIOBUTTON GROUP RB1.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: p_object LIKE st_stxbitmaps-tdobject DEFAULT 'GRAPHICS'
                                  MODIF ID abc ,
                p_name   LIKE st_stxbitmaps-tdname,
                p_id     LIKE st_stxbitmaps-tdid DEFAULT 'BMAP'
                                  MODIF ID abc ,
                p_type   LIKE st_stxbitmaps-tdbtype.
    SELECTION-SCREEN END OF BLOCK b1.
    PARAMETERS: p_dir    TYPE localfile DEFAULT 'D:\GIS'.
    * At Selection-screen output event
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-group1 = 'ABC' .
          screen-input = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    * At Selection-screen on value-request event
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_dir.
      DATA: l_folder TYPE string.
      CALL METHOD cl_gui_frontend_services=>directory_browse
        EXPORTING
          window_title         = 'Select Folder'
          initial_folder       = 'C:\'
        CHANGING
          selected_folder      = l_folder
        EXCEPTIONS
          cntl_error           = 1
          error_no_gui         = 2
          not_supported_by_gui = 3
          OTHERS               = 4.
      IF sy-subrc = 0.
        p_dir = l_folder.
      ENDIF.
    * Start-of-selection event
    START-OF-SELECTION.
      IF p_se78 = 'X'.
        st_stxbitmaps-tdobject = p_object.
        st_stxbitmaps-tdname = p_name.
        st_stxbitmaps-tdid = p_id.
        st_stxbitmaps-tdbtype = p_type.
    *   Get the bmp image from BDS in hex string format
        CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
          EXPORTING
            p_object       = st_stxbitmaps-tdobject
            p_name         = st_stxbitmaps-tdname
            p_id           = st_stxbitmaps-tdid
            p_btype        = st_stxbitmaps-tdbtype
          RECEIVING
            p_bmp          = v_graphic_xstr
          EXCEPTIONS
            not_found      = 1
            internal_error = 2
            OTHERS         = 3.
        IF sy-subrc = 0.
    *     Find the length of hex string
          v_graphic_size = xstrlen( v_graphic_xstr ).
          CHECK v_graphic_size > 0.
          v_graphic_conv = v_graphic_size.
          v_graphic_offs = 0.
    *     Populate internal table from this hex string
          WHILE v_graphic_conv > 255.
            i_graphic_table-line = v_graphic_xstr+v_graphic_offs(255).
            APPEND i_graphic_table.
            v_graphic_offs = v_graphic_offs + 255.
            v_graphic_conv = v_graphic_conv - 255.
          ENDWHILE.
         i_graphic_table-line = v_graphic_xstr+v_graphic_offs(v_graphic_conv).
          APPEND i_graphic_table.
    *     Prepare file name and file path
          CONCATENATE p_dir '\' p_name '.BMP' INTO v_file.
    *     Download image
          CALL FUNCTION 'GUI_DOWNLOAD'
            EXPORTING
              bin_filesize            = v_graphic_size
              filename                = v_file
              filetype                = 'BIN'
            TABLES
              data_tab                = i_graphic_table
            EXCEPTIONS
              file_write_error        = 1
              no_batch                = 2
              gui_refuse_filetransfer = 3
              invalid_type            = 4
              no_authority            = 5
              unknown_error           = 6
              header_not_allowed      = 7
              separator_not_allowed   = 8
              filesize_not_allowed    = 9
              header_too_long         = 10
              dp_error_create         = 11
              dp_error_send           = 12
              dp_error_write          = 13
              unknown_dp_error        = 14
              access_denied           = 15
              dp_out_of_memory        = 16
              disk_full               = 17
              dp_timeout              = 18
              file_not_found          = 19
              dataprovider_exception  = 20
              control_flush_error     = 21
              OTHERS                  = 22.
          IF sy-subrc = 0.
            WRITE: 'File downloaded successfully'(003), v_file.
          ELSE.
            WRITE: 'Error during file download'(004).
          ENDIF.
        ELSE.
          CASE sy-subrc.
            WHEN 1.
              WRITE: 'Image not found'(005).
            WHEN OTHERS.
              WRITE: 'Error in Image retrieval'(006).
          ENDCASE.
        ENDIF.
      ENDIF. "IF P_SE78 = 'X'.
      IF P_SO10 = 'X'.
        CALL FUNCTION 'READ_TEXT'
          EXPORTING
    *       CLIENT                        = SY-MANDT
            ID                            = p_TDID
            LANGUAGE                      = p_TDSPRA
            NAME                          = p_TDNAME
            OBJECT                        = p_TDOBJ
    *       ARCHIVE_HANDLE                = 0
    *       LOCAL_CAT                     = ' '
          IMPORTING
            HEADER                        = l_thead
          TABLES
            LINES                         = lt_tline
          EXCEPTIONS
             ID                            = 1
             LANGUAGE                      = 2
             NAME                          = 3
             NOT_FOUND                     = 4
             OBJECT                        = 5
             REFERENCE_CHECK               = 6
             WRONG_ACCESS_TO_ARCHIVE       = 7
             OTHERS                        = 8
        IF SY-SUBRC <> 0.
              WRITE: 'Image not found'(005).
        ENDIF.
    CALL FUNCTION 'SAPSCRIPT_CONVERT_BITMAP'
      EXPORTING
        ITF_HEADER                     = l_thead
        OLD_FORMAT                     = 'ITF'
        NEW_FORMAT                     = 'BMP'
        BITMAP_FILE_BYTECOUNT_IN       = 0
        ITF_BITMAP_TYPE_IN             = '*'
    IMPORTING
       BITMAP_FILE_BYTECOUNT          = v_graphic_size
    *   ITF_BITMAP_TYPE_OUT            =
      TABLES
        ITF_LINES                      = lt_tline
        BITMAP_FILE                    = i_graphic_table
    *   BDS_BITMAP_FILE                =
      EXCEPTIONS
        NO_BITMAP_FILE                 = 1
        FORMAT_NOT_SUPPORTED           = 2
        BITMAP_FILE_NOT_TYPE_X         = 3
        NO_BMP_FILE                    = 4
        BMPERR_INVALID_FORMAT          = 5
        BMPERR_NO_COLORTABLE           = 6
        BMPERR_UNSUP_COMPRESSION       = 7
        BMPERR_CORRUPT_RLE_DATA        = 8
        BMPERR_EOF                     = 9
        BDSERR_INVALID_FORMAT          = 10
        BDSERR_EOF                     = 11
        OTHERS                         = 12
    IF SY-SUBRC <> 0.
              WRITE: 'Error in Image Format'(006).
    ENDIF.
        if sy-subrc = 0.
          CONCATENATE p_dir '\' p_TDNAME '.BMP' INTO v_file.
    *     Download image
          CALL FUNCTION 'GUI_DOWNLOAD'
            EXPORTING
              bin_filesize            = v_graphic_size
              filename                = v_file
              filetype                = 'BIN'
            TABLES
              data_tab                = i_graphic_table
            EXCEPTIONS
              file_write_error        = 1
              no_batch                = 2
              gui_refuse_filetransfer = 3
              invalid_type            = 4
              no_authority            = 5
              unknown_error           = 6
              header_not_allowed      = 7
              separator_not_allowed   = 8
              filesize_not_allowed    = 9
              header_too_long         = 10
              dp_error_create         = 11
              dp_error_send           = 12
              dp_error_write          = 13
              unknown_dp_error        = 14
              access_denied           = 15
              dp_out_of_memory        = 16
              disk_full               = 17
              dp_timeout              = 18
              file_not_found          = 19
              dataprovider_exception  = 20
              control_flush_error     = 21
              OTHERS                  = 22.
          IF sy-subrc = 0.
            WRITE: 'File downloaded successfully'(003), v_file.
          ELSE.
            WRITE: 'Error during file download'(004).
          ENDIF.
        endif.
      ENDIF.

  • I use an iMac 10.6.8 with iPhoto '09 to download digital images from Canon DSLRs. Until the last two weeks there has been no trouble whatever importing images by  a USB connection from either camera to the Mac. Now the process will not kick in. Any ideas?

    I use an Mac OSX 10.6.8 with iPhoto 09 to download digital images from two Canon DSLRs. Until the last week, there has been no problem whatever in launching the import procedure once the USB connection has been connected and the camera switched on. Now the process will not kick in at all for either camera.  I can't find a solution through iPhoto help or from other sources.
    Any ideas to fix?  (I admit I have not tested the USB cable at this time).

    What does "kick in" mean?
    As a Test:
    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?
    Post back with the result.

  • I just upgraded to Lightroom CC5 from 4, and the card will only download 1 image from my recent shoot of 10 images. Why can't I see the other images?

    Lightroom 5 will only download one image from my card, when I shot 10. Iphoto doesn't have a problem with it. I never had this problem with Lightroom 4.

    Sort by capture time and the images won't be "scattered all over the place".
    Just show "NEW" photos in the import.
    As Jim said, reformat your card after all your backups are done and verified.

  • I want to download an image from the url and image is in byte format

    hi
    i want to download an image from the url
    http://www.tidelinesonline.com/mobile/j2me_v1?reqType=imageJoin&imageCount=1&month=1&day=1&year=2008&id=1&imageWidth=230&imageHeight=216&imageDepth=8&imageUnits=feet&imageType=JPG&msisdn=456
    first 5 digits will be the length of the image,we need to download except first 5 digits and display an image file
    i need to finish this today
    pla reply if any body knows solution for this.
    thanks in advance
    Mraj

    You do not need to do anything - iPhoto always keeps the original and you can revert to it at any time
    If you want to be able to see the original and the cropped version in iPhoto at the same time duplicate the photo (this does not really duplicate but simply starts a new edit stream for the photo - command-d) and crop the duplicate
    LN

  • AP unable to download the image from 5508 WLC

    Hi,
    I have a 5508 WLC connected to 2950 Switch and the LAP 1262 connected to the same default VLAN. My AP's are able to join the controller since they are in the same broadcast domain but They are NOT able to download the image from WLC. When I am looking at the wireless TAB of WLC.. it says... Downloading Image.
    Can anyone pls. suggest what all needs to be done to make UP the APs. Also, Following is the error i am seeing at the AP.
    *Apr 27 11:48:40.640: %DTLS-5-SEND_ALERT: Send FATAL : Close notify Alert to 192.168.1.99:5246
    *Apr 27 11:48:40.640: %CAPWAP-5-CHANGED: CAPWAP changed state to DISCOVERY
    *Apr 27 11:48:40.640: %CAPWAP-5-CHANGED: CAPWAP changed state to DISCOVERY
    *Apr 27 11:48:40.694: %CAPWAP-3-ERRORLOG: capwap ifs:  read error or timeout
    *Apr 27 11:48:40.700: capwap_image_proc: problem extracting tar file
    *Apr 27 11:48:40.700: %CAPWAP-3-ERRORLOG: Dropping dtls packet since session is not established.
    *Apr 27 11:48:51.000: %CAPWAP-5-DTLSREQSEND: DTLS connection request sent peer_ip: 192.168.1.99 peer_port: 5246
    *Apr 27 11:48:51.000: %CAPWAP-5-CHANGED: CAPWAP changed state to 
    *Apr 27 11:48:51.569: %CAPWAP-5-DTLSREQSUCC: DTLS connection created sucessfully peer_ip: 192.168.1.99 peer_port: 5246
    *Apr 27 11:48:51.569: %CAPWAP-5-SENDJOIN: sending Join Request to 192.168.1.99
    *Apr 27 11:48:51.569: %CAPWAP-5-CHANGED: CAPWAP changed state to JOIN
    examining image...
    *Apr 27 11:48:56.571: %CAPWAP-5-SENDJOIN: sending Join Request to 192.168.1.99perform archive download capwap:/ap3g1 tar file
    *Apr 27 11:48:56.583: %CAPWAP-5-AP_IMG_DWNLD: Required image not found on AP. Downloading image from Controller.
    *Apr 27 11:48:56.589: %CAPWAP-5-CHANGED: CAPWAP changed state to IMAGE
    *Apr 27 11:48:56.589: Loading file /ap3g1...
    logging facility kern
            ^
    % Invalid input detected at '^' marker.
    %Error opening flash:/update/info (No such file or directory)
    ERROR: Image is not a valid IOS image archive.
    archive download: takes 48 seconds
    *Apr 27 11:49:44.640: %DTLS-5-SEND_ALERT: Send FATAL : Close notify Alert to 192.168.1.99:5246
    *Apr 27 11:49:44.640: %CAPWAP-5-CHANGED: CAPWAP changed state to DISCOVERY
    *Apr 27 11:49:44.640: %CAPWAP-5-CHANGED: CAPWAP changed state to DISCOVERY
    *Apr 27 11:49:44.694: %CAPWAP-3-ERRORLOG: capwap ifs:  read error or timeout
    *Apr 27 11:49:44.700: capwap_image_proc: problem extracting tar file
    *Apr 27 11:49:44.700: %CAPWAP-3-ERRORLOG: Dropping dtls packet since session is not established.
    *Apr 27 11:49:54.000: %CAPWAP-5-DTLSREQSEND: DTLS connection request sent peer_ip: 192.168.1.99 peer_port: 5246
    *Apr 27 11:49:54.000: %CAPWAP-5-CHANGED: CAPWAP changed state to 
    *Apr 27 11:49:54.569: %CAPWAP-5-DTLSREQSUCC: DTLS connection created sucessfully peer_ip: 192.168.1.99 peer_port: 5246
    *Apr 27 11:49:54.572: %CAPWAP-5-SENDJOIN: sending Join Request to 192.168.1.99
    *Apr 27 11:49:54.572: %CAPWAP-5-CHANGED: CAPWAP changed state to JOIN
    examining image...
    *Apr 27 11:49:59.571: %CAPWAP-5-SENDJOIN: sending Join Request to 192.168.1.99perform archive download capwap:/ap3g1 tar file
    *Apr 27 11:49:59.583: %CAPWAP-5-AP_IMG_DWNLD: Required image not found on AP. Downloading image from Controller.
    *Apr 27 11:49:59.589: %CAPWAP-5-CHANGED: CAPWAP changed state to IMAGE
    *Apr 27 11:49:59.589: Loading file /ap3g1...
    logging facility kern
            ^
    % Invalid input detected at '^' marker.
    %Error opening flash:/update/info (No such file or directory)
    ERROR: Image is not a valid IOS image archive.
    archive download: takes 48 seconds
    *Apr 27 11:50:47.644: %DTLS-5-SEND_ALERT: Send FATAL : Close notify Alert to 192.168.1.99:5246
    *Apr 27 11:50:47.644: %CAPWAP-5-CHANGED: CAPWAP changed state to DISCOVERY
    *Apr 27 11:50:47.644: %CAPWAP-5-CHANGED: CAPWAP changed state to DISCOVERY
    *Apr 27 11:50:47.697: %CAPWAP-3-ERRORLOG: capwap ifs:  read error or timeout
    *Apr 27 11:50:47.697: %CAPWAP-3-ERRORLOG: Dropping dtls packet since session is not established.
    *Apr 27 11:50:47.703: capwap_image_proc: problem extracting tar file
    *Apr 27 11:50:57.000: %CAPWAP-5-DTLSREQSEND: DTLS connection request sent peer_ip: 192.168.1.99 peer_port: 5246
    *Apr 27 11:50:57.000: %CAPWAP-5-CHANGED: CAPWAP changed state to 
    *Apr 27 11:50:57.569: %CAPWAP-5-DTLSREQSUCC: DTLS connection created sucessfully peer_ip: 192.168.1.99 peer_port: 5246
    *Apr 27 11:50:57.569: %CAPWAP-5-SENDJOIN: sending Join Request to 192.168.1.99
    *Apr 27 11:50:57.569: %CAPWAP-5-CHANGED: CAPWAP changed state to JOIN
    examining image...
    *Apr 27 11:51:02.571: %CAPWAP-5-SENDJOIN: sending Join Request to 192.168.1.99perform archive download capwap:/ap3g1 tar file
    *Apr 27 11:51:02.583: %CAPWAP-5-AP_IMG_DWNLD: Required image not found on AP. Downloading image from Controller.
    *Apr 27 11:51:02.589: %CAPWAP-5-CHANGED: CAPWAP changed state to IMAGE
    *Apr 27 11:51:02.589: Loading file /ap3g1...
    logging facility kern
            ^
    % Invalid input detected at '^' marker.
    %Error opening flash:/update/info (No such file or directory)
    ERROR: Image is not a valid IOS image archive.
    archive download: takes 48 seconds
    *Apr 27 11:51:50.640: %DTLS-5-SEND_ALERT: Send FATAL : Close notify Alert to 192.168.1.99:5246
    *Apr 27 11:51:50.640: %CAPWAP-5-CHANGED: CAPWAP changed state to DISCOVERY
    *Apr 27 11:51:50.640: %CAPWAP-5-CHANGED: CAPWAP changed state to DISCOVERY
    *Apr 27 11:51:50.694: %CAPWAP-3-ERRORLOG: capwap ifs:  read error or timeout
    *Apr 27 11:51:50.700: capwap_image_proc: problem extracting tar file
    *Apr 27 11:51:50.700: %CAPWAP-3-ERRORLOG: Dropping dtls packet since session is not established.
    *Apr 27 11:52:00.000: %CAPWAP-5-DTLSREQSEND: DTLS connection request sent peer_ip: 192.168.1.99 peer_port: 5246
    *Apr 27 11:52:00.000: %CAPWAP-5-CHANGED: CAPWAP changed state to 
    *Apr 27 11:52:00.569: %CAPWAP-5-DTLSREQSUCC: DTLS connection created sucessfully peer_ip: 192.168.1.99 peer_port: 5246
    *Apr 27 11:52:00.569: %CAPWAP-5-SENDJOIN: sending Join Request to 192.168.1.99
    *Apr 27 11:52:00.569: %CAPWAP-5-CHANGED: CAPWAP changed state to JOIN
    examining image...
    *Apr 27 11:52:05.571: %CAPWAP-5-SENDJOIN: sending Join Request to 192.168.1.99perform archive download capwap:/ap3g1 tar file
    *Apr 27 11:52:05.583: %CAPWAP-5-AP_IMG_DWNLD: Required image not found on AP. Downloading image from Controller.
    *Apr 27 11:52:05.589: %CAPWAP-5-CHANGED: CAPWAP changed state to IMAGE
    *Apr 27 11:52:05.589: Loading file /ap3g1...
    logging facility kern

    hi amjad,i am working on the same controller and i upload the image to another AP and cponvert it to LAP. bot this is not registering on controller and behaves like first as first ap is registered and working fine. 2nd ap console output is given below
    %Error opening flash:/update/info (No such file or directory)
    ERROR: Image is not a valid IOS image archive.
    archive download: takes 48 seconds
    *Apr 29 10:16:29.644: %DTLS-5-SEND_ALERT: Send FATAL : Close notify Alert to 192
    .168.1.59:5246
    *Apr 29 10:16:29.644: %CAPWAP-5-CHANGED: CAPWAP changed state to DISCOVERY
    *Apr 29 10:16:29.647: %CAPWAP-5-CHANGED: CAPWAP changed state to DISCOVERY
    *Apr 29 10:16:29.707: %CAPWAP-3-ERRORLOG: capwap ifs:  read error or timeout
    *Apr 29 10:16:29.713: capwap_image_proc: problem extracting tar file
    *Apr 29 10:16:29.713: %CAPWAP-3-ERRORLOG: Dropping dtls packet since session is
    not established.
    *Apr 29 10:16:40.000: %CAPWAP-5-DTLSREQSEND: DTLS connection request sent peer_i
    p: 192.168.1.59 peer_port: 5246
    *Apr 29 10:16:40.000: %CAPWAP-5-CHANGED: CAPWAP changed state to
    *Apr 29 10:16:40.569: %CAPWAP-5-DTLSREQSUCC: DTLS connection created sucessfully
    peer_ip: 192.168.1.59 peer_port: 5246
    *Apr 29 10:16:40.569: %CAPWAP-5-SENDJOIN: sending Join Request to 192.168.1.59
    *Apr 29 10:16:40.569: %CAPWAP-5-CHANGED: CAPWAP changed state to JOIN
    examining image...
    *Apr 29 10:16:45.571: %CAPWAP-5-SENDJOIN: sending Join Request to 192.168.1.59pe
    rform archive download capwap:/ap3g1 tar file
    *Apr 29 10:16:45.583: %CAPWAP-5-AP_IMG_DWNLD: Required image not found on AP. Do
    wnloading image from Controller.
    *Apr 29 10:16:45.589: %CAPWAP-5-CHANGED: CAPWAP changed state to IMAGE
    *Apr 29 10:16:45.589: Loading file /ap3g1...
    logging facility kern
            ^
    % Invalid input detected at '^' marker.
    %Error opening flash:/update/info (No such file or directory)
    ERROR: Image is not a valid IOS image archive.
    archive download: takes 48 seconds
    *Apr 29 10:17:33.647: %DTLS-5-SEND_ALERT: Send FATAL : Close notify Alert to 192
    .168.1.59:5246
    *Apr 29 10:17:33.647: %CAPWAP-5-CHANGED: CAPWAP changed state to DISCOVERY
    *Apr 29 10:17:33.650: %CAPWAP-5-CHANGED: CAPWAP changed state to DISCOVERY
    *Apr 29 10:17:33.710: %CAPWAP-3-ERRORLOG: capwap ifs:  read error or timeout
    *Apr 29 10:17:33.716: capwap_image_proc: problem extracting tar file
    *Apr 29 10:17:33.716: %CAPWAP-3-ERRORLOG: Dropping dtls packet since session is
    not established.
    *Apr 29 10:17:43.000: %CAPWAP-5-DTLSREQSEND: DTLS connection request sent peer_i
    p: 192.168.1.59 peer_port: 5246
    *Apr 29 10:17:43.000: %CAPWAP-5-CHANGED: CAPWAP changed state to
    *Apr 29 10:17:43.569: %CAPWAP-5-DTLSREQSUCC: DTLS connection created sucessfully
    peer_ip: 192.168.1.59 peer_port: 5246
    *Apr 29 10:17:43.569: %CAPWAP-5-SENDJOIN: sending Join Request to 192.168.1.59
    *Apr 29 10:17:43.569: %CAPWAP-5-CHANGED: CAPWAP changed state to JOIN
    examining image...
    *Apr 29 10:17:48.571: %CAPWAP-5-SENDJOIN: sending Join Request to 192.168.1.59pe
    rform archive download capwap:/ap3g1 tar file
    *Apr 29 10:17:48.583: %CAPWAP-5-AP_IMG_DWNLD: Required image not found on AP. Do
    wnloading image from Controller.
    *Apr 29 10:17:48.589: %CAPWAP-5-CHANGED: CAPWAP changed state to IMAGE
    *Apr 29 10:17:48.589: Loading file /ap3g1...
    logging facility kern
            ^
    % Invalid input detected at '^' marker.
    %Error opening flash:/update/info (No such file or directory)
    ERROR: Image is not a valid IOS image archive.
    archive download: takes 48 seconds
    *Apr 29 10:18:36.647: %DTLS-5-SEND_ALERT: Send FATAL : Close notify Alert to 192
    .168.1.59:5246
    *Apr 29 10:18:36.650: %CAPWAP-5-CHANGED: CAPWAP changed state to DISCOVERY
    *Apr 29 10:18:36.650: %CAPWAP-5-CHANGED: CAPWAP changed state to DISCOVERY
    *Apr 29 10:18:36.710: %CAPWAP-3-ERRORLOG: capwap ifs:  read error or timeout
    *Apr 29 10:18:36.716: capwap_image_proc: problem extracting tar file
    *Apr 29 10:18:36.716: %CAPWAP-3-ERRORLOG: Dropping dtls packet since session is
    not established.
    *Apr 29 10:18:46.000: %CAPWAP-5-DTLSRE
    pls help

  • PLS-00327 when updating table from a remote table inside a PLSQL procedure

    Hi,
    Inside a PL/SQL procedure,I want to update a table from a remote table :
    begin
    UPDATE rachel1 set NEW_TEN_CODE =
    (SELECT NEW_TEN_CODE FROM rachel@REFI
    WHERE rachel1.OLD_TEN_CODE=rachel.OLD_TEN_CODE@REFI);
    end;
    I receive the error :
    PLS-00327: "RACHEL" is not in SQL scope here
    When I extract the update from the procedure and I run from SQL (without begin ... end), it works :
    SQL> UPDATE rachel1 set NEW_TEN_CODE =
    2 (SELECT NEW_TEN_CODE FROM rachel@REFI
    3 WHERE rachel1.OLD_TEN_CODE=rachel.OLD_TEN_CODE@REFI);
    So, why doesn't the update work inside the PL/SQL procedure ?
    What have I to do ?
    I need to run this command inside the procedure.
    Regards,
    Rachel

    Hi,
    Yes, the owner of the procedure have select on RACHEL@REFI.
    My oracle version is : 8.1.7.4.
    In fact, I've resolved the problem by doing :
    begin
    UPDATE rachel1 set NEW_TEN_CODE =
    (SELECT NEW_TEN_CODE FROM rachel@REFI
    WHERE rachel1.OLD_TEN_CODE=rachel.OLD_TEN_CODE);
    end;
    Regards,
    Rachel

  • I'm unable to download raw images from my canon 70D to elements 12.?

    I'm unable to download raw images from my canon 70D to PH elements 12, downloaded camera raw 8.2 as I saw in a discussion but still unable to convert images.  In the "select images" window the images are soft and cannot be selected.  What am I doing wrong? Any help?

    Please post Photoshop Elements related queries over at
    http://forums.adobe.com/community/photoshop_elements

  • How to download RAW images from Canon S100 to iPhoto?

    How to download RAW images from Canon S100 to iPhoto?

    You need the Raw compatibility update 3.9:
    http://support.apple.com/kb/DL1473

  • Won't download all images from my sony camera...only 6 out 0f 170, says rest of them are "unreadable j.peg format". Help!

    Help!  My Mac will not download all images from my Sony digital camera...well, it downloaded 6 out of 170, then said "unreadable j.peg format". This is the second time I have had this problem with this camera. Up to this second time, I have not had a problem with downloading. Now when I plug the camera back in in, it shows empty frames of pix  on Mac screen, but pictures are still on the camera. Any suggestions?

    See if you can use Image Capture to upload your photos to a folder on the Desktop.  Once you have them off the memory card reformat the card using the camera, take some photos and try again.
    OT

  • Downloading raw images from Canon Rebel XTi and problem with Border FX

    Aperture no longer downloads raw images from my Canon 400D / Rebel Xti and installed Lexar Professional UDMA card. I am able to download images to my Dell laptop. This is a new phenomenon only occurring since about 10 days ago. I am currently able to download images from my Canon 5D.
    Also, my computer has locked up 4 times today when I have been starting Border FX. I have seen a screen saying that I have to restart my computer by holding down the on button. I have the most recent version of the Border FX software.
    Any suggestions please?

    Join the crowd! I just started to experience exactly the same thing on both of my systems. Apparently the latest raw camera drivers broke something related to Canon Rebel cameras. I'm using the Rebel XT.
    I tried a quick experiment the other day. I shot a bunch of test photos forcing the camera to store them as JPEGs. I was able to download those without a problem. I then forced the camera back to raw mode and shot a few more pictures on the same memory card. The JPEGs that I was able to download previously no longer will download and neither will the raw files.
    I tried reverting to the older camera raw driver on my notebook but for some reason it won't let me do that. I haven't tried reverting on the desktop yet.
    Hopefully this problem is fixed quickly. I've got a ton of pictures from a recent vacation I'd like to off load.
    By the way, this affects the iPhoto, Aperture and Image Capture apps.

  • Problem creating an image from a remote url

    I am creating a servlet which does the following:
    1. retrieves an image from a remote url
    2. resizes the image
    3. sends the image to the client.
    The servlet works fine when I run it on my PC, but when I run it on the server, it doesn't. Here's the problematic code
        private Image getRemoteImage(String imageUrl) throws Exception {
            System.err.println("in getRemoteImage()");
            if (!imageUrl.startsWith("http://")) imageUrl = "http://" + imageUrl;
            URL u = new URL(imageUrl);
            System.err.println("imageUrl: " + imageUrl);
            HttpURLConnection huc = (HttpURLConnection) u.openConnection();
            huc.setRequestMethod("GET");
            System.err.println("connecting...");
            huc.connect();
            System.err.println("Getting DataInputStream...");
            DataInputStream in = new DataInputStream(u.openStream());
            //DataInputStream in = new DataInputStream(huc.getInputStream());
            System.err.println("...got");
            int numBytes = huc.getContentLength(); //1063
            System.err.println("numBytes: " + numBytes);
            byte[] imageBytes = new byte[numBytes];
            System.err.println("reading fully...");
            in.readFully(imageBytes);
            System.err.println("...read");
            in.close();
            System.err.println("creating imageIcon");
            ImageIcon imageIcon = new ImageIcon(imageBytes);  //   <-- problem here
            System.err.println("** THIS LINE IS NOT REACHED **");
            System.err.println("creating image");
            Image image = imageIcon.getImage();
            System.err.println("returning image");
            return image;
        }When I access the servlet with FF, the browser reports:
    The image �<my servlet url>� cannot be displayed, because it contains errors.
    When I access the servlet with IE, I get:
    Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Servlet execution threw an exception
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:429)
         at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:495)
         at java.lang.Thread.run(Thread.java:534)
    root cause
    java.lang.NoClassDefFoundError
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:141)
         at java.awt.Toolkit$2.run(Toolkit.java:748)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:739)
         at javax.swing.ImageIcon.(ImageIcon.java:205)
         at myservlets.GetImage.getRemoteImage(GetImage.java:283)
         at myservlets.GetImage.processRequest(GetImage.java:73)
         at myservlets.GetImage.doGet(GetImage.java:394)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:429)
         at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:495)
         at java.lang.Thread.run(Thread.java:534)
    Any ideas?
    Cheers,
    James

    Cheers rebol.
    I've tried that (along with all other kinds of techniques I never knew existed). I think it might be a problem with the Tomcat setup - it may need to run headless (sounds a bit severe!...).

  • I want to download and image from the url and image is in byte format

    hi
    i want to download the image from the url:
    http://www.tidelinesonline.com/mobile/j2me_v1?reqType=imageJoin&imageCount=1&month=1&day=1&year=2008&id=1&imageWidth=230&imageHeight=216&imageDepth=8&imageUnits=feet&imageType=JPG&msisdn=456
    can any one help me to do this i need to finish this today plz help me.
    first 5 character 09593 is the length of the image we need to substract image length from total length.
    thanks in advance
    M.Raj
    Edited by: Mraj.Bangalore on May 15, 2008 12:01 AM
    Edited by: Mraj.Bangalore on May 15, 2008 12:01 AM

    hi
    thanks for the reply,
    that works only if .png file is there in the path.
    i worked it out, it is working fine now
    try
                   httpConn = (HttpConnection)Connector.open(url);
                   is=httpConn.openInputStream();
                   responseCode = httpConn.getResponseCode();
                   if(httpConn.getResponseCode() == 200)
                             ByteArrayOutputStream bStrm = null;
                             byte[] data = new byte[512];
                             int contentLen = httpConn.getHeaderFieldInt("Content-Length", 0);
                             if(contentLen > 0)
                                  response = new byte[contentLen];
                             else
                                  bStrm = new ByteArrayOutputStream();
                             int count = 0, tmp =0;
                                  while ((count = is.read(data)) >= 0)
                                       if( contentLen > 0 )
                                            for(int i=0;i<count && tmp+i < contentLen;i++)
                                                 response[tmp+i] = data;
                                            tmp += count;
                                       else
                                            bStrm.write(data, 0, count);
    //                                    if( aborted)
    //                                         break;
                                  data = null;
                                  System.gc();
                                  if( contentLen <= 0 )
                                       response = bStrm.toByteArray();
                                       bStrm.close();
                                       bStrm = null;
                                       System.gc();                                   
                        else
    //                          main.showAlert("ERROR","Connection failed.Please access again later");
    //                          main.changeToMain();
              catch(Exception e){
                   response = null;
                   responseCode = 0;
    //                main.showAlert("ERROR","Connection failed.Please access again later");
    //                main.changeToMain();
              catch(OutOfMemoryError e){
    //                main.showAlert("ERROR","Not enough memory, please disable some apps or delete files and try again.");
    //                main.changeToMain();
              finally
                   System.out.println("Before Creation"+response.length);
                   img = Image.createImage(response, 5, response.length-5);
                   System.out.println("After Creation");
                   CanvasImageFile canvas = new CanvasImageFile(this);
                   midlet.display.setCurrent(canvas);
                   try
                        if( is != null )
                             is.close();
                             is=null;
                   catch(Exception ex){
    //                     main.showAlert("ERROR","Connection failed.Please access again later");}
                             if( httpConn != null )
                             try {
                                       httpConn.close();
                                  } catch (IOException e) {
                                       // TODO Auto-generated catch block
                                       e.printStackTrace();
                             httpConn=null;

  • How to remove selected image from a light table?

    According to the Aperture User Manual, when I select an image on a light table, I should be able to remove it (while still leaving it in the light table browser). However, this seems to work only for the image I most recently added to the light table -- when I select an image I added just before the most recent, the button at the upper left for "Light Table Put Back Selected" is grayed out. (Also, the command-shift-P shortcut shown in the tooltip doesn't do anything.) Am I misunderstanding the use of this button? Doing something wrong? I added some images, and decided I wanted to put a few of them back, but can't figure out a way to do that. Makes the light table pretty useless except for layout of a set of images you are already committed to. Doesn't seem possible.

    Hey, thanks -- everything worked as you described. It never would have occurred to me that the "put back" button refers to the browser selection not the layout selection, for reasons I give below.
    I think Aperture exhibits some conceptual confusion here. First of all, a "light table" is created by the New > Light Table command, and you add images to the newly created light table just as you would add them to an album. But those images don't go on the light table layout until you drag them from the browser to the layout table. The "put back" button and "remove from light table" contextual menu command both mean remove from the layout. The phrasing of the contextual menu command make it sounds as if it will remove the clicked image from the light table's collection of images, like removing an image from an album -- it would have made more sense to name this command "put back". Furthermore, the "put back" button is above the layout display, not above the browser, which to me implies that it applies to selections in the layout display. To select an image in the browser, and click "put back selected" seems backwards -- if you just selected the image in the browser, your attention is focused on the browser, not the layout; from the browser's point of view, the button should read "bring back" not "put back".
    The documentation didn't really help when I was trying to figure this out. Sometimes the Aperture documentation refers to just a "light table", as on the overview on page 732. On pages 733 and 734, though, it refers to a "light table album". On page 735 of the Aperture manual there is a very brief explanation of how "to add images to the light table" and "to remove an image from the light table". Here, "light table" refers to the layout not the album. The explanation of the "Put Back Selected" button says to select an image then click the button, and the picture shown is of an image selected in the layout, not in the browser.

Maybe you are looking for