JMS (Streams AQ) with atomikos causing serious log spam

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

JMS (Streams AQ) with atomikos causing serious log spam

#1

Post by gregaryh »

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 ... y.6.1910.3

Any help would be appreciated.
jonesrk
Church Employee
Church Employee
Posts: 2372
Joined: Tue Jun 30, 2009 8:12 am
Location: South Jordan, UT, USA

#2

Post by jonesrk »

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
gregaryh
New Member
Posts: 2
Joined: Wed Jan 05, 2011 10:28 am

#3

Post by gregaryh »

That worked. Thanks! :)
YoungstromMJ
Member
Posts: 101
Joined: Mon Mar 29, 2010 3:11 pm
Location: Utah, USA

#4

Post by YoungstromMJ »

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
Locked

Return to “Java Web Project Support (Stack)”