Javax.transaction.UserTransaction --- what version of jta is included in 4.5.1 (sp8)

I have a problem with another vendor also include the javax.transaction
package in their jar file.
When compiling, the one included in the weblogicaux.jar is picked up and our
extension to this thrid pary product fails because the UserTransaction
method signatures are different in weblogicaux.jar than the one this thirty
party expects.
I check the online doc in JDC and looks like our third party tool looks for
the correct signature for the JTA 1.0.1 --
while weblogic has an older(?) version of API?
Here is the error:
MySessionBean.java:0: The method void setTransactionTimeout(int)
declared in class
com.fame.timeiq.persistence.Connection cannot override the method of the
same signature declared in interface
javax.transaction.UserTransaction. Their throws clauses are
incompatible.
My question is:
1. to work around the problem, we put the third party jar file infront of
the weblogic classes. Are there issues I should watch out for?
2. What version of JTA is included in weblogic 4.5.1?
3. Checking weblogicaux.jar, it includes both javax.jts.UserTransaction and
javax.transaction.UserTransaction. Where is the latter used?
Winnie

I do not know if there will be a problem. Are you also pursuing this issue
through technical support? I asked because I received this same question
from our technical support people today as well.
Thanks,
Michael
Michael Girdley
BEA Systems Inc
"Winnie Tung" <[email protected]> wrote in message
news:39b8e318$[email protected]..
It's 1.0.1 in 5.1, but it's definitely not 1.0.1 (as your web page link
pointed to) in 4.5.1 or 4.5.2
btw,it was FAME.
Is theer any harm to replace that interface class?
Winnie
"Michael Girdley" <[email protected]> wrote in message
news:39b86ecf$[email protected]..
It should be version 1.0.1. Out of curiosity, what third party productsare
using?
Thanks,
Michael
Michael Girdley
BEA Systems Inc
"Winnie Tung" <[email protected]> wrote in message
news:39b7c7f0$[email protected]..
I have a problem with another vendor also include the
javax.transaction
package in their jar file.
When compiling, the one included in the weblogicaux.jar is picked upand
our
extension to this thrid pary product fails because the UserTransaction
method signatures are different in weblogicaux.jar than the one thisthirty
party expects.
I check the online doc in JDC and looks like our third party tool
looks
for
the correct signature for the JTA 1.0.1 --
while weblogic has an older(?) version of API?
Here is the error:
MySessionBean.java:0: The method void setTransactionTimeout(int)
declared in class
com.fame.timeiq.persistence.Connection cannot override the method
of
the
same signature declared in interface
javax.transaction.UserTransaction. Their throws clauses are
incompatible.
My question is:
1. to work around the problem, we put the third party jar file infront
of
the weblogic classes. Are there issues I should watch out for?
2. What version of JTA is included in weblogic 4.5.1?
3. Checking weblogicaux.jar, it includes both
javax.jts.UserTransaction
and
javax.transaction.UserTransaction. Where is the latter used?
Winnie

