Oracle AQ and XA from WebLogic EJB and Conn pool

Hi,
Currently, I am deploying WebLogic server 6.1 sp1.
Recently, I have tried to use a connection created from
the WebLogic pool in order to create a queue connection to Oracle AQ
(9.0.1). The
error message I got is as follows:
"JMS-112: Connection is invalid"
What I have noticed is that the instance returned from the connection pool
is of
type "weblogic.jdbc.rmi.SerialConnection",
but Oracle AQ expects type "oracle.jdbc.driver.OracleConnection".
Is there any solution or work-around for this problem?
Further I want to use Oracle AQ JMS in a distributed XA transaction so I
have to get the connection from an XA pool don't I (so that the TM knows to
enlist it in the transaction).
Unfortunaltey because Oracle AQ internally explicitely checks that the JDBC
Connection is an instance of oracle.jdbc.driver.OracleConnection (which is
a concrete class not an interface!) and we appear to get a
weblogic.jdbc.rmi.SerialConnection then it seems using AQ JMS is not
possible in an XA transaction.
Now this isn't WebLogic's fault, I think it's Oracle's for having a shonky
JMS implementation. There's plenty of other weaknesses (read non JMS
compliant) in Oralce AQ and it appears that AQ JMS is more of a "JMS-like"
interface to Oracle's queuing rather than a genuine attempt to provide a
compliant implementation.
I think you have to go to Oracle Containers for J2EE to get a real JMS
implementation from them...
Has anyone else got AQ to work in an XA transaction?
--malcolm

I am able to connect and message to Oracle AQ using an XA Datasource using the getVendorConnection method on the Weblogic connection wrapper (WLConnection).
This, however, seems to be memory leaking quite badly. I've followed the Weblogic documentation (which says that you should not call close() on the Vendor connection).
I've also tried closing the vendorConnection object and nulling out the reference that the WLConnection holds. This slows the leak, but it appears that the WLConnections are never being released.
Has anyone else had any success doing this?
Dom.

