question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SBA shows 2 instances of application where there should be only one

See original GitHub issue

I am setting up SBA to monitor three different applications. Two of the applications are deployed in the same Tomcat server and the third runs as a service.

What I am seeing with the applications deployed in Tomcat is that SBA shows two instances of either or both of them (I’m seeing slightly different behaviour in different environments). Here’s what I see on my laptop, with the Microservices API running as a service and the Custom Hosted Pages and Barcode Generator applications running in Tomcat 9:

image

Tomcat is configured with the spring.boot.admin.client.instance.service-base-url=http://localhost:8081

Questions:

Why do I see two instances of the Custom Hosted pages application?

What does Restricted mean?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
charlesb-yesmailcommented, Feb 24, 2022

I’ve created a demo project which is similar to the set up we are using for our applications, which is available here:

https://github.com/charlesb-yesmail/sba-issue-1943

At first I wasn’t able to reproduce the problem. As I looked for differences between the demo project and our application configuration I realised that I had not configured my local Tomcat in the same way as the environment where I am seeing the issue. When I updated Tomcat’s configuration to include a similar vhost setup then I was able to reproduce the issue.

I’ve attached a log file from SBA when the issue was occurring.

issue-1943-log.txt

0reactions
charlesb-yesmailcommented, Feb 25, 2022

Confirming that the suggested solution works. Thanks for your help with this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Manage your EIDL - Small Business Administration
Create an account in SBA's Capital Access Financial System (CAFS) to monitor your loan status. You must have a funded loan to access...
Read more >
beta.Certify.sba.gov Applicant User Guide
1. Enter the email address. 2. Enter the password provided during account creation (Enable show password option to view the password as it...
Read more >
Economic Injury Disaster Loans - Small Business Administration
Apply online for an SBA disaster assistance loan. SBA will send an inspector to estimate the cost of damage, once your application is...
Read more >
Apply to be an SBIC - Small Business Administration
Prepare three hard copies of all application materials, except Exhibit F, which should be submitted electronically only. Prepare a package that includes 1) ......
Read more >
Types of 7(a) loans - Small Business Administration
Lenders use their own credit decision process and loan documentation. The SBA will respond to your application within 24 hours.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found