Similar Messages

  • Problem in using javax.transaction.UserTransaction

    Hi
    I am using tomcat 5.0 . I got the error when I used javax.transaction.UserTransaction interface. Prbabaly it is deprecated. is there any other way to use tx.begin() and tx.commit() for getting the data from the database?

    the app server per se has no affect on the persistence layer.
    perhaps you had the right drivers available on one but not the other. perhaps the jndi data source setup isn't the same on both.
    but if the code's written properly it should run the same regardless of app server.
    %

  • What version of LabVIEW first included Bundle by Name and Unbundle by Name?

    What version of LabVIEW first included Bundle by Name and Unbundle by Name?
    Allen Weekley

    I am auditing software that was originally written a long time ago by someone who is long gone from the company. In a discussion of this, someone offered the theory that Unbundle by Name did not exist in LabVIEW 4.0 as an excuse for one aspect of the poor programming style. I couldn't remember for sure if LabVIEW 3.0 had Unbundle by Name. The question was merely academic.
    There was at one time a chart comparing features of different LabVIEW versions somewhere on the NI web site. Anyone know where it is located, if it is still there?
    Allen

  • What version of Acrobat is included with Creative Suite 6 Design and Web Premium?

    I was under the impression that some version of Acrobat Pro was included with CS6,   But I don't see it, and the CS6 keycode does not work with any version of Acrobat Pro that I can download.  What are my options for getting Acrobat Pro installed and licensed?
    Thanks,
    Peter

    Thanks for your response.  So Acrobat X Pro is on the list, that's what I thought.  Yet, since it was not included in the CS6 installation package, I separately downloaded the Acrobat X package, and it does not accept the CS6 serial number, and that is the only serial number I was issued.  Any idea where I get a serial number for my Acrobat X software?  Any idea how I can talk to a live person at Adobe about this?
    Thanks again,
    Peter

  • What version of distiller is included with Acrobat XI?

    Looked through all the marketing documentation and cannot get an answer.

    (Thanks for pointing out that Distiller Server is due to be discontinued. According to http://www.adobe.com/products/distiller-server.html it will be as of May 31, 2013)
    You cannot use the Distiller that comes with Acrobat on a server. It is not licensed for server use.

  • What version of Apache is installed in OCS 10.1.2.0.0

    Hi can any one tell me what version of Apache is installed with OCS 10.1.2.0.0. I tried to find the version using httpd -v. But it complained abiut an error loading shared libraries: libms2.so.
    Thanks
    MG

    I do not know if there will be a problem. Are you also pursuing this issue
    through technical support? I asked because I received this same question
    from our technical support people today as well.
    Thanks,
    Michael
    Michael Girdley
    BEA Systems Inc
    "Winnie Tung" <[email protected]> wrote in message
    news:39b8e318$[email protected]..
    It's 1.0.1 in 5.1, but it's definitely not 1.0.1 (as your web page link
    pointed to) in 4.5.1 or 4.5.2
    btw,it was FAME.
    Is theer any harm to replace that interface class?
    Winnie
    "Michael Girdley" <[email protected]> wrote in message
    news:39b86ecf$[email protected]..
    It should be version 1.0.1. Out of curiosity, what third party productsare
    using?
    Thanks,
    Michael
    Michael Girdley
    BEA Systems Inc
    "Winnie Tung" <[email protected]> wrote in message
    news:39b7c7f0$[email protected]..
    I have a problem with another vendor also include the
    javax.transaction
    package in their jar file.
    When compiling, the one included in the weblogicaux.jar is picked upand
    our
    extension to this thrid pary product fails because the UserTransaction
    method signatures are different in weblogicaux.jar than the one thisthirty
    party expects.
    I check the online doc in JDC and looks like our third party tool
    looks
    for
    the correct signature for the JTA 1.0.1 --
    while weblogic has an older(?) version of API?
    Here is the error:
    MySessionBean.java:0: The method void setTransactionTimeout(int)
    declared in class
    com.fame.timeiq.persistence.Connection cannot override the method
    of
    the
    same signature declared in interface
    javax.transaction.UserTransaction. Their throws clauses are
    incompatible.
    My question is:
    1. to work around the problem, we put the third party jar file infront
    of
    the weblogic classes. Are there issues I should watch out for?
    2. What version of JTA is included in weblogic 4.5.1?
    3. Checking weblogicaux.jar, it includes both
    javax.jts.UserTransaction
    and
    javax.transaction.UserTransaction. Where is the latter used?
    Winnie

  • XA & JMS javax.transaction.SystemException: SubCoordinator 'b00+127.0.0.1:7001+b+' not available

    Hi, I'm doing a "proof of concept" on XA transaction spanning two servers.
              In order to get it as simple as possible I have configured two servers and
              deployed the same MDB on both. I'm also only using JMS resources to simplify
              the test.
              The goal is to send a message to two different JMS servers (each deployed in
              a Weblogic server) both coordinated by an XA UserTransaction started in the
              client.
              The deployed MDB of each server just listens to a topic and prints out the
              received TextMessage.
              The configuration is as follows:
              * Server 1
              Domain name: a
              Server name: a00
              config.xml (extract):
              <JMSServer Name="a.a00.JMSServer" PagingStore="a.a00.JMSFileStore"
              Store="a.a00.JMSFileStore" Targets="a00">
              <JMSTopic JNDIName="xajms.test.Topic" Name="XA JMS Proof of Concept"
              StoreEnabled="true"/>
              </JMSServer>
              <JMSFileStore Directory="config/a/a00.jmsfilestore"
              Name="a.a00.JMSFileStore"/>
              <JMSConnectionFactory JNDIName="a.a00.JMSConnectionFactory"
              Name="a.a00.JMS Connection Factory" Targets="a00"
              UserTransactionsEnabled="true" XAConnectionFactoryEnabled="true"/>
              * Server 2
              Domain name: b
              Server name: b00
              config.xml (extract):
              <JMSServer Name="b.b00.JMSServer" PagingStore="b.b00.JMSFileStore"
              Store="b.b00.JMSFileStore" Targets="b00">
              <JMSTopic JNDIName="xajms.test.Topic" Name="XA JMS Proof of Concept"
              StoreEnabled="true"/>
              </JMSServer>
              <JMSFileStore Directory="config/b/b00.jmsfilestore"
              Name="b.b00.JMSFileStore"/>
              <JMSConnectionFactory JNDIName="b.b00.JMSConnectionFactory"
              Name="b.b00.JMS Connection Factory" Targets="b00"
              UserTransactionsEnabled="true" XAConnectionFactoryEnabled="true"/>
              and here is an extract of client code:
              068 UserTransaction utx;
              069
              070 InitialContext ctx1,ctx2;
              071
              072 System.out.println("Retrieving initial context for server 1");
              073 ctx1 = (InitialContext) getInitialContext(SERVER_1,PORT_1);
              074
              075 System.out.println("Retrieving initial context for server 2");
              076 ctx2 = (InitialContext) getInitialContext(SERVER_2,PORT_2);
              077
              078 utx = (UserTransaction)
              ctx1.lookup("javax.transaction.UserTransaction");
              079 utx.setTransactionTimeout(30);
              080
              081 System.out.println("Begining transaction");
              082 utx.begin();
              083
              084 System.out.println("Sending message to server 1");
              085 ref.send(ctx1, JMS_FACTORY_1, args[0]);
              086
              087 System.out.println("Sending message to server 2");
              088 ref.send(ctx2, JMS_FACTORY_2, args[0]);
              089
              090 System.out.println("Ending transaction...");
              091 if (args[1].equals("commit"))
              092 utx.commit();
              093 else
              094 utx.rollback();
              end the result of executing it from a third machine:
              CASE I:
              Retrieving initial context for server 1
              Retrieving initial context for server 2
              Begining transaction
              Sending message to server 1
              Sending message to server 2
              Ending transaction...
              javax.transaction.SystemException: SubCoordinator 'b00+127.0.0.1:7001+b+'
              not available
              Start server side stack trace:
              javax.transaction.SystemException: SubCoordinator 'b00+127.0.0.1:7001+b+'
              not available
              at
              weblogic.transaction.internal.TransactionImpl.abort(TransactionImpl.java:965
              at
              weblogic.transaction.internal.ServerSCInfo.startPrepare(ServerSCInfo.java:20
              0)
              at
              weblogic.transaction.internal.ServerTransactionImpl.globalPrepare(ServerTran
              sactionImpl.java:1619)
              at
              weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTra
              nsactionImpl.java:217)
              at
              weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransaction
              Impl.java:189)
              at
              weblogic.transaction.internal.CoordinatorImpl.commit(CoordinatorImpl.java:68
              at
              weblogic.transaction.internal.CoordinatorImpl_WLSkel.invoke(Unknown Source)
              at
              weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:360)
              at
              weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:329)
              at
              weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:2
              2)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:140)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:121)
              End server side stack trace
              <<no stack trace available>>
              --------------- nested within: ------------------
              weblogic.transaction.RollbackException: SubCoordinator
              'b00+127.0.0.1:7001+b+' not available
              Start server side stack trace:
              javax.transaction.SystemException: SubCoordinator 'b00+127.0.0.1:7001+b+'
              not available
              at
              weblogic.transaction.internal.TransactionImpl.abort(TransactionImpl.java:965
              at
              weblogic.transaction.internal.ServerSCInfo.startPrepare(ServerSCInfo.java:20
              0)
              at
              weblogic.transaction.internal.ServerTransactionImpl.globalPrepare(ServerTran
              sactionImpl.java:1619)
              at
              weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTra
              nsactionImpl.java:217)
              at
              weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransaction
              Impl.java:189)
              at
              weblogic.transaction.internal.CoordinatorImpl.commit(CoordinatorImpl.java:68
              at
              weblogic.transaction.internal.CoordinatorImpl_WLSkel.invoke(Unknown Source)
              at
              weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:360)
              at
              weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:329)
              at
              weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:2
              2)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:140)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:121)
              --------------- nested within: ------------------
              weblogic.transaction.RollbackException: SubCoordinator
              'b00+127.0.0.1:7001+b+' not available - with nested exception:
              [javax.transaction.SystemException: SubCoordinator 'b00+127.0.0.1:7001+b+'
              not available]
              at
              weblogic.transaction.internal.TransactionImpl.throwRollbackException(Transac
              tionImpl.java:1524)
              at
              weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTra
              nsactionImpl.java:265)
              at
              weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransaction
              Impl.java:189)
              at
              weblogic.transaction.internal.CoordinatorImpl.commit(CoordinatorImpl.java:68
              at
              weblogic.transaction.internal.CoordinatorImpl_WLSkel.invoke(Unknown Source)
              at
              weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:360)
              at
              weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:329)
              at
              weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:2
              2)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:140)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:121)
              End server side stack trace
              - with nested exception:
              [javax.transaction.SystemException: SubCoordinator 'b00+127.0.0.1:7001+b+'
              not available
              Start server side stack trace:
              javax.transaction.SystemException: SubCoordinator 'b00+127.0.0.1:7001+b+'
              not available
                      at
              weblogic.transaction.internal.TransactionImpl.abort(TransactionImpl.java:965
                      at
              weblogic.transaction.internal.ServerSCInfo.startPrepare(ServerSCInfo.java:20
              0)
                      at
              weblogic.transaction.internal.ServerTransactionImpl.globalPrepare(ServerTran
              sactionImpl.java:1619)
                      at
              weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTra
              nsactionImpl.java:217)
                      at
              weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransaction
              Impl.java:189)
                      at
              weblogic.transaction.internal.CoordinatorImpl.commit(CoordinatorImpl.java:68
                      at
              weblogic.transaction.internal.CoordinatorImpl_WLSkel.invoke(Unknown Source)
                      at
              weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:360)
                      at
              weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:329)
                      at
              weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:2
              2)
                      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:140)
                      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:121)
              End  server side stack trace
              at
              weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.
              java:85)
              at
              weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:136)
              at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
              at $Proxy3.commit(Unknown Source)
              at
              weblogic.transaction.internal.TransactionImpl.commit(TransactionImpl.java:29
              4)
              at
              weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManag
              erImpl.java:247)
              at
              weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManag
              erImpl.java:240)
              at xajms.client.Send2BothTopics.main(Send2BothTopics.java:110)
              real 1m6.530s
              user 0m1.380s
              sys 0m0.050s
              If I swap message sending order the output changes to:
              CASE II:
              Retrieving initial context for server 1
              Retrieving initial context for server 2
              Begining transaction
              Sending message to server 2
              Sending message to server 1
              Ending transaction...
              weblogic.transaction.internal.TimedOutException: Timed out
              tx=0:8c9a9deee02fe21e after 30 seconds
              Start server side stack trace:
              weblogic.transaction.internal.TimedOutException: Timed out
              tx=0:8c9a9deee02fe21e after 30 seconds
              at
              weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransaction
              Impl.java:1228)
              at
              weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTr
              ansactions(ServerTransactionManagerImpl.java:488)
              at
              weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManag
              erImpl.java:1629)
              at
              weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTran
              sactionManagerImpl.java:451)
              at
              weblogic.transaction.internal.TransactionManagerImpl$1.run(TransactionManage
              rImpl.java:1595)
              at java.lang.Thread.run(Thread.java:479)
              End server side stack trace
              <<no stack trace available>>
              --------------- nested within: ------------------
              weblogic.transaction.RollbackException: Timed out tx=0:8c9a9deee02fe21e
              after 30 seconds
              Start server side stack trace:
              weblogic.transaction.internal.TimedOutException: Timed out
              tx=0:8c9a9deee02fe21e after 30 seconds
              at
              weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransaction
              Impl.java:1228)
              at
              weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTr
              ansactions(ServerTransactionManagerImpl.java:488)
              at
              weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManag
              erImpl.java:1629)
              at
              weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTran
              sactionManagerImpl.java:451)
              at
              weblogic.transaction.internal.TransactionManagerImpl$1.run(TransactionManage
              rImpl.java:1595)
              at java.lang.Thread.run(Thread.java:479)
              --------------- nested within: ------------------
              weblogic.transaction.RollbackException: Timed out tx=0:8c9a9deee02fe21e
              after 30 seconds - with nested exception:
              [weblogic.transaction.internal.TimedOutException: Timed out
              tx=0:8c9a9deee02fe21e after 30 seconds]
              at
              weblogic.transaction.internal.TransactionImpl.throwRollbackException(Transac
              tionImpl.java:1524)
              at
              weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTra
              nsactionImpl.java:265)
              at
              weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransaction
              Impl.java:189)
              at
              weblogic.transaction.internal.CoordinatorImpl.commit(CoordinatorImpl.java:68
              at
              weblogic.transaction.internal.CoordinatorImpl_WLSkel.invoke(Unknown Source)
              at
              weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:360)
              at
              weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:329)
              at
              weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:2
              2)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:140)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:121)
              End server side stack trace
              - with nested exception:
              [weblogic.transaction.internal.TimedOutException: Timed out
              tx=0:8c9a9deee02fe21e after 30 seconds
              Start server side stack trace:
              weblogic.transaction.internal.TimedOutException: Timed out
              tx=0:8c9a9deee02fe21e after 30 seconds
                      at
              weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransaction
              Impl.java:1228)
                      at
              weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTr
              ansactions(ServerTransactionManagerImpl.java:488)
                      at
              weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManag
              erImpl.java:1629)
                      at
              weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTran
              sactionManagerImpl.java:451)
                      at
              weblogic.transaction.internal.TransactionManagerImpl$1.run(TransactionManage
              rImpl.java:1595)
                      at java.lang.Thread.run(Thread.java:479)
              End  server side stack trace
              at
              weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.
              java:85)
              at
              weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:136)
              at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
              at $Proxy3.commit(Unknown Source)
              at
              weblogic.transaction.internal.TransactionImpl.commit(TransactionImpl.java:29
              4)
              at
              weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManag
              erImpl.java:247)
              at
              weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManag
              erImpl.java:240)
              at xajms.client.Send2BothTopics.main(Send2BothTopics.java:110)
              real 1m32.231s
              user 0m1.390s
              sys 0m0.030s
              not to be said that I have "some" questions about it:
              1. Why it doesn't work?
              2. Why order of message sending brings two different results?
              3. In CASE I:
              What is the meaning of the exception "javax.transaction.SystemException:
              SubCoordinator 'b00+127.0.0.1:7001+b+' not available"
              Why is it using the loopback (127.0.0.1) ip? Is that code being runned
              inside the server with the SERVER_2 (192.168.1.3) ip?
              4. In case II:
              How is that the message of the exception is
              "weblogic.transaction.internal.TimedOutException: Timed out
              tx=0:8c9a9deee02fe21e after 30 seconds" when it's clear the program took
              more than one and a half minutes to execute?
              Most of the time is spent after printing the "Ending transaction..." line.
              The first part of the program is executed in a few seconds (about 2 or 3 it
              depends of the time to get initial context against both servers)
              I'm really puzzled with this. I don't know what to think about it. Is this
              so weird nobody have tried something like this?
              I have done some other test for which the results are:
              a) Commenting lines related to UserTransaction (82,91-94)
              It works OK. Both servers receive the message.
              b) Commenting lines 85 or 88 (related to sending messages to each server)
              It works OK. Both servers receive the message. I pressume there is no
              "real" XA transaction as there is only one resource involved on it.
              c) In CASE I launching the client with "rollback" as second parameter I
              neither get any exception nor messages are delivered which would be OK
              d) In CASE II launching the client with "rollback" as second parameter I get
              a "javax.transaction.SystemException: Timeout during rollback processing"
              and messages are not delivered.
              Any idea?. I really need this to work in order to free our server for heavy
              asyncronous loads and deploy new stuff on it.
              PS.
              I attach both servers config.xml files and both MDB and client full code. If
              you are going to test it you must add a new user and group to weblogic
              default file realm:
              New user: subscriber
              New group: xajms
              of course you must add the new user to the new group in order to make it
              work.
              Here are the lines extracted from server's domain "fileRealm.properties"
              file reflecting the new user and group (defined on ejb-jar.xml and
              weblogic-ejb-jar.xml files on the "role" section):
              group.xajms=subscriber
              user.subscriber=0x6b9a704bebc709dd083edd61ed000236eb23987f
              The client receives two parameters. The first one is a string to be sent as
              message body, the second one is either "commit" or "rollback" just to test
              XA transaction doing it's work as expected.
              Thanks in advance.
              Regards.
              Ignacio.
              [xajmspoc.zip]
              

    do you connect to 10g database inside onBusinessEvent using Non-XA/XA connection??. I guess it could be bcoz of Non-XA connection (or) XA Without Global Transaction support, and this connection is listed with the transaction manager and it is trying to commit it after onMessage.
    For Global Transactions options, go to your weblogic console and check the following path.
    (Datasource -> Advanced Options -> Global Transactions -> Honor Global Transactions should be true)
    Let me know if you need any help
    Rao Kotha.

  • NameNotFound exception by using javax.jts.UserTransaction

    Hello:
              I am working on using jts for the transaction access to a Oracle 7.3
              database.
              In the property file of my application, I used
              weblogic.jdbc.connectionPool.oraclePool=\
              url=jdbc:oracle:thin:@10.10.0.201:1521:orcl,\
              driver=oracle.jdbc.driver.OracleDriver,\
              loginDelaySecs=1,\
              initialCapacity=4,\
              maxCapacity=10,\
              capacityIncrement=2,\
              allowShrinking=true,\
              shrinkPeriodMins=15,\
              refreshMinutes=10,\
              testTable=dual,\
              props=user=joe;password=tiger
              weblogic.allow.reserve.weblogic.jdbc.connectionPool.oraclePool=guest
              weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.jtsPool=oraclePool
              In my servlet, I used
              Context ctx = null;
              Hashtable env = new Hashtable();
              env.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
              env.put(Context.PROVIDER_URL, "t3://127.0.0.1:8080");
              env.put(Context.SECURITY_PRINCIPAL, "system");
              env.put(Context.SECURITY_CREDENTIALS, "Administrator");
              ctx = new InitialContext(env);
              UserTransaction tx = (UserTransaction)
              ctx.lookup("javax.jts.UserTransaction");
              When I access the servlet, the following exception were thrown.
              javax.naming.NameNotFoundException: 'javax.jts.UserTransaction';
              remaining name 'jts.UserTransaction' at
              weblogic.jndi.toolkit.BasicWLContext.resolveName(BasicWLContext.java,
              Compiled Code)at
              weblogic.jndi.toolkit.BasicWLContext.lookup(BasicWLContext.java:133)at
              weblogic.jndi.toolkit.BasicWLContext.lookup(BasicWLContext.java:574)at
              javax.naming.InitialContext.lookup(InitialContext.java:349) at
              jtsdemo.SelectAccessor.accessDatabase(SelectAccessor.java:20)at
              jtsdemo.SelectJTS.doPost(SelectJTS.java:29) at
              jtsdemo.SelectJTS.doGet(SelectJTS.java:12)
              When I open the weblogic console, in directory Naming, I could not find
              javax.jts.UserTransaction entry. However there is weblogic.jdbc.jts
              entry which is generated by the following line, which I put into the
              properties file.
              weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.jtsPool=oraclePool
              Thank you for any thoughts.
              MSU
              [att1.html]
              

    Hello:
              Thank Kumar for a reply.
              I checked the document and able to follow it and use
              javax.sql.DataSource to get a jts connection and select from database.
              In the properties file of the weblogic application server,
              weblogic.jdbc.TXDataSource.jtsOraclePool=oraclePool
              Some questions follow.
              In this way, I could not get a handle to UserTransaction. I am
              wondering in case of database insertion, does this connection
              automatically commit for each execUpdate(), if I do not call
              conn.setAutoCommit(false)?
              If a programmer has to manage the transaction on the Connection,
              what is the advantage to use jts connection pool? Does this performed
              faster or internally it behaves the same?
              Look forward to any insight.
              MSU
              Kumar Allamraju wrote:
              > Michelle,
              >
              > see the correct usage here:
              > http://www.weblogic.com/docs50/classdocs/DataSource.html#998209
              >
              > -Kumar
              >
              > Michelle Sue wrote:
              >
              >> Hello, Kumar:
              >> Thank you for the information given.
              >> Now what I did is
              >> Properties p = new Properties();
              >> p.put(Context.INITIAL_CONTEXT_FACTORY,
              >> "weblogic.jndi.WLInitialContextFactory");
              >> Context ctx = new InitialContext(p);
              >> UserTransaction tx = (UserTransaction)
              >> ctx.lookup("javax.transaction.UserTransaction");
              >> try {
              >> tx.begin();
              >> Driver myDriver = (Driver)
              >> Class.forName("weblogic.jdbc.jts.Driver").newInstance();
              >> Properties props = new Properties();
              >> props.put("connectionPoolID", "oraclePool");
              >> conn = myDriver.connect("jdbc:weblogic:jts", props);
              >> Statement stmt = conn.createStatement();
              >>
              >> The new error is
              >> JTS JDBC Driver being called without a pool name
              >> at
              >> weblogic.jdbcbase.jts.Connection.openConnectionIfNecessary(Connection.java:569)
              >>
              >> at weblogic.jdbcbase.jts.Connection.createStatement
              >>
              >> I guess something wrong with the props.put("connectionPoolID",
              >> "oraclePool");
              >> In the properties file, it seems to me that the only line related to
              >> jts is
              >>
              >> weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.oraclePool=oraclePool
              >> oraclePool was also defined in this properties file as a
              >> weblogic.jdbc.connectionPool
              >>
              >> MSU
              >>
              >>
              >> Kumar Allamraju wrote:
              >>
              >> > Hi Michelle,
              >> >
              >> > The use of javax.jts.UserTransaction is deprecated in EJB 1.1
              >> > The correct package name is javax.transaction.UserTransaction.
              >> >
              >> > Remeber you shouldn't make any t3 connections from the server side
              >> > class.
              >> >
              >> > you can directly say context c = new InitialContext( )
              >> > Pls refer one of our examples directory.
              >> > for e.g weblogic/examples/ejb/basic/beanManaged/Servlet.java
              >> >
              >> > Hope this helps
              >> > -Kumar
              >> >
              >> >
              >> >
              >> > Michelle Sue wrote:
              >> >
              >> >> Hello:
              >> >> I am working on using jts for the transaction access to a
              >> >> Oracle 7.3 database.
              >> >> In the property file of my application, I used
              >> >>
              >> >> weblogic.jdbc.connectionPool.oraclePool=\
              >> >> url=jdbc:oracle:thin:@10.10.0.201:1521:orcl,\
              >> >> driver=oracle.jdbc.driver.OracleDriver,\
              >> >> loginDelaySecs=1,\
              >> >> initialCapacity=4,\
              >> >> maxCapacity=10,\
              >> >> capacityIncrement=2,\
              >> >> allowShrinking=true,\
              >> >> shrinkPeriodMins=15,\
              >> >> refreshMinutes=10,\
              >> >> testTable=dual,\
              >> >> props=user=joe;password=tiger
              >> >>
              >> >> eblogic.allow.reserve.weblogic.jdbc.connectionPool.oraclePool=guest
              >> >>
              >> >> weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.jtsPool=oraclePool
              >> >>
              >> >>
              >> >> In my servlet, I used
              >> >> Context ctx = null;
              >> >> Hashtable env = new Hashtable();
              >> >>
              >> >> env.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
              >> >>
              >> >> env.put(Context.PROVIDER_URL, "t3://127.0.0.1:8080");
              >> >> env.put(Context.SECURITY_PRINCIPAL, "system");
              >> >> env.put(Context.SECURITY_CREDENTIALS, "Administrator");
              >> >> ctx = new InitialContext(env);
              >> >> UserTransaction tx = (UserTransaction)
              >> >> ctx.lookup("javax.jts.UserTransaction");
              >> >>
              >> >> When I access the servlet, the following exception were thrown.
              >> >>
              >> >> javax.naming.NameNotFoundException: 'javax.jts.UserTransaction';
              >> >> remaining name 'jts.UserTransaction' at
              >> >> weblogic.jndi.toolkit.BasicWLContext.resolveName(BasicWLContext.java,
              >> >> Compiled Code)at
              >> >> weblogic.jndi.toolkit.BasicWLContext.lookup(BasicWLContext.java:133)at
              >> >> weblogic.jndi.toolkit.BasicWLContext.lookup(BasicWLContext.java:574)at
              >> >> javax.naming.InitialContext.lookup(InitialContext.java:349) at
              >> >> jtsdemo.SelectAccessor.accessDatabase(SelectAccessor.java:20)at
              >> >> jtsdemo.SelectJTS.doPost(SelectJTS.java:29) at
              >> >> jtsdemo.SelectJTS.doGet(SelectJTS.java:12)
              >> >>
              >> >> When I open the weblogic console, in directory Naming, I could
              >> >> not find javax.jts.UserTransaction entry. However there is
              >> >> weblogic.jdbc.jts entry which is generated by the following line,
              >> >> which I put into the properties file.
              >> >> weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.jtsPool=oraclePool
              >> >>
              >> >> Thank you for any thoughts.
              >> >>
              >> >> MSU
              >> >>
              >> >>
              >> >
              [att1.html]
              

  • What version I should set in ZXP package manifest to support PS CC 2014?

    Previously (before PS CC 2014) I had this in manifest.xml file:
    <Host Name="PHXS" Version="[14.0,14.9]" />
    <Host Name="PHSP" Version="[14.0,14.9]" />
    It no longer works with PS CC 2014 - ExtensionManager says that I don't have supported version of PS (for PS CC 2014).
    So I changed it to:
    <Host Name="PHXS" Version="[2014.0,2014.9]" />
    <Host Name="PHSP" Version="[2014.0,2014.9]" />
    But still ExtensionManager does not allow me to install extension for the same reason...
    What version range should be included in package to support PS CC 2014?

    Ask in the deployment/ extensions forums or check the dev center pages. I have no idea what the current requirements are.
    Mylenium

  • Exceptions  - javax.transaction.HeuristicMixedException In Logs

    Using Oracle BPM 10.3 MP2 Enterprise Edition
    Version: 10.3.2
    Build: #100874.
    This exception is coming up in weblogic console logs.
    ####<Apr 29, 2011 8:14:52 AM CDT> <Error> <JTA> <fada1wap29> <BPM-CNM29> <BPM Directory Polling> <<anonymous>> <BEA1-1E6FEB3B248E3819C483> <> <1304082892584> <BEA-110412> <Xid=BEA1-1E6FEB3B248E3819C483(215626675),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=0,seconds left=120,activeThread=Thread[BPM Directory Polling,5,Pooled Threads],XAServerResourceInfo[aqualogicCNM-JDBCDataSource]=(ServerResourceInfo[aqualogicCNM-JDBCDataSource]=(state=committed,assigned=BPM-CNM29),xar=aqualogicCNM-JDBCDataSource,re-Registered = false),SCInfo[bpmXprod+BPM-CNM29]=(state=committed),properties=({}),local properties=({weblogic.jdbc.jta.aqualogicCNM-JDBCDataSource=[ No XAConnection is attached to this TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=BPM-CNM29+10.128.245.238:7001+bpmXprod+t3+, XAResources={WLStore_bpmXprod__WLS_BPM-CNM29, aqualogicCNM-JDBCDataSource, weblogic.jdbc.wrapper.JTSXAResourceImpl, engineCNM-JDBCDataSource},NonXAResources={})],CoordinatorURL=BPM-CNM29+10.128.245.238:7001+bpmXprod+t3+) completed heuristically: (aqualogicCNM-JDBCDataSource, HeuristicHazard, ()) >
    ####<Apr 29, 2011 8:14:52 AM CDT> <Info> <EJB> <fada1wap29> <BPM-CNM29> <BPM Directory Polling> <<anonymous>> <> <> <1304082892588> <BEA-010227> <EJB Exception occurred during invocation from home or business: fuego.ejbengine.ejb.engine_startup_enginecnm_mjkqiy_LocalHomeImpl@11241739 threw exception: fuego.server.exception.EngineRuntimeException: Server runtime exception. An error has occurred during the commit. Details : [Caused by 1 exceptions:
    javax.transaction.HeuristicMixedException: (aqualogicCNM-JDBCDataSource, HeuristicHazard, ())
        at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:302)
        at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:230)
        at weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:283)
        at weblogic.ejb.container.internal.usertransactioncheck.BaseUserTransactionProxy.commit(BaseUserTransactionProxy.java:28)
        at fuego.connector.impl.J2EETransactionCoordinator.commit(J2EETransactionCoordinator.java:55)
        at fuego.connector.ConnectorTransaction.commit(ConnectorTransaction.java:413)
        at fuego.transaction.TransactionAction.commit(TransactionAction.java:302)
        at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:481)
        at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
        at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
        at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
        at fuego.server.execution.DefaultEngineExecution.executeAutomaticWork(DefaultEngineExecution.java:62)
        at fuego.server.execution.EngineExecution.executeAutomaticWork(EngineExecution.java:42)
        at fuego.ejbengine.ejb.EngineStartupBean.executeItem(EngineStartupBean.java:189)
        at fuego.ejbengine.ejb.EngineStartupBean.updateFromDirectory(EngineStartupBean.java:169)
        at fuego.ejbengine.ejb.engine_startup_enginecnm_mjkqiy_ELOImpl.updateFromDirectory(engine_startup_enginecnm_mjkqiy_ELOImpl.java:365)
        at fuego.ejbengine.servlet.DirectoryPollingServlet$DirectoryPollingTask.runImpl(DirectoryPollingServlet.java:43)
        at fuego.ejbengine.servlet.AbstractSchedulerServlet$ScheduledTask.run(AbstractSchedulerServlet.java:199)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
    And also
    weblogic.transaction.RollbackException: Could not prepare resource 'aqualogicCNM-JDBCDataSource
    [BEA][Oracle JDBC Driver]Oracle XA Error Occurred. Native Error: 24756
    at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1818)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:336)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:230)
    at weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:283)
    at weblogic.ejb.container.internal.usertransactioncheck.BaseUserTransactionProxy.commit(BaseUserTransactionProxy.java:28)
    at fuego.connector.impl.J2EETransactionCoordinator.commit(J2EETransactionCoordinator.java:55)
    at fuego.connector.ConnectorTransaction.commit(ConnectorTransaction.java:413)
    at fuego.transaction.TransactionAction.commit(TransactionAction.java:302)
    at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:481)
    at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
    at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
    at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
    at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:79)
    at fuego.server.execution.DefaultEngineExecution.executeWithoutComponentImmediate(DefaultEngineExecution.java:185)
    at fuego.server.execution.EngineExecution.executeWithoutComponentImmediate(EngineExecution.java:86)
    at fuego.server.AbstractSecureEngineImpl.getBookmarks(AbstractSecureEngineImpl.java:75)
    at fuego.ejbengine.EJBSecureEngineAdapter.getBookmarks(EJBSecureEngineAdapter.java:98)
    at fuego.ejbengine.engine_enginecnm_ljzdng_EOImpl.getBookmarks(engine_enginecnm_ljzdng_EOImpl.java:1176)
    at fuego.ejbengine.engine_enginecnm_ljzdng_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.transaction.xa.XAException: [BEA][Oracle JDBC Driver]Oracle XA Error Occurred. Native Error: 24756
    at weblogic.jdbcx.oracle.OracleImplXAResource.checkError(Unknown Source)
    at weblogic.jdbcx.oracle.OracleImplXAResource.prepare(Unknown Source)
    at weblogic.jdbcx.base.BaseXAResource.prepare(Unknown Source)
    at weblogic.jdbc.jta.DataSource.prepare(DataSource.java:867)
    at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerResourceInfo.java:1277)
    at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerResourceInfo.java:500)
    at weblogic.transaction.internal.ServerSCInfo.startPrepare(ServerSCInfo.java:380)
    at weblogic.transaction.internal.ServerTransactionImpl.localPrepare(ServerTransactionImpl.java:2581)
    at weblogic.transaction.internal.ServerTransactionImpl.globalPrepare(ServerTransactionImpl.java:2228)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:270)
    ... 25 more
    <Apr 29, 2011 8:28:11 AM CDT> <Warning> <JTA> <BEA-110486> <Transaction BEA1-4C1D5A1A76393819C483 cannot complete commit processing because resource [weblogic.jdbc.wrapper.JTSXAResourceImpl] is unavailable. The transaction will be abandoned after 78,152 seconds unless all resources acknowledge the commit decision.>
    Any one faced similar issue

    Hi Tim,
    I remember that one from writing a 2pc tx manager ... I don't know when it
    happens in WL but it usually occurs in a tx manager when a series of
    resources are being committed successfully and then one fails (although it
    was already prepared for commit) so the manager has to figure out
    "heuristically" what to do with the remaining prepared resources -- should
    it commit or roll back -- and then it has to report that some were both
    (i.e. "mixed").
    Are you using 2pc ... multiple resources ... etc.?
    Peace,
    Cameron Purdy
    Tangosol Inc.
    << Tangosol Server: How Weblogic applications are customized >>
    << Download now from http://www.tangosol.com/download.jsp >>
    "Tim Ozor" <[email protected]> wrote in message
    news:3c079160$[email protected]..
    We are seeing the following exception very sporadically with WL6.1. I am
    curious as to whether anybody could provide any useful information that
    would aid in our debug.
    Thanks.
    Tim Ozor ([email protected])
    javax.transaction.HeuristicMixedException
    at
    weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTra
    nsactionImpl.java:237)
    at
    weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransaction
    Impl.java:190)
    at
    weblogic.transaction.internal.CoordinatorImpl.commit(CoordinatorImpl.java:68
    at
    weblogic.transaction.internal.CoordinatorImpl_WLSkel.invoke(UnknownSource)
    at
    weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:296)
    at
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:265)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:2
    2)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    End server side stack trace

  • Javax.transaction.SystemException: Timed out while in 'Logging' state!!!!

    Hello, we have an OracleWeblogic 10.3.2 running on a Solaris OS.
    In this AppServer we have a FullStack J2EE Application executing distributed transactions that involve 3 manageable resources:
    TxDatasource (EJB),
    NonTxDatasource with enableTwoPhaseCommit and
    JMS
    Some of the transactions are timing out while in 'Logging' state and I just cant figure out what the root cause is. As a defensive action I lowered the JTA Timeout seconds because I noticed the 'Logging' phase was taking too long and then timing out. Idea here was not to have too many threads hanging in Logging state and therefore use the JTA Timeout to overcome this problem and minimize impact.
    Below, I'm posting a few exceptions thrown in applicaiton log. Any help is very appreciated.
    ####<Aug 12, 2011 11:40:11 AM EDT> <Error> <EJB> <brzfxap1> <FefxServer> <[ACTIVE] ExecuteThread: '175' for queue: 'weblogic.kernel.Default (self-tuning)'> <JG47515> <> <> <1313163611120> <BEA-010026> <Exception occurred during commit of transaction Name=[EJB com.citicorp.fx.credit.CreditServiceBean.askCreditQuery(com.citicorp.fx.credit.data.CreditQueryRequestData)],Xid=BEA1-7DB913B4CB2B36D47CB7(1248714554),Status=Rolled back. [Reason=javax.transaction.SystemException: Timed out while in 'Logging' state],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=82,seconds left=60,XAServerResourceInfo[TWOraDS_fefx]=(ServerResourceInfo[TWOraDS_fefx]=(state=rolledback,assigned=FefxServer),xar=TWOraDS,re-Registered = false),XAServerResourceInfo[WLStore_fefx_FefxFileStore]=(ServerResourceInfo[WLStore_fefx_FefxFileStore]=(state=rolledback,assigned=FefxServer),xar=WLStore_fefx_FefxFileStore1032009487,re-Registered = false),SCInfo[fefx+FefxServer]=(state=rolledback),properties=({weblogic.transaction.name=[EJB com.citicorp.fx.credit.CreditServiceBean.askCreditQuery(com.citicorp.fx.credit.data.CreditQueryRequestData)]}),local properties=({weblogic.jdbc.jta.TWOraDS=[ No XAConnection is attached to this TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+, XAResources={WLStore_fefx_FefxFileStore, TWOraDS_fefx, WLStore_fefx__WLS_FefxServer, weblogic.jdbc.wrapper.JTSXAResourceImpl, WSATGatewayRM_FefxServer_fefx},NonXAResources={})],CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+): weblogic.transaction.RollbackException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1848)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:339)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:233)
    at weblogic.ejb.container.internal.BaseRemoteObject.postInvoke1(BaseRemoteObject.java:621)
    at weblogic.ejb.container.internal.StatelessRemoteObject.postInvoke1(StatelessRemoteObject.java:60)
    at weblogic.ejb.container.internal.BaseRemoteObject.postInvokeTxRetry(BaseRemoteObject.java:441)
    at com.citicorp.fx.credit.CreditService_6w08fk_EOImpl.askCreditQuery(CreditService_6w08fk_EOImpl.java:75)
    at com.citicorp.fx.client.creditquery.QueryProcessor.handleEvent(QueryProcessor.java:77)
    at org.jac.creation.ProcessorAction.handleEvent(ProcessorAction.java:64)
    at org.jac.runtime.AbstractAction.handleSecuredEvent(AbstractAction.java:73)
    at org.jac.runtime.StateImpl.handleEvent(StateImpl.java:66)
    at org.jac.runtime.ControllerImpl.handleEvent(ControllerImpl.java:123)
    at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:55)
    at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:78)
    at org.jac.creation.JacImpl.handleEvent(JacImpl.java:53)
    at org.jac.runtime.JACExecutor.handleEvent(JACExecutor.java:111)
    at org.jac.runtime.JACExecutor.handleEventBySessionID(JACExecutor.java:103)
    at org.jac.http.ControllerFilter.doFilter(ControllerFilter.java:63)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.citicorp.fx.util.compression.CompressionFilter.doFilter(CompressionFilter.java:189)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.citicorp.security.web.WebLogicSiteminderAuthenticationFilter.doFilter(WebLogicSiteminderAuthenticationFilter.java:65)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.transaction.SystemException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1797)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1609)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1885)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1519)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    ... 2 more
    .>
    ####<Aug 12, 2011 11:40:11 AM EDT> <Error> <EJB> <brzfxap1> <FefxServer> <[ACTIVE] ExecuteThread: '154' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1313163611119> <BEA-010026> <Exception occurred during commit of transaction Xid=BEA1-7DBB13B4CB2B36D47CB7(977835896),Status=Rolled back. [Reason=javax.transaction.SystemException: Timed out while in 'Logging' state],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=60,seconds left=60,XAServerResourceInfo[WLStore_fefx_FefxFileStore]=(ServerResourceInfo[WLStore_fefx_FefxFileStore]=(state=rolledback,assigned=FefxServer),xar=WLStore_fefx_FefxFileStore1032009487,re-Registered = false),XAServerResourceInfo[TWOraDS_fefx]=(ServerResourceInfo[TWOraDS_fefx]=(state=rolledback,assigned=FefxServer),xar=TWOraDS,re-Registered = false),SCInfo[fefx+FefxServer]=(state=rolledback),local properties=({weblogic.jdbc.jta.TWOraDS=[ No XAConnection is attached to this TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+, XAResources={WLStore_fefx_FefxFileStore, TWOraDS_fefx, WLStore_fefx__WLS_FefxServer, weblogic.jdbc.wrapper.JTSXAResourceImpl, WSATGatewayRM_FefxServer_fefx},NonXAResources={})],CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+): weblogic.transaction.RollbackException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1848)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:339)
    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.MDListener.onMessage(MDListener.java:327)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4271)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3747)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5096)
    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)
    Caused by: javax.transaction.SystemException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1797)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1609)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1885)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1519)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    ... 3 more
    .>
    This is the stack trace of the thread that hangs while waiting for the lock to write in the transaction file:
    "[ACTIVE] ExecuteThread: '64' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=3 tid=0x000000010dea3000 nid=0x1e2 in Object.wait() [0xfffffffda03ff000]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at weblogic.transaction.internal.ServerTransactionImpl.log(ServerTransactionImpl.java:2005)
         - locked <0xfffffffe64964b30> (a weblogic.transaction.internal.ServerTransactionImpl)
         at weblogic.transaction.internal.ServerTransactionImpl.globalPrepare(ServerTransactionImpl.java:2320)
         at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:273)
         at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:233)
         at weblogic.ejb.container.internal.BaseRemoteObject.postInvoke1(BaseRemoteObject.java:621)
         at weblogic.ejb.container.internal.StatelessRemoteObject.postInvoke1(StatelessRemoteObject.java:60)
         at weblogic.ejb.container.internal.BaseRemoteObject.postInvokeTxRetry(BaseRemoteObject.java:441)
         at com.citicorp.fx.credit.CreditService_6w08fk_EOImpl.askCreditQuery(CreditService_6w08fk_EOImpl.java:75)
         at com.citicorp.fx.client.creditquery.QueryProcessor.handleEvent(QueryProcessor.java:77)
         at org.jac.creation.ProcessorAction.handleEvent(ProcessorAction.java:64)
         at org.jac.runtime.AbstractAction.handleSecuredEvent(AbstractAction.java:73)
         at org.jac.runtime.StateImpl.handleEvent(StateImpl.java:66)
         at org.jac.runtime.ControllerImpl.handleEvent(ControllerImpl.java:123)
         at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:55)
         - locked <0xfffffffe0860e618> (a org.jac.session.SessionImpl)
         at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:78)
         - locked <0xfffffffe0860e618> (a org.jac.session.SessionImpl)
         at org.jac.creation.JacImpl.handleEvent(JacImpl.java:53)
         at org.jac.runtime.JACExecutor.handleEvent(JACExecutor.java:111)
         at org.jac.runtime.JACExecutor.handleEventBySessionID(JACExecutor.java:103)
         at org.jac.http.ControllerFilter.doFilter(ControllerFilter.java:63)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.citicorp.fx.util.compression.CompressionFilter.doFilter(CompressionFilter.java:189)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.citicorp.security.web.WebLogicSiteminderAuthenticationFilter.doFilter(WebLogicSiteminderAuthenticationFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Edited by: user8727499 on Aug 12, 2011 11:57 AM

    Hello, we have an OracleWeblogic 10.3.2 running on a Solaris OS.
    In this AppServer we have a FullStack J2EE Application executing distributed transactions that involve 3 manageable resources:
    TxDatasource (EJB),
    NonTxDatasource with enableTwoPhaseCommit and
    JMS
    Some of the transactions are timing out while in 'Logging' state and I just cant figure out what the root cause is. As a defensive action I lowered the JTA Timeout seconds because I noticed the 'Logging' phase was taking too long and then timing out. Idea here was not to have too many threads hanging in Logging state and therefore use the JTA Timeout to overcome this problem and minimize impact.
    Below, I'm posting a few exceptions thrown in applicaiton log. Any help is very appreciated.
    ####<Aug 12, 2011 11:40:11 AM EDT> <Error> <EJB> <brzfxap1> <FefxServer> <[ACTIVE] ExecuteThread: '175' for queue: 'weblogic.kernel.Default (self-tuning)'> <JG47515> <> <> <1313163611120> <BEA-010026> <Exception occurred during commit of transaction Name=[EJB com.citicorp.fx.credit.CreditServiceBean.askCreditQuery(com.citicorp.fx.credit.data.CreditQueryRequestData)],Xid=BEA1-7DB913B4CB2B36D47CB7(1248714554),Status=Rolled back. [Reason=javax.transaction.SystemException: Timed out while in 'Logging' state],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=82,seconds left=60,XAServerResourceInfo[TWOraDS_fefx]=(ServerResourceInfo[TWOraDS_fefx]=(state=rolledback,assigned=FefxServer),xar=TWOraDS,re-Registered = false),XAServerResourceInfo[WLStore_fefx_FefxFileStore]=(ServerResourceInfo[WLStore_fefx_FefxFileStore]=(state=rolledback,assigned=FefxServer),xar=WLStore_fefx_FefxFileStore1032009487,re-Registered = false),SCInfo[fefx+FefxServer]=(state=rolledback),properties=({weblogic.transaction.name=[EJB com.citicorp.fx.credit.CreditServiceBean.askCreditQuery(com.citicorp.fx.credit.data.CreditQueryRequestData)]}),local properties=({weblogic.jdbc.jta.TWOraDS=[ No XAConnection is attached to this TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+, XAResources={WLStore_fefx_FefxFileStore, TWOraDS_fefx, WLStore_fefx__WLS_FefxServer, weblogic.jdbc.wrapper.JTSXAResourceImpl, WSATGatewayRM_FefxServer_fefx},NonXAResources={})],CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+): weblogic.transaction.RollbackException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1848)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:339)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:233)
    at weblogic.ejb.container.internal.BaseRemoteObject.postInvoke1(BaseRemoteObject.java:621)
    at weblogic.ejb.container.internal.StatelessRemoteObject.postInvoke1(StatelessRemoteObject.java:60)
    at weblogic.ejb.container.internal.BaseRemoteObject.postInvokeTxRetry(BaseRemoteObject.java:441)
    at com.citicorp.fx.credit.CreditService_6w08fk_EOImpl.askCreditQuery(CreditService_6w08fk_EOImpl.java:75)
    at com.citicorp.fx.client.creditquery.QueryProcessor.handleEvent(QueryProcessor.java:77)
    at org.jac.creation.ProcessorAction.handleEvent(ProcessorAction.java:64)
    at org.jac.runtime.AbstractAction.handleSecuredEvent(AbstractAction.java:73)
    at org.jac.runtime.StateImpl.handleEvent(StateImpl.java:66)
    at org.jac.runtime.ControllerImpl.handleEvent(ControllerImpl.java:123)
    at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:55)
    at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:78)
    at org.jac.creation.JacImpl.handleEvent(JacImpl.java:53)
    at org.jac.runtime.JACExecutor.handleEvent(JACExecutor.java:111)
    at org.jac.runtime.JACExecutor.handleEventBySessionID(JACExecutor.java:103)
    at org.jac.http.ControllerFilter.doFilter(ControllerFilter.java:63)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.citicorp.fx.util.compression.CompressionFilter.doFilter(CompressionFilter.java:189)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.citicorp.security.web.WebLogicSiteminderAuthenticationFilter.doFilter(WebLogicSiteminderAuthenticationFilter.java:65)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.transaction.SystemException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1797)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1609)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1885)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1519)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    ... 2 more
    .>
    ####<Aug 12, 2011 11:40:11 AM EDT> <Error> <EJB> <brzfxap1> <FefxServer> <[ACTIVE] ExecuteThread: '154' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1313163611119> <BEA-010026> <Exception occurred during commit of transaction Xid=BEA1-7DBB13B4CB2B36D47CB7(977835896),Status=Rolled back. [Reason=javax.transaction.SystemException: Timed out while in 'Logging' state],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=60,seconds left=60,XAServerResourceInfo[WLStore_fefx_FefxFileStore]=(ServerResourceInfo[WLStore_fefx_FefxFileStore]=(state=rolledback,assigned=FefxServer),xar=WLStore_fefx_FefxFileStore1032009487,re-Registered = false),XAServerResourceInfo[TWOraDS_fefx]=(ServerResourceInfo[TWOraDS_fefx]=(state=rolledback,assigned=FefxServer),xar=TWOraDS,re-Registered = false),SCInfo[fefx+FefxServer]=(state=rolledback),local properties=({weblogic.jdbc.jta.TWOraDS=[ No XAConnection is attached to this TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+, XAResources={WLStore_fefx_FefxFileStore, TWOraDS_fefx, WLStore_fefx__WLS_FefxServer, weblogic.jdbc.wrapper.JTSXAResourceImpl, WSATGatewayRM_FefxServer_fefx},NonXAResources={})],CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+): weblogic.transaction.RollbackException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1848)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:339)
    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.MDListener.onMessage(MDListener.java:327)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4271)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3747)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5096)
    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)
    Caused by: javax.transaction.SystemException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1797)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1609)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1885)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1519)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    ... 3 more
    .>
    This is the stack trace of the thread that hangs while waiting for the lock to write in the transaction file:
    "[ACTIVE] ExecuteThread: '64' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=3 tid=0x000000010dea3000 nid=0x1e2 in Object.wait() [0xfffffffda03ff000]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at weblogic.transaction.internal.ServerTransactionImpl.log(ServerTransactionImpl.java:2005)
         - locked <0xfffffffe64964b30> (a weblogic.transaction.internal.ServerTransactionImpl)
         at weblogic.transaction.internal.ServerTransactionImpl.globalPrepare(ServerTransactionImpl.java:2320)
         at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:273)
         at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:233)
         at weblogic.ejb.container.internal.BaseRemoteObject.postInvoke1(BaseRemoteObject.java:621)
         at weblogic.ejb.container.internal.StatelessRemoteObject.postInvoke1(StatelessRemoteObject.java:60)
         at weblogic.ejb.container.internal.BaseRemoteObject.postInvokeTxRetry(BaseRemoteObject.java:441)
         at com.citicorp.fx.credit.CreditService_6w08fk_EOImpl.askCreditQuery(CreditService_6w08fk_EOImpl.java:75)
         at com.citicorp.fx.client.creditquery.QueryProcessor.handleEvent(QueryProcessor.java:77)
         at org.jac.creation.ProcessorAction.handleEvent(ProcessorAction.java:64)
         at org.jac.runtime.AbstractAction.handleSecuredEvent(AbstractAction.java:73)
         at org.jac.runtime.StateImpl.handleEvent(StateImpl.java:66)
         at org.jac.runtime.ControllerImpl.handleEvent(ControllerImpl.java:123)
         at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:55)
         - locked <0xfffffffe0860e618> (a org.jac.session.SessionImpl)
         at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:78)
         - locked <0xfffffffe0860e618> (a org.jac.session.SessionImpl)
         at org.jac.creation.JacImpl.handleEvent(JacImpl.java:53)
         at org.jac.runtime.JACExecutor.handleEvent(JACExecutor.java:111)
         at org.jac.runtime.JACExecutor.handleEventBySessionID(JACExecutor.java:103)
         at org.jac.http.ControllerFilter.doFilter(ControllerFilter.java:63)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.citicorp.fx.util.compression.CompressionFilter.doFilter(CompressionFilter.java:189)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.citicorp.security.web.WebLogicSiteminderAuthenticationFilter.doFilter(WebLogicSiteminderAuthenticationFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Edited by: user8727499 on Aug 12, 2011 11:57 AM

  • Caused by: javax.transaction.xa.XAException: com.microsoft.sqlserver.jdbc.SQLServerException: The function START: has failed. No transaction cookie was returned

    Hello guys,
    I have been setting a production system with bitronix transaction manager, SQL server 2008, XA transactions and jetty 6. In the beginning this software was configured to run with MySQL. But one of my customer decided to move everything to MSSQL server 2008.
    In that moment I was trying to get this up and running for some weeks (The configuration was completely different) and finally I got it.
    The configuration with MSSQL server was running perfectly during 1 month but then from one day to other the error message I will show now appeared and I do not how to solve it. I almost read all the hints from google about this exception but nothing helped
    me out.
    I hope you guys can help me to find a way to solve it.
    - I tried different version of the jdbc driver 3.0 and 4.0.
    - I tried to export exactly the database to my localserver and it's running perfectly with the same configuration.
    The problem is that I cannot reproduce the error in other place that is not the customer and at the same time I have no access to their internal database server. They installed all the XA transaction stuff (dll in binn, enable XA, and grant the permissions
    for SQLXAUser), I am quite sure because it was running for one month without any problem.
    I asked to the customer if anything happenend on their server (microsoft updates, machines reboot, ...) but nothing of these happened.
    Also I tried this link out but did not help me.
    <a href="http://social.msdn.microsoft.com/Forums/sqlserver/en-US/15c1e6f5-ec1e-4376-8f45-25e61ffc1306/the-function-start-has-failed-no-transaction-cookie-was-returned?forum=sqldataaccess">http://social.msdn.microsoft.com/Forums/sqlserver/en-US/15c1e6f5-ec1e-4376-8f45-25e61ffc1306/the-function-start-has-failed-no-transaction-cookie-was-returned?forum=sqldataaccess</a>
    The exception is the following:
     [2014-05-15 14:06:08,842] INFO  3666[main] - org.mortbay.log.Slf4jLog.info(Slf4jLog.java:67) - Starting Bitronix Transaction Manager
    [2014-05-15 14:06:08,951] INFO  3775[main] - org.mortbay.log.Slf4jLog.info(Slf4jLog.java:67) - Extract ./webapps/myscript-fpp-wrapper-server.war to D:\Temp\Jetty_0_0_0_0_8080_myscript.fpp.wrapper.server.war__myscript.form.wrapper.server__.bnwnn7\webapp
    [2014-05-15 14:06:10,324] INFO  5148[main] - org.mortbay.log.Slf4jLog.info(Slf4jLog.java:67) - NO JSP Support for /myscript-form-wrapper-server, did not find org.apache.jasper.servlet.JspServlet
    [2014-05-15 14:06:12,742] WARN  7566[main] - org.dozer.config.GlobalSettings.loadGlobalSettings(GlobalSettings.java:118) - Dozer configuration file not found: dozer.properties.  Using defaults for all Dozer global properties.
    [2014-05-15 14:06:13,288] WARN  8112[main] - org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.java:100) - SQL Error: 0, SQLState: null
    [2014-05-15 14:06:13,288]ERROR  8112[main] - org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.java:101) - error enlisting a JdbcConnectionHandle of a JdbcPooledConnection from datasource fppDataSource in state ACCESSIBLE with
    usage count 1 wrapping SQLServerXAConnection:1 on  ProxyConnectionID:1
    [2014-05-15 14:06:13,319]ERROR  8143[main] - org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:220) - Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleRegistration' defined in class path resource [com/visionobjects/myscript/fpp/wrapper/module-registration.xml]: Invocation of init method failed; nested exception is
    org.hibernate.exception.GenericJDBCException: could not execute query
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549)
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
        at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
        at org.mortbay.jetty.Server.doStart(Server.java:224)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.mortbay.start.Main.invokeMain(Main.java:194)
        at org.mortbay.start.Main.start(Main.java:534)
        at org.mortbay.start.Main.start(Main.java:441)
        at org.mortbay.start.Main.main(Main.java:119)
    Caused by: org.hibernate.exception.GenericJDBCException: could not execute query
        at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
        at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
        at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
        at org.hibernate.loader.Loader.doList(Loader.java:2235)
        at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2129)
        at org.hibernate.loader.Loader.list(Loader.java:2124)
        at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:118)
        at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1597)
        at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:306)
        at org.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:328)
        at com.visionobjects.myscript.fpp.form.dao.impl.ModuleInfoDaoImpl.getModuleInfo(ModuleInfoDaoImpl.java:57)
        at com.visionobjects.myscript.fpp.ModuleRegistration$1.doInTransactionWithoutResult(ModuleRegistration.java:73)
        at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
        at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
        at com.visionobjects.myscript.fpp.ModuleRegistration.init(ModuleRegistration.java:66)
        at com.visionobjects.myscript.fpp.ModuleRegistration.start(ModuleRegistration.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
        ... 33 more
    Caused by: java.sql.SQLException: error enlisting a JdbcConnectionHandle of a JdbcPooledConnection from datasource fppDataSource in state ACCESSIBLE with usage count 1 wrapping SQLServerXAConnection:1 on  ProxyConnectionID:1
        at bitronix.tm.resource.jdbc.JdbcConnectionHandle.enlistResource(JdbcConnectionHandle.java:86)
        at bitronix.tm.resource.jdbc.JdbcConnectionHandle.prepareStatement(JdbcConnectionHandle.java:243)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at bitronix.tm.resource.jdbc.BaseProxyHandlerClass.invoke(BaseProxyHandlerClass.java:63)
        at $Proxy29.prepareStatement(Unknown Source)
        at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:534)
        at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:452)
        at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
        at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1577)
        at org.hibernate.loader.Loader.doQuery(Loader.java:696)
        at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
        at org.hibernate.loader.Loader.doList(Loader.java:2232)
        ... 52 more
    Caused by: bitronix.tm.internal.BitronixSystemException: cannot enlist an XAResourceHolderState with uniqueName=fppDataSource XAResource= XAResourceID:1 with XID a Bitronix XID [6A657474792D6670702D73657276657200000145FFC68B9B00000000 : 6A657474792D6670702D73657276657200000145FFC68BCA00000002],
    error=XAER_RMERR
        at bitronix.tm.BitronixTransaction.enlistResource(BitronixTransaction.java:100)
        at bitronix.tm.resource.common.TransactionContextHelper.enlistInCurrentTransaction(TransactionContextHelper.java:70)
        at bitronix.tm.resource.jdbc.JdbcConnectionHandle.enlistResource(JdbcConnectionHandle.java:84)
        ... 66 more
    <b>Caused by: javax.transaction.xa.XAException: com.microsoft.sqlserver.jdbc.SQLServerException: The function START: has failed. No transaction cookie was returned </b>
        at com.microsoft.sqlserver.jdbc.SQLServerXAResource.DTC_XA_Interface(SQLServerXAResource.java:642)
        at com.microsoft.sqlserver.jdbc.SQLServerXAResource.start(SQLServerXAResource.java:674)
        at bitronix.tm.internal.XAResourceHolderState.start(XAResourceHolderState.java:211)
        at bitronix.tm.internal.XAResourceManager.enlist(XAResourceManager.java:108)
        at bitronix.tm.BitronixTransaction.enlistResource(BitronixTransaction.java:93)
        ... 68 more
    I think the "bold" exception is the key.
    Also the configuration file of my jetty server.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
    <!-- developpment jetty configuration -->
    <!-- launch with main class : org.mortbay.start.Main app arguments:
    deploy-conf/jetty-conf/mysql/jetty-dev.xml vm arguments : -Xmx1024M -DSTOP.KEY=stop
    -DSTOP.PORT=6669 to stop : - - stop -Xmx1024M -DSTOP.KEY=stop -DSTOP.PORT=6669 -->
    <Configure id="Server" class="org.mortbay.jetty.Server">
    <Array id="plusConfig" type="java.lang.String">
    <Item>org.mortbay.jetty.webapp.WebInfConfiguration</Item>
    <Item>org.mortbay.jetty.plus.webapp.EnvConfiguration</Item>
    <Item>org.mortbay.jetty.plus.webapp.Configuration</Item>
    <Item>org.mortbay.jetty.webapp.JettyWebXmlConfiguration</Item>
    <Item>org.mortbay.jetty.webapp.TagLibConfiguration</Item>
    </Array>
    <Array id="serverClasses" type="java.lang.String">
    </Array>
    <Array id="systemClasses" type="java.lang.String">
    </Array>
    <!-- web apps -->
    <Set name="handler">
    <New id="handlerContext" class="org.mortbay.jetty.handler.ContextHandlerCollection">
    <Set name="handlers">
    <Array id="handlerArray" type="org.mortbay.jetty.webapp.WebAppContext">
    <!-- wrapper server -->
    <Item>
    <New class="org.mortbay.jetty.webapp.WebAppContext">
    <Arg>./webapps/myscript-fpp-wrapper-server.war</Arg>
    <Arg>/myscript-form-wrapper-server</Arg>
    <Set name="serverClasses">
    <Ref id="serverClasses" />
    </Set>
    <Set name="ConfigurationClasses">
    <Ref id="plusConfig" />
    </Set>
    </New>
    </Item>
    <!-- form server -->
    <Item>
    <New class="org.mortbay.jetty.webapp.WebAppContext">
    <Arg>./webapps/myscript-fpp-form-server.war
    </Arg>
    <Arg>/myscript-form-server</Arg>
    <Set name="serverClasses">
    <Ref id="serverClasses" />
    </Set>
    <Set name="ConfigurationClasses">
    <Ref id="plusConfig" />
    </Set>
    </New>
    </Item>
    <!-- hwr server -->
    <Item>
    <New class="org.mortbay.jetty.webapp.WebAppContext">
    <Arg>./webapps/myscript-fpp-hwr-server.war</Arg>
    <Arg>/myscript-form-hwr-server</Arg>
    <Set name="serverClasses">
    <Ref id="serverClasses" />
    </Set>
    <Set name="ConfigurationClasses">
    <Ref id="plusConfig" />
    </Set>
    </New>
    </Item>
    </Array>
    </Set>
    </New>
    </Set>
    <Call name="addConnector">
    <Arg>
    <New class="org.mortbay.jetty.nio.SelectChannelConnector">
    <Set name="port">8080</Set>
    </New>
    </Arg>
    </Call>
    <!-- Use the jdk 1.5 platformMBeanServer -->
    <Call id="MBeanServer" class="java.lang.management.ManagementFactory"
    name="getPlatformMBeanServer" />
    <Get id="Container" name="container">
    <Call name="addEventListener">
    <Arg>
    <New class="org.mortbay.management.MBeanContainer">
    <Arg>
    <Ref id="MBeanServer" />
    </Arg>
    <Call name="start" />
    </New>
    </Arg>
    </Call>
    </Get>
    <!-- Setup the RMIRegistry on a specific port -->
    <Call id="rmiRegistry" class="java.rmi.registry.LocateRegistry"
    name="createRegistry">
    <Arg type="int">2099</Arg>
    </Call>
    <!-- Setup the JMXConnectorServer on a specific rmi server port -->
    <Call id="jmxConnectorServer" class="javax.management.remote.JMXConnectorServerFactory"
    name="newJMXConnectorServer">
    <Arg>
    <New class="javax.management.remote.JMXServiceURL">
    <Arg>service:jmx:rmi://localhost:2100/jndi/rmi://localhost:2099/jmxrmi
    </Arg>
    </New>
    </Arg>
    <Arg />
    <Arg>
    <Ref id="MBeanServer" />
    </Arg>
    <Call name="start" />
    </Call>
    <!--************************* -->
    <!-- embbeded ActiveMQ Broker -->
    <!--************************* -->
    <New id="brokerService" class="org.apache.activemq.broker.BrokerService">
    <Set name="brokerName">fppBrokerActiveMQ</Set>
    <Set name="dataDirectoryFile"></Set>
    <Call name="getSystemUsage">
    <Call name="getMemoryUsage">
    <Set name="limit">26428800</Set>
    </Call>
    <Call name="getStoreUsage">
    <Set name="limit">204857600</Set>
    </Call>
    </Call>
    <Call name="addConnector">
    <Arg>nio://localhost:61615</Arg>
    </Call>
    <Call name="start"></Call>
    </New>
    <!-- ************************** -->
    <!-- common fpp jndi resources -->
    <!-- ************************** -->
    <!-- ui debug properties -->
    <New id="fpp.common-ui.velocityProperties" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/fpp.common-ui.velocityProperties</Arg>
    <Arg>
    <New class="java.util.Properties">
    <Put name="spring.resource.loader.class">org.springframework.ui.velocity.SpringResourceLoader
    </Put>
    <Put name="spring.resource.loader.cache">false</Put>
    <Put name="velocimacro.library.autoreload">true</Put>
    </New>
    </Arg>
    </New>
    <New id="fpp.wrapper-server.properties" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/fpp.wrapper-server.properties</Arg>
    <Arg>
    <New class="java.util.Properties">
    <Put name="fpp.wrapper-server.instanceServiceWsdlLocation">http://localhost:8080/myscript-form-server/cxf/instance?wsdl
    </Put>
    <Put name="fpp.wrapper-server.formServiceWsdlLocation">http://localhost:8080/myscript-form-server/cxf/form?wsdl
    </Put>
    <Put name="fpp.wrapper-server.formDeprecatedServiceWsdlLocation">http://localhost:8080/myscript-form-server/cxf/formDeprecated?wsdl
    </Put>
    <Put name="fpp.wrapper-server.hwrResourceServiceWsdlLocation">http://localhost:8080/myscript-form-server/cxf/hwrResource?wsdl
    </Put>
    <Put name="fpp.wrapper-server.defaultEnvironmentName">default</Put>
    <Put name="fpp.wrapper-server.defaultEnvironmentType">STANDARD</Put>
    <Put name="fpp.wrapper-server.formdb.dialect">org.hibernate.dialect.SQLServerDialect</Put>
    <Put name="fpp.wrapper-server.formdb.hibernate.show_sql">true</Put>
    <Put name="fpp.wrapper-server.formdb.hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</Put>
    <Put name="fpp.wrapper-server.formdb.hibernate.transaction.manager_lookup_class">org.hibernate.transaction.BTMTransactionManagerLookup</Put>
    <Put name="fpp.wrapper-server.formdb.hibernate.cache.use_query_cache">false</Put>
    <Put name="fpp.wrapper-server.formdb.hibernate.cache.use_second_level_cache">false</Put>
    <Put name="fpp.wrapper-server.formdb.hibernate.cache.use_structured_cache">false</Put>
    <Put name="fpp.wrapper-server.formdb.hibernate.cache.provider_class">org.hibernate.cache.NoCacheProvider</Put>
    </New>
    </Arg>
    </New>
    <!-- transaction manager - bitronix -->
    <Call name="getConfiguration" class="bitronix.tm.TransactionManagerServices">
    <Set name="serverId">jetty-fpp-server</Set>
    <Set name="gracefulShutdownInterval">45</Set>
    <Set name="logPart1Filename">btm/btm1.tlog</Set>
    <Set name="logPart2Filename">btm/btm2.tlog</Set>
    </Call>
    <Set name="gracefulShutdown">60000</Set>
    <Call name="addLifeCycle">
    <Arg>
    <New class="bitronix.tm.integration.jetty6.BTMLifeCycle" />
    </Arg>
    </Call>
    <New class="org.mortbay.jetty.plus.naming.Transaction">
    <Arg>
    <Call name="getTransactionManager" class="bitronix.tm.TransactionManagerServices" />
    </Arg>
    </New>
    <New class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>java:/TransactionManager</Arg>
    <Arg>
    <Call name="getTransactionManager" class="bitronix.tm.TransactionManagerServices" />
    </Arg>
    </New>
    <New id="userTransactionManager" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>java:comp/TransactionManager</Arg>
    <Arg>
    <Call name="getTransactionManager" class="bitronix.tm.TransactionManagerServices" />
    </Arg>
    </New>
    <New id="userTransactionManager" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>java:comp/UserTransaction</Arg>
    <Arg>
    <Call name="getTransactionManager" class="bitronix.tm.TransactionManagerServices" />
    </Arg>
    </New>
    <!-- database data source -->
    <New id="fppDataSource" class="bitronix.tm.resource.jdbc.PoolingDataSource">
    <Set name="uniqueName">fppDataSource</Set>
    <Set name="className">com.microsoft.sqlserver.jdbc.SQLServerXADataSource</Set>
    <Set name="minPoolSize">0</Set>
    <Set name="maxPoolSize">50</Set>
    <Get name="driverProperties">
    <Put name="serverName">DYHVDB01</Put>
    <Put name="instanceName">ALPHA</Put>
    <Put name="integratedSecurity">false</Put>
    <Put name="databaseName">tdb_digipen_fpp</Put>
    <Put name="user">manage_digipen</Put>
    <Put name="password">5T1fte?</Put>
    <!--Needed to test??<Put name="pinGlobalTxToPhysicalConnection">true</Put>-->
    </Get>
    <Call name="init" />
    </New>
    <!-- Jms connection factories -->
    <New id="fppServerConnectionFactory" class="bitronix.tm.resource.jms.PoolingConnectionFactory">
    <Set name="className">org.apache.activemq.ActiveMQXAConnectionFactory</Set>
    <Set name="uniqueName">fppServerConnectionFactory</Set>
    <Set name="minPoolSize">4</Set>
    <Set name="maxPoolSize">40</Set>
    <Set name="allowLocalTransactions">true</Set>
    <Get name="driverProperties">
    <Put name="brokerURL">nio://localhost:61615?jms.prefetchPolicy.all=50</Put>
    <New class="org.apache.activemq.RedeliveryPolicy">
    <Set name="maximumRedeliveries">-1</Set>
    <Set name="backOffMultiplier">2</Set>
    </New>
    </Get>
    <Call name="init" />
    </New>
    <!-- JMS Queues & topics -->
    <New id="formNotifiationTopic" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>fpp/formNotifiationTopic</Arg>
    <Arg>
    <New class="org.apache.activemq.command.ActiveMQTopic">
    <Arg>formNotifiationTopic</Arg>
    </New>
    </Arg>
    </New>
    <New id="fieldJmsQueue" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>fpp/fieldJmsQueue</Arg>
    <Arg>
    <New class="org.apache.activemq.command.ActiveMQQueue">
    <Arg>fieldJmsQueue</Arg>
    </New>
    </Arg>
    </New>
    <New id="fieldNotifJmsQueue" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>fpp/fieldNotifJmsQueue</Arg>
    <Arg>
    <New class="org.apache.activemq.command.ActiveMQQueue">
    <Arg>fieldNotifJmsQueue</Arg>
    </New>
    </Arg>
    </New>
    <New id="inkJmsQueue" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>fpp/inkJmsQueue</Arg>
    <Arg>
    <New class="org.apache.activemq.command.ActiveMQQueue">
    <Arg>inkJmsQueue</Arg>
    </New>
    </Arg>
    </New>
    <!-- native library services -->
    <New id="myscriptLicenseService" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/myscriptLicenseService</Arg>
    <Arg>
    <New
    class="com.visionobjects.licensemanager.impl.MyscriptLicenseServiceImpl">
    <Arg>localhost</Arg>
    </New>
    </Arg>
    </New>
    <!-- *********************** -->
    <!-- form server properties -->
    <!-- *********************** -->
    <New id="fpp.form.properties" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/fpp.form.properties</Arg>
    <Arg>
    <New class="java.util.Properties">
    <Put name="fpp.form.defaultEnvironmentName">default</Put>
    <Put name="fpp.form.defaultEnvironmentType">STANDARD</Put>
    <Put name="fpp.form.jbpm.job.nbexecutor">4</Put>
    <Put name="fpp.form.jbpm.job.idleinterval">1000</Put>
    <Put name="fpp.form.field.notif.nbconsumers">2</Put>
    <Put name="fpp.form.ink.nbconsumers">2</Put>
    <Put name="fpp.form.instance.instanceValidationMode">STANDARD</Put>
    <Put name="fpp.form.formdb.dialect">org.hibernate.dialect.SQLServerDialect</Put>
    <!--<Put name="fpp.form.formdb.hibernate.show_sql">true</Put>-->
    <Put name="fpp.form.formdb.hibernate.show_sql">true</Put>
    <Put name="fpp.form.formdb.hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</Put>
    <Put name="fpp.form.formdb.hibernate.transaction.manager_lookup_class">org.hibernate.transaction.BTMTransactionManagerLookup
    </Put>
    <Put name="fpp.form.formdb.hibernate.cache.use_query_cache">false</Put>
    <Put name="fpp.form.formdb.hibernate.cache.use_second_level_cache">false</Put>
    <Put name="fpp.form.formdb.hibernate.cache.use_structured_cache">false</Put>
    <Put name="fpp.form.formdb.hibernate.cache.provider_class">org.hibernate.cache.NoCacheProvider</Put>
    <Put name="fpp.form.jbpmdb.dialect">org.hibernate.dialect.SQLServerDialect</Put>
    <Put name="fpp.form.jbpmdb.hibernate.show_sql">true</Put>
    <Put name="fpp.form.jbpmdb.hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</Put>
    <Put name="fpp.form.jbpmdb.hibernate.transaction.manager_lookup_class">org.hibernate.transaction.BTMTransactionManagerLookup
    </Put>
    <Put name="fpp.form.jbpmdb.hibernate.cache.use_query_cache">false</Put>
    <Put name="fpp.form.jbpmdb.hibernate.cache.use_second_level_cache">false</Put>
    <Put name="fpp.form.jbpmdb.hibernate.cache.use_structured_cache">false</Put>
    <Put name="fpp.form.jbpmdb.hibernate.cache.provider_class">org.hibernate.cache.NoCacheProvider</Put>
    <Put name="fpp.form.scheduler.jobStore.driverDelegateClass">org.quartz.impl.jdbcjobstore.MSSQLDelegate</Put>
    <Put name="fpp.form.scheduler.dataSource.driver">com.microsoft.sqlserver.jdbc.SQLServerDriver</Put>
    <Put name="fpp.form.scheduler.dataSource.URL">jdbc:sqlserver://DYHVDB01\ALPHA;DatabaseName=tdb_digipen_fpp;integratedSecurity=false
    </Put>
    <Put name="fpp.form.scheduler.dataSource.user">manage_digipen</Put>
    <Put name="fpp.form.scheduler.dataSource.password">5T1fte?</Put>
    <!-- Cron Format A cron expression is a string comprised of 6 or 7 fields
    separated by white space. Fields can contain any of the allowed values, along
    with various combinations of the allowed special characters for that field.
    The fields are as follows: Field Name Mandatory Allowed Values Allowed Special
    Characters Seconds YES 0-59 , - * / Minutes YES 0-59 , - * / Hours YES 0-23
    , - * / Day of month YES 1-31 , - * ? / L W Month YES 1-12 or JAN-DEC , -
    * / Day of week YES 1-7 or SUN-SAT , - * ? / L # Year NO empty, 1970-2099
    , - * / -->
    <Put name="fpp.form.purge.moduleinfo.cron">0 0/1 * * * ?</Put>
    <Put name="fpp.form.purge.instances.cron">0 0 * * * ?</Put>
    <Put name="fpp.form.purge.instances.defaultcase">365</Put>
    <Put name="fpp.form.purge.instances.case1">10</Put>
    <Put name="fpp.form.purge.instances.case2">60</Put>
    <Put name="fpp.form.purge.instances.case3">100</Put>
    <Put name="fpp.form.purge.instances.case4">30</Put>
    <Put name="fpp.form.purge.instances.case5">60</Put>
    <Put name="fpp.form.export.cron">0 0 * * * ?</Put>
    <Put name="fpp.form.export.exportpath">C:\FPP</Put>
    <Put name="fpp.form.export.exportMode">REGULAR</Put>
    <Put name="fpp.form.export.buildingType">INCREMENTAL</Put>
    <Put name="fpp.form.export.addInformations">true</Put>
    </New>
    </Arg>
    </New>
    <New id="fppFormDbDataSource" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>jdbc/fppFormDbDataSource</Arg>
    <Arg>
    <Ref id="fppDataSource"></Ref>
    </Arg>
    </New>
    <New id="fppJbpmDbDataSource" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>jdbc/fppJbpmDbDataSource</Arg>
    <Arg>
    <Ref id="fppDataSource" />
    </Arg>
    </New>
    <New id="formJmsTopicConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/formJmsTopicConnectionFactory</Arg>
    <Arg>
    <Ref id="fppServerConnectionFactory" />
    </Arg>
    </New>
    <New id="fieldProducerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/fieldProducerJmsConnectionFactory</Arg>
    <Arg>
    <Ref id="fppServerConnectionFactory" />
    </Arg>
    </New>
    <New id="fieldNotifConsumerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/fieldNotifConsumerJmsConnectionFactory</Arg>
    <Arg>
    <Ref id="fppServerConnectionFactory" />
    </Arg>
    </New>
    <New id="inkConsumerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/inkConsumerJmsConnectionFactory</Arg>
    <Arg>
    <Ref id="fppServerConnectionFactory" />
    </Arg>
    </New>
    <!-- HWR SERVER -->
    <New id="fpp.hwr-server.properties" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/fpp.hwr-server.properties</Arg>
    <Arg>
    <New class="java.util.Properties">
    <Put name="fpp.hwr-server.formbroker.uri">failover:nio://localhost:61615</Put>
    <Put name="fpp.hwr-server.fieldConsumers">4</Put>
    <Put name="fpp.hwr-server.resourceManager.memoryUsageThreshold">262144000</Put>
    <Put name="fpp.hwr-server.resourceManager.resourceCountThreshold">150</Put>
    <Put name="fpp.hwr-server.resourceManager.idleTimeLimit">1800000</Put>
    <Put name="fpp.hwr-server.resourceManager.timeToLive">3600000</Put>
    <Put name="fpp.hwr-server.resourceManager.wakeUpInterval">100000</Put>
    <Put name="fpp.hwr-server.formdb.dialect">org.hibernate.dialect.SQLServerDialect</Put>
    <Put name="fpp.hwr-server.formdb.hibernate.show_sql">true</Put>
    <Put name="fpp.hwr-server.formdb.hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</Put>
    <Put
    name="fpp.hwr-server.formdb.hibernate.transaction.manager_lookup_class">org.hibernate.transaction.BTMTransactionManagerLookup</Put>
    <Put name="fpp.hwr-server.internal.dumpRecognition">false</Put>
    </New>
    </Arg>
    </New>
    <New id="myscriptHwrService" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/myscriptHwrService</Arg>
    <Arg>
    <New class="com.visionobjects.myscript.commons.hwr.engine.HwrEngineService">
    <Set name="handwritingContextUserLimit">50</Set>
    <Set name="resourceUserLimit">0</Set>
    <Set name="otherObjectUserLimit">500</Set>
    <Call name="doStart" />
    </New>
    </Arg>
    </New>
    <New id="fieldNotificationProducerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/fieldNotificationProducerJmsConnectionFactory</Arg>
    <Arg>
    <Ref id="fppServerConnectionFactory" />
    </Arg>
    </New>
    <New id="fieldConsumerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/fieldConsumerJmsConnectionFactory</Arg>
    <Arg>
    <Ref id="fppServerConnectionFactory" />
    </Arg>
    </New>
    <!-- wrapper -->
    <New id="fppWrapperServerConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
    <Set name="brokerURL">nio://localhost:61615</Set>
    <Set name="redeliveryPolicy">
    <New class="org.apache.activemq.RedeliveryPolicy">
    <Set name="maximumRedeliveries">-1</Set>
    <Set name="backOffMultiplier">2</Set>
    </New>
    </Set>
    </New>
    <New id="formNotificationConsumerFactory" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/formNotificationConsumerFactory</Arg>
    <Arg>
    <Ref id="fppWrapperServerConnectionFactory" />
    </Arg>
    </New>
    <New id="inkProducerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/inkProducerJmsConnectionFactory</Arg>
    <Arg>
    <Ref id="fppWrapperServerConnectionFactory" />
    </Arg>
    </New>
    <!-- JMX/SENSORS -->
    <New id="inkJmsQueueUrl" class="java.lang.String">
    <Arg>service:jmx:rmi://localhost:2100/jndi/rmi://localhost:2099/jmxrmi
    </Arg>
    </New>
    <New id="inkJmsQueueObjectName" class="java.lang.String">
    <Arg>org.apache.activemq:BrokerName=formserver.broker,Type=Queue,Destination=inkJmsQueue
    </Arg>
    </New>
    <New id="fieldNotifJmsQueueUrl" class="java.lang.String">
    <Arg>service:jmx:rmi://localhost:2100/jndi/rmi://localhost:2099/jmxrmi
    </Arg>
    </New>
    <New id="fieldNotifJmsQueueObjectName" class="java.lang.String">
    <Arg>org.apache.activemq:BrokerName=formserver.broker,Type=Queue,Destination=fieldNotifJmsQueue
    </Arg>
    </New>
    <New id="fieldJmsQueueUrl" class="java.lang.String">
    <Arg>service:jmx:rmi://localhost:2100/jndi/rmi://localhost:2099/jmxrmi
    </Arg>
    </New>
    <New id="fieldJmsQueueObjectName" class="java.lang.String">
    <Arg>org.apache.activemq:BrokerName=formserver.broker,Type=Queue,Destination=fieldJmsQueue
    </Arg>
    </New>
    <New id="formNotifiationTopicUrl" class="java.lang.String">
    <Arg>service:jmx:rmi://localhost:2100/jndi/rmi://localhost:2099/jmxrmi
    </Arg>
    </New>
    <New id="formNotifiationTopicObjectName" class="java.lang.String">
    <Arg>org.apache.activemq:BrokerName=formserver.broker,Type=Queue,Destination=formNotifiationTopic
    </Arg>
    </New>
    <New id="server.list" class="java.util.HashMap">
    <!-- InkJmsQueue -->
    <Put name="WRP">
    <New class="java.util.ArrayList">
    <Call name="add">
    <Arg>
    <New class="java.lang.String">
    <Arg>http://localhost:8081</Arg>
    </New>
    </Arg>
    </Call>
    <Call name="add">
    <Arg>
    <New class="java.lang.String">
    <Arg>http://localhost:8084</Arg>
    </New>
    </Arg>
    </Call>
    </New>
    </Put>
    <Put name="FORM">
    <New class="java.util.ArrayList">
    <Call name="add">
    <Arg>
    <New class="java.lang.String">
    <Arg>http://localhost:8080</Arg>
    </New>
    </Arg>
    </Call>
    <Call name="add">
    <Arg>
    <New class="java.lang.String">
    <Arg>http://localhost:8084</Arg>
    </New>
    </Arg>
    </Call>
    </New>
    </Put>
    <Put name="HWR">
    <New class="java.util.ArrayList">
    <Call name="add">
    <Arg>
    <New class="java.lang.String">
    <Arg>http://localhost:8083</Arg>
    </New>
    </Arg>
    </Call>
    <Call name="add">
    <Arg>
    <New class="java.lang.String">
    <Arg>http://localhost:8084</Arg>
    </New>
    </Arg>
    </Call>
    </New>
    </Put>
    </New>
    <New id="fpp.form.jmx.properties" class="java.util.HashMap">
    <!-- InkJmsQueue -->
    <Put name="inkJmsQueueSize">
    <New class="java.util.HashMap">
    <Put name="urlQueue">
    <Ref id="inkJmsQueueUrl" />
    </Put>
    <Put name="objectName">
    <Ref id="inkJmsQueueObjectName" />
    </Put>
    <Put name="attribute">QueueSize</Put>
    </New>
    </Put>
    <Put name="inkJmsConsumerCount">
    <New class="java.util.HashMap">
    <Put name="urlQueue">
    <Ref id="inkJmsQueueUrl" />
    </Put>
    <Put name="objectName">
    <Ref id="inkJmsQueueObjectName" />
    </Put>
    <Put name="attribute">ConsumerCount</Put>
    </New>
    </Put>
    <Put name="inkJmsDequeueCount">
    <New class="java.util.HashMap">
    <Put name="urlQueue">
    <Ref id="inkJmsQueueUrl" />
    </Put>
    <Put name="objectName">
    <Ref id="inkJmsQueueObjectName" />
    </Put>
    <Put name="attribute">DequeueCount</Put>
    </New>
    </Put>
    <Put name="inkJmsAverageEnqueueTime">
    <New class="java.util.HashMap">
    <Put name="urlQueue">
    <Ref id="inkJmsQueueUrl" />
    </Put>
    <Put name="objectName">
    <Ref id="inkJmsQueueObjectName" />
    </Put>
    <Put name="attribute">AverageEnqueueTime</Put>
    </New>
    </Put>
    <Put name="inkJmsMaxEnqueueTime">
    <New class="java.util.HashMap">
    <Put name="urlQueue">
    <Ref id="inkJmsQueueUrl" />
    </Put>
    <Put name="objectName">
    <Ref id="inkJmsQueueObjectName" />
    </Put>
    <Put name="attribute">MaxEnqueueTime</Put>
    </New>
    </Put>
    <!--FieldNotifJmsQueue -->
    <Put name="fieldNotifJmsQueueSize">
    <New class="java.util.HashMap">
    <Put name="urlQueue">
    <Ref id="fieldNotifJmsQueueUrl" />
    </Put>
    <Put name="objectName">
    <Ref id="fieldNotifJmsQueueObjectName" />
    </Put>
    <Put name="attribute">QueueSize</Put>
    </New>
    </Put>
    <Put name="fieldNotifJmsConsumerCount">
    <New class="java.util.HashMap">
    <Put name="urlQueue">
    <Ref id="fieldNotifJmsQueueUrl" />
    </Put>
    <Put name="objectName">
    <Ref id="fieldNotifJmsQueueObjectName" />
    </Put>
    <Put name="attribute">ConsumerCount</Put>
    </New>
    </Put>
    <Put name="fieldNotifJmsDequeueCount">
    <New class="java.util.HashMap">
    <Put name="urlQueue">
    <Ref id="fieldNotifJmsQueueUrl" />
    </Put>
    <Put name="objectName">
    <Ref id="fieldNotifJmsQueueObjectName" />
    </Put>
    <Put name="attribute">DequeueCount</Put>
    </New>
    </Put>
    <Put name="fieldNotifJmsAverageEnqueueTime">
    <New class="java.util.HashMap">
    <Put name="urlQueue">
    <Ref id="fieldNotifJmsQueueUrl" />
    </Put>
    <Put name="objectName">
    <Ref id="fieldNotifJmsQueueObjectName" />
    </Put>
    <Put name="attribute">AverageEnqueueTime</Put>
    </New>
    </Put>
    <Put name="fieldNotifJmsMaxEnqueueTime">
    <New class="java.util.HashMap">
    <Put name="urlQueue">
    <Ref id="fieldNotifJmsQueueUrl" />
    </Put>
    <Put name="objectName">
    <Ref id="fieldNotifJmsQueueObjectName" />
    </Put>
    <Put name="attribute">MaxEnqueueTime</Put>
    </New>
    </Put>
    </New>
    <New id="fpp.form.ui.parameters" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/fpp.form.ui.parameters</Arg>
    <Arg>
    <New
    class="com.visionobjects.myscript.fpp.ui.parameters.impl.UIParametersServiceImpl">
    <Set name="jmxProperties">
    <Ref id="fpp.form.jmx.properties"></Ref>
    </Set>
    <Set name="serverList">
    <Ref id="server.list"></Ref>
    </Set>
    </New>
    </Arg>
    </New>
    </Configure>
    Thanks so much in advance.
     

    Hello guys,
    I have been setting a production system with bitronix transaction manager, SQL server 2008, XA transactions and jetty 6. In the beginning this software was configured to run with MySQL. But one of my customer decided to move everything to MSSQL server 2008.
    In that moment I was trying to get this up and running for some weeks (The configuration was completely different) and finally I got it.
    The configuration with MSSQL server was running perfectly during 1 month but then from one day to other the error message I will show now appeared and I do not how to solve it. I almost read all the hints from google about this exception but nothing helped
    me out.
    I hope you guys can help me to find a way to solve it.
    - I tried different version of the jdbc driver 3.0 and 4.0.
    - I tried to export exactly the database to my localserver and it's running perfectly with the same configuration.
    The problem is that I cannot reproduce the error in other place that is not the customer and at the same time I have no access to their internal database server. They installed all the XA transaction stuff (dll in binn, enable XA, and grant the permissions
    for SQLXAUser), I am quite sure because it was running for one month without any problem.
    I asked to the customer if anything happenend on their server (microsoft updates, machines reboot, ...) but nothing of these happened.
    Also I tried this link out but did not help me.
    <a href="http://social.msdn.microsoft.com/Forums/sqlserver/en-US/15c1e6f5-ec1e-4376-8f45-25e61ffc1306/the-function-start-has-failed-no-transaction-cookie-was-returned?forum=sqldataaccess">http://social.msdn.microsoft.com/Forums/sqlserver/en-US/15c1e6f5-ec1e-4376-8f45-25e61ffc1306/the-function-start-has-failed-no-transaction-cookie-was-returned?forum=sqldataaccess</a>
    The exception is the following:
     [2014-05-15 14:06:08,842] INFO  3666[main] - org.mortbay.log.Slf4jLog.info(Slf4jLog.java:67) - Starting Bitronix Transaction Manager
    [2014-05-15 14:06:08,951] INFO  3775[main] - org.mortbay.log.Slf4jLog.info(Slf4jLog.java:67) - Extract ./webapps/myscript-fpp-wrapper-server.war to D:\Temp\Jetty_0_0_0_0_8080_myscript.fpp.wrapper.server.war__myscript.form.wrapper.server__.bnwnn7\webapp
    [2014-05-15 14:06:10,324] INFO  5148[main] - org.mortbay.log.Slf4jLog.info(Slf4jLog.java:67) - NO JSP Support for /myscript-form-wrapper-server, did not find org.apache.jasper.servlet.JspServlet
    [2014-05-15 14:06:12,742] WARN  7566[main] - org.dozer.config.GlobalSettings.loadGlobalSettings(GlobalSettings.java:118) - Dozer configuration file not found: dozer.properties.  Using defaults for all Dozer global properties.
    [2014-05-15 14:06:13,288] WARN  8112[main] - org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.java:100) - SQL Error: 0, SQLState: null
    [2014-05-15 14:06:13,288]ERROR  8112[main] - org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.java:101) - error enlisting a JdbcConnectionHandle of a JdbcPooledConnection from datasource fppDataSource in state ACCESSIBLE with
    usage count 1 wrapping SQLServerXAConnection:1 on  ProxyConnectionID:1
    [2014-05-15 14:06:13,319]ERROR  8143[main] - org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:220) - Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleRegistration' defined in class path resource [com/visionobjects/myscript/fpp/wrapper/module-registration.xml]: Invocation of init method failed; nested exception is
    org.hibernate.exception.GenericJDBCException: could not execute query
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549)
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
        at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
        at org.mortbay.jetty.Server.doStart(Server.java:224)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.mortbay.start.Main.invokeMain(Main.java:194)
        at org.mortbay.start.Main.start(Main.java:534)
        at org.mortbay.start.Main.start(Main.java:441)
        at org.mortbay.start.Main.main(Main.java:119)
    Caused by: org.hibernate.exception.GenericJDBCException: could not execute query
        at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
        at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
        at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
        at org.hibernate.loader.Loader.doList(Loader.java:2235)
        at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2129)
        at org.hibernate.loader.Loader.list(Loader.java:2124)
        at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:118)
        at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1597)
        at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:306)
        at org.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:328)
        at com.visionobjects.myscript.fpp.form.dao.impl.ModuleInfoDaoImpl.getModuleInfo(ModuleInfoDaoImpl.java:57)
        at com.visionobjects.myscript.fpp.ModuleRegistration$1.doInTransactionWithoutResult(ModuleRegistration.java:73)
        at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
        at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
        at com.visionobjects.myscript.fpp.ModuleRegistration.init(ModuleRegistration.java:66)
        at com.visionobjects.myscript.fpp.ModuleRegistration.start(ModuleRegistration.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
        ... 33 more
    Caused by: java.sql.SQLException: error enlisting a JdbcConnectionHandle of a JdbcPooledConnection from datasource fppDataSource in state ACCESSIBLE with usage count 1 wrapping SQLServerXAConnection:1 on  ProxyConnectionID:1
        at bitronix.tm.resource.jdbc.JdbcConnectionHandle.enlistResource(JdbcConnectionHandle.java:86)
        at bitronix.tm.resource.jdbc.JdbcConnectionHandle.prepareStatement(JdbcConnectionHandle.java:243)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at bitronix.tm.resource.jdbc.BaseProxyHandlerClass.invoke(BaseProxyHandlerClass.java:63)
        at $Proxy29.prepareStatement(Unknown Source)
        at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:534)
        at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:452)
        at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
        at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1577)
        at org.hibernate.loader.Loader.doQuery(Loader.java:696)
        at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
        at org.hibernate.loader.Loader.doList(Loader.java:2232)
        ... 52 more
    Caused by: bitronix.tm.internal.BitronixSystemException: cannot enlist an XAResourceHolderState with uniqueName=fppDataSource XAResource= XAResourceID:1 with XID a Bitronix XID [6A657474792D6670702D73657276657200000145FFC68B9B00000000 : 6A657474792D6670702D73657276657200000145FFC68BCA00000002],
    error=XAER_RMERR
        at bitronix.tm.BitronixTransaction.enlistResource(BitronixTransaction.java:100)
        at bitronix.tm.resource.common.TransactionContextHelper.enlistInCurrentTransaction(TransactionContextHelper.java:70)
        at bitronix.tm.resource.jdbc.JdbcConnectionHandle.enlistResource(JdbcConnectionHandle.java:84)
        ... 66 more
    <b>Caused by: javax.transaction.xa.XAException: com.microsoft.sqlserver.jdbc.SQLServerException: The function START: has failed. No transaction cookie was returned </b>
        at com.microsoft.sqlserver.jdbc.SQLServerXAResource.DTC_XA_Interface(SQLServerXAResource.java:642)
        at com.microsoft.sqlserver.jdbc.SQLServerXAResource.start(SQLServerXAResource.java:674)
        at bitronix.tm.internal.XAResourceHolderState.start(XAResourceHolderState.java:211)
        at bitronix.tm.internal.XAResourceManager.enlist(XAResourceManager.java:108)
        at bitronix.tm.BitronixTransaction.enlistResource(BitronixTransaction.java:93)
        ... 68 more
    I think the "bold" exception is the key.
    Also the configuration file of my jetty server.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
    <!-- developpment jetty configuration -->
    <!-- launch with main class : org.mortbay.start.Main app arguments:
    deploy-conf/jetty-conf/mysql/jetty-dev.xml vm arguments : -Xmx1024M -DSTOP.KEY=stop
    -DSTOP.PORT=6669 to stop : - - stop -Xmx1024M -DSTOP.KEY=stop -DSTOP.PORT=6669 -->
    <Configure id="Server" class="org.mortbay.jetty.Server">
    <Array id="plusConfig" type="java.lang.String">
    <Item>org.mortbay.jetty.webapp.WebInfConfiguration</Item>
    <Item>org.mortbay.jetty.plus.webapp.EnvConfiguration</Item>
    <Item>org.mortbay.jetty.plus.webapp.Configuration</Item>
    <Item>org.mortbay.jetty.webapp.JettyWebXmlConfiguration</Item>
    <Item>org.mortbay.jetty.webapp.TagLibConfiguration</Item>
    </Array>
    <Array id="serverClasses" type="java.lang.String">
    </Array>
    <Array id="systemClasses" type="java.lang.String">
    </Array>
    <!-- web apps -->
    <Set name="handler">
    <New id="handlerContext" class="org.mortbay.jetty.handler.ContextHandlerCollection">
    <Set name="handlers">
    <Array id="handlerArray" type="org.mortbay.jetty.webapp.WebAppContext">
    <!-- wrapper server -->
    <Item>
    <New class="org.mortbay.jetty.webapp.WebAppContext">
    <Arg>./webapps/myscript-fpp-wrapper-server.war</Arg>
    <Arg>/myscript-form-wrapper-server</Arg>
    <Set name="serverClasses">
    <Ref id="serverClasses" />
    </Set>
    <Set name="ConfigurationClasses">
    <Ref id="plusConfig" />
    </Set>
    </New>
    </Item>
    <!-- form server -->
    <Item>
    <New class="org.mortbay.jetty.webapp.WebAppContext">
    <Arg>./webapps/myscript-fpp-form-server.war
    </Arg>
    <Arg>/myscript-form-server</Arg>
    <Set name="serverClasses">
    <Ref id="serverClasses" />
    </Set>
    <Set name="ConfigurationClasses">
    <Ref id="plusConfig" />
    </Set>
    </New>
    </Item>
    <!-- hwr server -->
    <Item>
    <New class="org.mortbay.jetty.webapp.WebAppContext">
    <Arg>./webapps/myscript-fpp-hwr-server.war</Arg>
    <Arg>/myscript-form-hwr-server</Arg>
    <Set name="serverClasses">
    <Ref id="serverClasses" />
    </Set>
    <Set name="ConfigurationClasses">
    <Ref id="plusConfig" />
    </Set>
    </New>
    </Item>
    </Array>
    </Set>
    </New>
    </Set>
    <Call name="addConnector">
    <Arg>
    <New class="org.mortbay.jetty.nio.SelectChannelConnector">
    <Set name="port">8080</Set>
    </New>
    </Arg>
    </Call>
    <!-- Use the jdk 1.5 platformMBeanServer -->
    <Call id="MBeanServer" class="java.lang.management.ManagementFactory"
    name="getPlatformMBeanServer" />
    <Get id="Container" name="container">
    <Call name="addEventListener">
    <Arg>
    <New class="org.mortbay.management.MBeanContainer">
    <Arg>
    <Ref id="MBeanServer" />
    </Arg>
    <Call name="start" />
    </New>
    </Arg>
    </Call>
    </Get>
    <!-- Setup the RMIRegistry on a specific port -->
    <Call id="rmiRegistry" class="java.rmi.registry.LocateRegistry"
    name="createRegistry">
    <Arg type="int">2099</Arg>
    </Call>
    <!-- Setup the JMXConnectorServer on a specific rmi server port -->
    <Call id="jmxConnectorServer" class="javax.management.remote.JMXConnectorServerFactory"
    name="newJMXConnectorServer">
    <Arg>
    <New class="javax.management.remote.JMXServiceURL">
    <Arg>service:jmx:rmi://localhost:2100/jndi/rmi://localhost:2099/jmxrmi
    </Arg>
    </New>
    </Arg>
    <Arg />
    <Arg>
    <Ref id="MBeanServer" />
    </Arg>
    <Call name="start" />
    </Call>
    <!--************************* -->
    <!-- embbeded ActiveMQ Broker -->
    <!--************************* -->
    <New id="brokerService" class="org.apache.activemq.broker.BrokerService">
    <Set name="brokerName">fppBrokerActiveMQ</Set>
    <Set name="dataDirectoryFile"></Set>
    <Call name="getSystemUsage">
    <Call name="getMemoryUsage">
    <Set name="limit">26428800</Set>
    </Call>
    <Call name="getStoreUsage">
    <Set name="limit">204857600</Set>
    </Call>
    </Call>
    <Call name="addConnector">
    <Arg>nio://localhost:61615</Arg>
    </Call>
    <Call name="start"></Call>
    </New>
    <!-- ************************** -->
    <!-- common fpp jndi resources -->
    <!-- ************************** -->
    <!-- ui debug properties -->
    <New id="fpp.common-ui.velocityProperties" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/fpp.common-ui.velocityProperties</Arg>
    <Arg>
    <New class="java.util.Properties">
    <Put name="spring.resource.loader.class">org.springframework.ui.velocity.SpringResourceLoader
    </Put>
    <Put name="spring.resource.loader.cache">false</Put>
    <Put name="velocimacro.library.autoreload">true</Put>
    </New>
    </Arg>
    </New>
    <New id="fpp.wrapper-server.properties" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/fpp.wrapper-server.properties</Arg>
    <Arg>
    <New class="java.util.Properties">
    <Put name="fpp.wrapper-server.instanceServiceWsdlLocation">http://localhost:8080/myscript-form-server/cxf/instance?wsdl
    </Put>
    <Put name="fpp.wrapper-server.formServiceWsdlLocation">http://localhost:8080/myscript-form-server/cxf/form?wsdl
    </Put>
    <Put name="fpp.wrapper-server.formDeprecatedServiceWsdlLocation">http://localhost:8080/myscript-form-server/cxf/formDeprecated?wsdl
    </Put>
    <Put name="fpp.wrapper-server.hwrResourceServiceWsdlLocation">http://localhost:8080/myscript-form-server/cxf/hwrResource?wsdl
    </Put>
    <Put name="fpp.wrapper-server.defaultEnvironmentName">default</Put>
    <Put name="fpp.wrapper-server.defaultEnvironmentType">STANDARD</Put>
    <Put name="fpp.wrapper-server.formdb.dialect">org.hibernate.dialect.SQLServerDialect</Put>
    <Put name="fpp.wrapper-server.formdb.hibernate.show_sql">true</Put>
    <Put name="fpp.wrapper-server.formdb.hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</Put>
    <Put name="fpp.wrapper-server.formdb.hibernate.transaction.manager_lookup_class">org.hibernate.transaction.BTMTransactionManagerLookup</Put>
    <Put name="fpp.wrapper-server.formdb.hibernate.cache.use_query_cache">false</Put>
    <Put name="fpp.wrapper-server.formdb.hibernate.cache.use_second_level_cache">false</Put>
    <Put name="fpp.wrapper-server.formdb.hibernate.cache.use_structured_cache">false</Put>
    <Put name="fpp.wrapper-server.formdb.hibernate.cache.provider_class">org.hibernate.cache.NoCacheProvider</Put>
    </New>
    </Arg>
    </New>
    <!-- transaction manager - bitronix -->
    <Call name="getConfiguration" class="bitronix.tm.TransactionManagerServices">
    <Set name="serverId">jetty-fpp-server</Set>
    <Set name="gracefulShutdownInterval">45</Set>
    <Set name="logPart1Filename">btm/btm1.tlog</Set>
    <Set name="logPart2Filename">btm/btm2.tlog</Set>
    </Call>
    <Set name="gracefulShutdown">60000</Set>
    <Call name="addLifeCycle">
    <Arg>
    <New class="bitronix.tm.integration.jetty6.BTMLifeCycle" />
    </Arg>
    </Call>
    <New class="org.mortbay.jetty.plus.naming.Transaction">
    <Arg>
    <Call name="getTransactionManager" class="bitronix.tm.TransactionManagerServices" />
    </Arg>
    </New>
    <New class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>java:/TransactionManager</Arg>
    <Arg>
    <Call name="getTransactionManager" class="bitronix.tm.TransactionManagerServices" />
    </Arg>
    </New>
    <New id="userTransactionManager" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>java:comp/TransactionManager</Arg>
    <Arg>
    <Call name="getTransactionManager" class="bitronix.tm.TransactionManagerServices" />
    </Arg>
    </New>
    <New id="userTransactionManager" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>java:comp/UserTransaction</Arg>
    <Arg>
    <Call name="getTransactionManager" class="bitronix.tm.TransactionManagerServices" />
    </Arg>
    </New>
    <!-- database data source -->
    <New id="fppDataSource" class="bitronix.tm.resource.jdbc.PoolingDataSource">
    <Set name="uniqueName">fppDataSource</Set>
    <Set name="className">com.microsoft.sqlserver.jdbc.SQLServerXADataSource</Set>
    <Set name="minPoolSize">0</Set>
    <Set name="maxPoolSize">50</Set>
    <Get name="driverProperties">
    <Put name="serverName">DYHVDB01</Put>
    <Put name="instanceName">ALPHA</Put>
    <Put name="integratedSecurity">false</Put>
    <Put name="databaseName">tdb_digipen_fpp</Put>
    <Put name="user">manage_digipen</Put>
    <Put name="password">5T1fte?</Put>
    <!--Needed to test??<Put name="pinGlobalTxToPhysicalConnection">true</Put>-->
    </Get>
    <Call name="init" />
    </New>
    <!-- Jms connection factories -->
    <New id="fppServerConnectionFactory" class="bitronix.tm.resource.jms.PoolingConnectionFactory">
    <Set name="className">org.apache.activemq.ActiveMQXAConnectionFactory</Set>
    <Set name="uniqueName">fppServerConnectionFactory</Set>
    <Set name="minPoolSize">4</Set>
    <Set name="maxPoolSize">40</Set>
    <Set name="allowLocalTransactions">true</Set>
    <Get name="driverProperties">
    <Put name="brokerURL">nio://localhost:61615?jms.prefetchPolicy.all=50</Put>
    <New class="org.apache.activemq.RedeliveryPolicy">
    <Set name="maximumRedeliveries">-1</Set>
    <Set name="backOffMultiplier">2</Set>
    </New>
    </Get>
    <Call name="init" />
    </New>
    <!-- JMS Queues & topics -->
    <New id="formNotifiationTopic" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>fpp/formNotifiationTopic</Arg>
    <Arg>
    <New class="org.apache.activemq.command.ActiveMQTopic">
    <Arg>formNotifiationTopic</Arg>
    </New>
    </Arg>
    </New>
    <New id="fieldJmsQueue" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>fpp/fieldJmsQueue</Arg>
    <Arg>
    <New class="org.apache.activemq.command.ActiveMQQueue">
    <Arg>fieldJmsQueue</Arg>
    </New>
    </Arg>
    </New>
    <New id="fieldNotifJmsQueue" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>fpp/fieldNotifJmsQueue</Arg>
    <Arg>
    <New class="org.apache.activemq.command.ActiveMQQueue">
    <Arg>fieldNotifJmsQueue</Arg>
    </New>
    </Arg>
    </New>
    <New id="inkJmsQueue" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>fpp/inkJmsQueue</Arg>
    <Arg>
    <New class="org.apache.activemq.command.ActiveMQQueue">
    <Arg>inkJmsQueue</Arg>
    </New>
    </Arg>
    </New>
    <!-- native library services -->
    <New id="myscriptLicenseService" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/myscriptLicenseService</Arg>
    <Arg>
    <New
    class="com.visionobjects.licensemanager.impl.MyscriptLicenseServiceImpl">
    <Arg>localhost</Arg>
    </New>
    </Arg>
    </New>
    <!-- *********************** -->
    <!-- form server properties -->
    <!-- *********************** -->
    <New id="fpp.form.properties" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/fpp.form.properties</Arg>
    <Arg>
    <New class="java.util.Properties">
    <Put name="fpp.form.defaultEnvironmentName">default</Put>
    <Put name="fpp.form.defaultEnvironmentType">STANDARD</Put>
    <Put name="fpp.form.jbpm.job.nbexecutor">4</Put>
    <Put name="fpp.form.jbpm.job.idleinterval">1000</Put>
    <Put name="fpp.form.field.notif.nbconsumers">2</Put>
    <Put name="fpp.form.ink.nbconsumers">2</Put>
    <Put name="fpp.form.instance.instanceValidationMode">STANDARD</Put>
    <Put name="fpp.form.formdb.dialect">org.hibernate.dialect.SQLServerDialect</Put>
    <!--<Put name="fpp.form.formdb.hibernate.show_sql">true</Put>-->
    <Put name="fpp.form.formdb.hibernate.show_sql">true</Put>
    <Put name="fpp.form.formdb.hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</Put>
    <Put name="fpp.form.formdb.hibernate.transaction.manager_lookup_class">org.hibernate.transaction.BTMTransactionManagerLookup
    </Put>
    <Put name="fpp.form.formdb.hibernate.cache.use_query_cache">false</Put>
    <Put name="fpp.form.formdb.hibernate.cache.use_second_level_cache">false</Put>
    <Put name="fpp.form.formdb.hibernate.cache.use_structured_cache">false</Put>
    <Put name="fpp.form.formdb.hibernate.cache.provider_class">org.hibernate.cache.NoCacheProvider</Put>
    <Put name="fpp.form.jbpmdb.dialect">org.hibernate.dialect.SQLServerDialect</Put>
    <Put name="fpp.form.jbpmdb.hibernate.show_sql">true</Put>
    <Put name="fpp.form.jbpmdb.hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</Put>
    <Put name="fpp.form.jbpmdb.hibernate.transaction.manager_lookup_class">org.hibernate.transaction.BTMTransactionManagerLookup
    </Put>
    <Put name="fpp.form.jbpmdb.hibernate.cache.use_query_cache">false</Put>
    <Put name="fpp.form.jbpmdb.hibernate.cache.use_second_level_cache">false</Put>
    <Put name="fpp.form.jbpmdb.hibernate.cache.use_structured_cache">false</Put>
    <Put name="fpp.form.jbpmdb.hibernate.cache.provider_class">org.hibernate.cache.NoCacheProvider</Put>
    <Put name="fpp.form.scheduler.jobStore.driverDelegateClass">org.quartz.impl.jdbcjobstore.MSSQLDelegate</Put>
    <Put name="fpp.form.scheduler.dataSource.driver">com.microsoft.sqlserver.jdbc.SQLServerDriver</Put>
    <Put name="fpp.form.scheduler.dataSource.URL">jdbc:sqlserver://DYHVDB01\ALPHA;DatabaseName=tdb_digipen_fpp;integratedSecurity=false
    </Put>
    <Put name="fpp.form.scheduler.dataSource.user">manage_digipen</Put>
    <Put name="fpp.form.scheduler.dataSource.password">5T1fte?</Put>
    <!-- Cron Format A cron expression is a string comprised of 6 or 7 fields
    separated by white space. Fields can contain any of the allowed values, along
    with various combinations of the allowed special characters for that field.
    The fields are as follows: Field Name Mandatory Allowed Values Allowed Special
    Characters Seconds YES 0-59 , - * / Minutes YES 0-59 , - * / Hours YES 0-23
    , - * / Day of month YES 1-31 , - * ? / L W Month YES 1-12 or JAN-DEC , -
    * / Day of week YES 1-7 or SUN-SAT , - * ? / L # Year NO empty, 1970-2099
    , - * / -->
    <Put name="fpp.form.purge.moduleinfo.cron">0 0/1 * * * ?</Put>
    <Put name="fpp.form.purge.instances.cron">0 0 * * * ?</Put>
    <Put name="fpp.form.purge.instances.defaultcase">365</Put>
    <Put name="fpp.form.purge.instances.case1">10</Put>
    <Put name="fpp.form.purge.instances.case2">60</Put>
    <Put name="fpp.form.purge.instances.case3">100</Put>
    <Put name="fpp.form.purge.instances.case4">30</Put>
    <Put name="fpp.form.purge.instances.case5">60</Put>
    <Put name="fpp.form.export.cron">0 0 * * * ?</Put>
    <Put name="fpp.form.export.exportpath">C:\FPP</Put>
    <Put name="fpp.form.export.exportMode">REGULAR</Put>
    <Put name="fpp.form.export.buildingType">INCREMENTAL</Put>
    <Put name="fpp.form.export.addInformations">true</Put>
    </New>
    </Arg>
    </New>
    <New id="fppFormDbDataSource" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>jdbc/fppFormDbDataSource</Arg>
    <Arg>
    <Ref id="fppDataSource"></Ref>
    </Arg>
    </New>
    <New id="fppJbpmDbDataSource" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>jdbc/fppJbpmDbDataSource</Arg>
    <Arg>
    <Ref id="fppDataSource" />
    </Arg>
    </New>
    <New id="formJmsTopicConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/formJmsTopicConnectionFactory</Arg>
    <Arg>
    <Ref id="fppServerConnectionFactory" />
    </Arg>
    </New>
    <New id="fieldProducerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/fieldProducerJmsConnectionFactory</Arg>
    <Arg>
    <Ref id="fppServerConnectionFactory" />
    </Arg>
    </New>
    <New id="fieldNotifConsumerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/fieldNotifConsumerJmsConnectionFactory</Arg>
    <Arg>
    <Ref id="fppServerConnectionFactory" />
    </Arg>
    </New>
    <New id="inkConsumerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/inkConsumerJmsConnectionFactory</Arg>
    <Arg>
    <Ref id="fppServerConnectionFactory" />
    </Arg>
    </New>
    <!-- HWR SERVER -->
    <New id="fpp.hwr-server.properties" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/fpp.hwr-server.properties</Arg>
    <Arg>
    <New class="java.util.Properties">
    <Put name="fpp.hwr-server.formbroker.uri">failover:nio://localhost:61615</Put>
    <Put name="fpp.hwr-server.fieldConsumers">4</Put>
    <Put name="fpp.hwr-server.resourceManager.memoryUsageThreshold">262144000</Put>
    <Put name="fpp.hwr-server.resourceManager.resourceCountThreshold">150</Put>
    <Put name="fpp.hwr-server.resourceManager.idleTimeLimit">1800000</Put>
    <Put name="fpp.hwr-server.resourceManager.timeToLive">3600000</Put>
    <Put name="fpp.hwr-server.resourceManager.wakeUpInterval">100000</Put>
    <Put name="fpp.hwr-server.formdb.dialect">org.hibernate.dialect.SQLServerDialect</Put>
    <Put name="fpp.hwr-server.formdb.hibernate.show_sql">true</Put>
    <Put name="fpp.hwr-server.formdb.hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</Put>
    <Put
    name="fpp.hwr-server.formdb.hibernate.transaction.manager_lookup_class">org.hibernate.transaction.BTMTransactionManagerLookup</Put>
    <Put name="fpp.hwr-server.internal.dumpRecognition">false</Put>
    </New>
    </Arg>
    </New>
    <New id="myscriptHwrService" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/myscriptHwrService</Arg>
    <Arg>
    <New class="com.visionobjects.myscript.commons.hwr.engine.HwrEngineService">
    <Set name="handwritingContextUserLimit">50</Set>
    <Set name="resourceUserLimit">0</Set>
    <Set name="otherObjectUserLimit">500</Set>
    <Call name="doStart" />
    </New>
    </Arg>
    </New>
    <New id="fieldNotificationProducerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/fieldNotificationProducerJmsConnectionFactory</Arg>
    <Arg>
    <Ref id="fppServerConnectionFactory" />
    </Arg>
    </New>
    <New id="fieldConsumerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/fieldConsumerJmsConnectionFactory</Arg>
    <Arg>
    <Ref id="fppServerConnectionFactory" />
    </Arg>
    </New>
    <!-- wrapper -->
    <New id="fppWrapperServerConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
    <Set name="brokerURL">nio://localhost:61615</Set>
    <Set name="redeliveryPolicy">
    <New class="org.apache.activemq.RedeliveryPolicy">
    <Set name="maximumRedeliveries">-1</Set>
    <Set name="backOffMultiplier">2</Set>
    </New>
    </Set>
    </New>
    <New id="formNotificationConsumerFactory" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/formNotificationConsumerFactory</Arg>
    <Arg>
    <Ref id="fppWrapperServerConnectionFactory" />
    </Arg>
    </New>
    <New id="inkProducerJmsConnectionFactory" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/inkProducerJmsConnectionFactory</Arg>
    <Arg>
    <Ref id="fppWrapperServerConnectionFactory" />
    </Arg>
    </New>
    <!-- JMX/SENSORS -->
    <New id="inkJmsQueueUrl" class="java.lang.String">
    <Arg>service:jmx:rmi://localhost:2100/jndi/rmi://localhost:2099/jmxrmi
    </Arg>
    </New>
    <New id="inkJmsQueueObjectName" class="java.lang.String">
    <Arg>org.apache.activemq:BrokerName=formserver.broker,Type=Queue,Destination=inkJmsQueue
    </Arg>
    </New>
    <New id="fieldNotifJmsQueueUrl" class="java.lang.String">
    <Arg>service:jmx:rmi://localhost:2100/jndi/rmi://localhost:2099/jmxrmi
    </Arg>
    </New>
    <New id="fieldNotifJmsQueueObjectName" class="java.lang.String">
    <Arg>org.apache.activemq:BrokerName=formserver.broker,Type=Queue,Destination=fieldNotifJmsQueue
    </Arg>
    </New>
    <New id="fieldJmsQueueUrl" class="java.lang.String">
    <Arg>service:jmx:rmi://localhost:2100/jndi/rmi://localhost:2099/jmxrmi
    </Arg>
    </New>
    <New id="fieldJmsQueueObjectName" class="java.lang.String">
    <Arg>org.apache.activemq:BrokerName=formserver.broker,Type=Queue,Destination=fieldJmsQueue
    </Arg>
    </New>
    <New id="formNotifiationTopicUrl" class="java.lang.String">
    <Arg>service:jmx:rmi://localhost:2100/jndi/rmi://localhost:2099/jmxrmi
    </Arg>
    </New>
    <New id="formNotifiationTopicObjectName" class="java.lang.String">
    <Arg>org.apache.activemq:BrokerName=formserver.broker,Type=Queue,Destination=formNotifiationTopic
    </Arg>
    </New>
    <New id="server.list" class="java.util.HashMap">
    <!-- InkJmsQueue -->
    <Put name="WRP">
    <New class="java.util.ArrayList">
    <Call name="add">
    <Arg>
    <New class="java.lang.String">
    <Arg>http://localhost:8081</Arg>
    </New>
    </Arg>
    </Call>
    <Call name="add">
    <Arg>
    <New class="java.lang.String">
    <Arg>http://localhost:8084</Arg>
    </New>
    </Arg>
    </Call>
    </New>
    </Put>
    <Put name="FORM">
    <New class="java.util.ArrayList">
    <Call name="add">
    <Arg>
    <New class="java.lang.String">
    <Arg>http://localhost:8080</Arg>
    </New>
    </Arg>
    </Call>
    <Call name="add">
    <Arg>
    <New class="java.lang.String">
    <Arg>http://localhost:8084</Arg>
    </New>
    </Arg>
    </Call>
    </New>
    </Put>
    <Put name="HWR">
    <New class="java.util.ArrayList">
    <Call name="add">
    <Arg>
    <New class="java.lang.String">
    <Arg>http://localhost:8083</Arg>
    </New>
    </Arg>
    </Call>
    <Call name="add">
    <Arg>
    <New class="java.lang.String">
    <Arg>http://localhost:8084</Arg>
    </New>
    </Arg>
    </Call>
    </New>
    </Put>
    </New>
    <New id="fpp.form.jmx.properties" class="java.util.HashMap">
    <!-- InkJmsQueue -->
    <Put name="inkJmsQueueSize">
    <New class="java.util.HashMap">
    <Put name="urlQueue">
    <Ref id="inkJmsQueueUrl" />
    </Put>
    <Put name="objectName">
    <Ref id="inkJmsQueueObjectName" />
    </Put>
    <Put name="attribute">QueueSize</Put>
    </New>
    </Put>
    <Put name="inkJmsConsumerCount">
    <New class="java.util.HashMap">
    <Put name="urlQueue">
    <Ref id="inkJmsQueueUrl" />
    </Put>
    <Put name="objectName">
    <Ref id="inkJmsQueueObjectName" />
    </Put>
    <Put name="attribute">ConsumerCount</Put>
    </New>
    </Put>
    <Put name="inkJmsDequeueCount">
    <New class="java.util.HashMap">
    <Put name="urlQueue">
    <Ref id="inkJmsQueueUrl" />
    </Put>
    <Put name="objectName">
    <Ref id="inkJmsQueueObjectName" />
    </Put>
    <Put name="attribute">DequeueCount</Put>
    </New>
    </Put>
    <Put name="inkJmsAverageEnqueueTime">
    <New class="java.util.HashMap">
    <Put name="urlQueue">
    <Ref id="inkJmsQueueUrl" />
    </Put>
    <Put name="objectName">
    <Ref id="inkJmsQueueObjectName" />
    </Put>
    <Put name="attribute">AverageEnqueueTime</Put>
    </New>
    </Put>
    <Put name="inkJmsMaxEnqueueTime">
    <New class="java.util.HashMap">
    <Put name="urlQueue">
    <Ref id="inkJmsQueueUrl" />
    </Put>
    <Put name="objectName">
    <Ref id="inkJmsQueueObjectName" />
    </Put>
    <Put name="attribute">MaxEnqueueTime</Put>
    </New>
    </Put>
    <!--FieldNotifJmsQueue -->
    <Put name="fieldNotifJmsQueueSize">
    <New class="java.util.HashMap">
    <Put name="urlQueue">
    <Ref id="fieldNotifJmsQueueUrl" />
    </Put>
    <Put name="objectName">
    <Ref id="fieldNotifJmsQueueObjectName" />
    </Put>
    <Put name="attribute">QueueSize</Put>
    </New>
    </Put>
    <Put name="fieldNotifJmsConsumerCount">
    <New class="java.util.HashMap">
    <Put name="urlQueue">
    <Ref id="fieldNotifJmsQueueUrl" />
    </Put>
    <Put name="objectName">
    <Ref id="fieldNotifJmsQueueObjectName" />
    </Put>
    <Put name="attribute">ConsumerCount</Put>
    </New>
    </Put>
    <Put name="fieldNotifJmsDequeueCount">
    <New class="java.util.HashMap">
    <Put name="urlQueue">
    <Ref id="fieldNotifJmsQueueUrl" />
    </Put>
    <Put name="objectName">
    <Ref id="fieldNotifJmsQueueObjectName" />
    </Put>
    <Put name="attribute">DequeueCount</Put>
    </New>
    </Put>
    <Put name="fieldNotifJmsAverageEnqueueTime">
    <New class="java.util.HashMap">
    <Put name="urlQueue">
    <Ref id="fieldNotifJmsQueueUrl" />
    </Put>
    <Put name="objectName">
    <Ref id="fieldNotifJmsQueueObjectName" />
    </Put>
    <Put name="attribute">AverageEnqueueTime</Put>
    </New>
    </Put>
    <Put name="fieldNotifJmsMaxEnqueueTime">
    <New class="java.util.HashMap">
    <Put name="urlQueue">
    <Ref id="fieldNotifJmsQueueUrl" />
    </Put>
    <Put name="objectName">
    <Ref id="fieldNotifJmsQueueObjectName" />
    </Put>
    <Put name="attribute">MaxEnqueueTime</Put>
    </New>
    </Put>
    </New>
    <New id="fpp.form.ui.parameters" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>
    <Ref id="Server" />
    </Arg>
    <Arg>fpp/fpp.form.ui.parameters</Arg>
    <Arg>
    <New
    class="com.visionobjects.myscript.fpp.ui.parameters.impl.UIParametersServiceImpl">
    <Set name="jmxProperties">
    <Ref id="fpp.form.jmx.properties"></Ref>
    </Set>
    <Set name="serverList">
    <Ref id="server.list"></Ref>
    </Set>
    </New>
    </Arg>
    </New>
    </Configure>
    Thanks so much in advance.
     

  • Javax.transaction.TransactionRolledbackException

              Hi
              I am getting a weblogic.ejb.extensions.LockTimedOutException when a call an entity bean for the second time. The first time I call the account entity bean from a session bean it returns all the accounts without any problems. However the next time I call the same bean from the same session I get a time out error. It seems to get as far as the last record and the locks. It also seems to use the same context for the last record as it did on the first read. See bold ctx. I have tried changing the isolation level of the beans and increasing the time out limit. I've attached the output below. Has anyone any suggestion.
              Thanks
              Claire
              1st Read from Session Bean
              After creating Data Packets601212 ::69000512
              before find by account
              after find by accountEJBObject: '-915484003', home: 'eon.common.Account', ctx: '-916794723', pk: 'com.bankframe.common.ejb.account.interfaces.AccountPK@64476f25'
              accountDp{Account Balance=13010.7, Uncleared Funds=600.0, DATA PACKET NAME=ACCOUNT, OWNER=eontec Ltd, REQUEST_ID=00000, Currency=IEP, Debit Or Credit Balance=Credit, Account Number=69000512, Account T
              ype=Chequing, Account Name=Current Account - No. 1, Sort Code=601212}
              After creating Data Packets601212 ::77264300
              before find by account
              after find by accountEJBObject: '1776210589', home: 'eon.common.Account', ctx: '1775948445', pk: 'com.bankframe.common.ejb.account.interfaces.AccountPK@661c2d9f'
              accountDp{Account Balance=2100.0, Uncleared Funds=0.0, DATA PACKET NAME=ACCOUNT, OWNER=eontec Ltd, REQUEST_ID=00000, Currency=GBP, Debit Or Credit Balance=Credit, Account Number=77264300, Account Type
              =Deposit, Account Name=Term Deposit - Sterling, Sort Code=601212}
              2nd Reand from Session Bean
              After creating Data Packets601212 ::69000512
              before find by account
              after find by accountEJBObject: '704303773', home: 'eon.common.Account', ctx: '700895901', pk: 'com.bankframe.common.ejb.account.interfaces.AccountPK@64476f25'
              accountDp{Account Balance=13010.7, Uncleared Funds=600.0, DATA PACKET NAME=ACCOUNT, OWNER=eontec Ltd, REQUEST_ID=00000, Currency=IEP, Debit Or Credit Balance=Credit, Account Number=69000512, Account T
              ype=Chequing, Account Name=Current Account - No. 1, Sort Code=601212}
              After creating Data Packets601212 ::77264300
              before find by account
              after find by accountEJBObject: '1776210589', home: 'eon.common.Account', ctx: '1775948445', pk: 'com.bankframe.common.ejb.account.interfaces.AccountPK@661c2d9f'
              Thu Nov 23 09:45:57 GMT 2000:<I> <TX> Transaction (TxC (650302109, xid = 974971491652_10, timeout = 300, txState = Marked Rollback, root = null) rolled back after 300 sec.
              FinderException weblogic.ejb.extensions.LockTimedOutException: Lock for primaryKey:com.bankframe.common.ejb.account.interfaces.AccountPK@661c2d9f timed out after 300000 ms.
              finished creating dp
              CustomerOverviewBean::processDataPacket()::Sending Result to the Client Excep
              {DATA PACKET NAME=CUSTOMER OVERVIEW EXCEPTION, OWNER=eontec Ltd, REQUEST_ID=00000, Reason=javax.transaction.TransactionRolledbackException: Transaction: '974971491652_10' has been rolled back}
              Thu Nov 23 09:46:00 GMT 2000:<I> <EJB JAR deployment ./classes/castaway-jars/customeroverview.jar> Exception during commit of transaction: '974971491652_10'
              javax.transaction.RollbackException: Transaction TxC (650302109, xid = 974971491652_10, timeout = 0, txState = Rolledback, root = null has been rolled back.Reason: Transaction (TxC (650302109, xid = 9
              74971491652_10, timeout = 300, txState = Marked Rollback, root = null) rolled back after 300 sec.
              at weblogic.jts.internal.CoordinatorImpl.throwRollbackException(CoordinatorImpl.java:727)
              at weblogic.jts.internal.CoordinatorImpl.commit(CoordinatorImpl.java:352)
              at weblogic.jts.internal.TxContext.commit(TxContext.java:246)
              at weblogic.ejb.internal.StatelessEJBObject.postInvokeOurTx(StatelessEJBObject.java:88)
              at weblogic.ejb.internal.BaseEJBObject.postInvoke(BaseEJBObject.java, Compiled Code)
              at com.bankframe.bs.customer.ejb.customeroverview.server.CustomerOverviewBeanEOImpl.processDataPacket(CustomerOverviewBeanEOImpl.java:107)
              at com.bankframe.bs.customer.ejb.customeroverview.server.CustomerOverviewBeanEOImpl_ServiceStub.processDataPacket(CustomerOverviewBeanEOImpl_ServiceStub.java, Compiled Code)
              at com.bankframe.ei.servlet.BankframeServlet.getResponseDataPackets(BankframeServlet.java:173)
              at com.bankframe.ei.servlet.BankframeServlet.doGet(BankframeServlet.java:74)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java, Compiled Code)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java, Compiled Code)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java, Compiled Code)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java, Compiled Code)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java, Compiled Code)
              at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java, Compiled Code)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
              Thu Nov 23 09:46:00 GMT 2000:<I> <ServletContext-General> BankframeServlet: Thu Nov 23 09:46:00 GMT 2000::BankframeServlet::Error in method getResponseDataPackets, the data packet was: {Customer Numbe
              r=996324364, DATA PACKET NAME=LIST CUSTOMER ACCOUNTS, OWNER=EON Technologies Ltd, Last Logged Date=20/02/2000, REQUEST_ID=80031}
              Thu Nov 23 09:46:00 GMT 2000:<I> <ServletContext-General> BankframeServlet: Thu Nov 23 09:46:00 GMT 2000::BankframeServlet::Unexpected exception in com.bankframe.bs.customer.ejb.customeroverview.serve
              r.CustomerOverviewBean.processDataPacket():
              javax.transaction.RollbackException: Transaction TxC (650302109, xid = 974971491652_10, timeout = 0, txState = Rolledback, root = null has been rolled back.Reason: Transaction (TxC (650302109, xid = 9
              74971491652_10, timeout = 300, txState = Marked Rollback, root = null) rolled back after 300 sec.
              at weblogic.jts.internal.CoordinatorImpl.throwRollbackException(CoordinatorImpl.java:727)
              at weblogic.jts.internal.CoordinatorImpl.commit(CoordinatorImpl.java:352)
              at weblogic.jts.internal.TxContext.commit(TxContext.java:246)
              at weblogic.ejb.internal.StatelessEJBObject.postInvokeOurTx(StatelessEJBObject.java:88)
              at weblogic.ejb.internal.BaseEJBObject.postInvoke(BaseEJBObject.java, Compiled Code)
              at com.bankframe.bs.customer.ejb.customeroverview.server.CustomerOverviewBeanEOImpl.processDataPacket(CustomerOverviewBeanEOImpl.java:107)
              at com.bankframe.bs.customer.ejb.customeroverview.server.CustomerOverviewBeanEOImpl_ServiceStub.processDataPacket(CustomerOverviewBeanEOImpl_ServiceStub.java, Compiled Code)
              at com.bankframe.ei.servlet.BankframeServlet.getResponseDataPackets(BankframeServlet.java:173)
              at com.bankframe.ei.servlet.BankframeServlet.doGet(BankframeServlet.java:74)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java, Compiled Code)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java, Compiled Code)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java, Compiled Code)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java, Compiled Code)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java, Compiled Code)
              at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java, Compiled Code)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
              ; nested exception is:
              javax.transaction.RollbackException: Transaction TxC (650302109, xid = 974971491652_10, timeout = 0, txState = Rolledback, root = null has been rolled back.Reason: Transaction (TxC (650302109,
              xid = 974971491652_10, timeout = 300, txState = Marked Rollback, root = null) rolled back after 300 sec.
              

    What versions of the WebLogic you are using at windows and unix machines ? What are transaction attributes of the EJB methods you are invoking ?

  • MS SQL Server problem with MDB's: javax.transaction.xa.XAException

              I am programming agents in j2ee and using MDB to implement the asynchronicity of
              the agents.
              Those MDB's get messages (MapMessage) from a controller (an SFSB) that contain
              the agent's ID and the action that the agent has to perform. The MDB creates a
              SFSB, and calls the appropriate action from this session bean. Those actions require
              to read and write from my MS SQL Server 2000 XA database. But when running my
              program, I often get this error, which doesn't seem to affect the action, because
              when I check my database data, everything is updated correctly. So the program
              still completes, but the errors slow down the execution (the program hangs for
              about 3 seconds, each time the error occurs).
              Does anybody has an explanation or solution for this?
              Thank you...
              This is the error output:
              onMessage()
              Reading MapMessage: 1
              <26-apr-2004 14.34 u. CEST> <Error> <EJB> <BEA-010026> <Exception occurred during
              commit of transaction Xid=BEA1-005F88135FFBA636FFF7(15619088),Status=Rolled back.
              [Reason=javax.transaction.xa.XAException: [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare
              (0) returns -4],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=4,seconds
              left=30,XAServerResourceInfo[JMS_JMS Server2_NotDurable]=(ServerResourceInfo[JMS_JMS
              Server2_NotDurable]=(state=rolledback,assigned=lucille3_ms),xar=JMS_JMS Server2_NotDurable),XAServerResourceInfo[MSSQL
              Connection Pool]=(ServerResourceInfo[MSSQL Connection Pool]=(state=rolledback,assigned=lucille3_ms),xar=MSSQL
              Connection Pool),SCInfo[cluster+lucille3_ms]=(state=rolledback),local properties=({}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=lucille3_ms+127.0.0.1:8001+cluster+t3+,
              XAResources={},NonXAResources={})],CoordinatorURL=lucille3_ms+127.0.0.1:8001+cluster+t3+):
              javax.transaction.xa.XAException: [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare
              (0)returns -4
              at weblogic.jdbcx.sqlserver.SQLServerImplXAResource.executeXaRpc(Unknown
              Source)
              at weblogic.jdbcx.sqlserver.SQLServerImplXAResource.prepare(Unknown Source)
              at weblogic.jdbcx.base.BaseXAResource.prepare(Unknown Source)
              at weblogic.jdbc.jta.DataSource.prepare(DataSource.java:821)
              at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerResourceInfo.java:1161)
              at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerResourceInfo.java:395)
              at weblogic.transaction.internal.ServerSCInfo$1.execute(ServerSCInfo.java:253)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              --------------- nested within: ------------------
              weblogic.transaction.RollbackException: Could not prepare resource 'MSSQL Connection
              Pool
              [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare (0) returns -4 - with nested
              exception:
              [javax.transaction.xa.XAException: [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare
              (0) returns -4]
              at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1644)
              at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:300)
              at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:221)
              at weblogic.ejb20.internal.MDListener.execute(MDListener.java:412)
              at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:316)
              at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:281)
              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).>
              

              I am programming agents in j2ee and using MDB to implement the asynchronicity of
              the agents.
              Those MDB's get messages (MapMessage) from a controller (an SFSB) that contain
              the agent's ID and the action that the agent has to perform. The MDB creates a
              SFSB, and calls the appropriate action from this session bean. Those actions require
              to read and write from my MS SQL Server 2000 XA database. But when running my
              program, I often get this error, which doesn't seem to affect the action, because
              when I check my database data, everything is updated correctly. So the program
              still completes, but the errors slow down the execution (the program hangs for
              about 3 seconds, each time the error occurs).
              Does anybody has an explanation or solution for this?
              Thank you...
              This is the error output:
              onMessage()
              Reading MapMessage: 1
              <26-apr-2004 14.34 u. CEST> <Error> <EJB> <BEA-010026> <Exception occurred during
              commit of transaction Xid=BEA1-005F88135FFBA636FFF7(15619088),Status=Rolled back.
              [Reason=javax.transaction.xa.XAException: [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare
              (0) returns -4],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=4,seconds
              left=30,XAServerResourceInfo[JMS_JMS Server2_NotDurable]=(ServerResourceInfo[JMS_JMS
              Server2_NotDurable]=(state=rolledback,assigned=lucille3_ms),xar=JMS_JMS Server2_NotDurable),XAServerResourceInfo[MSSQL
              Connection Pool]=(ServerResourceInfo[MSSQL Connection Pool]=(state=rolledback,assigned=lucille3_ms),xar=MSSQL
              Connection Pool),SCInfo[cluster+lucille3_ms]=(state=rolledback),local properties=({}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=lucille3_ms+127.0.0.1:8001+cluster+t3+,
              XAResources={},NonXAResources={})],CoordinatorURL=lucille3_ms+127.0.0.1:8001+cluster+t3+):
              javax.transaction.xa.XAException: [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare
              (0)returns -4
              at weblogic.jdbcx.sqlserver.SQLServerImplXAResource.executeXaRpc(Unknown
              Source)
              at weblogic.jdbcx.sqlserver.SQLServerImplXAResource.prepare(Unknown Source)
              at weblogic.jdbcx.base.BaseXAResource.prepare(Unknown Source)
              at weblogic.jdbc.jta.DataSource.prepare(DataSource.java:821)
              at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerResourceInfo.java:1161)
              at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerResourceInfo.java:395)
              at weblogic.transaction.internal.ServerSCInfo$1.execute(ServerSCInfo.java:253)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              --------------- nested within: ------------------
              weblogic.transaction.RollbackException: Could not prepare resource 'MSSQL Connection
              Pool
              [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare (0) returns -4 - with nested
              exception:
              [javax.transaction.xa.XAException: [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare
              (0) returns -4]
              at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1644)
              at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:300)
              at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:221)
              at weblogic.ejb20.internal.MDListener.execute(MDListener.java:412)
              at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:316)
              at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:281)
              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).>
              

  • How do I tell what version of Foxfire I have? Why am I not able to log in to the NC Tracks Login?

    I have been told by NC Medicaid NC Tracks/Liberty that they only support Firefox 10. This is the program where all transactions and processes are conducted. How do I tell what version I have?
    I have also tried to log in to NC Track with Firefox, but I get a screen that states I cant access the site?

    Hello,
    At the top of the Firefox window, click the '''Help menu''' and select '''About Firefox.''' You will get a window like the one in image below.
    For Installing older version of Firefox Go through [https://support.mozilla.org/en-US/kb/install-older-version-of-firefox?esab=a&s=checking+version+of+firefox&r=1&as=s Install an older version of Firefox] .
    Please let us know if it solved your problem or not.
    Thank You.

Maybe you are looking for

  • How to use loop in VBAK table using BDC RFC connection through excel vba ?

    Hello, I am trying to extract data from VBAK table using rfc connection with Excel VBA. where i can able to pull data first time, when i tried to use the same set of code using loops, it throws an error like BAD INDEX. Any help appreciated.

  • Email with special characters

    Hi Gurus, I'm working on a table of below structure. namexxxxx message [email protected] abc123 [email protected] def456 Now, I'm sending mail based on this table using SMPT_UTIL. but the problem is, their exists some special characters (ITALY langua

  • Function module / BAPI for FBL3N?

    Hi there, I am looking for a function module or BAPI which let me select the line items for a G/L account for a given company code and a year. I want to read the amount of all possible combinations of account and cost center because a non-sap-system

  • 2865 can't be used as a modem using PC Suite after...

    I can't make my 2865 as a modem by using PCSuite greater than 6.86. What can I do to use it with PCSuite 7.0?

  • IPhoto crashes when importing AVI sequences from Digital Photo camera

    I am attempting to use my IPhoto 601. I have a huge collection of Photos and many AVI sequences taken with my Digital camera (Canon G5). IPhoto crashes when I attempt to import the video sequences. I am getting frustrated here. Do you have suggestion