Similar Messages

  • Weblogic.ejb20.locks.LockTimedOutException and pb with weblogic-ejb-jar.xml

    Hello All,
    I get a strange problem when I try to log in to the J2EE application based on EJBs:
    weblogic.ejb20.locks.LockTimedOutException
    I see that I can add an option to the weblogic-ejb-jar.xml file, and I hope that can help for my previous problem:
    <weblogic-enterprise-bean><stateful-session-descriptor>
    <allow-concurrent-calls>true</allow-concurrent-calls>
    </stateful-session-descriptor></weblogic-enterprise-bean>
    But I can not edit the weblogic-ejb-jar.xml file under JBuilder ! the file is probably read-only, but I do not know how to change the property. I can not find this file directly under JBuilder directories.
    So I have tried to open the module.jar that contained this file. I have checked: the file is not read-only. I have modified directly manually the weblogic-ejb-jar.xml file, but now I get this error in Jbuilder when I open the weblogic-ejb-jar.xml file:
    URL: Transformation requires a XSL StyleSheetThe Node does not have a style sheet associated with itEither add a style sheet using the Add stylesheets button on the toolbar or add a valid XSL Processing instruction to the document directly
    In conclusion, what should I do to be able to modify the weblogic-ejb-jar.xml file properly ??

    Ok in a way I have solved my problem (even if I am not completely satisfied by the way on how to proceed...). So thanks to message "JBuilder7.0 and Weblogic6.1" on EJB sun forum :
    http://forum.java.sun.com/thread.jsp?thread=285735&forum=13&message=1255488
    I have tried the following actions (mentionned in the other forum messages):
    - To preserve changes to weblogic*.xml, the safest way is to change the ejb-borland.xml.
    (I am not sure that I have applied this advice correctly, because I suppose that syntax is not similar in weblogic file or borland file).
    And you can MANUALLY update the weblogic file in your JAR archive.
    1. Open the EJB JAR file in Winzip and extract the weblogic-ejb-jar.xml file, so that a copy exists in your
    project directory.
    2. Open this file (in Notepad), add the WebLogic specific information, and then save the file.
    3. Now, when you are finished with the build cycle and are ready to deploy, you may open the EJB jar file
    and swap in the weblogic-ejb-jar.xml file."
    Good Luck.

  • Can I create separate folders to save media on my Airport Time Capsule? Issue is I have a 256GB HDD Mac Pro Retina which is almost full. TC will only take backup of my HDD. So where would I save my photos and videos from my iPhone and iPad?

    Can I create separate folders to save media on my Airport Time Capsule? Issue is I have a 256GB HDD Mac Pro Retina which is almost full. TC will only take backup of my HDD. So where would I save my photos and videos from my iPhone and iPad?

    It is a hard one.. laptops with small drives are a pain.
    What you need is a home media server.
    Some people use a PC running itunes for cost.. but that is nothing like as good as using a Mac mini.. they make great little HTPC device.. you can plug in large hard disks and store all your files and media. And share it with the network.. Read up apple's instructions on home sharing.
    https://www.apple.com/au/support/homesharing/
    For cost you can buy a mini from 2011 or 2012.. I would not recommend earlier ones.. the advantage of 2012 is they have USB3 ports. But you will pay more for them.. new mini is not as useful.. they have soldered in memory and you cannot upgrade.. the old mini was the most easily modified mac in the whole range. Uses little power and can be bought for a $300US for a good one second hand.. maybe less.

  • My family and I share the same account of apple. I'm getting phone calls and messages from my mothers and my number and  vice versa. is there anything we can do

    my family and I share the same account of apple. I'm getting phone calls and messages from my mothers and my number and  vice versa. is there anything we can do

    The short solution is to go to Settings > FaceTime > iPhone Cellular Calls OFF.
    However, as Csound points out, you should not really be sharing an Apple ID with anyone. See: How to Stop Sharing an Apple ID.
    (Note that I am affiliated with that site, and some pages contain ads).

  • In Options -- General -- I want the option to "Show my windows and tabs from last time" AND "Show my homepage", but that choice isn't given. When I open a new tab, I'd like to see my iGoogle page, not a blank screen. Hope you can help. D

    In Options --> General --> I want the option to "Show my windows and tabs from last time" '''''AND''''' "Show my homepage", but that choice isn't given. When I open a new tab, I'd like to see my iGoogle page, not a blank screen. Hope you can help. D

    You can middle-click or Ctrl left-click the Home button on the Navigation toolbar to open the Home page in a new tab.
    You can look at one of these extensions:
    * NewTabURL : https://addons.mozilla.org/firefox/addon/newtaburl/
    * New Tab Homepage : https://addons.mozilla.org/firefox/addon/new-tab-homepage/

  • I can no longer send or respond to email from my Firefox browser. I closed and sent from Internet explorer and it works fine. What changed? The only thing different this morning, I downloaded Adobe uprade?

    Question
    I can no longer send or respond to email from my Firefox browser. I closed and sent from Internet explorer and it works fine. What changed? The only thing different this morning, I downloaded Adobe uprade?

    I had this hotmail issue myself a while back. I Googled, scanned MS website, scanned MSN website, visited forums, couldn't figure it out. I tried Firefox and Opera and even changed the Opera mask setting from Opera to Internet Explorer. Nothing worked. My best guess was that I was signing on (with the new MSN Live as opposed to MSN Hotmail - the OLD interface) with the "Remember me on this computer?" box checked. I now make sure it is un-checked (which is not the default) and hotmail lets me in.
    Not exactly sure if that is the real remedy, but thot I'd throw the story your way just in case...

  • Can photos be transferred back and forth from/to iPhoto and an external drive? If so, how?

    Can photos be transferred back and forth from/to iPhoto and an external drive? If so, how?

    When in iPhoto for iOS you can share your photo to iTunes and then connect your iPad to your computer and use the file sharing window to move the photo to any connected hard disk. Sharing to iTunes is the only way to maintain original file size when sharing a photo in iPhoto for iOS.

  • How do we transfer contacts and mails from apple mail and address book to Microsoft outlook on my mac

    How do we transfer contacts and mails from apple mail and address book to Microsoft outlook on my mac

    From Contacts, anyway (the new version of Address Book) you can export to a .abbu file and import then into Outlook. I'm not sure about Mail as I only really use Outlook...
    Clinton

  • How do I transfer my pictures and videos from my iPhone and IPad on the time capsule?

    How do I transfer my pictures and videos from my Iphone and IPad onto my time capsule?

    You cannot use Apple TV.. again the TC is not a media device and has no media extensions.
    You can store video files on the TC.. but the ATV must work either via airplay so you run the video on an ipad for instance and send the screen view to the apple tv or you have itunes running on a computer.
    BTW a WD live TV can play video files from a TC.. because it is a true media player.. the Apple TV is not a media player.. it is a streamer.

  • I just bought this in order to copy and paste from a PDF and after I convert I still can't..

    I just bought this in order to copy and paste from a PDF and after I convert I still can't..

    Hi helpme59,
    It depends upon the restrictions set on the pdf.
    If the creator of the pdf has set restrictions against copying then you will not be able to copy the content.
    Are you facing the same issue with all the pdf's?
    Would it be possible to share the pdf with me.

  • HT1689 I have purchased some app's like Whatsapp, Flashlight and more from App Store and after about 3 days of usage, all refuse to open up. I have received acknowledgement of payment via email. What should I do to reinstate them?

    I have purchased some app's like Whatsapp, Flashlight and more from App Store and after about 3 days of usage, all refuse to open up. I have received acknowledgement of payment via email. What should I do to reinstate them?

    BRAWO!!!! It solves the problem.
    Just hope that i would not be forced to download free Apps every thir day.
    Here by us in South Africa, downloads is costing one.
    Anyhow, thank you once more.

  • HT4623 i am updating to ios 6.1 but i dont want immediatly i have shut down my iphone by holding sleep wake button and home button and cracks from that time and its not restarting

    i am updating to ios 6.1 but i dont want immediatly i have shut down my iphone by holding sleep wake button and home button and cracks from that time and its not restarting

    HarryAustralia wrote:
    I recently updated my ipad wifi only to the new ios 6.1.2 and initially I had the auto cover lock option which can be seen in the Generals tab, but then it stoped working!! Before the update, the auto cover lock worked fine. So after trying all the options, I then did a complete reset on the ipad and now its gone all together from the General tab!! I can no longer see the "auto cover lock" option.
    The iPad cover lock is for when you use a cover with magnets in it to lock and unlock the iPad when you close the cover or open it. Try running a refrigerator magnet along the sides of the iPad and see if that trips the iPad Cover Lock back into the settings.
    That is not the same thing as the iPad Auto Lock setting which allows you to set an allotted time before the iPad goes to sleep.
    You can try resetting all settings to see if the Auto Lock feature retinrs to the iPad.
    Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered. This can be a little time consuming re-entering all of the device settings again.

  • I made erase for all my settings and contents from 8 hours and still now in recovery state ?what shall i do?, i made erase for all my settings and contents from 8 hours and still now in recovery state ?what shall i do?

    i made erase for all my settings and contents from 8 hours and still now in recovery state ?what shall i do?, i made erase for all my settings and contents from 8 hours and still now in recovery state ?what shall i do?

    we have almost similar problem. i also did restored my iphone5. and it keeps restoring after it finishes. what i did was, i disconnected the phone from iTunes and pressed the home & power button, hold it till the apple logo appears. but i will warn you. after i did this, my phone did worked after, but now im having problem with siri and voice command. both keeps on making calls, playing music even the phone is just inside my bag or not using it. when i use the phone, it keep on going home, enabling siri, going to music wihtout touching anything. such a pain in the neck

  • I have been streaming videos and music from my phone and iPad. I just got a new MacBookPro and when I try to stream from it, I get the mirror image, but no sound. ????

    I have been streaming videos and music from my phone and iPad. I just got a new MacBookPro and when I try to stream from it, I get the mirror image, but no sound. ????

    Hi Avonbikerider,
    If you are only having the audio issue when Airplay Mirroring from your MacBook Pro, you may find this forum discussion helpful:
    Apple Support Communities: No Audio when Airplay Mirroring from Mac to Apple TV
    https://discussions.apple.com/thread/4167956
    Regards,
    - Brenden

  • Lost all of my outlook groups, music and photos from my PC and iphone and Ipad2 when snycing up...Had to mannually reconfigure Outlook contacts - then deleted Iclound from everything - from other comments there are some bugs here and would warn others wh

    Lost email groups from outlook, photos and music from Iphone four and Ipad2 when snycing to Icloud.  Had to reconfgure Outlook Manually and then deleted Icloud. A warning to others that there are some bugs here or else it is not being exdplained properly to end users

    or... put your photos in "My Pictures" in My Documents, and viola, itunes syncs it to the iphone. only one sentence needed =/
    maybe im missing your point here, the long paragraph is mindboggling

Maybe you are looking for