The deployment of artemis-rar switches the SLFJ4 to NOP and I probably have bug in my MDB that is not working. Funny thing when I realised this and searched the mailing list I’ve found this one :)
> On 20. 4. 2023., at 10:42, Robbie Gemmell <robbie.gemm...@gmail.com> wrote: > > Actually since the logging is not from artemis itself, the last bit > probably doenst really make sense hehe.....although we did also remove > the JBL usage any related JUL config around log managers etc, so the > change probably could still have an effect...albeit perhaps to make it > less likely to log such things rather than more likely. > > On Thu, 20 Apr 2023 at 09:29, Robbie Gemmell <robbie.gemm...@gmail.com> wrote: >> >> As you said, the setters presumably didnt exist before, and still >> dont, so....perhaps the main difference is just in the logging setup? >> >> The old version was 2.19.1 (noted later) which used JBoss Logging, >> while the newer version is 2.28.0 which now uses SLF4J API and in turn >> any supporting logging implementation. If it found a logging framework >> then it may just have started logging stuff that simply didnt get >> shown previously. >> >> On Wed, 19 Apr 2023 at 19:40, Justin Bertram <jbert...@apache.org> wrote: >>> >>> I wonder if the newer version of Payara is now logging warnings about the >>> missing setters. The fact that they aren't there isn't new, but we can >>> certainly add them. Feel free to open a Jira. >>> >>> As for the MDBs not receiving messages, you are probably hitting >>> ARTEMIS-4188 [1]. >>> >>> >>> Justin >>> >>> [1] https://issues.apache.org/jira/browse/ARTEMIS-4188 >>> >>> On Wed, Apr 19, 2023 at 11:02 AM Marko Lazić <zila...@gmail.com> wrote: >>> >>>> Hello, >>>> >>>> >>>> The following code worked before with Payara 5.2022.2 1.8 jdk but now when >>>> i upgraded to 2.28.0 artemis and Payara 5.2022.5-jdk11 it has some problems >>>> >>>> payara pre-boot.commands.asadmin file >>>> >>>> # Apache ActiveMQ Artemis >>>> deploy --type rar --name artemis-rar >>>> /opt/payara/deployments/artemis-rar-2.28.0.rar >>>> create-resource-adapter-config --property >>>> ConnectorClassName='org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnectorFactory':ConnectionParameters='host=broker;port=61616':UserName='artemis':Password='artemis' >>>> artemis-rar >>>> create-connector-connection-pool --raname artemis-rar >>>> --connectiondefinition >>>> org.apache.activemq.artemis.ra.ActiveMQRAConnectionFactory --property >>>> UserName=artemis:Password=artemis --ping true jms/ConnectionFactoryPool >>>> create-connector-resource --poolname jms/ConnectionFactoryPool >>>> jms/msgConnectionFactory >>>> >>>> >>>> >>>> >>>> Payara log >>>> >>>> [#|2023-04-19T15:52:44.487+0000|INFO|Payara >>>> 5.2022.5|fish.payara.boot.runtime.BootCommand|_ThreadID=25;_ThreadName=RunLevelControllerThread-1681919558585;_TimeMillis=1681919564487;_LevelValue=800;| >>>> Boot Command create-resource-adapter-config returned with result SUCCESS >>>> : PlainTextActionReporterSUCCESSNo monitoring data to report. >>>> |#] >>>> [#|2023-04-19T15:52:44.502+0000|WARNING|Payara 5.2022.5|javax.enterprise. >>>> resource.resourceadapter.com >>>> .sun.enterprise.connectors.util|_ThreadID=25;_ThreadName=RunLevelControllerThread-1681919558585;_TimeMillis=1681919564502;_LevelValue=900;| >>>> RAR8000 : The method setPassword is not present in the class : >>>> org.apache.activemq.artemis.ra.ActiveMQRAManagedConnectionFactory|#] >>>> [#|2023-04-19T15:52:44.503+0000|WARNING|Payara 5.2022.5|javax.enterprise. >>>> resource.resourceadapter.com >>>> .sun.enterprise.connectors.util|_ThreadID=25;_ThreadName=RunLevelControllerThread-1681919558585;_TimeMillis=1681919564503;_LevelValue=900;| >>>> RAR7097: No setter method present for the property password in the class >>>> org.apache.activemq.artemis.ra.ActiveMQRAManagedConnectionFactory|#] >>>> [#|2023-04-19T15:52:44.503+0000|WARNING|Payara 5.2022.5|javax.enterprise. >>>> resource.resourceadapter.com >>>> .sun.enterprise.connectors.util|_ThreadID=25;_ThreadName=RunLevelControllerThread-1681919558585;_TimeMillis=1681919564503;_LevelValue=900;| >>>> RAR8000 : The method setUsername is not present in the class : >>>> org.apache.activemq.artemis.ra.ActiveMQRAManagedConnectionFactory|#] >>>> [#|2023-04-19T15:52:44.503+0000|WARNING|Payara 5.2022.5|javax.enterprise. >>>> resource.resourceadapter.com >>>> .sun.enterprise.connectors.util|_ThreadID=25;_ThreadName=RunLevelControllerThread-1681919558585;_TimeMillis=1681919564503;_LevelValue=900;| >>>> RAR7097: No setter method present for the property username in the class >>>> org.apache.activemq.artemis.ra.ActiveMQRAManagedConnectionFactory|#] >>>> [#|2023-04-19T15:52:44.920+0000|INFO|Payara >>>> 5.2022.5|fish.payara.boot.runtime.BootCommand|_ThreadID=25;_ThreadName=RunLevelControllerThread-1681919558585;_TimeMillis=1681919564920;_LevelValue=800;| >>>> Boot Command create-connector-connection-pool returned with result >>>> SUCCESS : PlainTextActionReporterSUCCESSConnector connection pool >>>> jms/ConnectionFactoryPool created. >>>> Attempting to ping during Connector Connection Pool Creation : >>>> jms/ConnectionFactoryPool - Succeeded.|#] >>>> [#|2023-04-19T15:52:44.939+0000|INFO|Payara >>>> 5.2022.5|fish.payara.boot.runtime.BootCommand|_ThreadID=25;_ThreadName=RunLevelControllerThread-1681919558585;_TimeMillis=1681919564939;_LevelValue=800;| >>>> Boot Command create-connector-resource returned with result SUCCESS : >>>> PlainTextActionReporterSUCCESSConnector resource jms/msgConnectionFactory >>>> created.|#] >>>> >>>> >>>> I noticed also some MDBs that are listening on auto-created queues do not >>>> receive messages anymore >>>> >>>> >>>> Kind regards, >>>> Marko