Weblogic DB Control transactions

There has to be an article describing a step by step solution to this seemingly very common problem. Could someone help me?
Using Weblogic Workshop 8.1 and default weblogic workshop sample domain......
1) I created a Workshop db control (jcx) to provide access to an Oracle database
2) I wanted to test, so I right clicked it and created a java web service test client
3) It appears that the wrapping web service control uses a default transaction utilizing the cgPool connection pool. However, my wrapped db control (jcx) uses a connection pool I created and the default BEA Oracle XA driver.
4) When I tried to run the test, I gotsome general XA error.
there has to be a white paper out there explaining how to do this successfully? Why is this out of box behavior? Every user or Workshop must run in to this.
Thanks in advance for your help. I googled this and can't find an answer, only a bunch of people who have experienced the same problem.
Thanks,
John Curley

There has to be an article describing a step by step solution to this seemingly very common problem. Could someone help me?
Using Weblogic Workshop 8.1 and default weblogic workshop sample domain......
1) I created a Workshop db control (jcx) to provide access to an Oracle database
2) I wanted to test, so I right clicked it and created a java web service test client
3) It appears that the wrapping web service control uses a default transaction utilizing the cgPool connection pool. However, my wrapped db control (jcx) uses a connection pool I created and the default BEA Oracle XA driver.
4) When I tried to run the test, I gotsome general XA error.
there has to be a white paper out there explaining how to do this successfully? Why is this out of box behavior? Every user or Workshop must run in to this.
Thanks in advance for your help. I googled this and can't find an answer, only a bunch of people who have experienced the same problem.
Thanks,
John Curley

