Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Propagating ECID between Weblogic, Tuxedo and Oracle DB

1051074Jun 17 2014 — edited Jul 2 2014

Hi,

I am trying to configure ECID propagation in Tuxedo12.1. Followed instructions from the wiki http://docs.oracle.com/cd/E35855_01/tuxedo/docs12c/ads/adecid.html

I need to propagate ECID between Oracle DB, Tuxedo and weblogic server.

Performed below steps,

1. In RESOURCES section of UBBCONFIG(5), the OPTIONS field was extended with new flags, ECTD_CREATE, ECID_USERLOG

     ECID is getting printed in Tuxedo logs.

2. Specified -L oci_lib_name option.

    From the wiki what I understand is, by providing -L option, ECID will propagate to Oracle DB.  Will it be logged in appserver logs? If not, is there any API to get ECID in appserver logs.

    I provided the path of oci.dll in -L option but it doesn't make any change in appserver logs.

Also, we are using jolt instead of WTC to connect between tuxedo and weblogic. Can jolt propagate ECId to weblogic? If it can, what should be done to get ECID in webserver logs?


Thanks in Advance

Jismi

Comments

NickR2600-Oracle

So when would it be beneficial to have an abstract method in a super class? One answer would be because the sub classes have no shared functionality. Or in other words, because the functionality is so different between subclasses. Or because the functionality can't be defined yet.

In Java Puzzle Ball, I have an abstract class called GameObject. It's inherited by a lot of different concrete classes: bumpers, assignable behaviors, level geometry... And one if its responsibilities is to define what happens when a collision occurs. But I have to leave the collision effect method abstract. The geometry of all these objects are so dramatically different, there isn't any shared functionality I can write to define how the physics of all these different angles and shapes should work. The best I can do is write an abstract method as a promise to implement the functionality somewhere later down the inheritance structure.

pastedImage_0.png

AjayKumarGuttikonda

Thank you so much for taking time out and answering the question in very elaborated manner. I understand, the conclusion is Account class need not be abstract as all methods are implemented and also there is no problem Account class being abstract as the abstract class by definition can have all methods implemented. Can you please also explain why in this case it is beneficial to have Account class as abstract since we have implemented all methods.

NickR2600-Oracle

You got it.  I'm glad you're enjoying the course

It's more of a design choice in this example.  Even though Account could technically exist as a concrete class, I only meant for it to be a container for all the fields and methods shared by savings and checking accounts.  So to reinforce that decision and prevent instances of Accounts from getting created, the class is left abstract.

One other thing to consider is that Accounts don't have an accountType field, but savings and checking account classes do.  Looking back, maybe I should have written an abstract method into the Account class to somehow enforce the need for this field.

1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 30 2014
Added on Jun 17 2014
5 comments
2,489 views