Problem starting transaction for MDB

          Hello All,
          I have a MDB configured as Container managed transaction.
          Sometimes I rollback a message sent to a Queue.
          The problem is that sometimes the WEBLOGIC log show the follow error and do not
          start a JMS service.
          Anyone had this problem before?
          Thanks.
          <Mar 3, 2004 4:51:13 PM GMT-03:00> <Error> <JTA> <BEA-110424> <An unexpected exception
          was caught during begin: java.lang.NullPointerException
          at java.security.SecureRandom.setSeed(SecureRandom.java:369)
          at weblogic.transaction.internal.XidImpl.seedRandomGenerator(XidImpl.java:378)
          at weblogic.transaction.internal.XidImpl.create(XidImpl.java:266)
          at weblogic.transaction.internal.TransactionManagerImpl.getNewXID(TransactionManagerImpl.java:1719)
          at weblogic.transaction.internal.TransactionManagerImpl.internalBegin(TransactionManagerImpl.java:249)
          at weblogic.transaction.internal.ServerTransactionManagerImpl.internalBegin(ServerTransactionManagerImpl.java:303)
          at weblogic.transaction.internal.ServerTransactionManagerImpl.begin(ServerTransactionManagerImpl.java:259)
          at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:253)
          at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2596)
          at weblogic.jms.client.JMSSession.execute(JMSSession.java:2516)
          at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
          at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
          >
          <Mar 3, 2004 4:51:13 PM GMT-03:00> <Error> <JMS> <BEA-040368> <The following exception
          has occurred:
          java.lang.RuntimeException: [EJB:010166]Error occurred while starting transaction:
          javax.transaction.SystemException: java.lang.NullPointerException.
          at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:277)
          at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2596)
          at weblogic.jms.client.JMSSession.execute(JMSSession.java:2516)
          at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
          at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
          >
          

Thanks for ur help!
          WLS 8.1
          <JDBCTxDataSource EnableTwoPhaseCommit="true"
          JNDIName="JDBCDataSource" Name="JDBCDataSource"
          PoolName="JDBCConnectionPool" Targets="myserver"/>
          WLS 7.0
          <JDBCDataSource JNDIName="JDBCDataSource" Name="JDBCDataSource" PoolName="JDBCConnectionPool"/>
          Because JDBCDataSource is the default datasource when you create a new datasource in WLS7.0, JDBCTXDataSource is the default datasource in WLS8.1.
          After I changed the config.xml, it's ok!
          > Can u please post the DB Connection Pool & DataSource
          > part of config.xml from both (7 & 8.1) your
          > environments ?
          >
          >
          > Cheers!
          > Dips

