I just tested this from scratch using 2.39.0 on Linux with a custom plugin and everything is working fine when placing the jar in the instance's lib directory. I'll try to test on Windows.
Justin On Fri, Mar 7, 2025 at 1:53 PM John Lilley <john.lil...@redpointglobal.com> wrote: > I'm pretty sure I created it from scratch. The instance folder is rather > different than it was in 2.30. > > -----Original Message----- > From: Justin Bertram <jbert...@apache.org> > Sent: Wednesday, March 5, 2025 1:10 PM > To: users@activemq.apache.org > Subject: Re: Server plugin for artemis 2.39 > > *** [Caution] This email is from an external source. Please use caution > responding, opening attachments or clicking embedded links. *** > > > I can't recall any particular changes here. Did you create your instance of > 2.39.0 from scratch or did you upgrade it from 2.30.0? > > > Justin > > On Wed, Mar 5, 2025 at 12:48 PM John Lilley < > https://urldefense.proofpoint.com/v2/url?u=http-3A__john.lilley-40redpointglobal.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=VpU5fPwEQ8wKbKY5SBkV1DYypS_WKWolD9Eue6u6sYo&m=0azbtipDkgIDLKuefR1a5q4uJ5hUjMIkVdnyE81ZNDhjdRP8e3xuRlzLO2AYLY6D&s=ftGvqgx7Sa5J6hVJv2kGuK7MQ3E0_bPpKvkeBdBAbIE&e= > > > wrote: > > > I'm having trouble getting my plugin recognized by artemis 2.39 under > > Windows x64. > > > > I configure it > > <broker-plugins> > > <broker-plugin > > class-name="net.redpoint.rpdm.artemis_logger.RpdmArtemisLogger"/> > > </broker-plugins> > > > > And place the jar in the instance lib folder, but I'm getting > > java.lang.IllegalStateException: java.lang.ClassNotFoundException: > > net.redpoint.rpdm.artemis_logger.RpdmArtemisLogger > > > > This works in the 2.30 broker. > > > > If I put the jar in the root lib folder, it works. But that's not the > > recommended place. Did something change? Do I need to add the > > instance-lib folder to the classpath explicitly? > > PLEASE NOTE: This e-mail from Redpoint Global Inc. ("Redpoint") is > > confidential and is intended solely for the use of the individual(s) > > to whom it is addressed. If you believe you received this e-mail in > > error, please notify the sender immediately, delete the e-mail from > > your computer and do not copy, print or disclose it to anyone else. If > > you properly received this e-mail as a customer, partner or vendor of > > Redpoint, you should maintain its contents in confidence subject to > > the terms and conditions of your agreement(s) with Redpoint. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@activemq.apache.org > For additional commands, e-mail: users-h...@activemq.apache.org > For further information, visit: https://activemq.apache.org/contact > >