Error in using XA and Non-XA datasource at same time

I think this case may be a little complicated:
there are two actual databases, for example, A is for service/biz, and B is for data archiving. system run the archiving service once a day, we decided to use JTA to ensure that no records would be lost while any exceptions encountered on each side. we create two XADatasouces for A and B. And there is an existed Non-XADatasource in weblogic that be used by general business. it's Database A actually. make a summary:
Two actually databases :
A , B
Three DataSources in Weblogic :
Non-XA-DS , XA-DS1 - > refer to Database A, the business DB
XA-DS2 - > refer to Database B, the archiving DB
And the archiving code like this:
try{
UserTransaction.begin;
fetch Data from XA-DS1;
record logs to Non-XA-DS;
save Data to XA-DS2;
UserTransaction.end;
}catch(){
UserTransaction.rollback;
}finally{
release resources;
look at the bold lines. it work well if remove the "*record logs to Non-XA-DS*". but if enable the logs features it will throw out an exception with message " cannot call commit of connection in a distributed transaction". It's weird, that Non-XA-DS is not a XADatasource and I also disabled the Global Transaction Support of the datasource. As i think . that UserTransaction would not manage a DS indicated not support JTA. is that correct? And how can I resolve this problems
Edited by: 985707 on Feb 2, 2013 6:31 AM

Actually it may work with pdnsd if you run it on 127.0.0.3:
/etc/resolv.conf
nameserver 127.0.0.3
nameserver 127.0.0.1
nameserver 127.0.0.2
/etc/pdnsd.conf
global {
server_ip = 127.0.0.3;
/etc/conf.d/dnscrypt-proxy
DNSCRYPT_LOCALIP=127.0.0.1
/usr/lib/systemd/system/dnscrypt-proxy.service
[Unit]
Before=pdnsd.service

Similar Messages

  • Win 8 - How to use StereoMix and Headphones Mic at the same time?

    I am using Windows 8 64 bit and believe I may have an IDT driver problem.
    I need to enable StereoMix and my Headphones Mic at the same time. I know this was previously possible with windows xp and windows 7.
    What happens is If I enable either Headphones Mic (Logitech headphones with Mic) or StereoMix the other one becomes " current;ly unavailable"  I cannot get them both to work together. I can get StereoMix and the Internal Mic to work together ( both enabled at the same time) but the sound quality is bad because the internal mic picks up noises from the PC. I need to have both my headphones mic and stereo mix enabled at the same time.
    The driver I'm using is the one provided by HP with the laptop. It is called sp59620.exe
    Would another IDT driver solve the problem? Can you think of another reason this is not working?
    Here are my specs.
    System Manufacturer/Model Number HP Pavillion G7-2251dx
    OS Windows 8 64 bit
    CPU AMD A-8 4500M
    Memory 8 Gigabytes DDR3 sdram
    Graphics Card Discrete ATI Radeon HD 7640G with 2 Gigs
    Sound Card IDT Audio
    Monitor(s) Displays 17.3
    Screen Resolution 1600x900
    If you cannot help, where else should I look? i have tried Windows and Microsoft forums and no one can give me an answer.
    Thank you.

    I have tried the instructions in that video and I cant get passed the very bad feedback i get when telling my recording device to Listen.  His secone instruction from his notes here
    ["Right Click the Realtech HD audio device and set as default if its not already.
    (note you may want to turn off any powered speakers you may have to prevent feedback.)
    -Select the Recording Tab at the top of the window.
    -Select the Stereo Mix device and set it to default if its not already.
    -Right click and select Properties.
    -Select the Listen Tab at the top of the window.
    -Change the drop-down box to the entry for USB headset and check the Listen to this device checkbox.
    -click ok to dismiss the window.
    -Right click on the USB headset microphone device and select properties.
    -Select the Listen Tab at the top of the window.
    -Change the drop-down box to the entry for the Realtech HD Audio device and check the Listen to this device checkbox.
    -click ok to dismiss the window.
    So, essentially, the game audio will play through the Realtec, your mic is also set to play to the Realtec. both audio streams are now part of Stereo Mix. Stereo Mix is being listened to by your headset allowing you to hear the game and your voice.]
    ~~~~~~~~~~~~~~~~~
    Don't know about turning off any powered speakers.. the only speakers I have besides the headphones are the internal laptop speakers.  I get the same feedback if i have the headphones plugged in or not.

  • [SOLVED] How to use timidity++ and other programs at the same time?

    I have installed timidity following arch wiki instructions - I have soundfont, and I start it in /etc/rc.conf
    It works properly with tuxguitar (and tuxguitar-alsa) or kmid, but I cannot play MIDI and - for example - oggs in amarok at the same time.
    I suspect that the problem is that timidity doesn't use dmix alsa plugin I have made in my ~/.asoundrc.
    The question is: how to tell timidity to use my dmix plugin?
    Last edited by senjin (2007-11-19 19:53:50)

    but they don't define "default" there, but "!default"...
    anyway, I have already both "default" and "!default" defined exactly the same way:
    pcm.!default
    type plug
    slave.pcm "dmixer"
    pcm.default
    type plug
    slave.pcm "dmixer"
    pcm.dmixer
    type dmix
    ipc_key 1024
    slave
    pcm "hw:0,0"
    format "S32_LE"
    channels 2
    period_time 0
    period_size 1024
    buffer_size 4096
    rate 44100
    bindings
    0 0
    1 1
    ctl.dmixer
    type hw
    card 0
    pcm.w_y_h
    type hw
    card 0
    device 0
    pcm.what_you_hear
    type plug
    ttable.0.10 1 # digital mix left
    ttable.1.11 1 # digital mix right
    slave.pcm w_y_h
    pcm.skype
    type asym
    playback.pcm "dmixer"
    capture.pcm "skype_input"
    pcm.skype_input
    type dsnoop
    ipc_key 2048
    slave
    pcm "hw:0,0"
    period_time 0
    buffer_time 0
    period_size 1024
    buffer_size 8192
    rate 44100
    and it doesn't work!
    Last edited by senjin (2007-11-18 17:49:21)

  • Airport express: use internet and air tunes at the same time?

    Hi,
    I'd like to use and airport express to create a wirelss network (and so use the internet) AND stream music to my stereo with air tunes - at the same time. Is this possible? So far, I have been able to create a wireless network (and use the internet) OR use the airport express to play music. But whenever my internet works, itune can't find the base station - claiming it "can't be found on the network?"
    Can you do both at once?
    I'm connecting to an ethernet jack (I'm at a college). It's not a cable modem or DSL. Is this the problem?
    Under "music" in the utility configuration. I've selected "Enable Air tunes at the base station." I can't select "Enable Airtunes over ethernet port." When i try to change the network options to allow me to select this "ethernet port" option, I have to tell it how to "distribute IP" addresses. i don't know how to do this, and everything I've tried destroys my internet connection.
    I appreciat any help you have to offer. thanks
    1.5 GHz PowerPC G4, 12'' powerbook   Mac OS X (10.4.4)  

    solution:
    My problem ended up being specific to the network I'm using. There is evidently another router on the ethernet system that was assigning my airport express an IP address (192. ...), rather than letting the network DCHP give me a direct IP address (something like 160. ...). The 192 address made it impossible for iTunes to see my express base station, but I was getting internet, passed through this other router.
    The fix - and I'm not sure if this is totally kosher - was to manually enter a correct IP address for my base station. I got the IP address by seeing what this other router was sending my computer to get onto the internet. It gave me the correct router and a workable (160. ...) IP address. I'm not sure if I'm supposed to manually pick an IP address on the ethernet, but this one is working for the time being, and now iTunes can find my base station.

  • HP Docking (VB041AA) - Using DVI and Display Port at the same time

    Hello,
    is it supported to use the DV and the Display Port of a HP 90W Docking (VB041AA) at the same time? I use this setup with two LA2405wg and a 6450b for a couple of weeks and I encounter a couple of problems:
    - flickering and switching during bootup, same output on both displays, no output
    - hibernation resume fails, if notebook was hibernated undocked (hiberfil.sys corrupt)
    - sometimes Win7 crashs during startup with corrupt drivers
    - spooky display lockups were a display goes into standby and can't be switchec on or off. I have to pull the power cord
    Some of them are really strange (corrupt drivers, but after a restart the notebooks starts without problems). During operation I don't have any problems, no BSoDs etc. 
    Thanks for advice.

    Your notebook is an Enterprise/Business model. I would recommend posting this in the HP Enterprise Support Forums for better coverage, as this is the consumer support forums.
    You can access the enterprise support forums at the following link.
    http://goo.gl/LsnuK
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • USING TOMTOM AND IPOD FUNCTION AT THE SAME TIME

    Hi
    I plan to het tomtom application bur before I'd like to know if
    I will be able to use my iphone connected to my car player alpine for music fucntions at the same time as tomtom application
    thanks a lo for your opinion on that

    On my iPhone, I can play music using the iPod app and also use Tom Tom. The music pauses for voice directions.
    I don't have an Alpine, so I can't test that for you.

  • When I use Premiere and After Effects at the same time, it causes my computer to restart. Why does it do that?

    When I create a dynamic link to after effects it will work for a couple seconds, but then I get a black screen saying error and that I need to restart my computer. I can use the programs independently, but not together.

    *** Panic Report ***
    panic(cpu 4 caller 0xffffff8002c1a46e): Kernel trap at 0xffffff8002bd1f96, type 14=page fault, registers:
    CR0: 0x0000000080010033, CR2: 0xffffffbf40000028, CR3: 0x000000040ac56010, CR4: 0x00000000001627e0
    RAX: 0xffffff7f80000000, RBX: 0xffffff8021b84100, RCX: 0xffffff7f80000028, RDX: 0x0000003fc0000000
    RSP: 0xffffff81ed203cd0, RBP: 0xffffff81ed203d00, RSI: 0x000000004169e77f, RDI: 0xffffff8007fa2da8
    R8:  0xffffff8022b77130, R9:  0xffffff81ed203e90, R10: 0x0000000000000001, R11: 0x0000000000000206
    R12: 0xffffff8007fa2da8, R13: 0xffffff8006ec4000, R14: 0x0000000000038000, R15: 0xffffff802cf46b40
    RFL: 0x0000000000010206, RIP: 0xffffff8002bd1f96, CS:  0x0000000000000008, SS:  0x0000000000000000
    Fault CR2: 0xffffffbf40000028, Error code: 0x0000000000000000, Fault CPU: 0x4
    Backtrace (CPU 4), Frame : Return Address
    0xffffff81ed203980 : 0xffffff8002b2fe41
    0xffffff81ed203a00 : 0xffffff8002c1a46e
    0xffffff81ed203bc0 : 0xffffff8002c36683
    0xffffff81ed203be0 : 0xffffff8002bd1f96
    0xffffff81ed203d00 : 0xffffff8002b9cc0d
    0xffffff81ed203f20 : 0xffffff8002c1a974
    0xffffff81ed203fb0 : 0xffffff8002c36595
    BSD process name corresponding to current thread: After Effects

  • Can I Use HDMI and Thunderbolt Outputs At The Same Time? And Mac App Store Issues

    I have a Mid-2011 Mac Mini. I am currently using the HDMI output with an HDMI to Digital Input for a dell monitor. If I wanted to have a second monitor, can I use the Thunderbolt output with a MiniDisplayport to VGA adapter? I know it may sound a little unclear, so if you need a clarification, pelase let me know.
    Also, on the same macine, I am having trouble connecting to the Mac App Store. My internet connection is working, and I've tried going into the Keychain Access and there isn't anything with a blue plus. When I go to Store --> Sign In , the sign in widnow doesn't appear.
    Thanks
    Joey

    Yes, that is exactly how to use dual monitors.
    Optionally:
    if the second monitor has DVI input, use the MiniDisplay Port to DVI adapter.
    or if it has Display Port input, then all you need is a straight MiniDisplay Port to Display Port cable.
    In Quick Links try Account if Sign In does not work.

  • Can I use "g" and "n" AXs at the same time for Airtunes?

    Hi, hope someone can help with this.
    I currently have a wireless "g" network made up of a Netgear DG834PN router handling DHCP and with wireless off, an AEBS "n" as a wirelss base station and 4 AXs (2 "g" and 2"n") doing extended wireless and airtunes to different rooms around the house.
    If I use the Netgear for the "g" wifi and the AEBS for an "n" network and then set up the two "g" AXs on the "g" network and the two "n" AXs on the "n" network, but all still plugged into remote speakers will all the AXs still appear in my iTunes remote speaker list?
    Also, will I still be able to control them all from the Remote app on my 1st gen iPod touch connected to the "g" network?
    I seem to have built a bit of a monster here but it works fine as is. I'd just like to know if I can get a seperate "n" network going without losing any of my airtunes functionality.
    Thanks

    If I use the Netgear for the "g" wifi and the AEBS for an "n" network and then set up the two "g" AXs on the "g" network and the two "n" AXs on the "n" network, but all still plugged into remote speakers will all the AXs still appear in my iTunes remote speaker list?
    Yes, just like any network resource they should be available.
    Also, will I still be able to control them all from the Remote app on my 1st gen iPod touch connected to the "g" network?
    The app on your iPod controls iTunes on your computer streaming the music, so yes you would be able to control them all because you are controlling iTunes.

  • Can i use bluetooth and standard headphones at the same time?

    I would like to be able to use my bluetooth headset and have a line out of my iphone using the headphone output.  is this possible?  i seem to only be able to select one or another.
    thanks

    No, it's not possible... sound output is one or the other.

  • Using frame and channel API at the same time.

    One of our customers specified the channel-mode number except programming the serial. So I have to use the channel api and the frame api at the the time! Is it possible with a 2 port PXI card like PXI-8461/2 (Port1 for channel api and port 2 for frame api)?

    Yes, you can have one port for channel api and one port for frame api. But you cannot mix on one port.
    DirkW

  • Can I use FaceTime and other apps at the same time

    I want my kids to read a book using one ap while they talk to their grandma on FaceTime. Is there a way to do this?

    No. Just talk to grandma. Read a book when she's not available.
     Cheers, Tom

  • Difference between using Java and Non-Java in Webi.

    Hi ,
    I have one more question requesting for an answer.
    Would like to know what is the Difference between using Java and Non-Java in Webi.
    Thank You in advance.
    Appana Ganesh.

    Hi,
    check the Information in following post, the differences are discussed there:
    http://scn.sap.com/thread/3295306
    best regards,
    Victor

  • I am having mac book air 2012model i had installed mavericks and use it, i long press command and power button at a same time and i saw the command prompt, from that i had formated the total hard disk. how to i want to install the OS again ?

    I am having mac book air 2012model i had installed mavericks and use it, i long press command and power button at a same time and i saw the command prompt, from that i had formated the total hard disk. how to i want to install the OS again ?
    i tryed with download mavericks but finally its saying a error message like cant conect to istore like that its saying and every thing is clear like internet and other stuf i tryed with 3times no progress same error pls help.. i bought this lap for my bro with his apple id only we use it now he got a new mac book pro so he gave to me so i formated and use it i use my apple id is that problem come because of changing apple id ? pls eplain

    Firstly, what is the source of the 10.6.4 disc? Is it the original installation disc for your MacBook, or one 'borrowed' from another computer?
    It isn't the retail version, because that's 10.6.3.
    Assuming it's the correct disc (i.e. the one that shipped with your Mac), you need to boot from it again.
    OK the language page.
    From the installer screen, ignore the continue button, go to the menu bar and choose Disk Utility from the Utilities menu.
    In DU, select your internal drive in the sidebar (the top item with the makers name and serial no.).
    Run Repair Disk. If that comes up as disk OK, click the partition tab. Select the partiton from the drop-down above the graphic; 1 partiton is all you need.
    Go to the options button and ensure that the partition scheme is GUID and the file system to Mac OS Extended (Journalled). Name the partiton (usually Macintosh HD), click Apply.
    When the Macintosh HD volume appears below the drive name, quit DU and see if you can then install.
    If the screen after the language screen doesn't show the menu bar, it may be necessary to use another Mac to do the job with the MB in Firewire Target Disc Mode. If it won't boot in TDM, or the MB doesn't have FireWire then it's getting very difficult.

  • Using join and batch reading in the same query

    Hi,
    I wonder if it is possible to use "Joining" and "batch reading" in the same query.
    For example I Have
    A -> 1-1 B
    A -> 1-1 B
    B -> 1-M C
    This is the case where I have two separate 1-1 relationships to the same class B from A. Toplink 10.0.3 can manage it nicely through joining.
    Now, I would like to read a set of As (with its 2 Bs) and all Cs for each B.
    It seems that the following configuration does not work:
    A -> 1-1 B (use joining)
    A -> 1-1 B (use joining)
    B -> 1-M C (Batch read)
    Any help would be greatly appreciated
    Tony.

    James,
    Would you be so kind to look at the following code?
    Am I formulating it correctly to achieve my desired behavior?
    Trip.class -> 1-1 PickupStop
    Trip.class -> 1-1 DropoffStop
    PickupStop and DropoffStop extend Stop and use same table (STOP)
    Stop -> 1-M StopEvents
    I would like to fetch all Trips, with their Stops and all StopEvents in 2 queries:
    1. Trip joined with Stop
    2. Batchread StopEvents
    Code:
    ReadAllQuery raq = new ReadAllQuery(Trip.class);
    Expression qexp1 = new ExpressionBuilder();
    Expression qexp2 = new ExpressionBuilder();
    raq.addJoinedAttribute("pickupStop");
    raq.addJoinedAttribute("dropoffStop");
    raq.addBatchReadAttribute(qexp1.get("pickupStop").get("vStopEvents"));
    raq.addBatchReadAttribute(qexp2.get("dropoffStop").get("vStopEvents"));

Maybe you are looking for

  • 12.1 Poor Music Quality

    Downloaded the update and no problems per se in terms of things working properly, but music played via iTunes sounds like it jumping and skipping and other poor quality sound issues. Windows Media Player, no issues so it must be a 12.1 thing. Any fix

  • Tying journal entries to AP Invoices

    Does any one know of a way to find the AP invoice that has generated a Journal Entry. I need to get the vendor name and invoice description that generated the journal entry in Oracle Financials. Can this be accomplished without modifing the Oracle Ap

  • Used Powerbook G4 17", 1.33ghz

    About to pick this one up from a friend. Is there any common problems I should be aware of before picking it up? Is migrating my files from my iMac C2D to the PB going to be a problem?

  • Feature Request // Book Module: Export as indd file and management

    Book Module: Export as indd file and management I would like to request a feature to export a book module as indd file.  I like PDF's but .indd is nice also so we are able to to more in depth layouts. Having Lightoom being able to manage all your pic

  • DI to create draft goods receipt

    Hi, I am trying to use the DI to create a draft goods receipt but am receiving the following error: System.Exception: -5001 - Object type for draft is missing Any ideas how to do this? Thanks, Michael