Open jaceabreu opened 2 years ago
This issue has been marked as inactive and old and will be closed in 7 days if there is no further activity. If you want the issue to remain open please add a comment
This issue has been marked as inactive and old and will be closed in 7 days if there is no further activity. If you want the issue to remain open please add a comment
I reproduced this. I deployed an app with name "myapp", without a version, and then the same app with name "myapp:v2", with version "v2".
I get the same error when I invoke the REST endpoint directly for the app name "myapp:v2":
Another symptom of probably the same issue is that the Modules and Components in the Edit Application page, in Admin Console, doesn't contain components, while it does contain components for the app with no versions.
For "myapp" application (correct):
For "myapp:v2" application (only first row in the table, components are missing):
When using Glassfish Monitoring Service from Admin Web UI, viewing monitor data for applications fails with an error on applications that are published with Application Versioning name schema (app-name:version-id); error: "Invalid module name PermitSearch:2.2.0-SNAPSHOT. Application PermitSearch:2.2.0-SNAPSHOT does not contain module with name PermitSearch:2.2.0-SNAPSHOT."
Environment Details
Problem Description
When utilizing Applications Version feature for deployed applications, the monitoring service cannot load application components, listing an error, instead. Problem is easily reproducible and happens every time. There is no stack trace available, but here is the server.log entries (from a clean log file) after viewing the error.
Steps to reproduce
Enable Logging (see screenshot)
Deploy an application using Application Version feature (using a colon to delimit the name and version id, ie - PermitSearch:2.2.0-SNAPSHOT)
Navigate to "server" page and open "Monitor" tab, choosing the versioned application from the "Application" dropdown list (see screenshot)
Impact of Issue
Prevents viewing any monitored data for the versioned application or it's components.
Sorry about lack of labeling; this is my first github issue report and didn't see what labels I could use or the syntax to add them.