Local transaction with third party jdbc?

I am trying to use bean managed transction in my application,
and using Sybase jConnector5.2 jdbc driver with iPlanet6sp2.
Transaction Manager configed local.
The transaction always can not roll back successfully,
Anyone kindly give some ideas...
Thanks

Du Xiao,
By "bean managed transction", are you referring to UserTransactions?
If so, your problem may lie in the autoCommit attribute of the Connection (or PooledConnection) object that you are using in your bean. Check to see if the autoCommit attribute is set to true or false on your connection.
If you are using UserTransactions, you should probably do connection.setAutoCommit(false) as you as you check out the Connection object. Without this code, your DML statements may be getting committed automatifcally even when you don't want them to, resulting in transactions that you can't roll back.
JC
Du Xiao Fei wrote:
>
I am trying to use bean managed transction in my application,
and using Sybase jConnector5.2 jdbc driver with iPlanet6sp2.
Transaction Manager configed local.
The transaction always can not roll back successfully,
Anyone kindly give some ideas...
Thanks

Similar Messages

  • Using Weblogic MDB to consume message using a XA transaction with third party JMS Provider

              I understood from the WebLogic documentation that we can invoke a third party JMS
              using its XA interface from within a MDB where transaction-type is Container and
              trans-attribute is Required. Also we will need to specify its XAConnection factory
              name as connection-factory-jndi name. It that sufficient ?? Or do i need to set
              up some other attributes also ??.
              

              Hi Neeru,
              I understand u were able to solve this issue.
              I am using similar kind of configuration but instead of tibco i am using Webmethods.
              Could u please let me know what did u do to solve the problem?
              -thanks and regards.
              Praveen
              "Neeru Munjal" <[email protected]> wrote:
              >
              >Hi Rob,
              >I used the same whitepaper and tried to use TIBCO JMS with Weblogic server),
              >I
              >started with MDB example specified in Weblogic 7.0 release in examples/ejb20/message
              >and modified it to use trans-attribute as Required. Also I used connection
              >factory
              >which supports XA, but my MDB does not get called.
              >
              >Thanks & Regards
              >Neeru
              >
              >Rob Woollen <[email protected]> wrote:
              >>Here's a white paper about integrating 3rd party JMS providers with
              >WLS:
              >>
              >>http://dev2dev.bea.com/resourcelibrary/whitepapersdetail.jsp?highlight=whitepapers&filePath=components%2Fdev2dev%2Fresourcelibrary%2Fwhitepapers%2Fwp_jmsproviders.htm
              >>
              >>-- Rob
              >>
              >>Neeru Munjal wrote:
              >>> I understood from the WebLogic documentation that we can invoke a
              >third
              >>party JMS
              >>> using its XA interface from within a MDB where transaction-type is
              >>Container and
              >>> trans-attribute is Required. Also we will need to specify its XAConnection
              >>factory
              >>> name as connection-factory-jndi name. It that sufficient ?? Or do
              >i
              >>need to set
              >>> up some other attributes also ??.
              >>>
              >>
              >
              

  • Transaction with third party JMS providers and ejb

              I am using a container managed stateless session bean to send messages to an ibm
              mqseries running on the same computer. The EJB is deployed on weblogic 7.0. It
              seems that sending JMS messages do not participate in the transaction and that
              I have to call queueSession.commit() explicity every time. However, receiving
              messages via Message Driven Beans in a transaction is not a problem. Any clue
              how to resolve this or what is happening?
              

    To do this today, you'd have to get the "XAResource" object from your JMS
              provider's XASession object, and register it with JTA. I know this has come
              up before, and you should be able to find more about this on the newsgroup.
              Basically, every time you send a message, you need to do something like
              this:
              import javax.jms.*;
              import javax.transaction.*;
              XASession xaSession; // This is your vendor's XASession object
              XAResource xaResource = xaSession.getXAResource();
              Transaction tran = weblogic.transaction.TxHelper.getTransaction();
              tran.enlistResource(xaResource);
              // Now send your message!
              You need to call "enlistResource" every time you send a message, or it won't
              work.
              WebLogic Server 8.1 will be able to do this automatically as long as you're
              inside an EJB or a servlet.
              greg
              "raj" <[email protected]> wrote in message
              news:[email protected]..
              >
              > I am using a container managed stateless session bean to send messages to
              an ibm
              > mqseries running on the same computer. The EJB is deployed on weblogic
              7.0. It
              > seems that sending JMS messages do not participate in the transaction and
              that
              > I have to call queueSession.commit() explicity every time. However,
              receiving
              > messages via Message Driven Beans in a transaction is not a problem. Any
              clue
              > how to resolve this or what is happening?
              

  • Viewlink with third party jdbc driver

    Hello, I try to create a viewlink with a Firebird SQL JDBC driver, but the SQL statment JDeveloper generate to test the view is not generic SQL compliant with Interbase, it's rather ORACLE specific :
    SELECT * from (select * from V_INDIVIDU_CODE_ADH) QRSLT where 1=2
    So it's impossbile to access the attributes or anything in the viewlink without having an error message from the jdc driver.
    Is it sure that JDeveloper wants to support other DB than ORACLE ?

    Hello, I try to create a viewlink with a Firebird SQL JDBC driver, but the SQL statment JDeveloper generate to test the view is not generic SQL compliant with Interbase, it's rather ORACLE specific :
    SELECT * from (select * from V_INDIVIDU_CODE_ADH) QRSLT where 1=2
    So it's impossbile to access the attributes or anything in the viewlink without having an error message from the jdc driver.
    Is it sure that JDeveloper wants to support other DB than ORACLE ?

  • SharePoint 2013 on-premises integration with third party email account

    the Email sending issue from SharePoint is causing too much time waste 
    First let me explain how our SharePoint is deployed
    Sharepoint version : 2013
    Deployment type : on-premise
    Authentication : from Domain controller also hosted locally 
    domain name ; say domain.com this domain.com is same as our website address hosted on godaddy
    SharePoint computer name on local DNS :  sharepoint.domain.com
    OS and IIS : 2008 r2 , IIS 7.5 
    Network firewall : 25 26 ports  opened for sharepoint , both incoming and outgoing.
    Server firewall : turned off
    Email configuration Attempts by IIS 6.0 
    We tried following setting on IIS 6.0 SMTP local server properties
    In General tab
    qualified name was shown as : sharepoint.dts-solution.com
    IP assigned : sharepoint server IP  , advanced putted two entries of IP with ports as 25,26
    In Access tab
    Authentication : selected as Anonymous 
    Connection : All except below list : empty list
    Relay : only the list below , one entry as 127.0.0.1 and other is local static IP of SharePoint server
    in Delivery tab
    outbound security : Basic authentication : accessed user in AD and given the right password, also checked with annonymous -not working 
    outbound connection: all default values and port = 25
    Advance : fully qualified domain name = sharepoint.domain.com , DNS test showed success, rest every check box unchecked 
    On sharepoint central management settings
    Outbound email = sharepoint.domain.com
    from and reply to address = [email protected] 
    IIS 7.5 SMTP settings 
    In IIS 7.5 sharepoint application we added SMTP settings as smtp server = godaddy out going smtp , user name as [email protected] , password = godaddy password , port : godaddy outgoing port  .
    Godaddy account 
    Our website hosted on godaddy with same name as domain.com
    open relay not possible on emails.
    Results
    After setting alerts on SharePoint sites and assigning tasks with alerts we receive email in queue folder but they never get forwarded. We just wish to use any of our email *.domain.com to send outgoing emails from SharePoint . Its been a while we have no
    success. 
    Tech Learner

    Hi,
    As I understand, you are using SharePoint 2013 integrating with third party SMTP server which provides email function.
    From SharePoint side, I'd suggest you refer to the link below to configure email integration:
    http://technet.microsoft.com/en-us/library/ee956941(v=office.15).aspx
    If you have already confirm that message is sent from SharePoint, while stuck in queue on SMTP server, then the issue might be related to relay on SMTP server. Since the issue is related to third party product, we do not have enough resource here,
    I'd recommend you contact their support engineer for more assistance:
    https://support.godaddy.com/help/category/154/email
    https://support.godaddy.com/help/article/3552/managing-your-email-account-smtp-relays
    Thanks for the understanding.
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • Integration of ChaRM with third party tools

    Hi all,
    We are in the process of building the solution for Change Request Management implementation integrated with third party tool. 
    As the normal process for ChaRM is to work with the Service Desk functionality (to raise a ticket, then support message, change request, change document etc...), but what we need is create the change request, and change document directly with ChaRM without using the Service Desk functionality. 
    Did anybody come across this situation?
    Please share your experience. 
    Thanks in advance.
    Balaji

    Hi Balaji,
    there is no problem, as I understand, you want to use ChaRM without Service Desk. OK, than you create directly a Change Request in CRMD_ORDER, the transaction type you have to select is SDCR (standard transaction type), you have to approve it and then you can create a change document, it is not necessary that you start with a Service Desk ticket like SLFN.
    You need configured TMS a SolMan Project with a Maintenance Cycle, thats it (but this is enough , don't forget the customizing).
    I hope I understood you correct
    Udo

  • Need connectivity of SAP Oracle with Third Party tool with dsn

    Hi Friends,
    We need to access SAP's Oracle database with third party tool with the help of dsn creation. For that we need to create 2 staging tables and need a new segment for these tables. Our data will move from SAP transactions to these 2 tables and we want to fetch this data via dsn into another third party S/W.
    I am unaware of such kind of working, can you please help me how to create new segment and how to create dsn for accessing tables in this segment.
    Our requirement is as follow.
    The staging tables are required in the SAP database with user name and password. The user should have all access to the staging table only.
    Requesting your kind help on this issue. Please suggest for further processing of activity.
    Rgds, Krishan Raheja.

    Hi,
    Common way to integrate SAP (database) with third party Application is to use and implement SAP Connector (Java or .Net).
    Using this, you can fetch the data from SAP database to use it in Third party application.
    As per my understanding the method you mentioned, will void the SAP database license term.
    So Please check before doing such configuraiton. Also that method is NOT recommended..
    Regards.
    Rajesh Narkhede

  • Replace Self-Signed FAST Search Certificate with Third Party Certificate

    We are trying to replace the Self-Signed FAST Search Certificate with Third Party Certificate in our SP 2010 environment. And are facing issues while enabling the SSL communication between the FAST servers and the corporate servers.
    Our FAST search servers are in a different farm than that of the Corporate Servers.
    The details of the certificate we received is as follows:
    Issued to : FastSearchCert
    Issued By: Issuer Name
    Valid From: 4/21/2015 to 4/20/2017
    We were able to successfully renew the certificate on the FAST Search Server by following the below steps:
    1.  Login to the Administrative and the Non-Administrative nodes 
    of the FAST server. Go to Windows Service and stop the FAST Search for SharePoint and the FAST Search for SharePoint Monitoring services in both the servers.
    Follow the below steps in the Administrative Node followed by the Non-Administrative Node
    2. 
    Install the certificate in the following paths in the certificate store:
    “Certificates(Local Computer)\Personal”
    “Certificates(Local Computer)\Trusted Root Certification Authorities”
    3. Ensure that the user account configured for the “FAST Search Server 2010 for SharePoint” has access to the private key of the certificate.
    4. Go the Administrative node of the FAST farm and follow the below steps:
    Go to the certificate store.
    Expand the Personal folder and then click the Certificates folder. Double-click the third party signed FAST certificate.
    Open the Details tab and then click Thumbprint. Note down this thumbprint.
    5. Next, open
    Microsoft FAST Search Server 2010 for SharePoint with Administrator
    Privileges.
    6.
    Navigate to the directory, “D:\FASTSearch\installer\scripts” and execute the below command to replace the current certificate with the newly created
    third party signed FAST certificate.
    .\ReplaceDefaultCertificate.ps1 -thumbprint "certificate thumbprint".
    7. The FAST certificate was renewed successfully.
    Once the certificate has been renewed successfully in both the nodes, follow the below step:
    8. Start the FASTSearch for SharePoint and the FAST Search
    for SharePoint Monitoring services in the administrator server.
    Next, while enabling the SSL communication between the FAST servers and the other corporate servers, we follow the below steps:
    1. 
    Copy the new certificate from any of the FAST servers to all the web-front end and application servers in the corporate farm, in order to enable SSL communication between these servers and the FAST farm.
    2.   Also, copy the script
    ‘SecureFASTSearchConnector.ps1’ from the location “%FASTSearchFolder%\installer\scripts” in the FAST servers 
    to the web-front end and application servers of the corporate farm.
    3.  Follow the below steps on each of the servers in the corporate farm:
    Open ‘SharePoint 2010 Management Shell’ with administrator privileges and navigate to the directory in which
    SecureFASTSearchConnector.ps1’ script is located.
    And then, execute the below command:
     .\SecureFASTSearchConnector.ps1 -certThumbprint "certificate thumbprint" –ssaName “FASTCibtebtSSA” –username “DOMAIN\SP_Farm”
     Where,
    -certThumbprint 
    - Thumbprint of the certificate
    -ssaName – FAST Content SSA
    -username – The account configured to run the SharePoint
    Search Service
    On execution of the above command, we receive an error message stating that the "Connection to the Content Distributor servername.corp.abc.org: 14391 could not be validated...instance of FAST search server backend is running"
    Please help us resolve this issue. We have not been able to find the cause of the above error for a long time.
    Any help is much appreciated.

    Your tip on exporting from eDir to locate a missing private key was very helpful. Here are my steps to renew an expired third party certificate when the private key, generated 30 months ago in my case, could not be located.
    In iManager, browse the tree and locate the likely certificate object. The Attributes for the object show Subject Name = webmail.acme.com. Selected the certificate and exported to webmailcert.pfx.
    Then, the openssl commands in TID 7004039, "How to convert a SSL PFX to a PEM file", were run against the .pfx file to create cert.pem, key.pem and server.key files.
    TID 7015500, "How to determine if private key belongs to public key (certificate)", was followed to determine if the public key (downloaded from third party) and private key (just retrieved from iManager) match - they did - that is, the private key converted from webmailcert.pfx matches the downloaded certificate.
    TID 7013103, "How to create a .pem File for SSL certificate Installations", was followed to manually create a server.pem file using openssl.
    TID 7010584, "How to setup SSL Certificate for Apache", part labeled "Additional Information" was followed to modify /etc/apache2/vhosts.d/vhost-ssl.conf file. Server.pem file created above copied to /etc/apache2/ssl.crt/ and /etc/ssl/servercerts/ directories as specified in vhost-ssl.conf.
    Restarted apache2.
    www.digicert.com has an SSL Certificate Checker that can be used to verify the installation is successful.

  • Really Apple? OSX 10.8.5 disables built-in camera functionality with third party apps such as Skype and Gmail video chat. I do not have time machine on my 2013 MB Air. How can I get back to 10.8.4?

    Really Apple?
    With the release OSX 10.8.5 Apple has once again showed its true colors, and continued its efforts to create a closed Apple system, which eliminates third party vendors, unless, one can only assume... they pay.
    Included in this OSX update is the disabling of the built-in camera to work with third party applications such as Skype and Gmail video chat. No surprise the camera works just fine with Apple apps such as Facetime and Photobooth.
    The answer I got on my call to AppleCare to ask for assistance in reinstalling 10.8.4, so that I may Skype again, was we can not do that. You can not go back unless you have a time machine bkup.
    Can anyone help me get back to to 10.8.4 on my 2013 MB Air?
    I do not have a time machine bkup as this computer is not used to store important documents.
    Thank you.

    Read this post: 10.8.5 Broke Camera Usage For 3rd Party Apps Like Skype
    Another: isight not recognized in Skype after 10.8.5 upgrade
    Don't panic. Skype simply needs to update its app.

  • How to integrate single sign on with third party system

    we are in the process of implementing istore application. we already have home grown isupport application to contact support personnal for any issues. Now we are wondering how do we integrate oracle applications single sign on with our third pary system. Is there any recommendation provided by oracle to achieve the same.

    We too are in the process of implementing iStore with SSO features.
    And if you believe me it seems to me as nightmare.
    In our scenerio we are intgrating this SSO with Third party access control too (AD and Siteminder). I would request you to please respond me on the following mail id , so we can share our experince which will help us in our implementation
    [email protected]
    regards and thanks in advance
    Vikas Deep

  • Conflict with Third Party Apps?

    I am getting an occasional error saying there is a possible conflict with third party apps and that I need to check the drivers of my MIDI devices to see if they are up to date? Sorry but I did not record the exact wording. Does anyone know what this might mean, and how I need to go about checking drivers? I have a lot of interfaces and not sure how to see what's what. Thanks.

    Hi Midlake,
    Well, because they are known troublemakers. Search for 'takes' or 'take folder(s)' or 'comp' here on the forum and you'll find many a troubled soul crying out for help - including seasoned pro's, who thought they were beyond tears...
    O, they are fine for recording many takes - but thats' all. I'll select the best takes/phrases.
    regards, Erik.

  • How to integrate DRM with third party tool for loading metadata in SQL table

    Experts,
    I am new to DRM and I have a requirement in which we want to integrate DRM with third party tool(lets say SQL table) as target and load metadata from DRM (Parent node, name , alias etc) to SQL table (same column name)
    Is there any way we can integrate DRM to export the same to table directly instead to files. If yes what are the steps we have to follow.
    Is there anyway we can customize DRM to execute queries or run batch
    Can I have a basic example please.
    Thanks in advance,
    Regards,

    1. Use DRM Export to Table option, for that create an External Connection first for the Target Database and select the respective Tables to which you wish to Export the Hierarchy information.
    2. You can perform most of the DRM Actions via the DRM_BATCH_CLIENT.exe.
        Please refer to Using the Data Relationship Management Batch Client of DRM User guide.
    let me know if you have any issues.

  • How to integrate iReceivables with third party payment system?

    Hi,
    My requirement is to integrate iReceivables with third party payment system.
    Can anyone guide me to achieve this.
    Thanks & Regards,
    Sunita

    Hello Prasad,
    <b>Connection with an External Payroll System</b>
    Payroll Outsourcing functionality allows you to compile master data or payroll data in the SAP system to submit to a third-party service provider in an electronic format. The Outsourcing solution available in the United States and Canada provides a generic interface which writes data into an IDoc (Intermediate Document) for transport to a third-party system. In order to transport data into and out of the SAP system, you must set up a logical system, partner definition, and outsourcing ports.
    If you have built your own payroll interface, using the Interface Toolbox, for example, you can use the Import section of this scenario. The Export section applies only to the transport of IDocs.
    For more information regarding outsourcing, refer to the SAP Library, Human Resources  -> PY Payroll  -> PY-US United States Payroll or PY-CA Canada Payroll  -> Outsourcing.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/af/f4ea3444e9c47fe10000009b38f83b/frameset.htm
    Import Payroll Results from a Third-Party System
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/0a/e62481feaf11d1a5500060087832f8/frameset.htm
    regards
    Prasad
    Message was edited by:
            prasad chintala

  • Can you connect the Lightning to 30-pin adapter and Lightning to 30-pin Adapter (0.2 m) to iPod nano (7th generation) with third-party accessories?

    Can you connect the Lightning to 30-pin adapter and Lightning to 30-pin Adapter (0.2 m) to iPod nano (7th generation) with third-party accessories?

    Lightning to 30-pin adapter and Lightning to 30-pin adapter (0.2m) do not work if connected together by other third-party accessories.

  • SAP IDM  7.0 integration with third party system

    Hi Experts,
    I know SAP IDM  7.0 can integrate with third party systems and create user ids on most of the third party systems.
    But I need to know regarding If it is possible to integrate with following systems
    1) Microsoft Exchange 2007 (  I know till exchange 2003 SAP  IDM support )
    2)  Microsoft  Active directory 2008 ( I know till Actice directory 2003)
    3) EMC  Documentum 6.5
    4)  ARIS 7.1.0
    5)  BlackBoard, Release 9.0
    6) Oracle 10g  ( Is it possible to create users at oracle level ? or at what level ? )
    7)  Sun Solaris Sparc  ( Is it possible to create users at  OS level )
    If you have information how on this please share. I know that  provisioning framework will have templates for most of the target systems. I want to know if they are available for above systems on SAP IDM 7.0 or if not have we can connect to them?

    Hi Matthew
    Your expertise in SAP IDM is indeed a great help!!
    >Can't see why not, it's all done via SQL commands. I've done similar things with MSSQL
    You mean that there will be oracle 10g drivers/oledb connectors in SAP IDM and in through SQL commands like "create user alfredo identified by alfredos_secret; " we can create user  in oracle database ?. As you said this should be possible.  What about creating user( user management ) in oracle 10g application  like dba or scot  and assigning the privileges in oracle application?
    >might need to do via UNIX scripts, but it can be done
    You mean that Unix scripts will be defined in SAP IDM and SAP IDM will execute these scripts in the Sun Solaris Sparc ?. It should be possible as you said. By the way how we will be able connect to Sun Solaris sparc ?  Is it via  the option "file " under the "Repositories" with repositories wizard  and later executing the file from SAP IDM ?
    Thank you once again for your expert answers on third party systems.

Maybe you are looking for

  • How does this program group and cluster these button values into an array?

    In the attached program, there are 6 buttons in a cluster and 1 individual button. These buttons control a bunch of different relays to control power to different components of a single device. Right now the program works in that I can control the 6

  • Mac 21.5 won't sleep, comes back on.

    I click sleep on the apple menu, the screen goes black, then about 10 seconds later it wakes up again.  The display stays on, and doesn't go to sleep automatically either.

  • Purchasing music from Puerto Rico

    I've been purchasing music from iTunes since I bought my first iPod a couple of years ago. I the course of this time, I have spent Hundreds of dollars in music. Recently, my credit card was stolen, so I had to cancel that CC Number and get a new one.

  • Acrobat 9 Crash All Day

    Would someone help me to nail this down why Acrobat 9 crashes all day please? When it works, it works fine. But when it starts crashing, it will crash all day with XP saying the bib.dll is having problem. Sometimes if I work on a bunch of PDFs, it wi

  • Bridge CS4 won't shut down

    Hi, I had PSCS4 installed in my Windows 7 laptop.  I am attempting to install PSCS5, but BRCS4 will not shut down.  CS5 installation detects it as open.  The uninstall also detects is as open.  I have deactivated CS4, but BRCS4 is still dectected as