cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

This product reached the end of support date on March 31, 2021.

Problem with agent installed on WAS

Hello,

I have some issue in my production enviroment.
After installation AppMon agent on WAS, we are observing new entries to the error logs.

com.ibm.ws.rsadapter.spi.WSRdbXaResourceImpl@3a8938f3. The error code was XAER_RMERR. The exception stack trace follows: javax.transaction.xa.XAException at oracle.jdbc.xa.OracleXAResource.recover(OracleXAResource.java:730) at com.ibm.ws.rsadapter.spi.WSRdbXaResourceImpl.recover(WSRdbXaResourceImpl.java:1111) at com.ibm.ws.Transaction.JTA.XARminst.recover(XARminst.java:141) at com.ibm.ws.Transaction.JTA.XARecoveryData.recover(XARecoveryData.java:723) at com.ibm.tx.jta.impl.PartnerLogTable.recover(PartnerLogTable.java:432) at com.ibm.tx.jta.impl.RecoveryManager.resync(RecoveryManager.java:1544) at com.ibm.tx.jta.impl.RecoveryManager.performResync(RecoveryManager.java:2286) at com.ibm.ws.tx.jta.RecoveryManager.performResync(RecoveryManager.java:119) at com.ibm.tx.jta.impl.RecoveryManager.run(RecoveryManager.java:2239) at java.lang.Thread.run(Thread.java:785)

In agent log we have:

2017-10-13 10:18:19 [637f98ba] warning [java ] Retrieving stats array for module: 'servletSessionsModule' returned null. This may be caused by a not yet initialized module. If subscriptions for this module do not provide data after initialization, please check module path. 2017-10-13 10:18:44 [600838ba] warning [java ] [jdbc ] DBCP transformObjectPool 1: java.lang.NoClassDefFoundError: org.apache.commons.dbcp2.PoolableConnectionFactory 2017-10-13 10:18:58 [292898ba] warning [java ] [jdbc ] DBCP transformObjectPool 1: java.lang.NoClassDefFoundError: org/apache/commons/dbcp2/PoolableConnectionFactory 2017-10-13 14:43:19 [637f98ba] warning [java ] Retrieving stats array for module: 'beanModule' returned null. This may be caused by a not yet initialized module. If subscriptions for this module do not provide data after initialization, please check module path.

We think that application is working correctly but we are worried about these entries. Did anyone have a similar problem?

Thanks,

Radek

6 REPLIES 6

harald_berger
Dynatrace Pro
Dynatrace Pro

Hi Radek,

The WAS log does not point to an agent related problem.

Addressing the agent log:
1) The message "Retrieving stats array for module" is typical for WAS when PMI is not ready in time and can safely be ignored.

2) The message "warning [java ][jdbc ] DBCP transformObjectPool 1: java.lang.NoClassDefFoundError: org.apache.commons.dbcp2.PoolableConnectionFactory" is a known bug and sovled if you update to latest version.

Best

Harry

HI,Harry,

please help me,I encountered a similar problem,thank you!

https://answers.dynatrace.com/spaces/148/uem-open-q-a_2/questions/193107/warning-java-jdbc-dbcp-transformobjectpool-1-javal.html

Best

Yanrui

Hi Yanrui,

As already discussed on the support case. This is a warning and does not affect the application. If you do not want to see this warning, set the agent log level to severe. You can also try to exclude the package "org/apache/commons/dbcp2" from transformation, but you will loose all connection pool specific stats.

Best

Harry

HI Harry,

Thank you for your reply!

we have tried decreasing the agent log level to "severe" from our particular agent group and see that it does not remove it.

And How do we try o exclude the package "org/apache/commons/dbcp2" from transformation"

Thank you very much!

Best

Yanrui

Hi,

Please see: https://community.dynatrace.com/community/pages/viewpage.action?title=Excluding+classes+as+an+agent+parameter&spaceKey=DTKB

Best

Harry

HI,Harry,

we have tried decreasing the agent log level to "severe" from our particular agent group and see that it does not remove it.It maybe a bug.
However, we added the log level in the Agent parameter and we have solved the log warning problem,the warning message disappeared.

thanks for your help!

Best,

Yanrui