Seeking Suggestion

Hello All,
     I am a newbie to SOA and OpenESB.I want to take some advice to get an initial direction to proceed. Let me explain my requirement first.
     I work as software developer in a business rules product software company. It bascically has a rule engine which is used to evaluate certain input conditions and return appropriate actions based on those.This engine is already deployed as a web-service and i can invoke it via axis server.
     Now my task is to integrate this rule engine in OpenESB architecture.As I am going through the specs and the demo ,i figured out few options:
1) the rule engine which is already deployed as a web service can be called from outside the JBI environment and used as an external service.
2)the rule engine can be installed as an internal service to jbi environment.
is the second option viable?...actually it is requirement not to use the axis server and that would mean i cant use the present webservice engine.
So,wat is the possibility of using my existing engine classes inside JBI env. What exactly I would need to do. And could you please suggest some document or demo which can help me in this regard.
Any help in this regard will be highly appreciated.
Regards,
Kunal Chakrabarty
a novice to OpenESB and JBI.

Hello All,
I am a newbie to SOA and OpenESB.I want to take some
e advice to get an initial direction to proceed. Let
me explain my requirement first.
I work as software developer in a business rules
s product software company. It bascically has a rule
engine which is used to evaluate certain input
conditions and return appropriate actions based on
those.This engine is already deployed as a
web-service and i can invoke it via axis server.
Now my task is to integrate this rule engine in
n OpenESB architecture.As I am going through the
specs and the demo ,i figured out few options:
1) the rule engine which is already deployed as a web
service can be called from outside the JBI
environment and used as an external service.
2)the rule engine can be installed as an internal
service to jbi environment.
is the second option viable?...actually it is
requirement not to use the axis server and that would
mean i cant use the present webservice engine.The second option should be viable. JBI was designed to give service engine (and binding component) implementors as much flexibility as possible. The fact that you already a working webservices interface to your rules engine suggests you've already done the hard work: finding a mapping from your component's application domain (business rules) to/from a services model.
Using the first option will still allow you do accomplish some interesting things with JBI. You could use the protocol hopping feature, for example, to allows JMS requests to be routed to the rules engine (via SOAP/HTTP). This does involve an extra protocol wire hop, but does expand your connectivity options beyond what Axis supports.
>
So,wat is the possibility of using my existing engine
classes inside JBI env. What exactly I would need to
do. And could you please suggest some document or
demo which can help me in this regard.
Implementing a JBI component can be quite simple, as long as the component itself is very simple. There are articles on the web concerning how this is done.
It sounds like you simply need to replace the I/O accomplished by the Axis SOAP stack with the JBI delivery channel. (Some adjustment may be necessarary to adapt to JBI's asynchronous message exchange model, but this is easily accomplished.)
You will need to adapt your engine to the JBI component life cycle model. This can be difficult, especially if it is controlled by other administrative tools. JBI assumes that the JBI MBeans have control of component life cycles (stop/start etc.). We've run into interesting situations controlling the life cycle of Servlet-based services, where the servlet container is a JBI service engine. The servlet container in question (in the Sun application server) already has a life cycle, which is controlled by the app server itself.
The most complex part of any JBI component tends to be the ServiceUnitManager implementation (which is optional). If you choose to implement this, you'll have to figure out how to dynamically add and remove rules (services) from your engine. If your engine supports dynamic changes to the rules deployed, you won't have any trouble. If your rules engine doesn't support this, then omit the ServiceUnitManager.
Any help in this regard will be highly appreciated.A good starting point is to download the NetBeans 5.5 beta; this includes a subset of Open ESB (called the starter kit), and a lot of tools integrated into the IDE to make creating composite applications for Open ESB easy to do. It will save you a lot of learning you'd otherwise need to invest in initially to learn how to use the administrative tools that come with Open ESB.
There are articles on the web concerning creation of JBI components. I believe some Sun people and Apache people have blogged about this as well. In addition, Open Source efforts like Open ESB include the source code for service engines. I suspect your rules engine would, in terms of message exchange patterns supported, be most similar to the Open ESB transformation engine. You might want to start there, copy the code, and alter it to suit your needs. (Of course, you'll need to conform to the CDDL terms if you do this, but it is a very "open" open-source license, akin to the Mozilla Public License.)
-Ron

Similar Messages

  • RAID problem--seeking suggestions

    This is very strange to me...
    I just updated my MacPro to Snow Leopard. Everything has been fine for the past few weeks with the new OS. Today, I started my two external LaCie 500GB drives that are set up as a RAID 1 (mirrored). As soon as the computer booted, it put me in "shut down now" mode...the grey screen with multi languanges telling me I had no other option but to shut it down. Testing this and that, the computer functions fine until I start the RAID drives--together, or independently. LaCie claims the RAID has gone bad and that I have cable problems or need to send it to a recovery specialist. I tried new cables--no better.
    Does anyone have any ideas how I can access this drive without the computer crashing? I would love to simply transfer the data to a different drive, reformat the "corrupt" ones, and then reload them using Carbon Copy...I've learned that RAIDs typically suck.
    Thank you in advance for any suggestions.
    PS. I do have the data backed up on disc in my safe deposit box--but, do not recall from which date to which date is on the RAID!

    I think you will have problems under the best of conditions anyway starting the RAID with only one drive, but that could be a clue.
    Are the drives daisy-chained or through a hub?
    What is most likely happening is that the power supply brick to one of the hard drives has failed or is failing, and that drive is trying to pull too much juice from the FireWire bus and causing bus funkiness.
    If the drive is under warranty LaCie will replace the power supply brick. If not, you can buy them for around $20 US from their website. My LaCie drives tend to lose a proportionally high amount of power supply bricks so I always keep a spare or two around the house.

  • I'm seeking suggestions to create a data message playback system

    I am working with a data message table and want to playback the data with timed, FFw, Rev or pause functions.
    Details:
    Table contains different messages like rows in a spreadsheet.
    Each message row is sent one at a time and is comprised of binary hex data that must be decoded and displayed on the screen.
    I'd like to use event structures to step through the data and view the decoded messages.
    Does anyone have example vi's that may solve my problem or provide direction?

    Hi jdam,
    Thank you for posting in our forums. LabVIEW is a very powerful and versatile tool that should be able to accomplish some of your tasks. First, I just want to clarify some things about your issue. With this data message playback, is there a specific file format that you were looking to use? Or were you just looking to display the results back on the screen? If your data is stored in a spreadsheet file, then I'm assuming you have some sort of two-dimensional array of data. You can use some of the array functions, such as Index Array, to pull out each row on each iteration of a while loop and act on that data. This action can include performing a conversion from the binary hex data into whatever specific format you are trying to use. We have functions like the typecast function and other format conversion functions in the String/Conversion Palette of VI's that can help accomplish this task.
    You should be able to use a simple user interface that has a button for each playback action. Each of these buttons can be tied to a specific event in an event structure. Using the appropriate converted data format, you can have each of these events perform whatever actions or display with your data depending on the button that is pressed. Was this the type of functionality that you were looking for? If you wouldn't mind elaborating a little bit more on your steps, I would be able to give you more detail to push you along a more specific path. I hope that I'm understanding you correctly. Take care and have a great day!
    Regards,
    Matt G.
    Applications Engineer
    National Instruments

  • Seeking suggestions for iOS wireless multiplayer games

    With the holiday season in full swing, my sons and I are having a little fun with our iOS devices - namely an iPad 2 64GB and an iPod Touch 3rd-gen 32GB.
    I'd like to get some ideas for games to get from the App Store which allow wireless multiplayer between the two devices. My strong preference is for universal apps which will play the same way and which I don't need to pay for twice.
    I already have the complete Capcom Arcade, and most of Atari's Greatest Hits, but sadly these are not my guy's style. (Plus, for some reason, the smoothest running Capcom game that was originally 2P co-op in the arcades, Magic Sword, does NOT have a wireless co-op mode on iPad!) Furthermore, I have one air hockey game which looks good on both devices, yet does not offer cross-device multiplayer.
    Best of the season to you, whether or not you have any ideas to contribute!

    OK, then... one example is iReverse (Pro), which despite the title is actually a free game. I have installed it successfully on both iPod Touch and iPad, and am now "playing with myself" (if you'll excuse the double-entendre).
    Come on, people, there's gotta be some great gems out there!

  • Seeking suggestions ...

    I have this photo of my grandmother that I really like. I like it, not so much for the kids around her, but for her snickering reaction to the kids. (too bad my face isn't in the photo! ... that's me in the front bent over laughing! ;))
    <br />
    <br />I'm looking for ways to work this photo (retouch?) to capture her reaction of the moment and make it a more special print. Anyone care to help me along this endeavor?
    <br />
    <br />
    <a href="http://www.pixentral.com/show.php?picture=1iJyInyDOhLJ05YBSQtqu9Fd8TaQo" target="_blank" /></a>
    <img src="http://www.pixentral.com/hosted/1iJyInyDOhLJ05YBSQtqu9Fd8TaQo_thumb.jpg" border="0" />

    Hopefully LT will weigh in on this. I know he's a pro retoucher.
    <br />
    <br />'Til then here's my offering.
    <br />
    <br />Obligatory Disclaimer:
    <br />
    <br />This was just a quick dalliance while I was waiting for dinner to cook.
    <br />
    <br />I don't know if you were looking to do anything along this lines, Hop. I did something "similiar" on some portraits of two of my nephews a few years ago---I'd post it, but the file's on my other computer.
    <br />
    <br />I like the effect because it reminds me of the old Polaroid process where they gave you this fixative that you had to drag across the surface of the print. If you were a "little un-even" in doing this, after a couple of months or weeks even you would get theses streaks on the print which would change color and eventually fade. I think that was my favorite part of the Polaroid. XD
    <br />
    <br />Anyway, if you're interested in doing something like this, briefly what I did was:
    <br />
    <br />1) A few little level and bright/contrast adjustments on the print you posted
    <br />2) Dodged gramma, to make her a little lighter and stand out from the crowd
    <br />3) Selected the whole canvas
    <br />4) Cleared (deleted) the image
    <br />5) Grab the "History Brush" of your choice. I just used a "24 pixel Spatter".
    <br />MODE=Normal OPACITY=25%
    <br />6) Brush back in the image. What you want to do here is concectrate on your gramma first---getting her back to "full opacity". This is where the OPACITY=25% comes in. You'll have to make a few "passes" to bring that about. DON'T be so meticulous about it, especially when you are "reclaiming" the rest of the image. Then just keep on with the history brush until you achieve something you like. Again, keep the kids at less than full opacity/density.
    <br />
    <br />At this point, you'll have a B&amp;W "brushed" image.
    <br />
    <br />7) Grab "Magic Wand": TOLERANCE=75 ANTI-ALIASED: "Check" CONTIGIOUS: "Check"
    <br />Again, you can mess with the Tolerance 'til you get what you want. Then...click anywhere *on the white area surrounding the picture*---it will select what it will select.
    <br />8 ) Go to: SELECT&gt;INVERSE Now you should have the main part of the picture selected again.
    <br />9) Go to: IMAGE&gt;ADJUSTMENT&gt;COLOR BALANCE and adjust to your heart's desire.
    <br />
    <br />Like I said, I did this on the fly, but you could also probably play with HUE/SATURATION...or...even convert it from an RGB to a GRAYSCALE to a DUOTONE image and play with that.
    <br />
    <br />Hope that helps at least stimulate some ideas if nothing else, Hop. Post back and let us see what you decided to do...when you do it.
    <br />
    <br />:)
    <br />
    <br />
    <a href="http://www.pixentral.com/show.php?picture=1ADoZhZNTpuecy7EU2JD7iAfLka3Dy" /></a>
    <img alt="Picture hosted by Pixentral" src="http://www.pixentral.com/hosted/1ADoZhZNTpuecy7EU2JD7iAfLka3Dy_thumb.jpg" border="0" />

  • Seeking suggestion related to 11g OCA

    Dear All,
    I hold a certification of OCA in 9i and now I want to do certification in 11g. What will be certification path for me? Should I again attempt the 1Z0-007 in 11g OCA which I alteady cleard in 9i OCA.
    Regards,
    Mritunjay

    Mritunjay wrote:
    Dear All,
    I hold a certification of OCA in 9i and now I want to do certification in 11g. What will be certification path for me? Should I again attempt the 1Z0-007 in 11g OCA which I alteady cleard in 9i OCA.
    Regards,
    MritunjayFirstly you are +never allowed to re-take a passed exam.
    Your pass of 1z0-007 will remain a valid pe-req for the SQL pre-requisites of 11g DBA OCA certification, so from the certifications viewpoint you have no need to wory about taking an SQL exam.
    You can therefore, with your existing pass, gain 11g DBA OCA simply by passing 1z0-052.
    ....... However you should perhaps consider whether you wish at some point to gain 11g DBA OCP. And if this is the case you may wish to consider what (if any) training courses you have successfully passed. It may be you have traning courses eligible for 9i DBA OCP; and if that is the case there may be value in achieving that certiifcation first.
    All relevant details are available by careful browsing of http://certification.oracle.com and appropriate drilling down.

  • Time Capsule set up with secure business laptop

    I just purchased a Time Capsule and am seeking suggestions on how to set it up based on the following circumstances:
    In addition to multiple personal laptops/computers, I work from home and have a business laptop that is highly secure and do not have the ability to download AirPort (as suggested within the set up manual).  In addition, I am certain there will be issues with the internal Time Capsule hard drive (since my business computer has the ability to detect and shut down all unauthorized external components as a violation of information - Flash drive, memory stick, etc. I can't even use the laptop to charge a cell phone!).  Is it possible to use the Time Machine as my wireless router without downloading AirPort?  And is possible to set up so that this business computer does not read or have access to the hard drive?  Note:  My business laptop is also connected to a highly encrypted VPN/LAN router (which is than connected into my existing wireless router).
    I see that it is possible to connect the Time Capsule into an existing network.  Is this done by just connecting a ethernet cable between the Time Capsule and current Router.  Any other special set up info needed?  Does this just turn the Time Capsule into a hard drive and disable the wireless router fuctionality?  By setting up this way, does it slow down the transfer rate?
    Any computer guru suggestions would be greatly appreciated.

    Ldbenney wrote:
    Is it possible to use the Time Machine as my wireless router without downloading AirPort?
    First, don't confuse "Time Capsule", an Apple Wi-Fi base station, with "Time Machine", backup software included with OS X since version 10.5.  Airport Utility is only needed to configure a Time Capsule.  You'd only need it on one of your computers.
    I see that it is possible to connect the Time Capsule into an existing network.  Is this done by just connecting a ethernet cable between the Time Capsule and current Router.
    That's one way.
    Any other special set up info needed?  Does this just turn the Time Capsule into a hard drive and disable the wireless router fuctionality?
    Depending on what you're trying to accomplish, you might want to use AirPort Utility to turn off wireless operation and put it into "bridge mode".  You could also configure a "roaming network".
    By setting up this way, does it slow down the transfer rate?
    Between what and what?

  • Status showing being process in sales order

    Hi Friends,
    I have an issue with thrid party sales order processing
    Step#1
    My client runs the sales order for
          Material                     Qty
    p-100                   10
    p-101                10
    p-102               10
    step-2
    Purchase requisition created and from vendor delivery happened
    Step-3
    My user created billing with reference of sales order for below material
    Material          quantity
    p-100          20
    p-101                  10
    p-102          20
    step-4
    user found mistake and he cancelled the invoice and created new billing document
    for
    material                     quantity
    p-100                       10
    p-102          10
    again he found mistake and cancelled this billing document and create one more billing document with reference of sales order
    material     quantity
    p-100     10
    p-101   10
    p-102     10
    now the issue is for p-100 and p-101 it showing being process and p-101 it showing status as completed
    please suggest me

    First of all, this is not the right forum to seek suggestions for sales relates issues.  Second, please dont cross post in multiple forums.
    thanks
    G. Lakshmipathi

  • Under performanc​e! :(

    MODEL: HP 2000-2120TU / Win7 (in warranty period)
    PROBLEM : Turns off automatically (hibernates) after an hour or so.. ..sometimes even just after half-an-hour of working!
                          ..& "resumes" after 'restart'.
    MESSSAGE: "This was done to avoid 'over heating' ! ...vents may be blocked!" ...bla bla bla
    Seeking Suggestions!

    Hello FORCE_01,
    Please take a look at this document, which provides tips on keeping your notebook cool.  Toward the end of the document, it suggests to use Support Assistant to update your BIOS - I notice there was an updated BIOS released 12 days ago. 
    I hope this helps.  Please let me know.
    Good luck!
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • A Time Capsule, Airport Express and AT&T 2Wire walk into a bar...

    Alas, I'm sure this question has been asked before, but my reserach keeps turning up separate answers.  So I thought I'd turn to this forum for some advice.  Ultimately I'm seeks suggestions on various ways to configure my network to allow easy backups, connection two rooms, and wirelessly print from anywhere.
    I have a: 
    Time Capsule (dual band) - used for Time Machine backups
    Airport Express (older)
    and new 2Wire 3800HGV-B wireless modem/router from AT&T (for U-verse internet/TV)
    My room configuration is:
    Living room with TV, internet connected DVD player, and new AT&T 2Wire Wireless U-verse modem
    Home office with 2 desktop comptuers (no wireless cards) and a USB printer. 
    Two roaming laptops which move around the rest of the house
    The livingroom and the office can't be connected with a physical wire. 
    What I was hoping to do was setup my office with the Time Capsule in the office as a wired hub, and then use it as a wirelessly bridge to the 2Wire network.  But as I understand it, a Time Capsule can't be used as a bridge to a non-Apple product.  Please correct me if I'm wrong. 
    Alternately I could always get wireless cards for the desktop computers, but this leaves the printer.
    I've read suggesitons of people who have used their TC as the primary router, disabling wireless on their AT&T 2Wire, and hooking the two together with ethernet.  Others who just join the TC to the 2Wireness network.  But really what I'm seeking is a way to join the two rooms. 
    Any thoughts?  Am I asking the right questions or providing the right information?
    Much thanks,
    dana.

    So I figured I'd go with an initial suggestion and attached my TC via ethernet to the 2Wire modem/router in my living room, and make the TC my primary wireless router.
    Good plan
    since both will be in the same room, I assume I need to disable wireless on the 2Wire
    Correct
    What kind of configuration do I need to do on the TC, or do I just following the wizard and select 'Extend existing network'?
    You can follow the guided setup or I can give you a step by step manual setup. In either case, you will configure the TC to "Create a wireless network". 
    ("Extend" is only used if the TC connects using wireless only....you will be using Ethernet from one of the LAN <-> ports on the 2-Wire to the WAN port (world icon) on the TC.
    The guided setup will normally sense that the TC is connected to another router and suggest that the TC be configured in Bridge Mode, which is the correct setting. Otherwise, select the Bridge Mode option when it is presented.
    Note....If you have a newer dual band TC, the Guest Network option cannot be enabled when the TC is configured in Bridge Mode. So, if you want a "Guest" network, maybe the 2-Wire could provide that service.
    Should I attach this (via ethernet) to the TC or the 2Wire?
    Pick a LAN <-> port on either one, your choice, whichever is easier
    What should the AT&T DVR be connected to?
    I'm not familiar with an AT&T DVR, but if it connects via Ethernet, you can connect to a LAN <-> port on either the 2-Wire or the TC
    For printing, my plan is to attach the printer through USB to the Airport Express and then connect that wirelessly to the TC network (though my first attempt at this failed to connect).
    Suggest that you get the TC up and working smoothly. Then tackle the Express.

  • Auto Invoice Program taking too much time : problem with update sql

    Hi ,
    Oracle db version 11.2.0.3
    Oracle EBS version : 12.1.3
    Though we have a SEV-1 SR with oracle we have not been able to find much success.
    We have an auto invoice program which runs many times in the day and its taking too much time since the begining . On troubleshooting we have found one query to be taking too much of the time and seek suggestion on how to tune it.  I am attaching the explain plan for the for same.  Its an update query. Please guide.
    Plan
    UPDATE STATEMENT  ALL_ROWSCost: 0  Bytes: 124  Cardinality: 1 
      50 UPDATE AR.RA_CUST_TRX_LINE_GL_DIST_ALL
      27 FILTER 
      26 HASH JOIN  Cost: 8,937,633  Bytes: 4,261,258,760  Cardinality: 34,364,990 
      24 VIEW VIEW SYS.VW_NSO_1 Cost: 8,618,413  Bytes: 446,744,870  Cardinality: 34,364,990 
      23 SORT UNIQUE  Cost: 8,618,413  Bytes: 4,042,339,978  Cardinality: 34,364,990 
      22 UNION-ALL 
      9 FILTER 
      8 SORT GROUP BY  Cost: 5,643,052  Bytes: 3,164,892,625  Cardinality: 25,319,141 
      7 HASH JOIN  Cost: 1,640,602  Bytes: 32,460,436,875  Cardinality: 259,683,495 
      1 TABLE ACCESS FULL TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 154,993  Bytes: 402,499,500  Cardinality: 20,124,975 
      6 HASH JOIN  Cost: 853,567  Bytes: 22,544,143,440  Cardinality: 214,706,128 
      4 HASH JOIN  Cost: 536,708  Bytes: 2,357,000,550  Cardinality: 29,835,450 
      2 TABLE ACCESS FULL TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 153,008  Bytes: 1,163,582,550  Cardinality: 29,835,450 
      3 TABLE ACCESS FULL TABLE AR.RA_CUSTOMER_TRX_LINES_ALL Cost: 307,314  Bytes: 1,193,526,000  Cardinality: 29,838,150 
      5 TABLE ACCESS FULL TABLE AR.RA_CUSTOMER_TRX_ALL Cost: 132,951  Bytes: 3,123,197,116  Cardinality: 120,122,966 
      21 FILTER 
      20 SORT GROUP BY  Cost: 2,975,360  Bytes: 877,447,353  Cardinality: 9,045,849 
      19 HASH JOIN  Cost: 998,323  Bytes: 17,548,946,769  Cardinality: 180,916,977 
      13 VIEW VIEW AR.index$_join$_027 Cost: 108,438  Bytes: 867,771,256  Cardinality: 78,888,296 
      12 HASH JOIN 
      10 INDEX RANGE SCAN INDEX AR.RA_CUSTOMER_TRX_N15 Cost: 58,206  Bytes: 867,771,256  Cardinality: 78,888,296 
      11 INDEX FAST FULL SCAN INDEX (UNIQUE) AR.RA_CUSTOMER_TRX_U1 Cost: 62,322  Bytes: 867,771,256  Cardinality: 78,888,296 
      18 HASH JOIN  Cost: 748,497  Bytes: 3,281,713,302  Cardinality: 38,159,457 
      14 TABLE ACCESS FULL TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 154,993  Bytes: 402,499,500  Cardinality: 20,124,975 
      17 HASH JOIN  Cost: 519,713  Bytes: 1,969,317,900  Cardinality: 29,838,150 
      15 TABLE ACCESS FULL TABLE AR.RA_CUSTOMER_TRX_LINES_ALL Cost: 302,822  Bytes: 716,115,600  Cardinality: 29,838,150 
      16 TABLE ACCESS FULL TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 149,847  Bytes: 1,253,202,300  Cardinality: 29,838,150 
      25 TABLE ACCESS FULL TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 157,552  Bytes: 5,158,998,615  Cardinality: 46,477,465 
      41 SORT GROUP BY  Bytes: 75  Cardinality: 1 
      40 FILTER 
      39 MERGE JOIN CARTESIAN  Cost: 11  Bytes: 75  Cardinality: 1 
      35 NESTED LOOPS  Cost: 8  Bytes: 50  Cardinality: 1 
      32 NESTED LOOPS  Cost: 5  Bytes: 30  Cardinality: 1 
      29 TABLE ACCESS BY INDEX ROWID TABLE AR.RA_CUSTOMER_TRX_LINES_ALL Cost: 3  Bytes: 22  Cardinality: 1 
      28 INDEX UNIQUE SCAN INDEX (UNIQUE) AR.RA_CUSTOMER_TRX_LINES_U1 Cost: 2  Cardinality: 1 
      31 TABLE ACCESS BY INDEX ROWID TABLE AR.RA_CUSTOMER_TRX_ALL Cost: 2  Bytes: 133,114,520  Cardinality: 16,639,315 
      30 INDEX UNIQUE SCAN INDEX (UNIQUE) AR.RA_CUSTOMER_TRX_U1 Cost: 1  Cardinality: 1 
      34 TABLE ACCESS BY INDEX ROWID TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 3  Bytes: 20  Cardinality: 1 
      33 INDEX RANGE SCAN INDEX AR.RA_CUST_TRX_LINE_GL_DIST_N6 Cost: 2  Cardinality: 1 
      38 BUFFER SORT  Cost: 9  Bytes: 25  Cardinality: 1 
      37 TABLE ACCESS BY INDEX ROWID TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 3  Bytes: 25  Cardinality: 1 
      36 INDEX RANGE SCAN INDEX AR.RA_CUST_TRX_LINE_GL_DIST_N1 Cost: 2  Cardinality: 1 
      49 SORT GROUP BY  Bytes: 48  Cardinality: 1 
      48 FILTER 
      47 NESTED LOOPS 
      45 NESTED LOOPS  Cost: 7  Bytes: 48  Cardinality: 1 
      43 TABLE ACCESS BY INDEX ROWID TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 4  Bytes: 20  Cardinality: 1 
      42 INDEX RANGE SCAN INDEX AR.RA_CUST_TRX_LINE_GL_DIST_N6 Cost: 3  Cardinality: 1 
      44 INDEX RANGE SCAN INDEX AR.RA_CUST_TRX_LINE_GL_DIST_N1 Cost: 2  Cardinality: 1 
      46 TABLE ACCESS BY INDEX ROWID TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 3  Bytes: 28  Cardinality: 1 
    As per oracle , they had suggested multiple patches but that has not been helpful. Please suggest how do i tune this query. I dont have much clue of query tuning.
    Regards

    Hi Paul, My bad. I am sorry I missed it.
    Query as below :
    UPDATE RA_CUST_TRX_LINE_GL_DIST LGD SET (AMOUNT, ACCTD_AMOUNT) = (SELECT /*+ index(rec1 RA_CUST_TRX_LINE_GL_DIST_N6) ordered */ NVL(LGD.AMOUNT, 0) - ( SUM(LGD2.AMOUNT) - ( DECODE(LGD.GL_DATE, REC1.GL_DATE, 1, 0) * CTL.EXTENDED_AMOUNT ) ), NVL(LGD.ACCTD_AMOUNT, 0) - ( SUM(LGD2.ACCTD_AMOUNT) - ( DECODE(LGD.GL_DATE, REC1.GL_DATE, 1, 0) * DECODE(:B2 , NULL, ROUND( CTL.EXTENDED_AMOUNT * NVL(CT.EXCHANGE_RATE,1), :B3 ), ROUND( ( CTL.EXTENDED_AMOUNT * NVL(CT.EXCHANGE_RATE,1) ) / :B2 ) * :B2 ) ) ) FROM RA_CUSTOMER_TRX_LINES CTL, RA_CUSTOMER_TRX CT, RA_CUST_TRX_LINE_GL_DIST LGD2, RA_CUST_TRX_LINE_GL_DIST REC1 WHERE CTL.CUSTOMER_TRX_LINE_ID = LGD2.CUSTOMER_TRX_LINE_ID AND CTL.CUSTOMER_TRX_ID = CT.CUSTOMER_TRX_ID AND LGD.CUSTOMER_TRX_LINE_ID = CTL.CUSTOMER_TRX_LINE_ID AND LGD2.ACCOUNT_SET_FLAG = 'N' AND REC1.CUSTOMER_TRX_ID = CT.CUSTOMER_TRX_ID AND REC1.ACCOUNT_CLASS = 'REC' AND REC1.LATEST_REC_FLAG = 'Y' AND NVL(LGD.GL_DATE, TO_DATE( 2415021, 'J') ) = NVL(LGD2.GL_DATE, TO_DATE( 2415021, 'J') ) GROUP BY CTL.CUSTOMER_TRX_LINE_ID, REC1.GL_DATE, CTL.EXTENDED_AMOUNT, CTL.REVENUE_AMOUNT, CT.EXCHANGE_RATE ), PERCENT = (SELECT /*+ index(rec2 RA_CUST_TRX_LINE_GL_DIST_N6) */ DECODE(LGD.ACCOUNT_CLASS || LGD.ACCOUNT_SET_FLAG, 'SUSPENSEN', LGD.PERCENT, 'UNBILLN', LGD.PERCENT, 'UNEARNN', LGD.PERCENT, NVL(LGD.PERCENT, 0) - ( SUM(NVL(LGD4.PERCENT, 0)) - DECODE(REC2.GL_DATE, NVL(LGD.GL_DATE, REC2.GL_DATE), 100, 0) ) ) FROM RA_CUST_TRX_LINE_GL_DIST LGD4, RA_CUST_TRX_LINE_GL_DIST REC2 WHERE LGD.CUSTOMER_TRX_LINE_ID = LGD4.CUSTOMER_TRX_LINE_ID AND REC2.CUSTOMER_TRX_ID = LGD.CUSTOMER_TRX_ID AND REC2.CUSTOMER_TRX_ID = LGD4.CUSTOMER_TRX_ID AND REC2.ACCOUNT_CLASS = 'REC' AND REC2.LATEST_REC_FLAG = 'Y' AND LGD4.ACCOUNT_SET_FLAG = LGD.ACCOUNT_SET_FLAG AND DECODE(LGD4.ACCOUNT_SET_FLAG, 'Y', LGD4.ACCOUNT_CLASS, LGD.ACCOUNT_CLASS) = LGD.ACCOUNT_CLASS AND NVL(LGD.GL_DATE, TO_DATE( 2415021, 'J') ) = NVL(LGD4.GL_DATE, TO_DATE( 2415021, 'J') ) GROUP BY REC2.GL_DATE, LGD.GL_DATE ), LAST_UPDATED_BY = :B1 , LAST_UPDATE_DATE = SYSDATE WHERE CUST_TRX_LINE_GL_DIST_ID IN (SELECT /*+ index(rec3 RA_CUST_TRX_LINE_GL_DIST_N6) */ MIN(DECODE(LGD3.GL_POSTED_DATE, NULL, LGD3.CUST_TRX_LINE_GL_DIST_ID, NULL) ) FROM RA_CUSTOMER_TRX_LINES CTL, RA_CUSTOMER_TRX T, RA_CUST_TRX_LINE_GL_DIST LGD3, RA_CUST_TRX_LINE_GL_DIST REC3 WHERE T.REQUEST_ID = :B5 AND T.CUSTOMER_TRX_ID = CTL.CUSTOMER_TRX_ID AND (CTL.LINE_TYPE IN ( 'TAX','FREIGHT','CHARGES','SUSPENSE' ) OR (CTL.LINE_TYPE = 'LINE' AND CTL.ACCOUNTING_RULE_ID IS NULL )) AND LGD3.CUSTOMER_TRX_LINE_ID = CTL.CUSTOMER_TRX_LINE_ID AND LGD3.ACCOUNT_SET_FLAG = 'N' AND REC3.CUSTOMER_TRX_ID = T.CUSTOMER_TRX_ID AND REC3.ACCOUNT_CLASS = 'REC' AND REC3.LATEST_REC_FLAG = 'Y' AND NVL(T.PREVIOUS_CUSTOMER_TRX_ID, -1) = DECODE(:B4 , 'INV', -1, 'REGULAR_CM', T.PREVIOUS_CUSTOMER_TRX_ID, NVL(T.PREVIOUS_CUSTOMER_TRX_ID, -1) ) GROUP BY CTL.CUSTOMER_TRX_LINE_ID, LGD3.GL_DATE, REC3.GL_DATE, CTL.EXTENDED_AMOUNT, CTL.REVENUE_AMOUNT, T.EXCHANGE_RATE HAVING ( SUM(NVL(LGD3.AMOUNT, 0)) <> CTL.EXTENDED_AMOUNT * DECODE(LGD3.GL_DATE, REC3.GL_DATE, 1, 0) OR SUM(NVL(LGD3.ACCTD_AMOUNT, 0)) <> DECODE(LGD3.GL_DATE, REC3.GL_DATE, 1, 0) * DECODE(:B2 , NULL, ROUND( CTL.EXTENDED_AMOUNT * NVL(T.EXCHANGE_RATE,1), :B3 ), ROUND( ( CTL.EXTENDED_AMOUNT * NVL(T.EXCHANGE_RATE,1) ) / :B2 ) * :B2 ) ) UNION SELECT /*+ index(rec5 RA_CUST_TRX_LINE_GL_DIST_N6) INDEX (lgd5 ra_cust_trx_line_gl_dist_n6) index(ctl2 ra_customer_trx_lines_u1) */ TO_NUMBER( MIN(DECODE(LGD5.GL_POSTED_DATE||LGD5.ACCOUNT_CLASS|| LGD5.ACCOUNT_SET_FLAG, 'REVN', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'REVY', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'TAXN', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'TAXY', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'FREIGHTN', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'FREIGHTY', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'CHARGESN', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'CHARGESY', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'UNEARNY', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'UNBILLY', LGD5.CUST_TRX_LINE_GL_DIST_ID, NULL ) ) ) FROM RA_CUST_TRX_LINE_GL_DIST LGD5, RA_CUST_TRX_LINE_GL_DIST REC5, RA_CUSTOMER_TRX_LINES CTL2, RA_CUSTOMER_TRX T WHERE T.REQUEST_ID = :B5 AND T.CUSTOMER_TRX_ID = REC5.CUSTOMER_TRX_ID AND CTL2.CUSTOMER_TRX_LINE_ID = LGD5.CUSTOMER_TRX_LINE_ID AND REC5.CUSTOMER_TRX_ID = LGD5.CUSTOMER_TRX_ID AND REC5.ACCOUNT_CLASS = 'REC' AND REC5.LATEST_REC_FLAG = 'Y' AND (CTL2.LINE_TYPE IN ( 'TAX','FREIGHT','CHARGES','SUSPENSE') OR (CTL2.LINE_TYPE = 'LINE' AND (CTL2.ACCOUNTING_RULE_ID IS NULL OR LGD5.ACCOUNT_SET_FLAG = 'Y' ))) GROUP BY LGD5.CUSTOMER_TRX_LINE_ID, LGD5.GL_DATE, REC5.GL_DATE, LGD5.ACCOUNT_SET_FLAG, DECODE(LGD5.ACCOUNT_SET_FLAG, 'N', NULL, LGD5.ACCOUNT_CLASS) HAVING SUM(NVL(LGD5.PERCENT, 0)) <> DECODE( NVL(LGD5.GL_DATE, REC5.GL_DATE), REC5.GL_DATE, 100, 0) )
    I understand that this could be a seeded query but my attempt is to tune it.
    Regards

  • Looking for 2 Product Solutions for eCommerce site created in Muse and published to BC

    Seeking suggestions for 2 separate BC eCommerce website product applications: I have within BC so far about 200 image in the in a folder in the "File Manager" -AND- each image has been optimized as a low-res digital image down-load product (divided among 20 catalogs).
    #1. Image downloads not for individual purchase but as (a bundle of 6 for one price) and (a bundle of 13 for second price) only.
    I'm trying to customize two BC products a 6 Pack & 13 Pack of digital image downloads. Normally in BC, a visitor could purchase a single image as a downloadable product and after successful check-out they would receive an email containing the download links. I need to disable single unit purchases and enable the customer to ONLY select 6 images for one price -or- select 13 images for one price. After successful check-out they would receive links for either 6 download files or 13 based on their purchase. They could also purchase multiple pack sets.
    #2. Allow the site visitor to select 12 images (from 200 images among 20 catalogs) for a 12 month custom calendar which would be printed and shipped. The BC product here would be a 12 month custom calendar. I have a product listed in BC as a "12-Month Custom Calender" and a display page titled the same. I have been looking into a drag n drop system that would allow the visitor to: purchase the product > select 12 images > submit their select by email to site admin.
    I have limited coding skill and I should mention that I originally created and continue to add-on to the site with Adobe Muse. Because I chose to use Muse, I have been looking for solutions that I can embed in Muse pages as "Objects" as Muse will over-write BC custom elements as it is over-written. I have looked at either using a 12 field drag n drop which might work but I can't determine how to make the 20 catalogs available on the same page to select from.
    Can ANYONE offer suggestions?
    Thanks

    Sorry but in no way will you get that to work using Muse.
    You need to custom trigger the core functionality BC fires to add to cart in the system as well as update the visuals etc, and also overcome some of the BC scripting and what that does and function overrides etc. You need a high end front end developer at the least to be able to help you, and not using Muse.

  • Producer/consumer w/ScanEngine issue

    All,
    I have a large VI implemented with producer/consumer architecture using 10 events and uses conditional disables to select the data acquisition hardware.  The application is being developed in LV2009 with FPGA & RT on XP.  The application is intended to acquire and control analog signals in a cRIO-9073, but early development is done using LV simulated signals.  I can switch back/forth between the different configurations quickly & easily.  In the simulation mode, the front panel, controls, events, etc; all behave as one would expect.  When the conditional disable is changed to use ScanEngine and cRIO modules, then a very primary control fails to generate an event and does not function.  All other controls that can be tested are functional and generate their events.  I am at a loss and seeking suggestions on techniques to diagnose & fix the problem.  The application behaves as if the 'event structure' for primary control gets corrupted or some size threshold is been exceeded.  The whole concept, scanEngine based and simulated data, were functioning several days ago prior to numeruous edits and I can revert back to not using the scan engine and cRIO hardware with simulated data to validate correct function, but that is not the intended final path.  At the present time, I am stuck and looking for ideas.  All suggestions will be considered and appreciated.  The applicatiion is company proprietary and can't be posted.  Thanks in advance.

    I can definitely understand your confusion, and on the surface it seems like everything should transfer over.  However, when using simulated data you won't get errors that can occur once you introduce hardware.  Errors can prevent events from occuring, there is also the issue of timing, to see if when using actual hardware, the timing causes issues.  As I menationed before, there are a hundred different reasons why it would work with simulated data, but not actual hardware.  Please let me know if you need further direction in your troubleshooting.
    National Instruments
    Applications Engineer

  • Which is better MBPr for music production? 8gb or 16gb

    Hi everyone:
    I am seeking suggestions here from fellow music artists/ DJs and tech wizards to help me make the "right" decision in where to invest my money.
    I don't know wether to buy the base model MBPr 15inch with 2.0Ghz Quad Core i7, 8gb ram and 256 flash drive. I am a musician and this laptop will solve two purposes
    1) Usual everyday Microsoft Office kinda stuff and web surfing and
    2) More importantly for Music production using Logic Pro X, Ableton 9 using KONTAKT and Omnisphere along with Reason Rewire for loops.
    THEREFORE, now I am second guessing my purchase on two aspects -->
    1) Is the 8GB enough to run, say a typical setup of Ableton along with 2-3 vsts softwares, would these specs on the MBPr last about 3-5 years?
    2) Is the 256 GB SSD going to be an issue with file sizes? I mean like I can always transfer stuff to an external drive and keep creating space but then its almost like having a McLaren SLR and running it constantly on EMPTY and getting gas filled in it every 2 miles. Idk....
    Any advise, nudge in the right direction, suggestions, recommendations would be much appreciated. . Is 8gb of ram enough? I am more on the 8gb ram side because of money issue also the place I am buying is offering 10% discount (cannot configure with the specs) I want to be happy with my purchase, but I don't want to be 2 years down the road kicking myself for not having gone with the 16GB and bigger SSD.
    Which is a notable problem with the rMBPs and their lack of upgradability.

    Hi whopkins85
    Well I ended up going with the 16GB Retina MBP. For the simple reason that the 8GB would've seen me constantly second guess my decision. Plus I wanted to "future proof" myself as best as I could knowing that these babies cannot be 'upgraded' with additional ram at a later date due the whole soldered RAM issue. So yeah I shelled out some extra money, bought my rMBP from B&H in NYC through their webstore and saved a ton on not having to pay sales tax since I am not a resident of NY state.
    Another thing I'd like to recommend to you is that if you plan on running a number of VSTs or AUs with your DAW especially of the nature of heavy sound libraries such as Spectrasonics Omnisphere or KOMPLETE then I would highly highly recommend purchasing a Lacie 2 or 3TB 7200 RPM external drive. I wish I had known this earlier but an incredibly efficient (and correct) way to run DAW with sound libraries to load your VSTs on an external drive which is either a fast SSD or at least a 7200 RPM. This way your system drive doesn't get overloaded reading and writing at the same time between multiple programs running in parallel. Once your system drive runs the DAW and the system accesses the sound libraries through and external drive, it makes for a much more efficiently managed read/write process.
    I hope this helps. My mantra for technology is, when in doubt go with max specs on a machine.
    Thanks for your post

  • Contact in case of emergency

    Hello. in Spain was a campaign to provide the emergency services to contact a family member of a person who had had an accident and remain unconscious.
    consisted of putting your contact AA letters in front of his name, that so, when emergency services agree to contacts, was the first person to appear.
    the problem is that with the application of localization requires iPhone lock phone password and so it is impossible to access your contacts. so if these unconscious, emergency services puden not call your emergency contact.
    I believe that Apple should take this into account and provide an option so that when the phone is locked to aceder your emergency contact and ike is the ability to call SOS.

    Already been done. Look carefully at the Health App which is part of iOS 8. What you seek/suggest is already there. You can put an emergency contact in the app which will be visible if the phone is locked.

Maybe you are looking for