Problem inserting a clob using bpel and database adapter

We are having issues inserting a clob field into the database when the data is over 4000 characters. Anything under 4000 characters works fine.
The error we are seeing is "Error while converting to a Java struct object. Unable to convert XSD element P_RESPONSE_ARRAY_ITEM whole user defined type is QC_CRCBT_PKG_RESPONSE_TYPE. Cause: java.lang.ClassCastException: oracle.sql.CLOB; nested exception is: ORABPEL-11802"
We are using BPEL 10.1.3.3 and a database adapter. THE PL/SQL parameter decomposes to a clob type. Again, anything under 4000 characters works fine.
Any ideas?

This is likely due to Bug-6629539, which has just been identified and fixed in 11. You can request a one-off patch for this bug (i.e. a BLR off of the 10.1.3.3.0 release label).

Similar Messages

  • Purchase Order to Purchase Order using BPEL and/or XML Gateway

    Hi,
    Is there a way to do create a duplicate Purchase Order in another instance using BPEL and/or XML Gateway? We're looking to do A2A transactions, namely duplicating data from one instance to another (of course the functional setups would have to be the same). Thanks!!

    this is the perfect usace for the upcoming ESB (shuffling data with transforming from A to B) - but this can be done with BPEL too .. there are some solutions to this
    1) on a database level (db to db)
    2) having events setup'ed in the master instance, that fire a process that get's the data
    3) and then using the functions from iRep
    hth clemens

  • SQLServer Exception and Database Adapter. Please Help!!

    Hello Everyone!
    I've been trying during a whole week to insert a row in an SQLServer Database table from a BPEL Process using the database adapter. But I've never had success, I will show you the table, the XML used to do the insert with the DB adapter and the exception, I hope that someone will help me.
    The Table:
    CREATE TABLE [dbo].[Solicitudes](
         [NumSolicitud] [int] IDENTITY(1,1) NOT NULL,
         [NifSol] [varchar](9) COLLATE Modern_Spanish_CI_AS NOT NULL,
         [Destino] [varchar](max) COLLATE Modern_Spanish_CI_AS NOT NULL,
         [Motivo] [varchar](max) COLLATE Modern_Spanish_CI_AS NOT NULL,
         [FechaS] [datetime] NOT NULL,
         [FechaR] [datetime] NOT NULL,
         [InformeDirDep] [varchar](max) COLLATE Modern_Spanish_CI_AS NULL,
         [VoBoDirDep] [int] NOT NULL CONSTRAINT [DF_Solicitudes_VoBoDirDep] DEFAULT ((2)),
         [FirmaDirDep] [varchar](9) COLLATE Modern_Spanish_CI_AS NULL,
         [VoBoDirCen] [int] NOT NULL CONSTRAINT [DF_Solicitudes_VoBoDirCen] DEFAULT ((2)),
         [FirmaDirCen] [varchar](9) COLLATE Modern_Spanish_CI_AS NULL,
         [MedioLocom] [varchar](max) COLLATE Modern_Spanish_CI_AS NOT NULL,
         [Matricula] [varchar](max) COLLATE Modern_Spanish_CI_AS NOT NULL,
         [Credito] [varchar](10) COLLATE Modern_Spanish_CI_AS NOT NULL,
         [CantidadEst] [float] NOT NULL,
         [VoBoRespCredito] [int] NOT NULL CONSTRAINT [DF_Solicitudes_VoBoRespCredito] DEFAULT ((2)),
         [FirmaRespCredito] [varchar](9) COLLATE Modern_Spanish_CI_AS NULL,
         [VoBoRector] [int] NOT NULL CONSTRAINT [DF_Solicitudes_VoBoRector] DEFAULT ((2)),
         [FirmaRec] [varchar](9) COLLATE Modern_Spanish_CI_AS NULL,
         [FechaFirmaRec] [datetime] NULL,
         [FirmaSolicitante] [varchar](max) COLLATE Modern_Spanish_CI_AS NULL,
         [FechaSol] [datetime] NOT NULL,
    CONSTRAINT [PK_Solicitudes] PRIMARY KEY CLUSTERED
         [NumSolicitud] ASC
    )WITH (PAD_INDEX = OFF, IGNORE_DUP_KEY = OFF) ON [PRIMARY]
    ) ON [PRIMARY]
    The XML:
    <InvokeAdapter_insert_InputVariable>
    <part name="SolicitudesCollection" >
    <SolicitudesCollection>
    <Solicitudes>
    <CantidadEst>250.73</CantidadEst>
    <Credito>Crédito21</Credito>
    <Destino>Destino2</Destino>
    <FechaR>2007-04-14T12:45:51.924</FechaR>
    <FechaS>2007-04-14T12:45:51.908</FechaS>
    <FechaSol>2007-04-14T12:45:51.939</FechaSol>
    <FirmaSolicitante>Signature26</FirmaSolicitante>
    <Matricula>Matrícula20</Matricula>
    <MedioLocom>MedioLocomoción19</MedioLocom>
    <Motivo>Motivo3</Motivo>
    <NifSol>12345678S</NifSol>
    </Solicitudes>
    </SolicitudesCollection>
    </part>
    </InvokeAdapter_insert_InputVariable>
    And the Exception (Translated from spanish):
    Descripción de Excepción: com.microsoft.sqlserver.jdbc.SQLServerException: El nombre de objeto 'SEQUENCE' no es válido. Excepción Interna: com.microsoft.sqlserver.jdbc.SQLServerException: El nombre de objeto 'SEQUENCE' no es válido. Código de Error: 208
    Exception Description: com.microsoft.sqlserver.jdbc.SQLServerException: invalid object name 'SEQUENCE'. Internal Exception: com.microsoft.sqlserver.jdbc.SQLServerException: invalid object name 'SEQUENCE'. Error Code: 208
    Why do i have this exception? Please help!!

    Hi peter, thanks for answering!!
    I don't have anything called sequence so i don't know why I have this error. The steps described in the page you sent to me were followed and the connection is good.
    Do you know if there's any way to know the SQL query executed or the jdbc classes used by the database adapter?
    Regards Antonio
    P.D. I'm using SQL Server Express 2005

  • How to use IDOC and RFC adapter in 1 scenario?

    We have AAA field and BBB field and we want to send AAA field to receiver sap system using IDOC adapter and BBB field to receiver sap system using RFC adapter. But how to use IDOC and RFC adapter in 1 scenario and how to map and  what are the design and configuration objects we require to create?

    To achieve this you have to use
    Two Interface Determinations
    Two Communication Channels (IDOC & RFC)
    & Two Receiver Aggrements.
    Use the Enhanced Interface determination and give your conditions there. Based on you condition your interface mapping will be triggered and data will be sent to IDOC & RFC respectively.

  • How to use ODI and Planning Adapter.

    How to load the dimensions in planning using ODI and Planning Adapter. I am just looking for a functionality that we used to have with HAL and Planning.

    Hi,
    Have a read of my blog it should give you all the information you need.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Problem after restart of a database used by a database adapter in SOA suite

    We are migration from Oracle interconnect to SOA suite. I am a bit worried that I am taking a backwards step in robust drift. I restarted a Oracle database that is used as an end point in both interconnect and SOA. In both cases the database adapter in interconnect and the partner link in SOA start throwing java error messages. This is not the problem, what worries me is that with Interconnect restarting the database adapter allows queued messages to be written to the database, nothing goes missing. But with SOA suite the messages that could not be delivered before restarting SOA suite end as "canceled" that is to say they do NOT get completed. What happened to guaranteed transaction delivery? or am i missing something.

    Hi,
    The JNDI Name to use for the service connection is "eis/DB/soademoDatabase".
    This Database is a requirement of the course... (Chapter 4 of Getting Started with Oracle SOA Suite 11g R1 - A Hands-On Tutorial).

  • Please Help! Problem with 'whistle' when using Audition and Premeire Pro 1.5 with Audigy

    I hope someone can help with this problem. The start of these messages is at the bottom. Any suggestions would be most welcome...Bill Allen
    Hi David (00)... Thanks for your reply. I just wanted to let you know
    that I am going to post all of this correspondence on as many Creative
    forums that I can find in hopes of finding someone that help with this
    problem.
    I will advise you of the results
    Thanks again...Bill Allen
    ----- Original Message -----
    From: "Creative Americas Customer Support"
    To: "Bill Allen"
    Sent: Saturday, February , 2006 :39 AM
    Subject: Re: Creative System Information (English : Adobe Premeire Pro .5
    and Adobe Audition) (KMM987992I6636L0KM)
    > Sir,
    >
    > The only time that I've see a random tone being generated as you
    > decribe, it was necessary to update the system bios to correct.
    >
    > While we are able to playback and record with the card and it's included
    > software, Adobe continues to not allow you to monitor what you're
    > recording. As best we can tell, there's nothing wrong with the card and
    > I would urge you to check with Adobe for any "monitor recording"
    > switches that may be in their software.
    >
    > For faster service please reply with previous correspondence when
    > replying to this email.
    >
    > Best Regards
    > ,
    >
    > David (00)
    > Team Specialist
    >
    > Technical Support
    > Creative Labs Americas
    >
    >
    >
    > To provide feedback on your "Creative Experience" please click on the
    > following link:
    >
    Link removed
    >
    > This link is provided so that you may provide feedback on your "Creative
    > Experience". If you require further troubleshooting or have additional
    > questions simply reply to the original mail and we will be glad to
    > assist you.
    >
    > Original Message Follows:
    > ------------------------
    > Jeen... I appreciate, very much, your reply. But I don't appreciate
    > trying
    > to be 'ping ponged' back and forth between Creative and Adobe. While I
    > realize that you can only deduce a solution from what I tell you, I
    > believe
    > that if you re-read my description of the problem you will realize that
    > the
    > problem is with the sound card and it's associated software. Otherwise
    > why
    > would the system work as expected when it it turned on the next morning?
    >
    > I would also like to know where the 'tone' comes from. When recording
    > video segment (with audio) through the firewire connection of the
    > Creative Audidgy 2ZS card, after a short while the audio is replaced with a
    > constant tone (as I said, it is about 200 Hz). If I record the video thru the
    > Firewire connection and the audio through the 'Line-In' connection,
    > there is no problem with the recording the audio track 'tone free'. However,
    > sometimes but not always, when the audio is played back the tone will
    > appear. This has happened with both Adobe Premeire Pro .5 and Adobe
    > Audition. It is not in the audio track of Adobe Premeire Pro .5 or
    > Adobe Audition, so the problem must lie with the Creative Audigy 2ZS card or
    > it's associated software. I'm sure your audio engineers have knowledge of
    > this problem and I would appreciate an answer.
    >
    > Thanks...Bill Allen
    >
    > ----- Original Message -----
    > From: "Creative Americas Customer Support"
    >
    > To: "Bill Allen"
    > Sent: Friday, February 0, 2006 2:5 AM
    > Subject: Re: Creative System Information (English : Adobe Premeire Pro
    > .5
    > and Adobe Audition) (KMM9780I6636L0KM)
    >
    >
    >> Dear Bill,
    >>
    >> Thank you for replying back to Creative Technical Support.
    >>
    >> With regards to your issue, I understand that you are having
    > difficulty
    >> getting the audio to record from the applications Adobe Premiere Pro
    > .5
    >> and therefore not sound during the playback.
    >>
    >> As you have verified that the sound card is working properly with the
    >> other applications on recording or playback, this could be due to the
    >> improper setup for the audio in the Premiere Pro .5.
    >>
    >> You may like to refer to Adobe for assistance on the configuration of
    >> the audio settings as we are not in a better position to advise you on
    >> third party software.
    >>
    >> Should you have not sound or issues with our software, please feel
    > free
    >> to contact us so that we can assist you.
    >>
    >> For faster service please reply with previous correspondence when
    >> replying to this email.
    >>
    >> Best Regards
    >> ,
    >>
    >> Jeen
    >> Technical Support
    >> Creative Labs Americas
    >>
    >>
    >>
    >> To provide feedback on your "Creative Experience" please click on the
    >> following link:
    >>
    Link removed
    >>
    >> This link is provided so that you may provide feedback on your
    > "Creative
    >> Experience". If you require further troubleshooting or have additional
    >> questions simply reply to the original mail and we will be glad to
    >> assist you.
    >>
    >> Original Message Follows:
    >> ------------------------
    >> Ronshone... Thanks for your reply.
    >>
    >> Here is the information you requested:
    >>
    >> Sound Blaster Audigy 2ZS
    >> PID: 0 03 50 00 00 00 02
    >> Driver Ver: 2.8.4
    >> Firmware : 0.0.0
    >> Model: SB.0350
    >> Serial Number: MSB0350472004288E
    >> Ink stamp: 50SPT470D
    >>
    >> The Audigy 2ZS is the only sound card installed
    >> The Audigy 2ZS card is at least one slot away from the graphics card.
    >> The Audigy 2ZS card is one slot away from another card.
    >> The Audigy 2ZS card is properly seated in the PCI slot.
    >> The PC's internal wires have been moved away from the Audigy 2ZS card
    > .
    >> The 'on-board' sound is disabled thru the BIOS.
    >> The 'on-board' game port is disabled thru the BIOS.
    >> The XP Pro operating system is up to date with all updates.
    >> There were no background operation going at the time of the tests.
    >> The anit-virus program was closed
    >> The CPU is not overclocked.
    >> And, I am the Administrator.
    >>
    >> The card came in a Creative retail Box along with the input unit that
    >> mounts
    >> in the dri've bay. I can't recall what that is called.
    >>
    >> I have relocated the sound card to a slot that is 4 slots away from
    > the
    >> graphics card and slot away from another card, in this case an
    >> additional
    >> IDE dri've controller.
    >>
    >> I have performed the test you outlined. I found that I had to record
    >> using
    >> the 'line in' source input. And I had to playback using the 'wave'
    >> source.
    >> As far as that test is concerned, everything worked. However when I
    >> bring
    >> up Adobe Premeire Pro .5 I do not hear the audio when capturing, and,
    >> even
    >> though the audio meters in Premeire Pro in indicate that there is
    > audio
    >> playing from the audio track on playback, I hear nothing from the
    >> speakers.
    >>
    >> I then brought up the Creative Speaker Settings requester and did a
    >> diagnostic test. All tests indicated "pass". But when I click on the
    >> 'Speaker Settings' and perform the 'Speaker Test' I hear nothing. I
    >> should
    >> add that in both mixers, the Creative Surround Mixer and the Play
    >> Control
    >> mixer, all inputs and outputs are selected (not muted). Also when I
    >> performed this same test yesterday the 'Speaker Test' worked fine.
    >>
    >> On rebooting, the 'Windows XP' sound is heard from the speakers.
    >> Bringing
    >> up Adobe Premeire Pro .5, the audio played as expected. The 'Speaker
    >> Test'
    >> in the Creative Surround Mixer also worked as expected.
    >>
    >> I then recorded the rest of my program using the Adobe Premeire Pro
    > .5
    >> 'Capture' requester and when I tried to playback from within Adobe
    >> Premeire
    >> Pro .5 all I got was a constant tone (about 200 Hz), even though the
    >> audio
    >> meters in Adobe Premeire Pro .5 indicated that the audio was good and
    >> had
    >> no constant tone.
    >>
    >> I rebooted the computer and brought up Adobe Premeire Pro .5 and my
    >> program. Without making any changes to either mixers, Adobe Premeire
    > Pro
    >> .5
    >> performed, and the sound played, as expected. In the 'Play Control'
    >> mixer
    >> only the 'wave' was acti've. All the rest were muted. It was the same
    >> for
    >> the 'Creative Surround Mixer'.
    >>
    >> I am at a loss as to what the problem is. Any help would be
    >> appreciated.
    >>
    >> ...Bill Allen
    >> ----- Original Message -----
    >> From: "Creative Americas Customer Support"
    >> @customercare.creative.com
    >> To: "Bill Allen"
    >> Sent: Monday, February 06, 2006 9:42 PM
    >> Subject: Re: Creative System Information (English : Adobe Premeire Pro
    >> .5
    >> and Adobe Audition) (KMM933384I6636L0KM)
    >>
    >>
    >> Dear Bill,
    >>
    >> Thank you for contacting Creative Technical Support.
    >>
    >> With regards to the issue you are having, I would really appreciate it
    >> if you can provide me with the model number of the sound card. It
    >> should
    >> start with CT or SB followed by 4 numbers found on the sound card. I
    >> also need the serial number which can be found on the sticker and the
    >> ink stamp which is printed on the back of the card. This number will
    >> not
    >> be located on any of the stickers and it will not be labeled. It is a
    >> number that has been stamped on the card itself, possibly near the
    >> outer
    >> edge of the card to determine the best advice for you.
    >>
    >> Did the sound card come pre-installed in the PC, comes in a plastic
    >> cover or brown box or did it come in a Creative retail box package?
    >>
    >> Below is a link that may help with the location of the model number.
    >>
    >> Run a keyword search for SID2456 from the link below.
    >>
    Link removed
    >>
    >> I also need you to try the following recording test.
    >>
    >> SELECT THE RECORDING SOURCE IN SURROUND MIXER
    >> . Go to Start Programs Creative SB Audigy Surround Mixer
    >> 2. Click on the Recording Source (should be on the right side of the
    >> mixer under the REC label)
    >> 3. Change the recording source to Analog Mix
    >> 4. Mute the other analog sources (Mic, CD Audio, Auxiliary, Tad, PC
    >> speaker) that you don't want recorded with the audio stream.
    >> 5. You may wish to select "record without monitoring" by click on the
    >> (+) above the Analog Mix recording source. This keeps the source from
    >> playing out to speakers while recording
    >>
    >> TEST RECORD THE AUDIO
    >> . Go to Start Programs Accessories Multimedia Sound Recorder.
    >> 2. Click the Record button (red dot)
    >> 3. Talk into the microphone
    >> 4. Let it record the source for a little bit
    >> 5. Hit the Stop button (black square)
    >> 6. Hit the play button (single arrow pointing right)
    >> 7. You should now hear the audio that you recorded.
    >>
    >> If you are still having issues, I recommend you to ensure the
    > following
    >> for the audio installation and test:
    >>
    >> - The card is the only card installed other than the Graphics card.
    >> - The card is at least one empty slot away from the Graphics card.
    >> - Place the soundcard away from all the others.
    >> - That the card is seated properly in the PCI slot.
    >> - Move the PC's internal wires away from the soundcard.
    >> - That the on-board sound on your motherboard is disabled through the
    >> BIOS.
    >> - That the on-board gameport is disabled through the BIOS.
    >> - That your motherboard BIOS is up-to-date.
    >> - That the operating system is up-to-date with the latest service
    > packs
    >> and patches.
    >> - That there are no background applications open when you attempt the
    >> solution.
    >> - That the anti-virus program is disabled.
    >> - That if you are over-clocking your system, return all options to
    >> their
    >> recommended settings.
    >> - That you access the PC with administrator rights.
    >>
    >> Do reply back to me if you are still having problems with any error
    >> messages prompted. Thanks.
    >>
    >> For faster service please reply with previous correspondence when
    >> replying to this email.
    >>
    >> Best Regards
    >> ,
    >>
    >> Ronshone
    >> Technical Support
    >> Creative Labs Americas
    >>
    >>
    >>
    >> To provide feedback on your "Creative Experience" please click on the
    >> following link:
    >>
    Link removed
    >>
    >> This link is provided so that you may provide feedback on your
    >> "Creative
    >> Experience". If you require further troubleshooting or have additional
    >> questions simply reply to the original mail and we will be glad to
    >> assist you.
    >>
    >> Original Message Follows:
    >> ------------------------
    >> User Detail
    >> ----------------------------------------
    >> Name : Bill Allen
    >> Email Address : [email protected]
    >> Self Description : Intermediate PC User
    >>
    >> Creative Product Information
    >> ----------------------------------------
    >>
    >> Problem Type : I need help with a third-party software application
    >>
    >> Problem lies with:
    >> ----------------------------------------
    >> Adobe Premeire Pro .5 and Adobe Audition
    >>
    >> Customer's System Specification
    >> ----------------------------------------
    >>
    >>
    >> Detailed Problem Description
    >> ----------------------------------------
    >> I can hear sound from my computers speakers. The diagnostic tests
    >> performed by the Creative software are all "OK", but I cannot record
    >> audio with either of the two programs mentioned above. I have checked
    >> everything I can think of and all of the settings appear to be "OK".
    > I
    >> have also updated the driver for the sound card. What can I do?
    >>
    >> Attachment :
    >> [ Attachment Type: application/octet-stream Name: CTSi.cab]

    TeamRacing6 wrote:
     b noir,
    I can get itunes to start if I disable Bonjour or if I "repair" it first. Sometimes I can repair Bonjour though add/remove programs, sometimes it will only "repair" using WinRar. Sometimes I have to "repair" Bonjour 2 or 3 times to get iTunes to start.
    I have tried uninstalling and reinstalling at least a dozen times. I have tried redownloading iTunes at least 5 times and from different links. This leads me to believe that the dnssd.dll file is not itself corrupt, but this newest version is causing a conflict with XP somewhere somehow.
    Team, iTunes 10.2.2.12 has just been released. I installed it and checked, and BonJour's been updated to version 2.0.5.0, and there's a new 2.0.5.0 version of dnssd.dll on my system. So I reckon it's worth a try updating to that to see if it's of any help with your trouble.

  • Problem in audio conferencing using Flex and FMS3.0

    Hi Everyone,
    I am trying to achieve audio conferencing using Flex and
    FMS3.0
    Currently I am following an approach where all the persons in
    voice conference publish their voice on flash media server using
    NetStream.Publish() function and all persons listen to the streams
    published by all other members in the conference using
    NetStream.Play() function. I am using a shared array on server side
    to keep track of all the persons present in the conference. The
    problem I am facing is that sometimes all the persons are able to
    hear the voice of each other but other times audio of some persons
    is not audible to others. Even if voice comes then there is echo
    and one can hear the sound 3-4 times depending on the amplitude of
    the sound. I have also used Microphone.setUseEchoSuppression(true)
    to suppress the echo but it is not effectively suppressing it. If
    someone has faced similar problems in past please let me know the
    solution. Thanks in advance.
    Regards,
    Pankaj

    I know.. but it was wrapped as jar or war files..
    I searched all over my harddrive to find something named like org.apache or jdbc.clientDriver...and so on..with no result.
    and I unziped derby.jar or derbyclient.jar etc.. also with no result.
    It's like the driver has hiden somewhere like viruses...at least to me..
    Edited by: dewyone on Dec 25, 2007 1:48 PM

  • Problems with domain name in global_name and database links

    I have to create a database link on Oracle 9i **without** a domain. Somehow whenever I create a database link, a domain is added. This domain seems to be the domain that is also added to the database global name (and is the same as my TCP/IP domain on my windows machine).
    I tried to create the db link:
    create database link "TEST"
    connect to remotedb
    identified by mypassword
    using 'myservicename';
    and get:
    TEST.DOMAIN.COM instead of TEST.
    I also tried to change my database global name:
    alter database rename global_name to NEWNAME
    and still the database name is NEWNAME.DOMAIN.COM
    So there does not seem to be any way to remove the domain.
    Note that:
    - db_domain is not set in init.ora
    - names.default_domain is not set in sqlnet.ora
    - global_names = false
    So... how to get rid of the domain part?

    Hi,
    this is not what you want to hear, but once a global_name has a domain associated with it you can't get rid of it, you can change it to a different domain with the alter database command but not to null and it is this domain that will always get appended as default to your db link name so your stuck with it

  • File adapter and database adapter

    hello everybody,
    i am using 10.1.3.1.o 10g
    i would like to access the data from .txt file and insert into oracle table.
    i did the following:
    1. i used file adapter(synchronous read) from local system.
    2. i used invoke activity to invoke the data from file adapter.
    3. i used asynchronous process.
    then what are the next steps i have to do?
    plse tell me what i have to do.

    hello andy,
    thanks for reply.
    Please read the following:
    i did the following:
    i have taken asynchronous process.
    selected fileadapter from partnerlink list, named as "fileadapter".
    selected synchronous read
    selected physical path,clicked browse and selected the folder where it is existed, checked delete files after retrieval
    typed the file name i.e. test.txt
    Define schema for native format selected.
    selected delimited, location of the file(F:\test\test.txt)
    selected file contains only one record
    enter the name as "schema", nxt, next finish.
    it created test_1.xsd(schema location). finish
    then drag and droped Invoke1 to the swimlane.
    in invoke1, selected partner link -fileadapter
    operation-synchread
    input variable- clicked createinputvariable(Gloabal variable)
    output variable-clicked createinputvariable(Global variable)
    created onemore partnerlink, selected database adapter
    named as "databaseadapter"
    selected connection "oracle"( i have already created database connection with oracle 10g)
    selected perform an operation on table
    selected "INSERT ONLY" option
    clicked import tables
    clicked query, selected "mindview" table, next, ticked both the columns(slno,name), finish
    and the table"mindview" has 2 rows already.
    i want to insert 3rd row.
    in partnerlink Myrole-"databaseadapter_role" is selected
    draged and droped invoke2 after invoke1 in the swimlane
    selected partnerlink as "databaseadapter"
    operation- insert
    Input variable - clicked torch light at right, selected "Invoke_1_SynchRead_OutputVariable"(output variable of invoke1)
    on invoke2 icon an error is showing i.e.
    Variable Types: {http://xmlns.oracle.com/pcbpel/adapter/file/fileadapter/}schema_msgdoes not matchOperation Input Message: {http://xmlns.oracle.com/pcbpel/adapter/db/databaseadapter/}MindviewCollection_msg
    **output variable is inactive mode. i cant select create output variable**
    i cant understand whats the problem? everything is right.
    This is asynchronous process.
    Is there any problem in above mentioned procedure?
    if i add transform activity after invoke2, how i can connect without outputvariable of invoke2?
    please tell me whats the problem?
    Regards
    Prasad
    Edited by: user12251899 on Dec 3, 2009 9:11 PM
    Edited by: user12251899 on Dec 3, 2009 9:20 PM
    Edited by: user12251899 on Dec 3, 2009 9:23 PM
    Edited by: user12251899 on Dec 3, 2009 9:52 PM

  • [OLD-BPEL PM] DataBase Adapter 성능향상문제...

    댓글: 1 - 페이지: 1 - 마지막 글: 2006. 12. 9 오전 1:39 최종 작성자: champion 글타래(쓰레드): [ 이전 | 다음 ]
    iris
    글: 18
    등록일: 06. 11. 6
    DataBase Adapter 성능향상문제...
    게시일: 2006. 12. 8 오후 6:36 댓글
    Database Adapter를 이용해 다량의 Row를 Select해서 다른 Table에 Merge를
    해보았습니다.. 10만건을 test했는데 서버가 다운되더군요...
    5만건을 테스트했더니 서버가 엄청 버벅되더니 죽지는 않았는데 속도가
    상당히 많이 걸립니다... 이런건 해결할수 있는방법이 없나요?
    Polling관련 Tutorial을 보면 Performance관련 예제가 있던데 한번 따라해
    봤습니다.. Polling은 Wizard에서 MaxRaiseSize나 NumberOfThreads, MaxTransactionSize 같은 부분을 설정해 주는부분이 있습니다...
    polling을 사용하지않고 그냥 Custom Excute SQL을 사용해 DB에서 가져올때는
    이런 Performance향상을 위한부분이 Oracle BPEL에 있는지 궁금합니다..
    (속도및 OutOfMemory관련)
    또한 Polling시 MaxRaiseSize, MaxTransactionSize 이런 부분은 속도와 상관이
    있는 부분인지 궁금합니다.
    그럼 답변 부탁드릴께요.. 감사합니다.. ^^
    champion
    글: 6
    등록일: 06. 10. 26
    Re: DataBase Adapter 성능향상문제...
    게시일: 2006. 12. 9 오전 1:39 iris 님의 질문에 답변 댓글
    XML 처리에 있어서 가장 문제가 되는 것은 Node의 Depth와 XML 자체 사이즈입니다. BPEL은 기본적으로 XML 연산을 많이 해야되기 때문에 항상 Variable을 Dom Object로 관리하고 특정 값을 구하거나 바꾸거나 하는 작업을 진행합니다. 따라서 DB의 Data를 가져오는데 있어서 중요한 성능 요인은 XML의 크기(Columns 곱하기 Rows)입니다. Column이야 필요한 것은 모두 가져와야 하니 당연히 Rows의 수를 조절하는 방법이 가장 효과적입니다. MaxRaiseSize가 이를 조절하는 Parameter고요 일반적으로 100 근처의 값을 사용합니다. 즉, 1000Rows가 처리되어야 한다고 가정할 때 MaxRaise가 100이면 10개의 BPEL Instance가 동시에 기동되어 처리되는 것입니다. 참고로 저희가 내부적으로 Notebook을 이용하여 DB2DB(Polling > Transformation > Merge) Test를 하면 분당 2만건 정도를 소화하더군요.
    한가지 더 DB Adapter 관련 Tip을 말씀드리면 Merge는 Insert보다 훨씬 비싼 Operation입니다. 따라서 단순 Insert의 경우 Merge 보다 Insert를 사용하시는 것이 성능 측면에서 유리합니다.
    마지막으로 DB Adapter가 사용하는 DataSource는 반드시 oc4j-ra.xml에 정확히 setting 되어야 하고 되도록이면 다음과 같이 oc4j가 관리하는 DataSource를 사용하시는 것이 DB Connection 사용 측면에서 유리합니다.
    usesExternalTransactionController="true"
    usesExternalConnectionPooling="true"
    dataSourceName="jdbc/<someDataSourceName>"

    In the transform activity (xslt) you need to use the for-each expression for the repeating element.
    right-click the target root node that repeats, select node, and there should be an option of for-each
    This will make it repeating.
    cheers
    James

  • Null/Empty Strings use in ESB Database Adapter

    Hi
    I'm trying to use a database adapter to execute an update on a table with a composite primary key; one of the primary key columns sometimes contains an empty string, however whenever I try to call the adapter, it always converts this to a null value. Is there an easy way to force the adapter to use an empty string instead of a null?
    Thanks.

    the idea here is to execute the dbms statement, or the setpolicycontext statement in a db session, and being able to execute the next sql statement in the same db session.
    This is possible with consecutive database adapters sharing the same db session.
    and two db adapters sharing the same db session is possible, if you make sure that the bpel is participating in the db transaction which can be made possible via xa db connections.
    Hope this helps,
    Write back in case you need more info.

  • Problem with Join Queries using PHP and an Orcale Database

    Ok, I am trying to build a simple php querying tool for my oracle database and for the most part it is working however I am having a problem getting data from my join queries. If I run the following query :
    QUERY:
    SELECT lastfirst,EnteredBy,Debit FROM students sts JOIN GLDetail gl ON gl.studentid=sts.id
    RESULT SET:
    Lastfirst     EnteredBy     Debit
    caiu, test      204     1
    But when I run the query correctly I get no results
    QUERY:
    SELECT sts.lastfirst,gl.EnteredBy,gl.Debit FROM students sts JOIN GLDetail gl ON gl.studentid=sts.id
    RESULT SET:
    sts.lastfirst     gl.EnteredBy     gl.Debit
    and if I run the query combining the two above methods and adding a field (schoolid) that has the same name on both table I get the following result sets
    QUERY:
    SELECT lastfirst,EnteredBy,Debit,sts.schoolid FROM students sts JOIN GLDetail gl ON gl.studentid=sts.id
    RESULT SET:
    lastfirst     EnteredBy     Debit     sts.schoolid
    caiu, test      204     1     
    QUERY:
    SELECT lastfirst,EnteredBy,Debit,schoolid FROM students sts JOIN GLDetail gl ON gl.studentid=sts.id
    RESULT SET:
    NONE
    Therefore, I have to have something written incorrectly in my php code and I just can not figure it out. My entire code is pasted below please provide me with an assistance you might have to offer. I have change the odbc_connec line so I could post it to this forum. In addition, I had to phrase out the column headers there for when you write the column headers you have to use ~ instead of , as the separator and then I turn back into the correct format for sql.
    //These scripts just open help windows if somone clicks on the icon
    <script>
    function submit()
    {document.sqlform.submit();}
    </script>
    <script>
    function colwin(){
    window.open("colnames.php",null,"height=300,width=400,scrollbars=1");}
    </script>
    <script>
    function tabwin(){
    window.open("tablenames.php",null,"height=300,width=400,scrollbars=1");}
    </script>
    <script>
    function help(){
    window.open("http://www.w3schools.com/sql/default.asp",null,"height=500,width=700,scrollbars=1");}
    </script>
    <form method="post" action="<?php echo $PHP_SELF;?>" name="sqlform">
    <?php
    //Cookie to check for authorization to the site
    if($_COOKIE['cookie']=="CheckCookieForAuth")
    //These get the values of the textareas after the form has been submitted
    $sqlSELECT = $_POST["SELECT"];
    $sqlFROM = $_POST["FROM"];
    $sqlJOIN = $_POST["JOIN"];
    $sqlWHERE = $_POST["WHERE"];
    $sqlOTHER = $_POST["OTHER"];
    $sqlSELECTTYPE = $_POST["SELECTTYPE"];
    //This is the variable used to parse out my headers the user entered
    $sqlColNames = split('~',$sqlSELECT);
    //This converts the ~ separator to , so I can actually use it as part of my sql string
    $search = array('~');
    $replace = array(',');
    $mystring = $sqlSELECT;
    $sqlString = str_replace($search, $replace, $mystring);
    //These are the textareas and the drop down options that the end users has to create queries
    echo "<table border=0>";
    echo "<tr><td valign='top'>";
    echo "<B>SELECT TYPE</B> <BR><SELECT NAME=SELECTTYPE>
    <OPTION VALUE='SELECT' SELECTED>SELECT</OPTION>
    <OPTION VALUE='SELECT DISTINCT'>SELECT DISTINCT</OPTION>
    <OPTION VALUE='INSERT'>INSERT</OPTION>
    <OPTION VALUE='UPDATE'>UPDATE</OPTION>
    <OPTION VALUE='DELETE'>DELETE</OPTION>
    </SELECT>";
    echo "</td><td>";
    echo "<textarea rows=2 cols=75 name=SELECT wrap=physical>$sqlSELECT</textarea>";
    echo "</td><td valign='top'>";
    echo "<img src='images/sqlC.jpg' width='25' height='25' onclick='colwin()'>";
    echo "</td></tr>";
    echo "<tr><td valign='top'>";
    echo "<b>FROM</b>";
    echo "</td><td>";
    echo "<textarea rows=2 cols=75 name=FROM wrap=physical>$sqlFROM</textarea>";
    echo "</td><td valign='top'>";
    echo "<img src='images/sqlT.jpg' width='25' height='25' border=0 onclick='tabwin()'>";
    echo "</td></tr>";
    echo "<tr><td valign='top'>";
    echo "<b>JOIN</b>";
    echo "</td><td>";
    echo "<textarea rows=2 cols=75 name=JOIN wrap=physical>$sqlJOIN</textarea>";
    echo "</td></tr>";
    echo "<tr><td valign='top'>";
    echo "<b>WHERE</b>";
    echo "</td><td>";
    echo "<textarea rows=2 cols=75 name=WHERE wrap=physical>$sqlWHERE</textarea>";
    echo "</td></tr>";
    //This is where the end user would enter group by, having, order by, etc..
    echo "<tr><td valign='top'>";
    echo "<b>OTHER</b>";
    echo "</td><td>";
    echo "<textarea rows=2 cols=75 name=OTHER wrap=physical>$sqlOTHER</textarea>";
    echo "</td></tr>";
    This is a run query icon and a help icon
    echo "<tr><td colspan=2 align=right>";
    echo "<img src='images/RunQuery.jpg' width='30' height='28' onclick='submit()'> <img src='images/qm.jpg' border=0 width='25' height='25' onclick='help()'>";
    echo "</td></tr></table>";
    echo "<br>";
    echo "<br>";
    //This is where I connect to my remote oracle database
         $conn=odbc_connect('ODBC_ConnectionName','USERNAME','PASSWORD');
    //This is the sql string created by the end users
         $sql="$sqlSELECTTYPE $sqlString FROM $sqlFROM $sqlJOIN $sqlWHERE $sqlOTHER";
    //This executes the connection string and the sql string
         $rs=odbc_exec($conn,$sql);
    //This will display the query or a message if the query is empty
         if($rs!=NULL){
         echo "<table border=1>";
         echo "<tr>";
    //This loops through the string array the end user enter the field name text area to get column headers
         for($i=0; $i<count($sqlColNames); $i++)
         echo "<td>";
         print_r($sqlColNames[$i]);
         echo "</td>";
         echo "</tr><tr>";
    //This actually fetchs the rows from the statement and then display the data based on the column names the end user speificed
         while (odbc_fetch_row($rs))
              for($i=0; $i<count($sqlColNames); $i++)
                   $results=odbc_result($rs,$sqlColNames[$i]);
                   echo "<td>$results</td>";
              echo "</tr>";
         odbc_close($conn);
         echo "</table>";}else{echo "Results will be displayed here";}
    echo "<br><br>";
    echo $sql;
    else
    echo "Not logged in";
    ?>
    </form>

    This looks more like a SQL question than a PHP issue. There are a couple of JOIN examples at http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_10002.htm#i2066611 that might you work through the problem.

  • Simple Problems of oracle 8i using Rman and so.................

    I am Shan here. I am DBA student for oracle 8i. I have a problem with a backup and recoverys article which is Rman. If you can not help for this then please tell me a contact of that person who can help me. If u can then it is on..
    1- I create a user RMAN. I grant him a quota on rman and on rman_temp tablespace; grant him a dba, sysdba, recovery_catalog_owner role. Then I connect it to target. Then I create catalog, then register database then type a command of list (LIST COPY OF DATABASE and LIST BACKUP OF DATABSE) it shows me nothing. ok.
    Then I take a whole backup of a database with the command
    Run {
    Allocate channel c1 type disk;
    Backup
    Format d:\backup\whole_%d_%s_%p.bak
    (Database) ;}
    This command shows me allocating channel and then processing backup Then this commend ended successfully. And it shows me files physically of my desire path. Then I query a command of LIST for showing me my backup details (LIST BACKUP OF DATABSE). But it shows me nothing. No details about my backup. But the file is still physically there at my given path.
    This is the same story with copy command it physically create a file there but do not show it with LIST COPY OF DATABASE command.
    It is not a story of a single Computer I changed it and do the same stuff with the others but the result is same. But I got desire results on one Computer but next day I got another problem with this Computer. I type a command of list backup it shows me the results. It has two backup pieces. I tried to delete them with change command by allocating channel for delete type disk. And then change backupset 605(backup set no) delete;. It shows me that he deleted that file form path but when I query of list backup it show me the same results which it show me before delete. Then I tried to delete second set which is still there I would not allow me to delete that set and give a error that catalog does not have the information about that file but list command show me both pieces. I do manual resync catalog command but no difference on results.
    Then I take another whole backup at another place, and query to get its information but list command does not show the results. It shows me the old results. Then I take a backup of a single data file and query but the result is same.
    I also tried to delete that copy data file by change command but it says that recovery catalog do not have the information about that file.
    2- If we allocate more then one channels for backup on a same drive what will be the behavior of those channels.
    Will them not working parallel. And tell me that it is true that channels will work parallel when they are writhing information on different drives (different drive means that two different hard drives physically).
    Syntax of all commands is writen,I tallied it by book.<<<<<<<<<<<<<<<<3- What is O stands for in crosscheck command? A stands for available U Stands for Unavailable and O Stands for? In a status column.
    4- Please tell me a single command to delete all tables of a user. (Single command..)
    We are using ORACLE 8i (8.1.7.0.0) Version for practice.
    Give its solution by mail
    [email protected]

    I have briefly used sql*ldr in linux and yes, it does support exit codes

  • How to insert delay without using loops, and how can I use variable to store data in labview

    Hi all,
    I am new to Labview and I realized that quite often I am in condition to require a delay beween two functions or elements.. how can we insert a delay in such cases?
    I know how to use delays in a loop. but don't know how to inser some time delay between two elements.
    I have one more question, I know its a bad practice to post 2 questions in 1 thread.
    How can I use a temporary variable to store data, So far I am storing it in an indicator by making it invisible in front panel and making local variable of that indicator, is it the right way to do it ?
    Thanks in advance.

    Generally, LV doesn't have variables in the same sense that most languages do. You can use indicators to perform the same function as variables, but as Adnan pointed out, you run the risk of having race condition and it creates data copies, which is a problem if you have a lot of data. In most cases, you should use wires to perform the function of variables, which is to store data and make it available to the different functions in your code. Instead of thinking about variables, you need to think about data (something like "I have the data coming out of this function. Where does it need to go?").
    Try to take over the world!

Maybe you are looking for

  • Creation of IBASE with the XIF adapter

    Hello, I am trying to create IBASES using the XIF adapter (LSMW). The actual creation of the IBASE is no problem, but creating an IBASE with a partner + address connection seems not to work. In HELP.SAP there are examples of IBASE craetion with compo

  • Need to get files off of a hard drive.

    I had a powerbook 17' and it crashed due to a faulty power supply. I now have a Macbook and the Powerbook is deemed useless, however I want to recovery files from the hard drive. It won't turn on at all...I plan on opening it up and taking the hard d

  • [CS3][JS] Document.packageForPrint only writes instructions.txt

    Hi guys (and girls?), I wanted to create a package from a document that is generated by script, but instead of exporting all files, it only gives me the instructions.txt. When I copy the packageForPrint line in a very simple script it does work: var

  • Hi gurus, please tell me whats the role of partners in contracts ?

    Hi whats the role of partners authorised to release contract....what are the partner functions used in contracts(different types  of contracts-partners please explain if ucan) thanks in advance and good points for right answer.... regards krishna

  • IPhoto can't open library

    After the latest update, iPhoto informs me the library can't be open and quit afterward, see image below. Advices are appreciated!