Similar Messages

  • Example of Weblogic Appserver using XA Controlled Transaction to send messages to third party JMS

              I am looking for Example of Weblogic Appserver using XA Controlled Transaction
              to send messages to third party JMS Server.
              I want to send messages to JMS and use Weblogic MDB to consume that message and
              send it to some third party JMS in a XA Controlled transaction.
              

    Sure. Right now, it involves a bit of JTA programming -- in our next
              release, it should be easier, however.
              Before sending a message, you have to:
              -- Use the TxHelper class to get the current Transaction object.
              -- Use the "getXAResource" method on the JMS provider's Session object to
              get the XAResource object for the JMS Session you're using to send.
              -- Call "enlistResource" on the Transaction object.
              You MUST do this in every transaction where you use the JMS provider to send
              a message.
              You can find the documentation for the TxHelper class and other
              WebLogic-specific classes here:
              http://e-docs.bea.com/wls/docs70/javadocs/index.html
              Look for the "weblogic.transaction" package.
              You can find documentation for the Transaction class (which defines
              enlistResource) and other classes here:
              http://java.sun.com/products/jta/javadocs-1.0.1/index.html
              You should also use the weblogic.transaction.TransactionManager class and
              call "registerDynamicResource" once (and only once) in your application to
              register the JMS providers XAResource with JTA. This makes JTA more
              efficient, and it makes transaction recovery work properly.
              If the JMS provider is MQ, then look at the whitepaper "Using JTA
              transactions to envelope WLS JMS and IBM MQSeries" here:
              http://dev2dev.bea.com/resourcelibrary/whitepapers.jsp?highlight=whitepapers
              And finally, if you have more questions, the transaction people will be able
              to help more. Post to "weblogic.developer.interest.transaction".
              greg
              "Neeru Munjal" <[email protected]> wrote in message
              news:[email protected]...
              >
              > I am looking for Example of Weblogic Appserver using XA Controlled
              Transaction
              > to send messages to third party JMS Server.
              > I want to send messages to JMS and use Weblogic MDB to consume that
              message and
              > send it to some third party JMS in a XA Controlled transaction.
              >
              

  • "Control transaction cannot be completed at this time" IPS Problem

    Hi,
    Yesterday the module AIP-SSM-20 of the customer for second time in the last 5 month present a error on the sensor and is just the sensor stop the analyzed of packet.
    When the problem is present you can access the management interface, the interface respond de ICMP packet, you can monitoring event but  just show me the same 3 event, that show you below:
    evError: eventId=1351437734660979649  vendor=Cisco  severity=error 
      originator:  
        hostId: IPS-INTERNET-BEX-1 
        appName: collaborationApp 
        appInstanceId: 485 
      time: ene 14, 2013 10:09:27 UTC  offset=-270  timeZone=GMT-04:30 
      errorMessage: Control transaction cannot be completed at this time
    Messages, like this one, in the category - ct to sensorApp timed out - were logged 222 times in the last 14433 seconds.  name=errUnclassified 
    The two time that this problem was happening I just reload the sensor and then it´s work again.
    My question is; why the sensor stop analyzed packet?
    Could be the ASA?
    Best regard.

    It could be a issue with IPS. You need to collect show-tech-support and contact Cisco TAC. Logs may have relevant information as to why packet inspection had stopped.
    Regards,
    Sawan Gupta

  • Coherence and WebLogic Operations Control

    Has anybody tried using WebLogic Operations Control to control a Coherence cluster? I have seen demo screen shots of it working but I am having trouble setting this up myself. All the documentation is more around controlling a set of WebLogic servers so not much help really.
    I can configure the controller to start a cache server on an agent but the controller cannot see that the cache has started so after about 5 minutes kills it and does a re-start.
    What I would really like is a step-by-step guide or a copy of the controller and agent configuration files from someone who has had this working.
    Cheers,
    JK.

    Hi Jonathan,
    We have a document we use for internal purposes that explains setting up a coherence service in WebLogic Operations Control (WLOC). This document is currently being edited for external use. The reason it is being edited is that it currently contains directories that match up with a preconfigured setup. If you give me your e-mail address I could send it to you in its current form. You will need to change the directories mentioned in it to match what you have in your environment. I can also send you the final metadata-config.xml that has the coherence service definition in it.
    The edited version of the doc will shortly be available on the WLOC OTN site (http://www.oracle.com/appserver/weblogic/operations-control.html).
    Thanks for your interest.
    -Chinnappa

  • WebLogic Timer Control Couldnt start

    I problem starting WL Timer.
    I want to use Timer not in the context of Web Service... I just need it so I can spawn new thread to execute long running process. But when my program (a Java Control) trying to start the timer, it kept give me error:
    <b>weblogic.jws.control.SchedulerException: Unable to schedule Control callback onTimeout for ... (Destionation is null).
    </b>
    What has caused the problem? Any prior configuration required to use this control?
    Thanks

    So I'm creating the timer(weblogic.management.timer.Timer) object in method ejbCreate() in InitBean.
    Yes, when I invoke handling bean by stand alone client all works good.
    Message was edited by damian.grela at Sep 14, 2004 1:20 AM

  • Weblogic throwing javax.transaction.HeuristicMixedException

    Hi,
    Our application uses MQJMS binding and weblogic transaction manager to receive and send messages to and from external queue. We got "javax.transaction.HeuristicMixedException" when we restarted our application at some point of time. All the messages except two were successfully processed. These messages were stuck in database for processing, but were pushed to the MQ queue. Later on, the same messages got processed again. No other error/exception is logged
    except below stack trace :
    WSATGatewayRM_AdminServer_LUCM_TXN},NonXAResources={})],CoordinatorURL=AdminServer+10.237.252.77:27025+LUCM_TXN+t3+): javax.transaction.HeuristicMixedException: (BANCS_EAI_TXN_DataSource_LUCM_TXN, HeuristicHazard, ())
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:305)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:233)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:500)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
    at weblogic.ejb.container.internal.NewJMSMessagePoller.processOneMessage(NewJMSMessagePoller.java:257)
    at weblogic.ejb.container.internal.NewJMSMessagePoller.run(NewJMSMessagePoller.java:121)
    at weblogic.ejb.container.internal.NewJMSMessagePoller.timerExpired(NewJMSMessagePoller.java:204)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    The above error looks very generic. How come the messages were sent to the Queue but not committed in the DB. Can someone help on this ?

    This exception is thrown to report that a heuristic decision was made and that some relevant updates have been committed and others have been rolled back.
    The reason for the rollback can be that some RuntimeException was thrown in processing the messages.
    Have you also looked in the logging of the database or your MQ provider, maybe it was unable to give a commit to the weblogic transactionmanager, which
    is controlling the XA transaction.

  • How to control transactions (WS-AT) between two web services in OSB?

    Could someone tell me if the OSB can have 2 diferents web services controlled by an unique transaction?
    For instance: in the OSB there are two wsdl, each one with its own Business Service and ProxyService respectively. In my vb.net aplication I started a transaction, called the first web service succefully and from the second web service I got an exception. I expected the first web service undo its work because the vb.net aplication excute a rollback command. Is this possible? How can I do? Any sample or tip will be helpfull.
    If I was developing without OSB, I would rely on WS-AT as shown in http://www.codeproject.com/Articles/38793/6-Steps-to-Enable-Transactions-in-WCF for two web services dot net, or for one web service dot net and other java, http://www.ibm.com/developerworks/websphere/library/techarticles/0707_lo/0707_lo.html.
    My question is basically: Is still possible to keep a single transaction between multiple web services when they are mediated by OSB? If so, is there a example showing how?

    Hi,
    When you create the proxy server, you have to check "Transaction required" box on Message Handling page...
    http://docs.oracle.com/cd/E17904_01/doc.1111/e15867/proxy_services.htm#i1316487
    Cheers,
    Vlad

  • Grid Control: transaction play with trace problem

    I'm using OEM Grid Control 10g, an Oracle Application Server 10g, and an Oracle Database 10g, all running on Linux.
    I'm trying to use OEM Grid Control for performance tuning.
    I've created a Web Application target and a transaction for my web app.
    Then I go to Manage Transactions, select my transaction and click "Play". After transaction play, I can click on "Show Results". All works fine.
    Instead, "Play with trace" doesn't work. The transaction is played, but when I click on "Show Results" it displays: "Error: Unable to get trace data" and displays only the same informations displayed after a simple "Play" command.
    I've searched in log files, in particular $ORACLE_HOME/sysman/log/emoms.log in EMGC10g ORACLE_HOME contains:
    2004-06-23 11:13:46,137 [EMUI_11_13_45_/console/webapp/e2e/trace/postresults] ERROR csm.target endElement.500 - Invalid element: name
    2004-06-23 11:13:46,137 [EMUI_11_13_45_/console/webapp/e2e/trace/postresults] ERROR csm.target endElement.500 - Invalid element: bad_parameters
    Tracing on application server is activated.
    Is this a bug?

    Hi Rob,
    It doesn't seem to write anything to the emagent.trc file. Makes you wonder whether the agent is running properly - it looks like it is:
    Oracle Enterprise Manager 10g Release 4 Grid Control 10.2.0.4.0.
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Agent Version : 10.2.0.4.0
    OMS Version : 10.2.0.4.0
    Protocol Version : 10.2.0.4.0
    Agent Home : /rbhp/u1/oracle/product/agent10g
    Agent binaries : /rbhp/u1/oracle/product/agent10g
    Agent Process ID : 6747
    Parent Process ID : 6737
    Agent URL : https://rbhp:1830/emd/main/
    Repository URL : https://rbhclusc:1159/em/upload
    Started at : 2009-10-01 15:54:51
    Started by user : oracrbh
    Last Reload : 2009-10-01 15:54:51
    Last successful upload : 2009-10-01 16:20:35
    Total Megabytes of XML files uploaded so far : 1.13
    Number of XML files pending upload : 0
    Size of XML files pending upload(MB) : 0.00
    Available disk space on upload filesystem : 30.70%
    Last successful heartbeat to OMS : 2009-10-01 16:23:06
    Agent is Running and Ready
    $
    I've just noticed that the upload is an https rather than an http - is this right?

  • About controlling transactions in oracle forms

    I've read in many articles that it is recommended to use Forms default processing for transactions. However I woud like to know if is it possible to take control over the transaction process. I'm working with record groups created dinamically , and I'm trying to insert those values in different tables but I need to control the whole transaction, I mean , if something goes wrong do a rollback , if not make a commit. Can anyone help me. How can i accomplish this task?
    Thanks

    They don't want to "tie" the application's functionality to the database serverThey sound like idiots. Might as well go fishing, ...but leave the fishing pole at home.
    But for starters:
    Forms operations are done in the following triggers:
    selects data in the on-select trigger.
    populates the data display block in on-fetch
    deletes in on-delete
    updates in on-update
    inserts in on-insert

  • Wls 10.3 weblogic-webservices.xml transaction-timeout attribute not working

    Hi, need some urgent need.
    I have a stateless ejb webservice and I'm trying to set the transaction timeout for some of the methods. Right now my webservice transaction is timing out to the default of 30 secs. I've tried setting in the admin console the JTA transaction timeout option, didn't work (file a case with bea support #81233). And after days of researching and searching I came across that you can setup the weblogic webservice transaction-timeout thru the weblogic-webservices.xml deployment descriptor. Tried setting the transaction-timeout attribute to 120 secs. and that didn't work. Here is the snippet of the xml file.
    <?xml version='1.0' encoding='UTF-8'?>
    <weblogic-webservices xmlns="http://www.bea.com/ns/weblogic/weblogic-webservices" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-webservices http://www.bea.com/ns/weblogic/weblogic-webservices/1.0/weblogic-webservices.xsd">
    <webservice-description>
    <webservice-description-name>com.starcomsoft.pp.system.jws.SystemWSImpl</webservice-description-name>
    <webservice-type>JAXRPC</webservice-type>
    <port-component>
    <port-component-name>SystemWSSoapPort</port-component-name>
    <service-endpoint-address>
    <webservice-contextpath>starcomsoft_ws</webservice-contextpath>
    <webservice-serviceuri>/SystemWSImpl</webservice-serviceuri>
    </service-endpoint-address>
         <transaction-timeout>120</transaction-timeout>
         <reliability-config>
              <inactivity-timeout>P0DT600S</inactivity-timeout>
         </reliability-config>
    </port-component>
    </webservice-description>
    </weblogic-webservice>
    Does anybody have any clue to solve my urgent need.
    Thanks in advance for your help or suggestion.

    Unhandled exception
    Type=Segmentation error vmState=0x00040000
    J9Generic_Signal_Number=00000004 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000033
    Handler1=F144C588 Handler2=F1446A9C
    Module=/app/oracle/product/Middleware/wlserver_10.3/server/native/aix/ppc/libmuxer.so
    Module_base_address=D8457000
    Target=2_40_20091214_049398 (AIX 5.3)
    CPU=ppc (4 logical CPUs) (0x600000000 RAM)
    ----------- Stack Backtrace -----------
    (0xD696E748 [libj9vm24.so+0x48748])
    (0xD8383EDC [libjclscar_24.so+0x10edc])
    (0xD8384514 [libjclscar_24.so+0x11514])
    (0xD6967718 [libj9vm24.so+0x41718])
    (0xD6967158 [libj9vm24.so+0x41158])
    (0xD69640D0 [libj9vm24.so+0x3e0d0])
    (0xD6932C9C [libj9vm24.so+0xcc9c])
    (0xD69BBA18 [libj9prt24.so+0x3a18])
    (0xD6932BB8 [libj9vm24.so+0xcbb8])
    (0xD69A77CC [libj9thr24.so+0x27cc])
    pthreadbody+0x118 (0xD010D784 [libpthreads.a+0x3784])

  • Authorization object to control transaction visibility in a Territory

    Hi All ,
    We have a requirement where visibility to business transactions should be controlled through the territory structure .
    A user should be able to view ( Display only ) all transactions created in the system but should be able to to view as well as edit all those transactions that are created in his territory or a territory under his .
    Please let me know if anyone has implemented this functionality and used a standard Auth object like CRM_ORD_TE .
    Thanks in advance.

    Hi,
    Please see the online documentation for the setting up of authorizations:
    http://help.sap.com/saphelp_crm70/helpdata/en/e9/b29a39e7aee372e10000000a11402f/frameset.htm
    The section 'Examples for the Authorization Assignment' contains a specific example for how to maintain territory object CRM_ORD_TE.
    When setting this up, keep in mind that before object CRM_ORD_TE is checked, first objects CRM_ORD_OP and then CRM_ORD_LP are checked, so authorization must not be granted to the user in these objects first, before the territory object is checked. This is outlined in the Process Flow section of the documentation.
    Hope this helps.
    Best Regards
    Gavin

  • Control transactions that are displayed based on authorisation

    Hi! We want to control the SCs, POs, contracts and during sourcing the type of transactions the users can see when running reports (such as monitoring report) or processing POs and contracts and carrying out sourcing based on the organisation they being to (such as company code). Is it possible to do that via authorisation? Else I will have to look at BADIs to do that.
    Cheers!
    SF

    Hi there,
    The BAdI you would use would be BBP_AUTHORITY_CHECK
    Please see the following link where documentation on authorization objects is located.
    Documentation to authorization objects:           
    Link: [http://help.sap.com/saphelp_srm40/helpdata/de/8e/ 
    1f7a40cf6bcd62e10000000a155106/frameset.htm]
    Hope this helps,
    Kind Regards,
    Matthew

  • Message control transaction

    Hello,
    what is the transaction for message control?
    Thanks

    Hello,
    Please search the forum before posting a new thread, as this has been discussed many times.
    You can see the message details in SE91.
    In FI, you can control the message number in OBA5. Normally message numbers are issued like this
    AA165
    First two digits (alpha) is called application area next digits are called message number.
    Sometimes, you may not be able to see the messages in OBA5, in such case you need to go to OBMSG transaction code and include the message number to your application area, then you need to come to back to OBA5 to make it information / warning / switch off / error (as the case may be)
    Regards,
    Ravi

  • How to control transaction isolation with tjdo + jboss

    When running TJDO (a jdo-implementation) in conjunction with JBoss, tjdo's PersistanceManagerFactory is created by jboss as a service and can be retrieved using jndi when needed.
    This tjdo is configured by a file tjdo-ds.xml in the deployment directory. Does anybody know if it is possible (and how) to control the transaction isolation level of tjdo in this case? The default is serializable, but experience indicates that using read_committed should be more useful if Oracle is used as database.
    Best regards
    Karl Brodowsky

    this can be achieved by using
         <config-property name="TransactionIsolation" type="int">2</config-property>

  • Weblogic-oracle max transactions

    Hi,
    I have to design a system for process ordering in my company in which I am planning
    to use weblogic. I have a bug concern about database performance.
    The fact I face is that the systems concentrates its workload during half an hour
    each day, during this time the database has to perform 77 tps (both reading and
    inserts). I have experience enough with weblogic to know that the pages served
    and logical transactions performance can be managed by the systems we have, BUT
    I don´t think we'll be able to perform 77 tps to oracle using jdbc...
    I have thought about, putting tuxedo in the middle to "enqueue" the database work...
    but I am affraid we'll need a pretty big machine.
    Another possibility could be using JTA ... but the problem is in the database,
    not in weblogic capacity to manage queues, it will be in the oracle eating rows
    etc.
    Other way can be using an object relational mapping tool like versant's enjin...
    but I don't have any experience on how it performs, or works.
    and... that's all I have can anybody give me hints???
    THANKS a lot in advance
    pedro

    Hi Pedro,
    Rob gave you as precise answer as possible
    in this situation. The only way to know how an application
    scales is running adequate load tests. Otherwise
    you'll be guessing only. For example, for the same
    hardware configuration you may get completely
    different results for different data - you may be inserting
    20 bytes records, or 2Mb records, you may have a single
    client and you may have a bunch of clients concurrently
    hitting the server etc. There are too many variables and this
    is what a good load test should take care about.
    Regards,
    Slava Imeshev
    "Pedro Trujillano" <[email protected]> wrote in message
    news:[email protected]...
    >
    Well of course we'll make such testing before writting the app.
    The question was more open in the meaning that having a highlytransactional environment;
    around 50% of that txs are going to be inserts, will a sun 4500 (to givemore
    data) with 8 cpus eat them?
    Will a product like versant's Ejin help? (or toplink)
    Are there any other ways to do it?
    thanks again
    Pedro
    Rob Woollen <[email protected]> wrote:
    I would suggest starting by writing a simple jdbc prototype that runs
    the reads/inserts and measure the performance. You should be able to
    tune this and get a good idea of your real configuration needs.
    It's hard for anyone to tell you whether 77 tps against Oracle is
    reasonable or not because it totally depends on what your transaction
    is
    doing, your hardware, etc.
    -- Rob
    Pedro Trujillano wrote:
    Hi,
    I have to design a system for process ordering in my company in whichI am planning
    to use weblogic. I have a bug concern about database performance.
    The fact I face is that the systems concentrates its workload duringhalf an hour
    each day, during this time the database has to perform 77 tps (bothreading and
    inserts). I have experience enough with weblogic to know that the pagesserved
    and logical transactions performance can be managed by the systemswe have, BUT
    I don´t think we'll be able to perform 77 tps to oracle using jdbc...
    I have thought about, putting tuxedo in the middle to "enqueue" thedatabase work...
    but I am affraid we'll need a pretty big machine.
    Another possibility could be using JTA ... but the problem is in thedatabase,
    not in weblogic capacity to manage queues, it will be in the oracleeating rows
    etc.
    Other way can be using an object relational mapping tool like versant'senjin...
    but I don't have any experience on how it performs, or works.
    and... that's all I have can anybody give me hints???
    THANKS a lot in advance
    pedro

Maybe you are looking for

  • How to restore Mac OS 9 SCSI drivers?

    Anyone here know a good way to restore the Mac OS 9 scsi drivers after you do something that messes them up? I've been trying to get Fedora (Linux) to boot on my old tangerine iBook. One problem I have is that I want to be able to multi-boot with Mac

  • Where's the CLEAR key

    I've been living with my lovely PB G4 17 for sometime and found it necessary to upgrade to a new MBP 17. To my shock I've lost the "clear" key (fn-6). I would love to remap it to the same spot but nothing seems to do this. I've looked into KeyRemap4M

  • Geforce4-mx460(MS-8863) X WinXP

    Hi,  I bought one of Geforce4-mx460, (MS-8863) but the tv-out it doesn't work in WindowsXp, when I use the win98Se the tv-out it works.   all tested the drivers of MSI and of Nvidia. I already updated my motherboard's BIOS and the drivers AGP.   I ha

  • HT1338 Can I do a clean install after using time machine backup?

    Can I do a clean install after using time machine backup?

  • Itune 7 and IE 7

    I have had problems with itunes 7 that I can't seem to resolve, and see this thread full of people with similar issues. As I think back, I think it stopped working after updated IE to ver 7. Is there a compatibility problem between the two upgrades?