Problem inserting/extracting attachments

I have two LC sevices. One renders pdf forms using data, including attachments, from a DB. Once the user has updated such a form, it gets submitted to the other service. This one extracts the data, including attachments, and updates the DB. Basically the DB contains a bunch of identifiable objects which are accessible to the user through pdf forms.
When a user adds an attachment, or several, in Adobe Reader and submits the form to the second service, it works just fine. Rendering this particular object to pdf again also works fine.?? The attachments added in the previous "step" are included in the form and can be opened in Adobe Reader.
Problem:When a form contains attachments that have been added by our first service, some of them won't be extracted correctly and thus cannot be saved back into the DB. Mysteriously some attacments work just fine, even though all of them were added in the same way to the very same pdf form. In one case I have four jpg's attached to a form, 2 of which work and 2that don't.
Looking att the list var that contins tha extracted attachments I see that the ones that don't work look like this:...
and that's it. a single line. The ones that do work are much longer of course.
Even the ones that don't work can be opened just fine from Reader prior to being submitted to the service. In Reader, the only way to distinguish the attachments added by our first service is that they have timesamps in the description field.
Best Regards,
JMV

When i open the resulting pdf in Reader, all the attachments work just fine. I then add a fourth attachment, "Blue hills.jpg" in Reader and submit the form to our second service using a watched folder.<br /><br />This is what the attachments list var looks like after being extracted using the processFormSubmission service operation of the FormsService.<br /><br />Linebreaks and indentation added by me for clarity: <br /><br />[PID:-1] /process_data/attachmentsList - List: java.util.ArrayList:       Number of elements :4<br />{<br />1:<br /><document state="passive" senderVersion="0" persistent="false" <br /> senderPersistent="false" passivated="true" senderPassivated="false" <br /> deserialized="false" senderHostId="null" callbackId="0" <br /> senderCallbackId="0" callbackRef="null" isLocalizable="true" <br /> isTransactionBound="false" defaultDisposalTimeout="600" <br /> disposalTimeout="600" maxInlineSize="65536" <br /> defaultMaxInlineSize="65536" inlineSize="28521" <br /> contentType="null" length="-1"><br />     <cacheId/><br />     <localBackendId/><br />     <globalBackendId/><br />     <senderLocalBackendId/><br />     <senderGlobalBackendId/><br /><br />        "inline" element below has been edited due to <br />          unpostable characters.<br />     <inline>���ï¿...snip...FX Global Lightin...</inline><br />     <senderPullServantJndiName/><br />     <attributes <br />      modification-date="Wed Aug 04 13:00:00 CEST 2004"    <br />         creation-date="Wed Mar 18 21:42:57 CET 2009" <br />        description="" name="Blue hills.jpg"/><br /></document><br />2:<br /><document state="passive" senderVersion="0" persistent="false" <br /> senderPersistent="false" passivated="true" senderPassivated="false" <br /> deserialized="false" senderHostId="null" callbackId="0"  <br /> senderCallbackId="0" callbackRef="null" isLocalizable="true" <br /> isTransactionBound="false" defaultDisposalTimeout="600" <br /> disposalTimeout="600" maxInlineSize="65536" <br /> defaultMaxInlineSize="65536" inlineSize="0" <br /> contentType="null" length="-1"><br />     <cacheId/><br />     <localBackendId><br />          <DocumentFileID  <br />fileName="C:\TEMP\AdobeDocumentStorage\local\docm1237408627390\924c6476cba7c878e2c5d1ac 2ecf9b12"/><br />     <localBackendId/><br />     <globalBackendId/><br />     <senderLocalBackendId/><br />     <senderGlobalBackendId/><br />     <inline/><br />     <senderPullServantJndiName/><br />     <attributes <br />      modification-date="Wed Mar 18 21:37:27 CET 2009" <br />      creation-date="Wed Mar 18 21:37:27 CET 2009" <br />      description="" name="Winter.jpg"/><br /></document><br />3:<br /><document state="passive" senderVersion="0" persistent="false" <br /> senderPersistent="false" passivated="true" senderPassivated="false" <br /> deserialized="false" senderHostId="null" callbackId="0" <br /> senderCallbackId="0" callbackRef="null" isLocalizable="true" <br /> isTransactionBound="false" defaultDisposalTimeout="600"     <br /> disposalTimeout="600" maxInlineSize="65536" <br /> defaultMaxInlineSize="65536" inlineSize="0" <br /> contentType="null" length="-1"><br />     <cacheId/><br />     <localBackendId><br />          <DocumentFileID fileName="C:\TEMP\AdobeDocumentStorage\local\docm1237408627390\924c6476cba7c878e2c5d1ac2e cf9b12"/><br />     <localBackendId/><br />     <globalBackendId/><br />     <senderLocalBackendId/><br />        <senderGlobalBackendId/><br />        <inline/><br />        <senderPullServantJndiName/><br />     <attributes <br />      modification-date="Wed Mar 18 21:37:27 CET 2009" <br />      creation-date="Wed Mar 18 21:37:27 CET 2009" <br />      description="" name="Winter.jpg"/><br /></document><br />4:<br /><document state="passive" senderVersion="0" persistent="false" <br /> senderPersistent="false" passivated="true" senderPassivated="false" <br /> deserialized="false" senderHostId="null" callbackId="0" <br /> senderCallbackId="0" callbackRef="null" isLocalizable="true" <br /> isTransactionBound="false" defaultDisposalTimeout="600" <br /> disposalTimeout="600" maxInlineSize="65536" <br /> defaultMaxInlineSize="65536" inlineSize="0" <br /> contentType="null" length="-1"><br />     <cacheId/><br />     <localBackendId><br />          <DocumentFileID fileName="C:\TEMP\AdobeDocumentStorage\local\docm1237408627390\924c6476cba7c878e2c5d1ac2e cf9b12"/><br />     <localBackendId/><br />     <globalBackendId/><br />        <senderLocalBackendId/><br />        <senderGlobalBackendId/><br />        <inline/><br />        <senderPullServantJndiName/><br />     <attributes <br />      modification-date="Wed Mar 18 21:37:27 CET 2009" <br />      creation-date="Wed Mar 18 21:37:27 CET 2009" <br />      description="" name="Winter.jpg"/><br /></document><br />}<br /><br />Notice how "Water lilies.jpg" and "Sunset.jpg" have turned into copies of "Winter.jpg"!<br /><br />Note:<br />Although it probably has nothing to to with my problem, it seems to me that Reader, or is it LC, generates xml that isn't well formed. Looks like the <localBackendId> is incorrectly terminated with <localBackendId/>. Something for adobe to look into?

