Questions tagged [jta]

Java Transaction API (JTA) specifies standard Java interfaces between a transaction manager and the parties involved in a distributed transaction system: the resource manager, the application server, and the transactional applications.

JTA specifies standard Java interfaces between a transaction manager and the parties involved in a distributed transaction system: the resource manager, the application server, and the transactional applications.

1131 questions
0
votes
2 answers

How to change value of com.arjuna.ats.jbossatx.jta.TransactionManagerService TransactionTimeout at the run-time?

We have JBoss [EAP] 4.3.0.GA_CP01 environment and I need to modify the TransactionTimeout property of com.arjuna.ats.jbossatx.jta.TransactionManagerService but whenever i try to change the value via MBean from JMX-Console; following stacktrace…
Bharat Sinha
  • 13,973
  • 6
  • 39
  • 63
0
votes
1 answer

JPA2 run-time database connection

I'm using JP2 in my current web project. My main database holds the main entities. To connect on this DB i defined a Persitence Unit with a JTA Datasource: Persistance.xml:
Pedro Peixoto
  • 219
  • 2
  • 6
  • 16
0
votes
1 answer

Skipping JTA sync registration due to auto join checking

I am trying to persist a simple entity but it is not persisted to database without any error. I am using glassfish 3.1.2, hibernate 4.1.3.Final, transaction scoped/container managed entitymanager. jta transactions is configured in persistence.xml…
Deniz
  • 1,575
  • 1
  • 16
  • 27
0
votes
1 answer

Lookup failed during "JPA Tables from Entities"

I'm trying to generate tables from entities using JPA, but when I try to do that I receive: [EL Config]: The foreign key column name for the mapping element [offer] is being defaulted to: OFFER_OID. .... [EL Info]: EclipseLink, version: Eclipse…
andreaxi
  • 931
  • 5
  • 15
  • 28
0
votes
1 answer

Is it possible to complete transaction after throwing and start new one in Controller?

I have a controller marked with Transactional annotation. Method join may throw exception, that I'm handling by method handle with help of @ExceptionHandler annotation. public String join(Model uiModel) { ... here exception…
karpaczio
  • 159
  • 1
  • 3
  • 4
0
votes
1 answer

JTA UserTransaction rollback does not work

I try to describe my environment shortly. Technologies: EJB 3.1, JSF, JBoss 7.1.1 There are Servise-classes (@SessionScoped @Stateful). Servise-classes call Dao classes (@Stateless) I want : use EntityManager only into @StateLess beans (Dao) have…
Olga
  • 3,705
  • 1
  • 20
  • 23
0
votes
1 answer

JTA Timeout with nothing to commit

I have a very basic JTA question. We are using Spring's AOP to apply WebLogicJtaTransactionManager pointcuts on any method in a service class...and we set the tx:method timeout="60". What is interesting is within that service, we run a select…
Jay Blanton
  • 574
  • 2
  • 10
  • 26
0
votes
1 answer

Spring Hibernate Exception Handling

In a Spring + Hibernate + JTA project I'm trying to get exception handling working. For the following code: @Transactional(propagation = Propagation.REQUIRED, isolation = Isolation.DEFAULT) public HandsetManufacturer createHandsetManufacturer( …
Harshil
  • 243
  • 2
  • 7
  • 19
0
votes
1 answer

Data from DB are not up to date (EJB 3.1, HibernatePersistence)

Technologies: EJB 3.1, JSF, JBoss 7.1.1 There is the project with working CRUD. Problem: In one browser the table with list of entities is opened. In another is too. Each table are up to date. One entity is edited and persist. In DB we can see…
Olga
  • 3,705
  • 1
  • 20
  • 23
0
votes
2 answers

EJB 3.0 -> Spring -> JPA (JTA as transaction manager)

I am currently working on a project that includes EJB 3.0 (stateless SB), JPA (Hibernate as the provider), JTA as transaction manager. The app server is JBoss AS 7. Spring is used for integrating EJB and JPA. All seems to be working fine, except if…
kaps
  • 81
  • 2
  • 9
0
votes
2 answers

jta and non jta in pe

If I mention both jta and non-jta datasource in persistence.xml, how will the provider identify what and when to use? Is there a way to enforce usage of non-jta datasource in certain scenario? I am using IBM supported OpenJPA. Some providers allow…
ad-inf
  • 1,520
  • 4
  • 30
  • 53
0
votes
1 answer

JTA Transaction with weblogic doesn't work as expected

My application has locked the database table because JTA haven`t complete your operation with the commands of rollback or commit. The application is running over weblogic 10.3 in cluster with two managed servers. The method with access on database…
jux
  • 79
  • 11
0
votes
2 answers

JBoss application cannot make XA connection to Oracle 11g

I've been working on several JBoss applications where I have everything running on my laptop (Windows XP) including an Oracle database (11g Enterprise Edition). Everything works fine on the laptop. Now I'm setting up a new, faster machine (running…
Dr. Mike Hopper
  • 802
  • 1
  • 8
  • 19
0
votes
1 answer

BTM as the transaction manager in Tomcat 7?

Is there any documentation for configuring Bitronix Transaction Manager (BTM) in Tomcat 7? Is BTM even compatible with Tomcat 7? I found documentation for How to use BTM as the transaction manager in Tomcat 6.x but I haven't found anything for…
Justin
  • 6,031
  • 11
  • 48
  • 82
0
votes
1 answer

Mapping extended entities with multiple ID's in Hibernate

I have implemented a db which is consisted of Article and Fruit tables, with the following specifications: create table Fruit ( ART_ID bigint, FRU_ID bigint not null auto_increment, FRU_FROZEN varchar(15), primary…
1 2 3
75
76