JMS (Streams AQ) with atomikos causing serious log spam

Support and Announcements for the LDS Tech Java Web Application Platform (setup, configuration, bugs, feedback).
gregaryh
New Member
Posts: 2
Joined: Wed Jan 05, 2011 10:28 am

JMS (Streams AQ) with atomikos causing serious log spam

Postby gregaryh » Mon Oct 31, 2011 11:00 am

I have a new stack 3.1 project started with the stack starter. I am utilizing JMS in my application and have set it up appropriately. However, as it runs, the logs are filling up with thousands of lines like these:

Code: Select all

[11/10/31 11:52:33:221] 0000000c I atomikos: commit() done (by application) of transaction 127.0.0.2.tm0002500527
[11/10/31 11:52:33:224] 0000000c I atomikos: createCompositeTransaction ( 120000 ): created new ROOT transaction with id 127.0.0.2.tm0002600527
[11/10/31 11:52:34:242] 0000000c I atomikos: commit() done (by application) of transaction 127.0.0.2.tm0002600527
[11/10/31 11:52:34:245] 0000000c I atomikos: createCompositeTransaction ( 120000 ): created new ROOT transaction with id 127.0.0.2.tm0002700527
[11/10/31 11:52:35:263] 0000000c I atomikos: commit() done (by application) of transaction 127.0.0.2.tm0002700527
[11/10/31 11:52:35:266] 0000000c I atomikos: createCompositeTransaction ( 120000 ): created new ROOT transaction with id 127.0.0.2.tm0002800527
[11/10/31 11:52:36:285] 0000000c I atomikos: commit() done (by application) of transaction 127.0.0.2.tm0002800527
[11/10/31 11:52:36:287] 0000000c I atomikos: createCompositeTransaction ( 120000 ): created new ROOT transaction with id 127.0.0.2.tm0002900527
[11/10/31 11:52:37:312] 0000000c I atomikos: commit() done (by application) of transaction 127.0.0.2.tm0002900527
[11/10/31 11:52:37:315] 0000000c I atomikos: createCompositeTransaction ( 120000 ): created new ROOT transaction with id 127.0.0.2.tm0003000527
[11/10/31 11:52:38:332] 0000000c I atomikos: commit() done (by application) of transaction 127.0.0.2.tm0003000527
[11/10/31 11:52:38:335] 0000000c I atomikos: createCompositeTransaction ( 120000 ): created new ROOT transaction with id 127.0.0.2.tm0003100527
[11/10/31 11:52:39:353] 0000000c I atomikos: commit() done (by application) of transaction 127.0.0.2.tm0003100527
[11/10/31 11:52:39:355] 0000000c I atomikos: createCompositeTransaction ( 120000 ): created new ROOT transaction with id 127.0.0.2.tm0003200527
[11/10/31 11:52:40:374] 0000000c I atomikos: commit() done (by application) of transaction 127.0.0.2.tm0003200527
[11/10/31 11:52:40:376] 0000000c I atomikos: createCompositeTransaction ( 120000 ): created new ROOT transaction with id 127.0.0.2.tm0003300527
[11/10/31 11:52:41:394] 0000000c I atomikos: commit() done (by application) of transaction 127.0.0.2.tm0003300527
[11/10/31 11:52:41:396] 0000000c I atomikos: createCompositeTransaction ( 120000 ): created new ROOT transaction with id 127.0.0.2.tm0003400527
[11/10/31 11:52:42:414] 0000000c I atomikos: commit() done (by application) of transaction 127.0.0.2.tm0003400527
[11/10/31 11:52:42:417] 0000000c I atomikos: createCompositeTransaction ( 120000 ): created new ROOT transaction with id 127.0.0.2.tm0003500527
[11/10/31 11:52:43:434] 0000000c I atomikos: commit() done (by application) of transaction 127.0.0.2.tm0003500527
[11/10/31 11:52:43:437] 0000000c I atomikos: createCompositeTransaction ( 120000 ): created new ROOT transaction with id 127.0.0.2.tm0003600527
[11/10/31 11:52:44:455] 0000000c I atomikos: commit() done (by application) of transaction 127.0.0.2.tm0003600527
[11/10/31 11:52:44:457] 0000000c I atomikos: createCompositeTransaction ( 120000 ): created new ROOT transaction with id 127.0.0.2.tm0003700527
[11/10/31 11:52:45:476] 0000000c I atomikos: commit() done (by application) of transaction 127.0.0.2.tm0003700527
[11/10/31 11:52:45:478] 0000000c I atomikos: createCompositeTransaction ( 120000 ): created new ROOT transaction with id 127.0.0.2.tm0003800527
[11/10/31 11:52:46:496] 0000000c I atomikos: commit() done (by application) of transaction 127.0.0.2.tm0003800527
[11/10/31 11:52:46:499] 0000000c I atomikos: createCompositeTransaction ( 120000 ): created new ROOT transaction with id 127.0.0.2.tm0003900527
[11/10/31 11:52:47:516] 0000000c I atomikos: commit() done (by application) of transaction 127.0.0.2.tm0003900527
[11/10/31 11:52:47:521] 0000000c I atomikos: createCompositeTransaction ( 120000 ): created new ROOT transaction with id 127.0.0.2.tm0004000527
[11/10/31 11:52:48:539] 0000000c I atomikos: commit() done (by application) of transaction 127.0.0.2.tm0004000527
As this is so far only running on my development box locally, I have tried changing the local.logging.properties in the following ways, all to no avail:

com.atomikos.level=WARNING
com.atomikos.level=WARN
atomikos.level=WARN

I found this on the atomikos site, but since it using the XML style logging params, I am not sure how it translates in the stack dialect: http://fogbugz.atomikos.com/default.asp?community.6.1910.3

Any help would be appreciated.

jonesrk
Church Employee
Church Employee
Posts: 1454
Joined: Tue Jun 30, 2009 7:12 am
Location: Farmington, UT, USA

Postby jonesrk » Mon Oct 31, 2011 11:03 am

This is what I have for my development logging. I'm on an internal stack 2.1.x project
com.atomikos.level=SEVERE
atomikos.level=OFF
Ryan Jones
CDOL Developer
Stake Technology Specialist - Software / Stake Assistant Clerk
Former Ward Clerk

gregaryh
New Member
Posts: 2
Joined: Wed Jan 05, 2011 10:28 am

Postby gregaryh » Mon Oct 31, 2011 11:29 am

That worked. Thanks! :)

YoungstromMJ
Member
Posts: 100
Joined: Mon Mar 29, 2010 2:11 pm
Location: Utah, USA

Postby YoungstromMJ » Tue Nov 01, 2011 8:59 am

Wow, thanks for helping out Ryan. :)

Gregary,

I'm curious are you using Atomikos in your Stack 3.1 application on purpose? In Stack 3.1 Atomikos isn't available in the templates and we don't recommend using it normally.

Mike


Return to “Java Web Project Support (Stack)”

Who is online

Users browsing this forum: No registered users and 1 guest