I'm fairly certain that SMB doesn't support the locking semantics required for use as a shared store with ActiveMQ Artemis (or Classic).
I recommend using NFSv4 if you need a basic shared store. Justin On Fri, Jun 7, 2024 at 3:16 AM Mandadzhieva, Ayla <ayla.mandadzhi...@dxc.com> wrote: > I forgot to add the SMB configuration: > > > > PS C:\Windows\system32> Get-SmbClientConfiguration > > > > > > ConnectionCountPerRssNetworkInterface : 4 > > DirectoryCacheEntriesMax : 16 > > DirectoryCacheEntrySizeMax : 65536 > > DirectoryCacheLifetime : 10 > > DormantFileLimit : 1023 > > EnableBandwidthThrottling : True > > EnableByteRangeLockingOnReadOnlyFiles : True > > EnableInsecureGuestLogons : False > > EnableLargeMtu : True > > EnableLoadBalanceScaleOut : True > > EnableMultiChannel : True > > EnableSecuritySignature : True > > ExtendedSessionTimeout : 1000 > > FileInfoCacheEntriesMax : 64 > > FileInfoCacheLifetime : 10 > > FileNotFoundCacheEntriesMax : 128 > > FileNotFoundCacheLifetime : 5 > > KeepConn : 600 > > MaxCmds : 50 > > MaximumConnectionCountPerServer : 32 > > OplocksDisabled : False > > RequireSecuritySignature : True > > SessionTimeout : 60 > > UseOpportunisticLocking : True > > WindowSizeThreshold : 1 > > > > *From:* Mandadzhieva, Ayla <ayla.mandadzhi...@dxc.com> > *Sent:* Friday, June 7, 2024 10:32 AM > *To:* users@activemq.apache.org; Justin Bertram <jbert...@apache.org> > *Subject:* RE: ArtemisMQ 2.33.0-Lost the lock according to the monitor > > > > Hello Justin, > > > > Ok I got more information > > We are using Windows based clustered file shared storage and it is SMB not > NFS > > Those are the settings for this Share: > > > > Is this supported? > > > > Regards, > > Ayla > > > > -----Original Message----- > From: Justin Bertram <jbert...@apache.org> > Sent: Thursday, June 6, 2024 6:33 PM > To: users@activemq.apache.org > Subject: Re: ArtemisMQ 2.33.0-Lost the lock according to the monitor > > > > What kind of shared file storage are you using? It's possible that your > shared file storage doesn't support locking or it's not configured properly. > > > > To be clear, it's expected that the broker distribution doesn't contain > artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/FileLockNodeManager.java > > because that file is a _source_ file. During the release process the > source files are compiled into Java byte-code .class files and then > packaged into Jar files. If you didn't have the proper corresponding class > or jar file you would be receiving a different error. > > > > > > Justin > > > > On Thu, Jun 6, 2024 at 2:18 AM Mandadzhieva, Ayla < > ayla.mandadzhi...@dxc.com> > > wrote: > > > > > Hello Justin, > > > > > > > > > > > > We just installed apache-artemis-2.33.0-bin on Windows server using > > > with shared file storage. We have the situation that we in get an > > > endless loop with the following entry in the artemis log file: > > > > > > > > > > > > 2024-06-05 14:11:25,018 WARN > > > [org.apache.activemq.artemis.core.server.impl.FileLockNodeManager] > > > Lost the lock according to the monitor, notifying listeners > > > > > > > > > > > > I saw below jira and your name however we do not have that file path > > > in our installation: > > > > > > > > > > > > > > > artemis-server/src/main/java/org/apache/activemq/artemis/core/server/i > > > mpl/FileLockNodeManager.java > > > > > > > > > > > > > > > https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissu > <https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissu%2F&data=05%7C02%7Cayla.mandadzhieva%40dxc.com%7C8d368e0ddc2b4e0f9d6208dc86c4106f%7C93f33571550f43cfb09fcd331338d086%7C0%7C0%7C638533423854576580%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=IoiYMPbpHUeK8UJtd920eyL4ELPXa0q6Ot%2FDgfqfHrE%3D&reserved=0> > > > es.apache.org%2Fjira%2Fbrowse%2FARTEMIS-3145%3Fpage%3Dcom.atlassian.ji > > > ra.plugin.system.issuetabpanels%253Acomment-tabpanel%26focusedCommentI > > > d%3D17488168%23comment-17488168&data=05%7C02%7Cayla.mandadzhieva%40dxc > > > .com%7C5274919fdb4c444216b108dc863dfba9%7C93f33571550f43cfb09fcd331338 > > > d086%7C0%7C0%7C638532847977216064%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4w > > > LjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sd > > > ata=RZ7vIFNzK7Or9qM6mTcvLpSdFDVRPQPsB4F7jSr2W8M%3D&reserved=0 > > > > > > > > > > > > Can you please advise how to get rid of these errors? > > > > > > BR, > > > > > > Ayla > > > > > > > > > > > > > > > > > > > > > >