[JBoss-user] transaction exception

2004-07-13 Thread Ittay Dror
sometimes, we get this exception. we're using jboss 3.2.0 i'd be happy to provide additional details if needed. if this is a known bug in 3.2.0, is there a workaround (we can't upgrade now) thanx, ittay 2004-07-13 14:29:27,805 WARN [org.jboss.tm.TransactionImpl] (HttpProcessor[80][2]:) XAExce

[JBoss-user] Transaction error - Please help

2003-11-29 Thread Sasidharan, Manoj
Hello All, When running our J2EE application, the following exception gets generated. Could you please help me understand the problem. Some information: - The Stateless Session Bean uses both XA and Non-XA datasources - Non-XA datasource is declared using no-tx-datasource - Database is Oracle 8.1

[JBoss-user] Transaction ...

2003-09-09 Thread Rafal Kedziorski
hi, a short question about transactions. Is's good idea to set transactions for all get*() methods to Never i.e.: /** * Gets the permission_id attribute of the Acl_EntryBean object * * @return The permission_id value * * @ejb.persistence * column-name="per

[JBoss-user] transaction timeout problems

2003-08-14 Thread Raghuram
hi, I am using jboss 3.2.1 with jetty. When I am trying to create a CMP Entity Bean, the transaction is timing out. My method call is somewhat like this - public void createA(HashMap aHash){ Set keySet=aHash.keySet(); Iterator ite=keySet.iterator(); while(ite.hasNext()){ Integer id=(Integer)ite.ne

Re: [JBoss-user] transaction within a transaction

2003-07-31 Thread Alexey Loubyansky
Hello Ittay, you have to understand how finders work. First, finders always executed against the datastore. Second, by default, when finder is executed, synchronization occurs. It means cached in the tx entities are flashed to the datastore before the finder is executed. For example, you have a fi

[JBoss-user] transaction within a transaction

2003-07-30 Thread Ittay Dror
Hello, I have a bean A (CMP+CMT) with a finder that returns all beans whose foo property is not null. name it findAllFooNotNull(). I want to write a method that works in two stages: 1. it selects some beans and nullifies their foo property 2. it uses findAllFooNotNull() and works with the collect

Re: [JBoss-user] Transaction timeout

2003-07-28 Thread Brian Wallis
On Tue, 29 Jul 2003 01:15, Rafal Kedziorski wrote: > how can I increase a transaction timeout for a session bean and entity > bean? From a previous answer to this question: > From: "Barlow, Dustin" <[EMAIL PROTECTED]> >> In 3.2.1, in /server//deploy/transaction-service.xml >> you will find th

[JBoss-user] Transaction timeout

2003-07-28 Thread Rafal Kedziorski
hi, how can I increase a transaction timeout for a session bean and entity bean? regards, Rafal --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Downl

[JBoss-user] Transaction timed out?

2003-07-22 Thread Magesh Prabhu
Hi Guys, I'm developing a middleware using Jboss3.2.1 and Quartz scheduler. Things work fine under normal load. But under heavy load, dead lock happens and when I try to shutdown after deadlock occounrance, it does not shutdown properly. I have to kill the process explicitly. I see the following

Re: [JBoss-user] Transaction Isolation levels

2003-07-16 Thread Scott M Stark
Yes it is using the ManagedConnectionFactoryProperties config-property: TRANSACTION_READ_COMMITTED See the jboss-3.0.7/docs/examples/jca/oracle-xa-service.xml for example. -- Scott Stark Chief Technology Officer JBoss Group, LLC Michael Sta

RE: [JBoss-user] Transaction Isolation levels

2003-07-16 Thread Michael Stanley
: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Transaction Isolation levels   in jboss 3.2 you can only configure data connection isolation levels.   In your blah-ds.xml data connection pool config file add:   TRANSACTION_SERIALIZABLE | TRANSACTION_READ_COMMITTED | etc

RE: [JBoss-user] Transaction Isolation levels

2003-07-16 Thread Michael Stanley
: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Transaction Isolation levels   in jboss 3.2 you can only configure data connection isolation levels.   In your blah-ds.xml data connection pool config file add:   TRANSACTION_SERIALIZABLE | TRANSACTION_READ_COMMITTED | etc

RE: [JBoss-user] Transaction Isolation levels

2003-07-16 Thread Bill Burke
Behalf Of Michael StanleySent: Wednesday, July 16, 2003 10:56 AMTo: 'JBoss Users (E-mail)'Subject: [JBoss-user] Transaction Isolation levels Where can I configure default transaction isolation levels?   - Mike

[JBoss-user] Transaction Isolation levels

2003-07-16 Thread Michael Stanley
Where can I configure default transaction isolation levels?   - Mike

Re: [JBoss-user] Transaction problems

2003-06-05 Thread Janardhan Burugupalli
16:39:29,887 WARN [TransactionImpl] Transaction TransactionImpl:XidImpl [FormatId=257, GlobalId=entwicklung2//9, BranchQual=] timed out. status=STATUS_ACTIVE i get the above warning and in the Jboss and the client is hanging ..can any one help me with this . i already made all the getter

RE: [JBoss-user] transaction dosn't roll back ...

2003-05-30 Thread Rafal Kedziorski
hi, we found our misstake too. thanks for fast response. Best Regards, Rafal At 11:45 30.05.2003 +0100, Adrian Brock wrote: Hi, A normal exception doesn't automatically rollback the transaction. Only Errors, RuntimeExceptions and RemoteExceptions are handled by the server. You request a rollback

RE: [JBoss-user] transaction dosn't roll back ...

2003-05-30 Thread Adrian Brock
Brock Director of Support Back Office JBoss Group, LLC > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Rafal Kedziorski > Sent: 30 May 2003 10:43 > To: [EMAIL PROTECTED] > Subject: [JBoss-user] transa

[JBoss-user] transaction dosn't roll back ...

2003-05-30 Thread Rafal Kedziorski
Hi, we have some problem with TransactionRollBack in our application. We have TransferFacade session bean which will be called from a servlet: try { Long ownUserID = getUserId(); Long mandantID = getMandantId(); projectMD = transferFacadeHome.create().importArchive(ownUserID, mandantID

Re[2]: [JBoss-user] transaction restarts + log4j

2003-03-31 Thread costin
: Saturday, March 29, 2003 2:53 AM SMS> Subject: [JBoss-user] transaction restarts + log4j >> >> And now a problem regarding log4j: I have configured the log4j for >> my application but I see that the log4j.xml still uses >> category/priority tags which as I see fro

Re: [JBoss-user] Transaction differences in weblogic and jboss

2003-03-31 Thread Jon Haugsand
* Manoj Sasidharan > Are you running on WLS 7.x??? We found some differences b/w WLS 6.x and WLS > 7.x in the transaction feature. We use Weblogic 7.0. -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --- This SF.net email is s

Re: [JBoss-user] transaction restarts + log4j

2003-03-29 Thread Scott M Stark
> To: <[EMAIL PROTECTED]> Sent: Saturday, March 29, 2003 2:53 AM Subject: [JBoss-user] transaction restarts + log4j > > And now a problem regarding log4j: I have configured the log4j for > my application but I see that the log4j.xml still uses > category/priority tags which as

[JBoss-user] transaction restarts + log4j

2003-03-29 Thread costin
Hi! I am developing a small jsp/servlet combo using UserTransaction. My JBoss is 3.0.6. However loading the jsp from the browser messes the transaction module...: HTTP ERROR: 500 Find failed: org.jboss.util.NestedSQLException: Could not enlist in transaction on entering meta-aware o

RE: [JBoss-user] Transaction differences in weblogic and jboss

2003-03-27 Thread Sasidharan, Manoj
Are you running on WLS 7.x??? We found some differences b/w WLS 6.x and WLS 7.x in the transaction feature. MS -Original Message- From: Jon Haugsand [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 5:24 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Transaction differences in

Re: [JBoss-user] Transaction differences in weblogic and jboss

2003-03-27 Thread Adrian Brock
From: Jon Haugsand <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: [JBoss-user] Transaction differences in weblogic and jboss Date: 27 Mar 2003 14:23:55 +0100 I think I have discovered a difference between jboss and weblogic concerning transactions

[JBoss-user] Transaction differences in weblogic and jboss

2003-03-27 Thread Jon Haugsand
I think I have discovered a difference between jboss and weblogic concerning transactions and this is (currently) a bit troublesome for us. Given the following metacode: Start transaction a = findBeanInstance(p); a.getValue(); Start transaction a.setValue(newValue); End transac

[JBoss-user] transaction locking accessing cmr-fields?

2003-02-27 Thread jens . hohmuth
Hi. I'm using a many to one relationship between BeanA and BeanB. I've defined a "beanB" in the element for BeanA in the . This works without any problems. I can access BeanB with code like: BeanB beanB = beanA.getBeanB(); Everything is fine. But when we have many parallel requests accessing

Re: [JBoss-user] transaction setup question

2003-02-21 Thread Lawrence Mount
Runtime exceptions cause transactions to role back. Checked exceptions do not. Lawrence Justin Casp wrote: > Hello, > I'm hoping somebody out there can give me a hint on how to set up transaction > attributes for session beans that behave in the following manner. > > ImportantBean has a method, 'd

[JBoss-user] transaction setup question

2003-02-20 Thread Justin Casp
Hello, I'm hoping somebody out there can give me a hint on how to set up transaction attributes for session beans that behave in the following manner. ImportantBean has a method, 'doImportantWork' which throws MajorException UnimportantBean has a method 'doUnimportantWork' which throws TrivialExc

Re: [JBoss-user] Transaction attributes

2003-02-11 Thread Lennart Petersson
as far as i know i don't think it is mentioned in the spec which one to be default. /L tisdagen den 11 februari 2003 kl 16.20 skrev Jon Haugsand: * Lennart Petersson I think it is TX_REQUIRED by default. Thanks to you and Alex. (Amazing how fast one gets answers.) Is this JBoss-spesifics a

Re: [JBoss-user] Transaction attributes

2003-02-11 Thread Jon Haugsand
* Lennart Petersson > I think it is TX_REQUIRED by default. Thanks to you and Alex. (Amazing how fast one gets answers.) Is this JBoss-spesifics a part of Sun's ejb spec? -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --- T

Re: [JBoss-user] Transaction attributes

2003-02-11 Thread Lennart Petersson
I think it is TX_REQUIRED by default. /L tisdagen den 11 februari 2003 kl 14.32 skrev Jon Haugsand: In ejb-jar.xml one can (and should) define the applications transaction policy. This is typically done in two levels, per bean and per finder methods, is it? Anyway, what happens if you _don't_

Re: [JBoss-user] Transaction attributes

2003-02-11 Thread Alex Loubyansky
Required. alex Tuesday, February 11, 2003, 3:32:33 PM, you wrote: JH> In ejb-jar.xml one can (and should) define the applications JH> transaction policy. This is typically done in two levels, per bean JH> and per finder methods, is it? JH> Anyway, what happens if you _don't_ give any specifics?

[JBoss-user] Transaction attributes

2003-02-11 Thread Jon Haugsand
In ejb-jar.xml one can (and should) define the applications transaction policy. This is typically done in two levels, per bean and per finder methods, is it? Anyway, what happens if you _don't_ give any specifics? I.e. what is the default behaviour? Is it "supported"? -- Jon Haugsand, [EMAIL

[JBoss-user] Transaction timed out

2003-01-16 Thread Igor Semenko
Does any body know why I periodically see this in my logs? [org.jboss.tm.TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=localhost.localdomain//23606, BranchQual=] timed out. status=STATUS_ACTIVE I monitor POP3 mail box each 5 seconds, to do so I perform: ... session = (Se

Re: [JBoss-user] Transaction not saving entity bean changes (SimpleTest Code included)

2003-01-08 Thread Kris
David, I've put together a simple test program which shows the behavior I described in the initial posting for this thread. I've attached the source code, Junit test. and ANT script as a jar file. When you run the test with 'no' transaction the test succeed. If you run with transaction require

Re: [JBoss-user] Transaction not saving entity bean changes

2003-01-06 Thread David Jencks
On 2003.01.06 05:53:21 -0500 [EMAIL PROTECTED] wrote: > On Sun, Jan 05, 2003 at 11:32:05PM -0500, David Jencks wrote: > > inside the jboss vm, if you start a user transaction or container > managed > > transaction, any connection obtained in the same thread is enrolled in > the > > transaction. >

Re: [JBoss-user] Transaction not saving entity bean changes

2003-01-06 Thread marius
On Sun, Jan 05, 2003 at 11:32:05PM -0500, David Jencks wrote: > inside the jboss vm, if you start a user transaction or container managed > transaction, any connection obtained in the same thread is enrolled in the > transaction. I suppose it become more complicated in my case. I have one method i

Re: [JBoss-user] Transaction not saving entity bean changes

2003-01-05 Thread David Jencks
inside the jboss vm, if you start a user transaction or container managed transaction, any connection obtained in the same thread is enrolled in the transaction. This assumes the connection is of a type that supports jta transactions: for jdbc, this means you didn't set up a NoTxConnectionManager.

Re: Re: [JBoss-user] Transaction not saving entity bean changes

2003-01-05 Thread Kris
I do not have any SQL statement, i.e. bean transactions and/or persistency are all managed by the Container (CMP). Therefor I would expect that upon the updateShippedQuantities remote method call returning, the transaction would had been committed and persisted. But since you mentionned it, the

Re: [JBoss-user] Transaction not saving entity bean changes

2003-01-05 Thread marius
You are not using pure SQL somewhere in this part? Cause if you do, this code run in another transaction than the CMP-code and thus don't see the changes of the CMP before that transaction is commited. For me this resulted in the junit test failing, and I had to commit the usertransaction inside

RE: [JBoss-user] Transaction not saving entity bean changes

2003-01-05 Thread Rajeshwar Rao V
Kris [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 05, 2003 12:39 PM To: JBoss User List Group Subject: [JBoss-user] Transaction not saving entity bean changes Hi, any help with this one would be appreciated. ** Environment: - Plain out-of-the-box jboss-3.0.4_tomcat-4.1.12 - Window NT

[JBoss-user] Transaction not saving entity bean changes

2003-01-04 Thread Kris
Hi, any help with this one would be appreciated. ** Environment: - Plain out-of-the-box jboss-3.0.4_tomcat-4.1.12 - Window NT, 4.0, patch-level 5 ** Scenario: - A stateless session bean method, i.e. updateShippedQuantities, loops on an entity bean method call, i.e. updateShippedQuantity,

RE: [JBoss-user] TRANSACTION ISOLATION and ORACLE

2002-12-21 Thread saroj kumar
inal Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]] On Behalf Of >[EMAIL PROTECTED] >Sent: Saturday, December 21, 2002 1:35 AM >To: [EMAIL PROTECTED] >Subject: RE: [JBoss-user] TRANSACTION ISOLATION and ORACLE > > > >Hi Saroi, > >not exactly

RE: [JBoss-user] TRANSACTION ISOLATION and ORACLE

2002-12-20 Thread MSedliak
lt;[EMAIL PROTECTED]> Sent by:cc: (bcc: Marek Sedliak/BYS/SOFTIP) [EMAIL PROTECTED]Subject: RE: [JBoss-user] TRANSACTIO

RE: [JBoss-user] TRANSACTION ISOLATION and ORACLE

2002-12-20 Thread saroj kumar
Hi Marek, >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]] On Behalf Of >[EMAIL PROTECTED] >Sent: Friday, December 20, 2002 10:13 PM >To: [EMAIL PROTECTED] >Subject: RE: [JBoss-user] TRANSACTION ISOLATION and ORACLE > > > >Thank

RE: [JBoss-user] TRANSACTION ISOLATION and ORACLE

2002-12-20 Thread MSedliak
Sent by:cc: (bcc: Marek Sedliak/BYS/SOFTIP) [EMAIL PROTECTED] Subject: RE: [JBoss-user] TRANSACTION ISOLATION and ORACLE

RE: [JBoss-user] TRANSACTION ISOLATION and ORACLE

2002-12-20 Thread saroj kumar
Replies inline >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]] On Behalf Of >[EMAIL PROTECTED] >Sent: Friday, December 20, 2002 7:49 PM >To: [EMAIL PROTECTED] >Subject: RE: [JBoss-user] TRANSACTION ISOLATION and ORACLE > > > &g

RE: [JBoss-user] TRANSACTION ISOLATION and ORACLE

2002-12-20 Thread MSedliak
[EMAIL PROTECTED] Subject: RE: [JBoss-user] TRANSACTION ISOLATION and ORACLE

Re: [JBoss-user] TRANSACTION ISOLATION and ORACLE

2002-12-20 Thread MSedliak
vid Jencks cc: (bcc: Marek Sedliak/BYS/SOFTIP) Sent by:Subject: Re: [JBoss-user] TRANSACTION ISOLATION and ORACLE [EMAIL

[JBoss-user] Transaction marked for rollback, possibly a timeout...

2002-12-20 Thread Petropoulos Vasilis ([EMAIL PROTECTED])
Hi all, i'm using JBOSS 3.0.2 + Tomcat. I want to display to one jsp, a large number of database rows (represented by entity bean) . When calling findAll() and start iterating through records JBOSS console after a while reports:   13:28:00,763 WARN [TxCapsule] Transaction XidImpl [FormatId

Re: [JBoss-user] TRANSACTION ISOLATION and ORACLE

2002-12-20 Thread David Jencks
by default jboss doesn't set the tx isolation level. You can only set it in the datasource configuration, not per bean/method. You can use names or numbers for *-service.xml READ_COMMITTED for ds.xml READ_COMMITTED david jencks On 2002.12.20 07:16:51 -0500 [EMAIL PROTECTED] wrote: > > > Hi

RE: [JBoss-user] TRANSACTION ISOLATION and ORACLE

2002-12-20 Thread saroj kumar
jboss.jca:service=RARDeployme nt,name=JBoss LocalTransaction JDBC Wrapper >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]] On Behalf Of >[EMAIL PROTECTED] >Sent: Friday, December 20, 2002 5:47 PM >To: [EMAIL PROTECTED] >

[JBoss-user] TRANSACTION ISOLATION and ORACLE

2002-12-20 Thread MSedliak
Hi All. I have already searched the forum but haven't found any answer. Please, I would appreciate any suggestions. I have the following problem : I've got two session beans. The first one has a method with Required transaction attribute and the second one has a method with RequiresNew transact

Re: [JBoss-user] Transaction exception, possible timing problems?

2002-11-04 Thread Langelage, Frank
Jon Haugsand wrote: When running a quite big transaction which takes around 5 minutes or more, the following exception emerges. Rerunning the transaction, it fails on different places. Are there any timout settings we have forgotten? [Snipped] The default transaction-timeout is 300 sec, def

[JBoss-user] Transaction exception, possible timing problems?

2002-11-04 Thread Jon Haugsand
When running a quite big transaction which takes around 5 minutes or more, the following exception emerges. Rerunning the transaction, it fails on different places. Are there any timout settings we have forgotten? cocte1@banklab7:~/nb/nb2/src/build> ant statusfil Buildfile: build.xml statusfi

Re: [JBoss-user] transaction question

2002-11-01 Thread David Jencks
I suspect you are using a version that only warns you the first time it notices. I'd advise you to use the same datasource for all ejbs unless you are really accessing different databases or one datasource is used only for "read-only". Otherwise you can possibly have work in one datasource commit

RE: [JBoss-user] transaction question

2002-11-01 Thread MNewcomb
DS> Was this checked before or after my massive check in DS> yesterday? I know you wrote the 29th, but I want to DS> be sure as I messed with most of the interceptors. 10/29/2002 around 2pm EST. Michael --- This sf.net email is sponsored by:

RE: [JBoss-user] transaction question

2002-11-01 Thread MNewcomb
DJ> This is pretty strange. You should be getting this DJ> consistently (if you are really using 2 resource managers DJ> in one transaction, one of them being only local tx DJ> capable) or never (if there is only one, for instance your DJ> only datasource). I didn't think to mention my datasourc

Re: [JBoss-user] transaction question

2002-10-31 Thread David Jencks
I've been wrong before, but this should have nothing to do with the interceptors. It should depend only on the tm and the XAResource isSameRM() implementation. david jencks On 2002.10.31 17:46:51 -0500 Dain Sundstrom wrote: > Was this checked before or after my massive check in yesterday? I kno

Re: [JBoss-user] transaction question

2002-10-31 Thread David Jencks
This is pretty strange. You should be getting this consistently (if you are really using 2 resource managers in one transaction, one of them being only local tx capable) or never (if there is only one, for instance your only datasource). If you can pin down anything else about how to make this ha

Re: [JBoss-user] transaction question

2002-10-31 Thread Dain Sundstrom
Was this checked before or after my massive check in yesterday? I know you wrote the 29th, but I want to be sure as I messed with most of the interceptors. -dain David Jencks wrote: This is pretty strange. You should be getting this consistently (if you are really using 2 resource managers in

[JBoss-user] transaction question

2002-10-31 Thread MNewcomb
JDK 1.4.1 JBoss HEAD 10/29/2002 I have a session bean (A) in one EJB JAR that calls another session bean (B) in another EJB JAR which calls another session bean (C) in another EJB JAR. I get these warning when A calls B, then when B calls C (2 warnings). It happens intermittently but when it occu

Re: [JBoss-user] Transaction Isolation Level

2002-10-26 Thread Glenn Lewis
Mokas Vassilis ([EMAIL PROTECTED]) wrote: Hi. I have succesfully connect to my Oracle DB through the appropriate oracle-service.xml file in /deploy folder. Is there any way to configure the Transaction Isolation Level of my JDBC driver to be TRANSACTION_SERIALIZABLE ? I think you should be

[JBoss-user] Transaction Isolation Level

2002-10-25 Thread Mokas Vassilis ([EMAIL PROTECTED])
Hi. I have succesfully connect to my Oracle DB through the appropriate oracle-service.xml file in /deploy folder. Is there any way to configure the Transaction Isolation Level of my JDBC driver to be TRANSACTION_SERIALIZABLE ? Vassilis ---

RE: [JBoss-user] Transaction and connection problems in JBoss 3.0.3

2002-10-17 Thread Camus Chan
creation exception, both either throwing EJBException or setRollbackOnly() is working BTW, any idea for question 1 (i.e. connection keeps increasing). Camus > - Original Message - > From: "Camus Chan" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent

RE: [JBoss-user] Transaction and connection problems in JBoss 3.0.3

2002-10-15 Thread Camus Chan
on Miranda Sent: Tuesday, October 15, 2002 9:03 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Transaction and connection problems in JBoss 3.0.3 About item 2, it could be that the exception raised by the method does not set the transaction to rollback. In EJB 2.0 spec (Chapter 18), a transa

RE: [JBoss-user] Transaction and connection problems in JBoss 3.0.3

2002-10-15 Thread JohnsBrn
> >2. I cannot write any workable transaction sample. The scenario is that: >I have a (stateless) session bean which looks up two CMP beans, each of the >CMP beans insert a record (into two different tables). However, I notice >that whatever the result of the 2nd insert (e.g. Oracle raises errors

Re: [JBoss-user] Transaction and connection problems in JBoss 3.0.3

2002-10-15 Thread Robson Miranda
rollback. Robson. - Original Message - From: "Camus Chan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 15, 2002 6:32 AM Subject: [JBoss-user] Transaction and connection problems in JBoss 3.0.3 > Hi, > > I have a couple of problems whe

[JBoss-user] Transaction and connection problems in JBoss 3.0.3

2002-10-15 Thread Camus Chan
Hi, I have a couple of problems when running JBoss 3.0.3 (actually starting from JBoss 3.0.0) for a long time. Please give some hints, directions: System Information: OS: Solaris 2.7 JBoss: 3.0.3 Tomcat: 4.1.12 Database: Oracle8i JDK: 1.3 / 1.4 >>> JBoss and Tomcat are started successfully and t

Re: [JBoss-user] Transaction RollBack -- Jboss 3.0

2002-09-12 Thread David Jencks
Figuring this out would require knowing in detail how Castor does locking. You may be more likely to get someone willing to figure this out on the Castor lists. thanks david jencks On 2002.09.12 02:11:57 -0400 Arijit Ghosh wrote: > I am getting the following Transaction RollBack Exception. Pl

[JBoss-user] Transaction RollBack -- Jboss 3.0

2002-09-11 Thread Arijit Ghosh
I am getting the following Transaction RollBack Exception. Please help. 2002-09-12 11:24:02,030 ERROR [org.jboss.jdo.castor.CastorJDOImpl] Exception java.lang.IllegalStateException: Transaction org.exolab.castor.jdo.engine.TransactionContextImpl@26b16f does not hold the read lock: com.softex.ites

[JBoss-user] Transaction timeout setting not honored

2002-08-27 Thread Demyanovich, Craig - Apogent
I'm using JBoss 2.4.8 with Tyrex as the TM. In the Tyrex domain.xml file, I set the timeout to 360 seconds (6 minutes). In code, I set the transaction timeout to 600 seconds (10 minutes). After 120 seconds (2 minutes), the default timeout for Tyrex (http://tyrex.exolab.org/configuration.html),

Re: [JBoss-user] Transaction Serialization issue

2002-08-26 Thread David Jencks
Well, if you are trying to propagate transactions between jboss instances you should be using tyrex. The jboss tx manager won't do that, although I am working on it via the jca 1.5 transaction import contracts. (tx import is working, but I haven't thought about how to export an xid with the invo

Re: [JBoss-user] Transaction Serialization issue

2002-08-26 Thread Brian Towles
Nevermind I forgot about Tyrex Knew I was doing something stupid. -=Brian On Tue, 2002-08-27 at 00:00, Brian Towles wrote: > Howdy all > > I have been trying to implement some cross server EJB calling between > two Jboss instances (3.0.1) and hit some MarshalExceptions caused by > Not

[JBoss-user] Transaction Serialization issue

2002-08-26 Thread Brian Towles
Howdy all I have been trying to implement some cross server EJB calling between two Jboss instances (3.0.1) and hit some MarshalExceptions caused by Not Serializable TransactionImpl, TxCapsule and TimeoutFactory$TimeoutImpl so far. I thought at first it was just missing a Serializable interf

[JBoss-user] Transaction Rollback Exception JBoss 3.0

2002-08-17 Thread Arijit Ghosh
Hi, I am using Struts Framework --> Jboss 3.0 (Stateless Session Bean) --> Castor JDO. I am getting the following error whenever I am recompiling my code and deploying to the server. Error persists even after restarting the server once or twice. After multiple restarts, the error goes away. Any

Re: [JBoss-user] Transaction Rollback Exception

2002-08-13 Thread David Jencks
There were some duplicate classloader problems that caused errors like this. I think they are fixed in released 3.0.1 and all cvs branches. david jencks On 2002.08.13 07:35:13 -0400 Arijit Ghosh wrote: > Hi, > > I'm using Jboss 3.0 with JDO. The problem arises when i try to > update an

[JBoss-user] Transaction Rollback Exception

2002-08-13 Thread Arijit Ghosh
Hi, I'm using Jboss 3.0 with JDO. The problem arises when i try to update an object already in the database. Consider an object CLIENT. The sequence of steps involved are 1) Displaying the list of clients. (Transaction -1) 2) Loading the details of the selected client. (Transaction -2) 3

Re: [JBoss-user] transaction and pooling problems with MQSeries

2002-08-09 Thread David Jencks
There's a bug somewhere here, perhaps you could file a report. You will stress the jca machinery less if you get the connection after the tx has started and close the connection before the tx commits. I think someone did get MQSeries to work, look in the messaging forum. david jencks On 2002.0

RE: [JBoss-user] transaction and pooling problems with MQSeries

2002-08-09 Thread Geer, Benjamin
Replying to myself: I've got this working now. > Having committed a UserTransaction, if I then begin a new > UserTransaction in the same thread, using the same JMS objects > (QueueSession, etc.), MQSeries complains It seems that a new QueueSession must be created for each transaction. Starting

Re: [JBoss-user] Transaction problem

2002-07-29 Thread Burkhard Vogel
;[EMAIL PROTECTED]> Sent: Friday, July 12, 2002 3:24 AM Subject: [JBoss-user] Transaction problem Hi, The scenario is like this. 1. Jsp will call session bean(Manager) to insert number of records. 2. The session bean(Manager) starts the transaction. And calls the Entity bean/s in loop. 3. The Sessi

Re: [JBoss-user] transaction configuration for performance

2002-07-18 Thread Justin Casp
Thanks for your speedy reply, Dain. I set the transaction attributes of my Session Bean methods to RequiresNew. These methods in turn call the entity finder & abstract accessors. I'm assuming this is what you meant by wrapping my code in a single transaction. I've followed the examples in th

Re: [JBoss-user] transaction configuration for performance

2002-07-18 Thread Dain Sundstrom
You need to wrap your code up in a single transaction. You can use the UserTransaction code given at the end of the chapter, or you can put your code in a Session Bean. The tx attributes are set in the ejb-jar.xml file. If you don't declare tx attributes, the default is Required. Tx attri

[JBoss-user] transaction configuration for performance

2002-07-18 Thread Justin Casp
Hi List, In reading the latest JBossCMP docs, I found a note in the Transactions section of the Optimized Loading chapter that mentions the exact problem I'm having. quote (footnote 21) "It's actually worse than this. JBossCMP executes each of these queries three times; once for each cmp-field

[JBoss-user] Transaction problem

2002-07-12 Thread makapur
Hi,   The scenario is like this.   1. Jsp will call session bean(Manager) to insert number of records. 2. The session bean(Manager) starts the transaction. And calls the Entity bean/s in loop. 3. The Session bean(Manager)commits the transaction.   I have packaged session bean and all entity b

RE: [JBoss-user] transaction rollback

2002-07-10 Thread JD Brennan
Title: RE: [JBoss-user] transaction rollback     getSessionContext().setRollbackOnly(); -Original Message- From: Ionel Gardais [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 10, 2002 12:54 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] transaction rollback Hi, I

[JBoss-user] transaction rollback

2002-07-10 Thread Ionel Gardais
Hi, I didn't notice this before I read the JBoss3.0QuickStart guide but I've specified a "Required" trans attribute to my beans. For example, my transaction atomicity is to update the database and to send a JMS message to the client to notify the update. If any of these operations fail, I'd like

RE: [JBoss-user] transaction timed out

2002-06-26 Thread David Russell
: Wednesday, June 26, 2002 11:13 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] transaction timed out If you insert that many beans in one tx, it might timeout. You could use more tx or increase the tx timeout. david jencks On 2002.06.26 10:25:29 -0400 Eric Kaplan wrote: > I got the foll

RE: [JBoss-user] transaction timed out

2002-06-26 Thread Eric Kaplan
al Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of David Jencks Sent: Wednesday, June 26, 2002 11:13 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] transaction timed out If you insert that many beans in one tx, it might timeout. You could use more tx or increase the

RE: [JBoss-user] transaction timed out

2002-06-26 Thread Eric Kaplan
I think they are all RequiresNew, but I'll check, thanks eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of David Jencks Sent: Wednesday, June 26, 2002 11:13 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] transaction timed out If you insert

Re: [JBoss-user] transaction timed out

2002-06-26 Thread David Jencks
If you insert that many beans in one tx, it might timeout. You could use more tx or increase the tx timeout. david jencks On 2002.06.26 10:25:29 -0400 Eric Kaplan wrote: > I got the following: > > [WARN] [TxCapsule] Transaction XidImpl [FormatId=257, > GlobalId=ARMANTAC2//1, > BranchQual=] ti

RE: [JBoss-user] transaction timed out

2002-06-26 Thread Rajeshwar Rao V
It may be because of Deadlock...if ur using Jboss2.4.4 Regards, Rajeshwar Rao. > -Original Message- > From: Eric Kaplan [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 26, 2002 7:55 PM > To: Jboss-User > Subject: [JBoss-user] transaction timed out

[JBoss-user] transaction timed out

2002-06-26 Thread Eric Kaplan
I got the following: [WARN] [TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=ARMANTAC2//1, BranchQual=] timed out. status=STATUS_ACTIVE This was in the midst of creating about 11000 beans, I got this one error. Can anyone tell me what I should investigate? Thanks Eric Kaplan Armanta, In

Re: [JBoss-user] Transaction object is null in JDBCStoreManager

2002-06-24 Thread Dain Sundstrom
JBossCMP will only work with a transaction. Are you trying to run cmp code without a transaction? -- Dain Sundstrom Chief Architect JBossCMP JBoss Group, LLC Julien Viet wrote: > Hi, > > I have a NullPointerException in JDBCStoreManager > bec

[JBoss-user] Transaction object is null in JDBCStoreManager

2002-06-22 Thread Julien Viet
Hi,   I have a NullPointerException in JDBCStoreManager because of a null transaction returned by the transaction manager   line 213 of JDBCStoreManager : int status = tx.getStatus(); here tx object is null   I am using jboss Branch_3_0.   any ideas ?  

Re: [JBoss-user] Transaction Isolation Level

2002-06-20 Thread marius
But what is the default transaction type (required, supports etc) on a method that has nothing specified? Is this J2EE or jboss-spesific? Marius K boostcom.no On Thu, Jun 20, 2002 at 01:24:54PM -0400, David Jencks wrote: > The default isolation level is whatever Oracle sets as the default > iso

Re: [JBoss-user] Transaction Isolation Level

2002-06-20 Thread David Jencks
The default isolation level is whatever Oracle sets as the default isolation level. I don't know what it is. You need to make the ManagedConnectionFactoryProperties more like this: TRANSACTION_READ_COMMITTED jdbc:oracle:thin:@youroraclehost:1521:yours

Re: [JBoss-user] Transaction Isolation Level

2002-06-20 Thread Alice Ad
 Thanks a lot, David. I'm still not sure what to do: Do I write in my "mydb-service.xml" a line like this? TRANSACTION_READ_COMMITTED Is there a DTD for oracle-service.xml? How do I know what tags to write? Secondly, what is the default isolation level, i.e., if you don't specify any isolation le

[JBoss-user] 'Transaction marked for rollback, possibly a timeout' problem

2002-06-14 Thread Panagiotis Korros
I have 2 stateless session beans called ClassInfoBean and TreeInfoBean and several cmp entity bean. Both ClassInfoBean and TreeInfoBean calle NodeClassBean. Specifically NodeClassBean calls the findByPrimaryKey method and the getNodeClass method to get the beans value object. ClassInfoBean calls t

[JBoss-user] Transaction Error

2002-06-12 Thread Tejeshwar
    Hi   I am running JBOSS on windows 2000 with MS SQL Server as Database, when i tried to insert 1 records through CMP  Bean(sample Example) it's inserting, but when i tried to search are delete the records by calling the methods written in Bean. It;s giving the folllowing Error when

  1   2   >