Similar Messages

  • SRM portal: Cannot start transaction for shopping cart -wizard

    Hello All,
    User is not able to access the Shopping cart-wizard in EB portal, user has updated the internet  explorer to internet explorer V7 still he is not able to access.
    When user clicks on Shopping cart-wizard he gets the following error "Cannot Start Transaction**
    *The internet transaction server could not start the transaction "BBPSC02"* .
    Please let me know how can I resolve this issue.
    Have checked the attributes for this user it is maintained to access portal, all roles are properly assigned.
    Thanks.

    Hello,
    Service BBPSC02 is only not started from portal or you cannot start it as well when using the ITS link?
    Are you able to test the service via transaction SICF?
    Regards,
    Ricardo

  • Problem about transaction of  mdb

    I've made a MDB,it works fine in WLS7.0, but when I upgraded the server from WLS7.0 to WLS8.1, I found this error:
              java.sql.SQLException: Cannot call Connection.rollback in distributed transaction. Transaction Manager will commit the resource manager when the distributed transaction is committed.
              at weblogic.jdbc.wrapper.JTSConnection.rollback()V(JTSConnection.java:570)
              at com.aspire.syn.delivery.ReceiverMDBean.onMessage(Ljavax.jms.Message;)V(ReceiverMDBean.java:320)
              at weblogic.ejb20.internal.MDListener.execute(Lweblogic.kernel.ExecuteThread;)V(MDListener.java:370)
              at weblogic.ejb20.internal.MDListener.onMessage(Ljavax.jms.Message;)V(MDListener.java:262)
              at weblogic.jms.client.JMSSession.onMessage(Ljavax.jms.MessageListener;Lweblogic.jms.common.MessageImpl;)V(JMSSession.java:2678)
              at weblogic.jms.client.JMSSession.execute(Lweblogic.kernel.ExecuteThread;)V(JMSSession.java:2598)
              at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
              at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
              at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
              connection.close() exception:Cannot call Connection.rollback in distributed transaction. Transaction Manager will commit the resource manager when the distributed transaction is committed.
              JMS Connection Factories is "XA Connection Factory Enabled" , and I used a oracle jdbc datasource
              The mdb code as below:
              public void onMessage(Message msg){       
              java.sql.Connection conn = null;
              ...get the connection
              try{
              conn.setAutoCommit(false);
              ...business flow
              conn.commit();
              conn.close();
              } catch(JMSException jmse){
              try{
              conn.rollback();
              } catch(SQLException ee){}
              messageDrivenContext.setRollbackOnly();
              } catch(Exception e){
              try{
              conn.rollback();
              } catch(SQLException ee){}
              e.printStackTrace();
              messageDrivenContext.setRollbackOnly();
              I have specified the attributes in ejb-jar.xml as per weblogic documentation as below:
              <ejb-jar>
              <enterprise-beans>
              <message-driven>
              <description>Message driven Bean to receive Siebel messages</description>
              <ejb-name>ReceiverMDBean</ejb-name>
              <ejb-class>cignex.jms.ReceiverMDBean</ejb-class>
              <transaction-type>Container</transaction-type>
              <message-driven-destination>
              <destination-type>javax.jms.Queue</destination-type>
              </message-driven-destination>
              </message-driven>
              </enterprise-beans>
              <assembly-descriptor>
              <container-transaction>
              <method>
              <ejb-name>ReceiverMDBean</ejb-name>
              <method-name>*</method-name>
              </method>
              <trans-attribute>Required</trans-attribute>
              </container-transaction>
              </assembly-descriptor>
              </ejb-jar>
              Can someone help me with this.
              Thanks!

    Thanks for ur help!
              WLS 8.1
              <JDBCTxDataSource EnableTwoPhaseCommit="true"
              JNDIName="JDBCDataSource" Name="JDBCDataSource"
              PoolName="JDBCConnectionPool" Targets="myserver"/>
              WLS 7.0
              <JDBCDataSource JNDIName="JDBCDataSource" Name="JDBCDataSource" PoolName="JDBCConnectionPool"/>
              Because JDBCDataSource is the default datasource when you create a new datasource in WLS7.0, JDBCTXDataSource is the default datasource in WLS8.1.
              After I changed the config.xml, it's ok!
              > Can u please post the DB Connection Pool & DataSource
              > part of config.xml from both (7 & 8.1) your
              > environments ?
              >
              >
              > Cheers!
              > Dips

  • Daily problem starting workflow for the first time

    Hello,
    for one of our clients we have configured an OOTB workflow which handles the routing of incoming post on a daily basis using Kofax as scanning client to to release the incoming document to SP using a workflow for routering to the proper department. The problem
    we experience is that after every restart of the services, the first workflow is not triggered. After the first time, all workflows started after that are running fine.
    We already tried plaing around with the SP workflow timer job, but so far with no results. Does anybody had a similar experience? If yes, what's the cause of this problem and even better, what can we do to fix this? Customer is running on a SP2010 platform.
    Thanks
    Ludwig Stokkelaar
    OpenDocs bv
    email: [email protected]

    Hello all,
    for one of our clients we have configured an OOTB workflow which handles the routing of incoming post t the proper apartment on a daily basis using Kofax as scanning client. The problem we experience is that after every restart of the services, the first
    workflow is not triggered. After the first time, all workflows started after that, are running fine.
    We already tried plaing around with the SP workflow timer job, but so far with no results. Does anybody had a similar experience? If yes, what's the cause of this problem and even better, what can we do to fix this? Customer is running on a SP2010 platform.
    Thx
    Ludwig Stokkelaar
    OpenDocs bv

  • Newbie : Problem starting OPG for IBM MQseries: TNS-00530,  Error Code 2

    Hi All
    First of all, if this is the wrong place to post this question, I apologize.
    I have installed a new installation of Oracle 9.2.0.1 and at a separate home location the OPG for IBM MQSeries for 9.2.0.1 off the same bits.
    The configuration said that the default SID of PG4MQS92 would be setup since I was using a local MQ queue manager but I didnt see any entries in the listener.ora or the tnsames.ora so added the following.
    listener.ora
    (SID_DESC =
    (SID_NAME = pg4mqs92)
    (ORACLE_HOME = C:\Software\oracle\pg4mqs92)
    (PROGRAM = pg4mqs92)
    tnsnames.ora
    ORACLE_QM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = testmachine)(PORT = 1521))
    (CONNECT_DATA =
    (SID = pg4mqs92)
    (HS=OK)
    When I ran tnsping on ORACLE_QM it was resolved. But when I start the putsample.sql program after importing all the required packages using the pgmdeploy9.sql script I get the following output.
    DECLARE
    ERROR at line 1:
    ORA-04052: error occurred when looking up remote object
    [email protected]
    ORA-00604: error occurred at recursive SQL level 1
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    NCRO: Failed to make RSLV connection
    ORA-02063: preceding 2 lines from PG4MQ
    In the listener.log I see the following error
    07-DEC-2005 07:34:19 * (CONNECT_DATA=(SID=pg4mqs92)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.100)(PORT=1271)) * establish * pg4mqs92 * 12500
    TNS-12500: TNS:listener failed to start a dedicated server process
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    32-bit Windows Error: 2: No such file or directory
    I noticed that during the install a boot file for the pgm4mqs92 SID was not found anywhere. Is it maintained in the registry, if so where ?
    If the boot file is missing is there a sample I can use and where do I need to put it ?
    Am running on Windows XP Professional.
    Have been stuck with this a while and cannot find any information on this, so any help would be appreciated.
    Thanks
    - Deepak

    I am getting the same error while starting or stopping the listener
    LSNRCTL> start CSCLIST
    Starting tnslsnr: please wait...
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    LSNRCTL> stop CSCLIST
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=CSCINDAE708070)(PORT=152
    2)))
    NL-00303: syntax error in NV string
    TNS-01153: Failed to process string: (DESCRIPTION=(CONNECT_DATA=(CID=(PROGRAM=)
    (HOST=)(USER=Manager(REMOVE)))(COMMAND=stop)(ARGUMENTS=64)(SERVICE=CSCLIST)(VERS
    ION=186646784)))
    Pls help
    Listener.ora:
    # listener.ora Network Configuration File: D:\Sagaya\11gDBhome\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    CSCLIST =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = CSCINDAE708070)(PORT = 1522))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
    SID_LIST_CSCLIST =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = D:\Sagaya\11gDBhome\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:D:\Sagaya\11gDBhome\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    ADR_BASE_CSCLIST = D:\Sagaya\11gDBhome

  • Generate a transaction for the workflow

    Hi ,
       I want to know how can we generate a transaction code for a workflow .
    Thanks ,
    Shounak.

    Hi all,
    just a small information that might be of interest for you:
    In release 4.6c (and maybe in other releases) it was possible to use transaction SWUG to create a start transaction for workflow templates. The workflow then started with the first task of the template.
    In MySAP ERP 2004 this is not possible anymore. You have to use the start forms instead (like described above).
    It is a little pitty, because when using start forms you are bit restricted in your possibilities, e.g. you can not have a dynpro with OK code (you just have the sub screen where you could check SY-UCOMM but not clear it).
    The idea is for example to have to complex start DynPro for entering data as the first task of a workflow, followed by a "document from template" step to add additional information in text form. So the window with the document immediately pops up after leaving the dynpro (without going back to the workflow inbox first).
    If you have a Dynpro that creates an event to trigger the workflow template, you first have to go the workflow inbox and execute the work item that waits for you there. This is not really smart.
    Maybe there is a possibility to use transaction SWUI with parameters to immediately start workflow templates.
    Or directly use function module SWW_WI_START.
    Set a breakpoint in SAPLSWUA, include LSWUAF01 at CALL FUNCTION 'SWW_WI_START' and execute SWUI with the template you want to start to find out about the parameters you need to provide to the function module.
    Kind regards
    Holger

  • Purchased a new Apple TV and the remote double clicks each time I press the button. It worked fine during set up and for the first two days.  I have since moved it and this problem started. Restarted,reset,unplugged,change remotes, no change.Help please.

    Purchased a new Apple TV and the remote double clicks each time I press the button. It worked fine during set up and for the first two days.  I have since moved it and this problem started. Restarted,reset,unplugged,changed remotes, no change. Latest software update. This is really annoying.  iPhone remote app works just fine.  Any suggestions?

    That's one of the weird things.. it recognizes it maybe 10% of the time. And usually, only after I do the two-button reset. Problem is.. since it won't charge above 2%, anytime I try to do a restore or anything like that using iTunes, my device shuts off and I lose whatever progress I'd made.
    So, an update... after reading through a bunch of similar complaints (there are literally 1000's of them so there's NO WAY this isn't somehow ios7 related, thanks a lot APPLE ) I decided to try a restore in recovery mode. After 3 hours and several disconnections... I ended up having to just set it up as a new iPad, as the restore did nothing. Weirdly though... as I was doing the restore in recovery mode.. I noticed I'd gotten up to a 10% charge.. higher than it's been since September, so after setting it up as a new device, I turned it off and plugged it in using the wall charger. 2 hours later and I was up to 38%. Still not great, as my iPad, before ios7 could've fully charged twice in the amount of time it took for me to now get 28% more of a charge. And that's with a fully cleaned out device.. so that really ***** and I'm now more confused than ever.
    But I'm gonna leave it overnight charging and see what I come up with tomorrow. Sadly, when I paid $600 for it in February, I never expected to have to play "wait and see" with it...

  • I am using a Macbook Air mid 2012 and an apple application "Mail". With only one email account (Yahoo), everything works perfectly. But the problem started when I added GMAIL account. Now it keeps on asking for my password for gmail and keychain.

    With only Yahoo account in my Macbook Air "Mail", everything works perfectly. Problem started when I added my Gmail account. It keeps on asking my account and keychain passwords. And all my accounts always works offline.

    It sounds like you may need to go into Mail>Preferences>Accounts and Complete setting up you Gmail account.  It may not be finished being setup.  For instance, note the line below to be selected from the drop down list in "Outgoing Mail Server (SMTP", then  "Edit SMTP Server List":
    Hope this helps

  • Problem Recording FMX1 Transaction for Batch Input. Plz Help

    Hi Everyone!!!
    I'm using the Transaction SHDB to create a new recording over the FMX1 Transaction for a Batch Input. The strange thing is that when i'm about to save the recording i get the following error:
    "A runtime error: SAPSQL_ARRAY_INSERT_DUPREC"
    I tried using the transaction FMX1 with the same data(constants), and it works perfectly. And I know it's not a duplicated key or anything, it works fine when i use the transaction.
    This lead me to think that the problem is somewhere when i try to record the transaction.
    Any Ideas of how to fix the problem, or does anyone knows if its a SAP problem that needs some kind of fix.
    Any help would be really aprreciated!
    Thx again.

    Try using recording method and try to post 1 item...U will get the recording. In this recording, the field might be shown up which can be used.

  • TS1702 My problem started after installing smartsync which is supposed to sync my phone with the profilepage photos of my friends in facebook. All my apps crash after using them for awhile. I have remove the smartsync app but my phone still behaves the sa

    My problem started after installing "smartsync app" which is supposed to sync my phone with the profilepage photos of my friends in facebook. All my apps crashed after using them for awhile.While using my apps, they will black out after a little while and the phone returns to the starting page. I have removed the smartsync app but my phone still behaves the same way. At the same time the dates that accompany my messages changed to another language. How can these be rectified?

    Eek.  Sounds like something in the app caused some serious software issues.  You can try a hard reset, but I'd imagine you're probably going to have to do an iTunes restore to get it running right again.

  • When I  update an app it asks for my password (as usual) but now there is no touch keyboard or other way to enter the password. This problem started, I think, after the latest OS update.What's going on?

    When I  update an app it asks for my password (as usual) but now there is no touch keyboard or other way to enter the password. This problem started, I think, after the latest OS update.What's going on?

    I tried a reset and it did the trick.

  • HT1349 Problem: my iPhone 4S (1yr old) has started buzzing for no apparent reason. I cannot stop it or turn the thing off. The screen is black and does not respond to touch. Any suggestions?

    Problem: my iPhone 4S (1yr old) has started buzzing for no apparent reason. I cannot stop it or turn the thing off. The screen is black and does not respond to touch. Any suggestions?

    Thanks, AM_Kidd, I had tried that before but I tried again and this time it WORKED!!!!
    The buzzing stopped and I have the home screen up again.
    Phew! It may be that it had been on charge for the last 30 mins.
    Whatever. Again, many thanks.

  • When I am connected to the WiFi, my apps cannot be download. Once I had disable the wifi and connect directly to the service provider, the apps will start to download. Please advise what is the problem and solution for my iPhone 5.

    When I am connected to the WiFi, my apps cannot be download. Once I had disable the wifi and connect directly to the service provider, the apps will start to download. Please advise what is the problem and solution for my iPhone 5.

    I can't follow your meaning. What does connect directly to your ISP mean?
    Did you mean turning off WiFi but turning on Cellular Data on your iPhone?

  • Hallo Apple, what does it mean this Message0x7fff7500b300 resumeBackgroundConversion: background conversion started/resumed for lv 82832E6C-B6AC-46A6-8836-715414EBE8F4. Because I have a Problem with my CPU: Kernel_task and corestoraged

    Hallo Apple,
    what does it mean this Message0x7fff7500b300 resumeBackgroundConversion: background conversion started/resumed for lv 82832E6C-B6AC-46A6-8836-715414EBE8F4.
    Because I have a Problem with my CPU: Kernel_task and corestoraged.

    I'm having this same issue. I also have this line in my log, which is curious:
    12/14/14 7:13:07.822 PM netbiosd[16766]: Attempt to use XPC with a MachService that has HideUntilCheckIn set. This will result in unpredictable behavior: com.apple.smbd
    Is this related to the problem? What does it mean?
    My 2010 27" iMac running Yosemite won't wake up from sleep.

  • Problem with transacted JMS connection factory and transaction timeouts

              We encountered an interesting problem using transacted JMS connection factories.
              An EJB starts a container managed transaction and tries to validate a credit card
              before creating some information to a database for the user, in case of success
              an SMS is sent to the user via the transacted JMS queue. If the credit card authentications
              duration is about the same as the transactions timeout (in this case the default
              30 seconds) sometimes the database inserts is committed but the JMS insert is
              rollbacked. How can this be?
              If the authorization duration is much longer than 30 seconds everything works
              fine (both database and JMS inserts rollbacked), the same is true if a rollback
              is insured by calling EJBContext.setRollbackOnly(). The problem thus occurs only
              if the duration is approximately the same as the transaction timeout, it appears
              that the database insert is not timeouted but the JMS insert is. How can this
              be if they are both participating in the same transaction.
              The JMSConnectionFactory used is a Connection factory with XA-enabled. The result
              is the same also with the default "javax.jms.QueueConnectionFactory" and if we
              configure our own factory with user transactions enabled.
              Any help appreciated!
              

    Tomas Granö wrote:
              > We encountered an interesting problem using transacted JMS connection factories.
              > An EJB starts a container managed transaction and tries to validate a credit card
              > before creating some information to a database for the user, in case of success
              > an SMS is sent to the user via the transacted JMS queue. If the credit card authentications
              > duration is about the same as the transactions timeout (in this case the default
              > 30 seconds) sometimes the database inserts is committed but the JMS insert is
              > rollbacked. How can this be?
              It should not be.
              >
              > If the authorization duration is much longer than 30 seconds everything works
              > fine (both database and JMS inserts rollbacked), the same is true if a rollback
              > is insured by calling EJBContext.setRollbackOnly(). The problem thus occurs only
              > if the duration is approximately the same as the transaction timeout, it appears
              > that the database insert is not timeouted but the JMS insert is. How can this
              > be if they are both participating in the same transaction.
              >
              > The JMSConnectionFactory used is a Connection factory with XA-enabled. The result
              > is the same also with the default "javax.jms.QueueConnectionFactory" and if we
              > configure our own factory with user transactions enabled.
              >
              > Any help appreciated!
              Make sure that your session is not "transacted". In other words,
              the first parameter to createSession() must be false. There is an
              unfortunate name re-use here. If a session is "transacted", it
              maintains an independent "inner transaction" independent of the
              outer transaction. From the above description, it seems unlikely
              that your application has this wrong, as you say that
              "setRollbackOnly" works - but please check anyway.
              Make sure that you are using a true XA capable driver and database
              (XA "emulation" may not suffice)
              Beyond the above, I do not see what can be going wrong. You
              may want to try posting to the transactions and jdbc newsgroups. Note
              that JMS is appears to be exhibiting the correct behavior, but the
              JDBC operation is not. The JDBC operation appears to have
              its timeout independent of the transaction monitor's timeout.
              Tom
              

Maybe you are looking for