users@glassfish.java.net

Re: Problem with JMS - filling my log with SPAM :)

From: Piero Filippin <filippinp_at_yahoo.co.uk>
Date: Tue, 16 Oct 2007 16:33:22 +0100

Well, they are marked as "WARNING" - so it looks like it is my fault -
but from your answer it looks like it is not....

I will create an issues ASAP

Ramesh Parthasarathy wrote:
> Hi,
>
> I think these messages should not be displayed at default log levels,
> could you please create an issue for this in the issue tracker
>
> Thanks
> -Ramesh
> Piero Filippin wrote On 10/15/07 15:50,:
>
>> Hi,
>> can someone please help me with this issue?
>>
>> I have this warning in the log from the moment I started using JMS in GF
>> (v58g), this is not a serious problem but it is driving me nuts and it
>> is filling my logs (it is repeated every 10 minutes):
>>
>> It looks like there is something opening a connection for JMS purposes
>> (8 of them as set in GF) and after 10 minutes (another thing you can set
>> in GF) of inactivity the connections are released and recreated.
>>
>> I am using a single connection from a @Stateful bean, I modified my code
>> so everytime I have to post a message I open the connection, post the
>> message and then close the connection.
>>
>> createConnection API used w/ username, password for Container Auth -
>> this is because the connection is not using any auth, I am using
>>
>> Connection connection = connectionFactory.createConnection("guest",
>> "guest");
>>
>> reading other posts it seems this message is created if you use
>> connectionFactory.createConnection(); with no parameters.
>>
>> _destroy():called on a connection that was not closed.| - I cannot find
>> out where this connection is opened in the first place!
>>
>> Any clue?
>>
>> These are some entries:
>> ------------------------------------------------------------
>> [#|2007-10-15T16:25:22.732+0100|WARNING|sun-appserver9.1|javax.jms.Connection.mqjmsra|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_DC2001:
>> connectionId=6449459936493169920:_destroy():called on a connection that
>> was not closed.|#]
>>
>> [#|2007-10-15T16:25:23.932+0100|WARNING|sun-appserver9.1|javax.jms.Connection.mqjmsra|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_DC2001:
>> connectionId=6449459936493174016:_destroy():called on a connection that
>> was not closed.|#]
>>
>> [#|2007-10-15T16:25:23.932+0100|WARNING|sun-appserver9.1|javax.jms.Connection.mqjmsra|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_DC2001:
>> connectionId=6449459936493177856:_destroy():called on a connection that
>> was not closed.|#]
>>
>> [#|2007-10-15T16:25:23.932+0100|WARNING|sun-appserver9.1|javax.jms.Connection.mqjmsra|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_DC2001:
>> connectionId=6449459936493181952:_destroy():called on a connection that
>> was not closed.|#]
>>
>> [#|2007-10-15T16:25:23.932+0100|WARNING|sun-appserver9.1|javax.jms.Connection.mqjmsra|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_DC2001:
>> connectionId=6449459936493185792:_destroy():called on a connection that
>> was not closed.|#]
>>
>> [#|2007-10-15T16:25:23.932+0100|WARNING|sun-appserver9.1|javax.jms.Connection.mqjmsra|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_DC2001:
>> connectionId=6449459936493185793:_destroy():called on a connection that
>> was not closed.|#]
>>
>> [#|2007-10-15T16:25:23.932+0100|WARNING|sun-appserver9.1|javax.jms.Connection.mqjmsra|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_DC2001:
>> connectionId=6449459936493189888:_destroy():called on a connection that
>> was not closed.|#]
>>
>> [#|2007-10-15T16:25:23.932+0100|WARNING|sun-appserver9.1|javax.jms.Connection.mqjmsra|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_DC2001:
>> connectionId=6449459936493189889:_destroy():called on a connection that
>> was not closed.|#]
>>
>> [#|2007-10-15T16:25:23.947+0100|WARNING|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_MC2001:
>> createConnection API used w/ username, password for Container Auth|#]
>>
>> [#|2007-10-15T16:25:23.947+0100|WARNING|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_MC2001:
>> createConnection API used w/ username, password for Container Auth|#]
>>
>> [#|2007-10-15T16:25:23.963+0100|WARNING|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_MC2001:
>> createConnection API used w/ username, password for Container Auth|#]
>>
>> [#|2007-10-15T16:25:23.963+0100|WARNING|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_MC2001:
>> createConnection API used w/ username, password for Container Auth|#]
>>
>> [#|2007-10-15T16:25:23.979+0100|WARNING|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_MC2001:
>> createConnection API used w/ username, password for Container Auth|#]
>>
>> [#|2007-10-15T16:25:24.025+0100|WARNING|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_MC2001:
>> createConnection API used w/ username, password for Container Auth|#]
>>
>> [#|2007-10-15T16:25:24.041+0100|WARNING|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_MC2001:
>> createConnection API used w/ username, password for Container Auth|#]
>>
>> [#|2007-10-15T16:25:24.056+0100|WARNING|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_MC2001:
>> createConnection API used w/ username, password for Container Auth|#]
>>
>> [#|2007-10-15T16:35:22.730+0100|WARNING|sun-appserver9.1|javax.jms.Connection.mqjmsra|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_DC2001:
>> connectionId=6449459936647080704:_destroy():called on a connection that
>> was not closed.|#]
>>
>> [#|2007-10-15T16:35:22.824+0100|WARNING|sun-appserver9.1|javax.jms.Connection.mqjmsra|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_DC2001:
>> connectionId=6449459936647080705:_destroy():called on a connection that
>> was not closed.|#]
>>
>> [#|2007-10-15T16:35:22.824+0100|WARNING|sun-appserver9.1|javax.jms.Connection.mqjmsra|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_DC2001:
>> connectionId=6449459936647084800:_destroy():called on a connection that
>> was not closed.|#]
>>
>> [#|2007-10-15T16:35:22.824+0100|WARNING|sun-appserver9.1|javax.jms.Connection.mqjmsra|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_DC2001:
>> connectionId=6449459936647084801:_destroy():called on a connection that
>> was not closed.|#]
>>
>> [#|2007-10-15T16:35:22.824+0100|WARNING|sun-appserver9.1|javax.jms.Connection.mqjmsra|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_DC2001:
>> connectionId=6449459936647088896:_destroy():called on a connection that
>> was not closed.|#]
>>
>> [#|2007-10-15T16:35:22.824+0100|WARNING|sun-appserver9.1|javax.jms.Connection.mqjmsra|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_DC2001:
>> connectionId=6449459936647100672:_destroy():called on a connection that
>> was not closed.|#]
>>
>> [#|2007-10-15T16:35:22.824+0100|WARNING|sun-appserver9.1|javax.jms.Connection.mqjmsra|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_DC2001:
>> connectionId=6449459936647104768:_destroy():called on a connection that
>> was not closed.|#]
>>
>> [#|2007-10-15T16:35:22.824+0100|WARNING|sun-appserver9.1|javax.jms.Connection.mqjmsra|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_DC2001:
>> connectionId=6449459936647108608:_destroy():called on a connection that
>> was not closed.|#]
>>
>> [#|2007-10-15T16:35:22.824+0100|WARNING|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_MC2001:
>> createConnection API used w/ username, password for Container Auth|#]
>>
>> [#|2007-10-15T16:35:22.855+0100|WARNING|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_MC2001:
>> createConnection API used w/ username, password for Container Auth|#]
>>
>> [#|2007-10-15T16:35:22.886+0100|WARNING|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_MC2001:
>> createConnection API used w/ username, password for Container Auth|#]
>>
>> [#|2007-10-15T16:35:22.902+0100|WARNING|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_MC2001:
>> createConnection API used w/ username, password for Container Auth|#]
>>
>> [#|2007-10-15T16:35:22.902+0100|WARNING|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_MC2001:
>> createConnection API used w/ username, password for Container Auth|#]
>>
>> [#|2007-10-15T16:35:22.917+0100|WARNING|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_MC2001:
>> createConnection API used w/ username, password for Container Auth|#]
>>
>> [#|2007-10-15T16:35:22.917+0100|WARNING|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_MC2001:
>> createConnection API used w/ username, password for Container Auth|#]
>>
>> [#|2007-10-15T16:35:22.917+0100|WARNING|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=19;_ThreadName=Timer-6;_RequestID=86c7e9e0-febb-4aed-99a3-83c30626b25d;|MQJMSRA_MC2001:
>> createConnection API used w/ username, password for Container Auth|#]
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>