Similar Messages

  • Outlook 2013: Cannot insert any attachments into calendar events & tasks

    Hi,
    I encountered a seemingly ridiculous problem: 
    I cannot insert any attachments into calendar events & tasks in
    Outlook 2013 on a Win 8.1 machine. Outlook simply ignores CTRL-V paste actions with files and also all drag&drop actions with files. Does anyone have a solution or similar problems?
    Outlook 2013 runs using an exchange server account (Outlook.com / Office 365) on the machine.
    Even if there is a logic behind this behavior, Outlook should at least inform the user why it rejects inserting the attachment.
    Inserting attachments into e-mails works fine.
    All 3rd party add-ins have been disabled, to avoid interference of an add-in.
    Christian

    Hi,
    This is an known issue, you can refer to the article that our MVP Diane Poremsky wrote:
    Attachments are hidden in Outlook.com tasks and appointments
    http://slipstick.com/outlook/olc-hotmail/attachments-hidden-outlookcom-tasks-contacts-appointments/
    My opinion is, since Outlook.com calendar doesn't support attachments, this may be expected when you are using an Outlook.com account.
    Feel free to let me know if I misunderstood anything.
    Regards,
    Melon Chen
    TechNet Community Support

  • Request: Problem in Extraction of data from CRM to BW

    Hi Gurus
    I have problems in extracting the data from CRM to BW.I thought you are the one who can solve them:
    1) When I check the data in the datasource in RSA3 i can see all records as well as i can see complete data in that but when i extract and check the data in cube i can see all records but i cannot see the complete data i.e some data is missing.
    2)And another problem is that In report i have 2 characteristics(DATS) start date and end date now i am trying to get number of days from start date to end date.
    I appreciate you in advance. If u find any good documentation please send me to [email protected]
    With regards
    Nagamani.

    Hi krishna,
                       yes we did enhancement to this data source. In PRDOCTION its taking 27 hours time  to load data.
              For extraction from source system (CRM) its taking  nearly 24 hours time  as per JOb LOG .
    08/05/2010 11:53:08 Call customer enhancement EXIT_SAPLRSAP_001 (CMOD) with 10,849 records
    08/05/2010 12:02:02 Result of customer enhancement: 10,849 records
    08/05/2010 12:02:03 PSA=0 USING & STARTING SAPI SCHEDULER
    08/05/2010 12:02:03 Asynchronous send of data package 1 in task 0002 (1 parallel tasks)
    08/05/2010 12:02:06 IDOC: Info IDoc 2, IDoc No. 1576298, Duration 00:00:01
    08/05/2010 12:02:06 IDoc: Start = 08/05/2010 10:26:37, End = 08/05/2010 10:26:38
    08/05/2010 13:02:38 Call customer enhancement EXIT_SAPLRSAP_001 (CMOD) with 10,958 records
    08/05/2010 13:11:48 Result of customer enhancement: 10,958 records
    08/05/2010 13:11:52 Asynchronous send of data package 2 in task 0003 (1 parallel tasks)
    08/05/2010 13:11:53 tRFC: Data Package = 1, TID = 0AA00D0301984C5AEE8E44DB, Duration = 00:16:
    08/05/2010 13:11:53 tRFC: Start = 08/05/2010 12:02:19, End = 08/05/2010 12:18:27
    08/05/2010 14:30:13 Call customer enhancement EXIT_SAPLRSAP_001 (CMOD) with 11,296 records
    08/05/2010 14:39:53 Result of customer enhancement: 11,296 records
    like this its taking 24 hours in extraction its self.
    Edited by: kotha123 on Aug 10, 2010 12:08 PM
    Edited by: kotha123 on Aug 10, 2010 12:09 PM

  • Problem when extracting DataSource 0PAYSCALELV_ATTR from R/3 ECC6 to BW 3.5

    We have recently begun upgrading to ECC6.0 from 4.7.  We are still using BW 3.5.  After upgrading our Sandbox to ECC6.0, we found a problem when extracting Pay scale level attributes using DataSource 0PAYSCALELV_ATTR.  For some reason the table values are being multiplied by 26 by the extractor, which was not happening in 4.7.  Therefore in our BW system, these employees salaries are being calculated incorrectly because the hourly rate coming from R/3 is already wrong.  Please help!
    Kim Huskey
    Tarrant County IT
    CCC - SAP Support

    Hi Surendhar,
        Did you try to check the connection b/w ypur source system and the target system?
    You can do it by executing T.Code RSA1-> Select Source Systems-> Right click your source system-> Check.
    Also, pls check ST22 for any short dumps and SM21 for system logs.
    Hope it helps!!!!
    Amit
    Message was edited by: Amit

  • Problem inserting .swf in dreamweaver 8.Help!!

    Hi everybody.I have a problem since a lot of time jaja.I habe
    problems inserting .swf files in dreamweaver 8.I can insert, when I
    press f12 to see in Internet Explorer you see the movie, but when
    you put mouse over the banner I design.This has a bad behavior, it
    transform to hand, because the banner is a buttom, and again
    transform in default mode and it doesn`t stay in buttom form.When I
    did the flash, I saw the .sfw file in HTML, that generated the same
    Flash, and it look good, and had a hood behavior, but when I insert
    in dreamweaver 8 it doesn`t work correctly.I download the
    Dreamweaver 8 Update 2. Now I have Dreamveaver 8.0.2 or something
    like that.
    I think that the problems is in the form that Dreamweaver
    Insert the .swf file.
    My way is Insertar - Media - Flash.
    Somebody can help me? this problem I can´t resolved and
    I new whit this.
    English is not mi first Language, sorry if I had mistakes.

    ok....
    i installed php 5.2.10
    and downloaded php-5.2.10 zip file i found .dll
    its ok
    but in next help topic (testing PHP installation (Windows) )
    [http://livedocs.adobe.com/dreamweaver/8/using/gs_18_q7.htm]
    i didnt gt the result...
    what may be the problem?
    plz advice
    thanks in advacne

  • Problem with Extract Filter

    I have Problem with Extract Filter which was working OK until recently.
    Now, when I choose the filter the screen does not come up as the extract screen as it should and no other action can be taken except to press escape which returns me to normal. working.    Looks as if the extraction function has been sleected but does not show?
    I am trying to use the  extract on a layer.  Have tried to use it on a selection also.
    Anyone suggest a solution please?
    Bill

    Without a way to reset the tool, the only possibility seems to be to reset your preferences as described in the FAQ.
    http://forums.adobe.com/thread/375776?tstart=0
    You either have to physically delete (or rename) the preference files or, if using the Alt, Ctrl, and Shift method, be sure that you get a confirmation dialog.
    This resets all settings in Photoshop to factory defaults.
    (A complete uninstall/re-install will not affect the preferences and a corrupt file there may be causing the problem.)

  • There was a problem inserting the Service Request: null

    I am trying out service desk. When I try to create a request I get:
    There was a problem inserting the Service Request: null
    I can't see what the issues is. All fields marked in red are filled.
    Tom

    Thomas,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Problem when extracting Smart Objects

    I am having a problem when extracting Smart Objects.
    I work for a small pre-press company. We are working on several computers using one Job Server. Some of these computers have different versions of OS.
    For one of our clients the company uses Smart Objects as a precaution for moire issues. The child file stays a certain size, while the parent file is sized down for print. Our client has started to request the larger Child size image for their use. For the volume of images requested, I have made an action out of Photoshop to open the smart object and save out a flat tif of the larger child file image. Here is the problem...
    At times the smart objects child file does not retain the name of the smart object layer as its being extracted. What could be causing the lost connection between the parent file name to the child file name, and is there a way to prevent it in the future?
    Thanks for your help:)
    DVan

    Hello,
    I have noticed that. The true problem is that the child files name starts out as the parent layer name, but then somewhere down the line it turns wonkie, starting to be named things like 12.psd etc. Please see attached. Your can't re-save the name of the child file either because all that does is save out a named temp file that does not get linked back to the parent file....so what is making the name change?

  • Problem inserting flash from flash 8

    I am using flash 8 and dreamweaver 8. When I place a flash
    header into my web page there is a space created between the header
    and the lower content on the page. My publish setting in flash are
    set at default. Thanks for any help.

    This could be a problem w/ the Screen Mimic file because I have no problem inserting other flv files supplied to me by others.
    That would my guess too. Here are few other things to consider:
    1)  Does your FLV filename contain any spaces or special characters?  If so, rename it without spaces as these can cause problems.
    2)  Output Screen Mimic project to a QuickTime MOV file.  Then use Adobe Flash Encoder to convert the MOV to FLV.
    3)  When you tested your page, was it a live page on remote server?  Did you upload the page and all supporting files to server (Scripts folder, SWF, FLV...)?
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics |  Print | Media Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • Problem Inserting Flash Video (flv) File into Site

    Hi -
    I'm having problems inserting a Flash Video (.flv) into my webpage.  I'm using Dreamweaver 8.
    I'm going to: Insert -  Media - Flash Video, browsing to the .flv file that's in my local site folder, entering the settings.
    In Dreamweaver, there's a big gray box w/ flv icon in the middle.  But when I go to preview, the screen is empty, no video.
    I'm creating the .flv file w/ Screen Mimic (a screen capture recording software).  This could be a problem w/ the Screen Mimic file because I have no problem inserting other flv files supplied to me by others.  This is the first video that I've made that I'm trying to insert. 
    If anyone has any suggestions, I would be most appreciative.
    thanks!
    Stacey Stanley

    This could be a problem w/ the Screen Mimic file because I have no problem inserting other flv files supplied to me by others.
    That would my guess too. Here are few other things to consider:
    1)  Does your FLV filename contain any spaces or special characters?  If so, rename it without spaces as these can cause problems.
    2)  Output Screen Mimic project to a QuickTime MOV file.  Then use Adobe Flash Encoder to convert the MOV to FLV.
    3)  When you tested your page, was it a live page on remote server?  Did you upload the page and all supporting files to server (Scripts folder, SWF, FLV...)?
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics |  Print | Media Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • RegisterOutParameter - setBinaryStream - Problems inserting Blob - setRAW

    As posted in metalink (was: "Problems inserting BLOB/InputStream with ojdbc14.jar for 10g - Data size bigger than max size for this type"):
    Using setBinaryStream for large Blobs works as long as I don't register outParameters.
    Query that works: "INSERT INTO blobtest (attachment_id,name,data) VALUES(blobtest_SEQ.nextval,?,?)";
    Query that fails = "BEGIN INSERT INTO blobtest (attachment_id,name,data) VALUES( blobtest_SEQ.nextval,?,?) RETURN attachment_id INTO ? ; END;"
    The necessary tables were created by hand:
    CREATE TABLE blobtest ( NAME CHAR(255), data BLOB, attachment_id NUMBER(38))
    And
    CREATE SEQUENCE TBL_ATTACHMENT_SEQ
    The output was: <<user: SEE
    pw: QD
    instantiating oracle driver
    query: INSERT INTO blobtest (attachment_id,name,data) VALUES(TBL_ATTACHMENT_SEQ.nextval,?,?)
    uploaded no Return Parameter blob of size: 256809
    query: BEGIN INSERT INTO blobtest (attachment_id,name,data) VALUES(TBL_ATTACHMENT_SEQ.nextval,?,?) RETURN attachment_id INTO ? ; END;
    java.sql.SQLException: Datengr÷&#9600;e gr÷&#9600;er als max. Gr÷&#9600;e f³r diesen Typ: 256809
    at
    oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :125)
    at
    oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :162)
    at
    oracle.jdbc.driver.OraclePreparedStatement.setRAW(OraclePreparedState
    ment.java:5342)
    at
    oracle.jdbc.driver.OraclePreparedStatement.setBinaryStreamInternal(Or
    aclePreparedStatement.java:6885)
    at
    oracle.jdbc.driver.OracleCallableStatement.setBinaryStream(OracleCall
    ableStatement.java:4489)
    at BlobTest.writeBlob(BlobTest.java:161)
    at BlobTest.testBlob(BlobTest.java:118)
    at BlobTest.main(BlobTest.java:92)
    error: Datengr÷&#9600;e gr÷&#9600;er als max. Gr÷&#9600;e f³r diesen Typ:
    256809>>
    here the java test case:
    * Created on 25.08.2004 $Id: BlobTest.java,v 1.4 2005/04/22 11:21:11 hauser Exp $
    * as posted in metalink jdbc forum 050405 and responses by
    * [email protected]
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.InputStream;
    import java.sql.CallableStatement;
    import java.sql.Connection;
    import java.sql.Driver;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.Types;
    public class BlobTest {
    private static String FILE_NAME = "c:/temp/veryLargeFile.pdf";
    public BlobTest() {
    final static int ORACLE = 1;
    final static int MYSQL = 2;
    private String jdbcUrl = "jdbc:mysql://localhost/test?user=monty&password=greatsqldb";
    private int dbType = ORACLE;
    private Driver driver = null;
    private String user = "";
    private String pw = "";
    public static String SCHEME = "";
    public static void main(String[] args) {
    BlobTest bt = new BlobTest();
    if (args[0] != null) {
    System.out.println("dbType: " + args[0]);
    if (args[0].toLowerCase().indexOf("oracle") != -1) {
    bt.dbType = ORACLE;
    if (args[0].toLowerCase().indexOf("mysql") != -1) {
    bt.dbType = MYSQL;
    } else {
    System.out.println("not yet supported db type: " + args[0]);
    System.exit(99);
    if (args[1] != null) {
    System.out.println("jdbcUrl: " + args[1]);
    if (args[1].trim().length() != 0) {
    bt.jdbcUrl = args[1].trim();
    } else {
    System.out.println("not yet supported jdbcUrl : " + args[1]);
    System.exit(99);
    if (args.length > 2 && args[2] != null) {
    System.out.println("user: " + args[2]);
    if (args[2].trim().length() != 0) {
    bt.user = args[2].trim();
    } else {
    System.out.println("invalid user: " + args[2]);
    System.exit(99);
    if (args.length > 3 && args[3] != null) {
    System.out.println("pw: " + args[3].substring(0, 2));
    if (args[3].trim().length() != 0) {
    bt.pw = args[3].trim();
    } else {
    System.out.println("invalid filename: " + args[3]);
    System.exit(99);
    if (args.length > 4 && args[4] != null) {
    System.out.println("filename: " + args[4]);
    if (args[4].trim().length() != 0) {
    FILE_NAME = args[4].trim();
    } else {
    System.out.println("invalid filename: " + args[4]);
    System.exit(99);
    bt.setUp();
    bt.testBlob();
    public void setUp() {
    try {
    if (this.dbType == ORACLE) {
    System.out.println("instantiating oracle driver ");
    this.driver = (Driver) Class.forName(
    "oracle.jdbc.driver.OracleDriver").newInstance();
    } else {
    this.driver = (Driver) Class.forName("com.mysql.jdbc.Driver")
    .newInstance();
    if (this.driver == null) {
    System.out.println("oracle driver is null");
    System.exit(88);
    DriverManager.registerDriver(this.driver);
    } catch (Exception e) {
    e.printStackTrace();
    System.out.println("error: " + e.getMessage());
    public void testBlob() {
    try {
    this.writeBlob();
    } catch (Exception e) {
    e.printStackTrace();
    System.out.println("error: " + e.getMessage());
    * testfunction
    private void writeBlob() throws Exception {
    Connection conn = null;
    PreparedStatement pStmt = null;
    CallableStatement cStmt, cStmt2 = null;
    InputStream in = null;
    try {
    File file = new File(BlobTest.FILE_NAME);
    in = new FileInputStream(file);
    conn = DriverManager.getConnection("jdbc:" + this.jdbcUrl,
    this.user, this.pw);
    conn.setAutoCommit(false);
    String queryWorks = "INSERT INTO " + SCHEME
    + "blobtest (attachment_id,name,data) VALUES(" + SCHEME
    + "TBL_ATTACHMENT_SEQ.nextval,?,?)";
    cStmt = conn.prepareCall(queryWorks);
    System.out.println("query: " + queryWorks);
    cStmt.setString(1, file.getAbsolutePath());
    in = new FileInputStream(file);
    cStmt.setBinaryStream(2, in, (int) file.length());
    cStmt.execute();
    System.out.println("uploaded no Return Parameter blob of size: "
    + file.length());
    conn.commit();
    String queryFails = "BEGIN INSERT INTO " + SCHEME
    + "blobtest (attachment_id,name,data) VALUES(" + SCHEME
    + "TBL_ATTACHMENT_SEQ.nextval,?,?)"
    + " RETURN attachment_id INTO ? ; END;";
    cStmt2 = conn.prepareCall(queryFails);
    System.out.println("query: " + queryFails);
    cStmt2.setString(1, file.getAbsolutePath());
    in = new FileInputStream(file);
    cStmt2.setBinaryStream(2, in, (int) file.length());
    cStmt2.registerOutParameter(3, Types.INTEGER);
    cStmt2.execute();
    System.out.println("uploaded blob of size: " + file.length()
    + " - id: " + cStmt2.getInt(3));
    conn.commit();
    } catch (Exception e) {
    e.printStackTrace();
    System.out.println("error: " + e.getMessage() + "\nname: "
    + BlobTest.FILE_NAME);
    if (conn != null) {
    try {
    conn.rollback();
    } catch (Exception e1) {
    throw e;
    } finally {
    if (in != null) {
    try {
    in.close();
    } catch (Exception e) {
    if (pStmt != null) {
    try {
    pStmt.close();
    } catch (Exception e) {
    if (conn != null) {
    try {
    conn.close();
    } catch (Exception e) {
    and the batch file I use to start:
    @setlocal
    @echo off
    rem $Id: runBlobTest.bat,v 1.2 2005/04/21 15:06:22 hauser Exp $
    set classpath=../WEB-INF/classes;../WEB-INF/lib/ojdbc14.jar;
    echo JAVA_HOME: %JAVA_HOME%
    set JAVA_HOME=C:\PROGRA~1\Java\j2re1.4.1_02\
    echo classpath: %classpath%
    set javaCmd=C:\PROGRA~1\Java\j2re1.4.1_02\bin\java
    %javaCmd% -version
    %javaCmd% BlobTest "oracle" "oracle:thin://@ORADB.yourdomain.COM:1521:t300" "username" "password" "C:\Temp\veryLargeFile.pdf"
    endlocal

    Apparently, this is partially known - with a different stacktrace though:
    <<From: Oracle, Anupama Srinivasan 25-Apr-05 07:15
    Can you please check on Bug:4083226?
    Using the RETURNING Clause is not supported with JDBC. You could embed the statement in PL/SQL Block as in Metalink Note 124268.1 - JDBC Support for DML Returning Clause.
    The Enhancement Request filed on this issue is being considered for Release 10.2
    >>
    And my answer to it.
    Using the RETURNING Clause is not supported with JDBC.This is strange, with just "emptyblob()", it DOES work.
    I guess, our work-around that hopefully is more portable than embedding a "PL/SQL Block" will be to
    1) create the record with an empty blob,
    2) update the blob in a second statement (now, a RETURNING statement is no longer needed)

  • Problem in extracting data

    Hi All
    i am getting problem while extracting data.
    XML is .
    <po:PurchaseOrder xmlns:po="http://www.oracle.com/PO.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.oracle.com/PO.xsd
    http://www.oracle.com/PO.xsd">
    <PONum>1005</PONum>
         <Company>Oracle</Company>
    <Item>
    <Part>9i Doc Set</Part>
    <Price>2550</Price>
    </Item>
    <Item>
    <Part>8i Doc Set</Part>
    <Price>350</Price>
    </Item>
    </po:PurchaseOrder>
    and i am writing SELECT query as
    select p.extract('/(PurchaseOrder/Company)').getStringVal() from po_tab2 p
    then i get blank rows.
    SQL> select p.extract('/PurchaseOrder/Company').getStringVal() from po_tab2 p;
    P.EXTRACT('/PURCHASEORDER/COMPANY').GETSTRINGVAL()
    6 rows selected.
    but if i use only root element in xpath then it displays result with xml data.
    SQL> select p.extract('/PurchaseOrder').getStringVal() from po_tab2 p;
    P.EXTRACT('/PURCHASEORDER').GETSTRINGVAL()
    <po:PurchaseOrder xmlns:po="http://www.oracle.com/PO.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchem
    a-instance" xsi:schemaLocation="http://www.oracle.com/PO.xsd http://www.oracle.com/PO.xsd">
    <PONum>1001</PONum>
    <Company>Oracle</Company>
    <Item>
    <Part>9i Doc Set</Part>
    <Price>2550</Price>
    </Item>
    <Item>
    <Part>8i Doc Set</Part>
    <Price>350</Price>
    how can i extract data from child nodes.

    seems like problem with the namespace.
    pls add the third argument to the extract function i.e the namespace.
    select p.extract('/PurchaseOrder/Company', 'target namespace').getStringVal() from po_tab2 p;

  • The little grey camera icon ( IMovie) is not working or allowing me to open my photos. I have no problem inserting video. Just won't let me open my photos. Any ideas?

    The little grey camera icon ( IMovie) is not working or allowing me to open my photos. I have no problem inserting video. Just won't let me open my photos. Any ideas?

    deanfromdouglasville,
    It may help to rebuild your iPhoto Library's database, as detailed in the article linked below.
    iPhoto 6 and later: Rebuilding the iPhoto library
    http://support.apple.com/en-us/HT201769
    Regards,
    Allen

  • Problem inserting photos in Imovie project

    i have what seems an unusual problem inserting photos into one of my projects. some photos insert fine however others that are dragged into the project dont appear when the video is played. the bar does however appear above the video clip showing that the photo has been inserted and the duration can be toggled.
    i then tried inserting the same photo into another short project and it worked fine?!
    has anyone come across this? would really appreciate your help as trying to put together a video clip for a wedding which is taking place in a few days!!
    many thanks

    I have also tried deleting the com.apple.imovie.plist ... I don't have one to delete ??  And, I tried repairing disk permissions with disk utility ... no change. I have also tried changing the title of the project.  These same pictures can be added into any other project ... I'm going CRAZY!

  • Having a Problem downloading Email Attachments

    In the last month or so (probably late July early August), I have started having problems with email attachments and I have changed no settings.  I have them set to save to my card and the size is set to Maximum in the email settings on both of my email accounts AND there is plenty of room on both the phone memory and my card.  Most of them will not DOWNLOAD to the phone.  I get a list of the attachments with the attachment name and the download arrow with an exclamation point and when I try to re-download they still won't download.  This is becoming a major hinderance for my work because I am expected to be able to read these.  Simple text documents, word doc's, excel spreadsheets, pdf's.  On the same email from 9/12 I have a .doc and a .pdf that did download and another .pdf that did NOT.  HAS THERE BEEN SOME DOCUMENT SIZE CHANGE or some other change that is causing this???  I rarely if ever had this happen before.  Please help me...very frustrated.

        dlcooper, that sounds frustrating!  I'd love to help.  What specific application are you using to download and view the email attachments?  Let me suggest resetting the application.  http://bit.ly/Rjsdjr  Retest and let me know how it works out for you.  Thanks!
    AnthonyTa_VZW
    VZW Support
    Follow us on Twitter @VZWSupport

Maybe you are looking for

  • CS4 v4.2.1 Running Slow in Multicam session

    All, Wanted to pass this along.  I experienced very slow performance with mulitcam editing after upgrading to 4.2.1.  I had three streams of HD video (1 AVHCD, 2 .mt2 files) in a multicam editing session.  In the multicam monitor, the video would pla

  • Fileopen client for adobe reader 9.0 on MAC OS 10.4.11

    Hi, I am trying to view DRM encrypted PDF on MAC 10.4.11 with adobe acrobat 9.0 and fileopen client successfully installed. Whenever i try to open the file it says "Document Access Denied. A component required for viewing this document is missing, pl

  • Why can't I get ios 7 on my iPod touch 4 gen

    I need help on why I can't get ios 7 I have ipod 4 gen

  • HOW TO CUSTOM CODE SAVING/DEFAULT FILE ITEM BLOBS IN PORTAL

    I am trying to create a link for Portal users to allow them to upload a specific File type in Portal. This is taking advantage of Portal's Content Management features (not the same as iFS). I want to know what API's to use and the steps to perform to

  • IDOC posting code

    Hi, I have to debug a proxy program which creates and posts an extended IDOC. (We have added an additional segment to the Basic idoc type here. Hence we are using the proxy, rather than the usual XI-IDOC method.) Can anyone help me in explaining the