Solace multiple consumers for a queue not working - solace

We have a java spring-dsl intergration program and running with 10 consumers configuration but out of 10 only 3 are working fine. For other I'm getting below errors:
DefaultMessageListenerContainer : Setup of JMS message listener invoker failed for destination 'Q-TEST-POC' - trying to recover. Cause: Error creating session - max transacted sessions exceeded (503: Max Transacted Sessions Exceeded)
Any setting need to done on SolAdmin so that multi consumer can able to get access or any other solution?

It sounds like your "Max Transacted Sessions" setting in your client-profile is too low for your application.
To modify this in SolAdmin:
Go to the "Clients" tab.
Select the "Client Profiles" View.
Edit the client profile used by your application.
Select the "Advanced Properties" tab.
Adjust the "Max Transacted Sessions" limit.

Related

Why am I receiving this error: QUOTA_CIRCUMVENTION

Google Cloud Support asked me to reach out here to get an answer as to why we're receiving an error that is shutting down our API. The error is: QUOTA_CIRCUMVENTION
Details
Project impacted: Barrows Levy Videos (id: barrows-levy-videos)
Description: Circumventing our quota restrictions via multiple projects acting as one.
We are only using one project and have the playlist getting pulled into the website https://www.barrowslevy.com/.
How do we resolve this issue? We've already been shut down with a previous API and we had to create a new Restricted one. This one was also flagged.
How are we circumventing the quota? What can we do to NOT circumvent the quota?

Azure SignalR understanding connection count

I am a bit confused with the Azure SignalR connection count. When I run my MVC.NET on my Visual Studio debug mode, it immediately creates 10 server connections. So, I carefully looked at the documentation (https://learn.microsoft.com/en-us/azure/azure-signalr/signalr-concept-messages-and-connections) and it said that
By default, each application server starts with five initial connections per hub, and each client has one client connection.
For example, assume that you have two application servers and you define five hubs in code. The server connection count will be 50: 2 app servers * 5 hubs * 5 connections per hub.
Well using the formula above, I should only have 5 connections because: 1 app server * 1 hub * 5 connections per hub = 5 connections. I can't understand why my portal showed that I have 10 server connections instead of 5.
Can anyone help to explain how Azure calculates the server connection?
Thanks...
UPDATE
For those who looking on how to enable Live Trace Tools:
Go to SignalR
Click on the SignalR that you want to trace
Click on Monitoring | Diagnostic Settings
If you haven't configure your log, click on "Configure Log Destination Settings" (Note: I think the cheapest way is to store under your storage account with retention of 1 day).
Tick Enable Live Trace and click Save
Open Live Trace Tool (it should say "Connected" on the top right corner)
Click on Capture
Start your app
Go to Diagnostics Settings under Monitoring tab in Azure portal SignalR service.
Click on "Open Live Trace Tool" button.
Click on Capture in newly opened window.
When you run your application, all connections would be shown in Live Trace.

"Your unused Realtime Database will be deactivated in 14 day(s)" - how to fix access rules?

I had an email to say that my Firebase database would be de-activated in 14 days unless it receives traffic or I update my security rules. When I login to my Firebase account I don't see any options to maintain my database. The only option I get when I select the "Realtime Database" menu item is "Create Database".
How can I see and maintain an existing database?
firebaser here
This message is sent to owners of databases that:
Have world readable security rules AND
Have not received any traffic in 6 months.
As the message says: to prevent the database from being deactivated you can:
Either change its security rules,
Or for it to start receiving traffic.
Note: your data will not be deleted either way.
I actually quickly checked one of my own projects that got disabled, and I see this in the console:
Clicking the Re-enable buttons seems to have reenabled the database without either of the two actions mentioned in the email. But I do expect the database to be disabled again, based on my lack of addressing the root cause.
If you're not seeing this same screen for your project, I'd:
Reload the Firebase console, and navigate to the database from there.
If that still doesn't show you the same screen, reach out to Firebase support for personalized help in troubleshooting.

createChannel in GraphAPI sometimes results in not creating the corresponding Sharepoint/OneDrive folder

Currently the creation of a channel through the Graph API frequently results in the relative, corresponding Sharepoint folder not being created.
When using the Graph API to create a channel the response indicates creating the channel was a success, but when going to the files tab it shows:
"Your files can’t be found, working on it to restore them."
After having clicked on the files tab in the Teams UI, the folder is created eventually (after a couple of minutes).
But because automated processes depend on the channel folder, we don’t want to ask the user to manually open the team before the other processes can continue.
So: Team created: Ok -> Channel created: Ok-ish (But missing the linked folder) -> One-drive/share point folder, with the name of the channel: Not created
Sometimes the folder is created properly, but lately more often it is not created (Not even after 3-4 days of waiting) until the user opens the files tab in the Teams client.
This behaviour is new since it worked flawlessly until a week ago. Is there a known workaround for this?
We're following the default documentation for creating a channel via Graph API as described in the Microsoft Graph Reference
Best regards,
Dominic
This is by design or rather limitation of SPO provisioning is async as in create team succeeds without waiting for SPO site provisioning completes. In those scenarios when channel get provisioned before SPO that get created without files folder. The recovery mechanism is accessing files tab in the channel.
Currently there isn't any solution to check if provisioning is completed. However, there is a feature ask to provide an API to provision similar to what happens on the client (clicking on Files tab). We do not have any ETA on this.

Communication Handling using Service in Blackberry 4.5

I am developing an app. (like google talk) which at phone boot-up starts a background service which is continuously running. This service interacts with UI (means any request to server is first sent from UI to service & from service to server) & any response is sent to UI through service.
What i know to start background service at boot up is "Create an alternate entry point and use that to start the background service. "
right click the project properties then go to Application tab, then check "Auto run on startup" / "System Module"
is it right?
In Android u can achieve this Service using system-defined Service class. How to achieve this in Blackberry 4.5? I want to do it (UI & Service) in one project.
Any solution?
Thanks for the reply.
I got a link for
"How To - Setup an alternate entry point for my application"
is it the right solution for starting Service?
I want the app. like email app. which will notify u when an incoming mail comes (like even though ur main application is minimized then also ur service is running in background which will continuously check for any incoming mail & will notify the main UI application through any app icon change)
So for this is there any class like Service class which will start at boot-up or "Setup an alternate entry point for my main UI application" is the only solution for this?
Thanks for the reply..
I read this GlobalEveltListener & tried for handling the communication between the 2 apps (Service app. & UI app.) by starting the Service at auto-startup.
I m using the "Persistent Store" & accessing it in both the apps. But the Persistent Store name should be unique otherwise it gives "Linker error: Cannot start the Service app. as Persistent Store is multiply defined." But I have to access the Persistent Store the both the apps to make some database calls.
So now i m trying for handling the Service by putting both apps in one project. So that the Persistent Store will be unique.
How to achieve this communication between Service & UI in one project?
You only need an alternate entry point if you want the program to behave in both the service mode, starting at boot and running in the background; and in application mode, having an icon in the home screen that the user can click to begin interacting with your software. In that case you need to have an entry point that tells the program "you are starting automatically at boot up", and one that tells the program "you are starting in response to user interaction".
There are other ways to handle this. If your application makes itself available to the user through ApplicationMenus, then you make the one and only entry point "Auto Run" and "System Module" so that it starts on boot, registers the menus and does not display an icon.
You can also use one entry point set to "Auto Run" but not a system module so the icon is displayed and detect the start on boot case using the ApplicationManager.inStartup() method.
The method you describe does work well for the type of application you are developing. It simplifies the initialization by allowing you to specify different arguments to the program in each entry point.
Please see the answer I have given earlier to a different question here. This essentially is an IPC mechanism between two running processes.

Resources