-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zorka apparently conflicts with WAR class loader policy #145
Comments
Hello, Can you send me zorka.properties file (without password of course) ? You can also try disabling all subsystem of agent: spy, tracer, mbean registration etc. and see if "dormant" agent still breaks WAS (I'll try it myself as from your description this bug should be repeatable). Regards, |
Hi! Here the relevant entries in zorka.properties:
As soon as we have identified which options have to be set in zorka.properties to disable all subsystems we'll give it another try. After this I'll report again. Thanks in advance! |
Options to disable everything AFAIR: spy = no And comment out scripts line (or leave it empty AFAIR, so it will not load any BSH scripts). Then check agent log if there are errors (or more logs about something starting up etc.). I hope it is all, maybe I'll check it out later and describe somewhere in documentation. Regards, |
So, just got the result from the admin. |
Ok, this tells me a lot. So now one thing to check is was.bsh script - if you have time for it. Please extract was.bsh from Create directory Edit was.bsh file and find two sections:
and
Try comment each one of those sections (separately) and tell me which one (if any) causes problem. I'll try configuring may own environment and replicating this problem but it might take some time due to significant backlog of various tasks I have to do next week. |
Sorry for the delay! We made the requested test today and even commenting both sections didn't help. |
I've fixed a nasty bug regarding JDK7/8 and stack maps calculation some time ago. It was causing spurious class loads from time to time that were bypassing instrumentation (and possibly violating custom class loader policies). It was appearing in various contexts especially with JDK8, I suppose it was the cause of this issue. I'm closing this, if you still have problems please reopen. |
Hi!
We're giving Zorka agent a try regarding monitoring of application servers via Zabbix.
Now some applications stopped working after deploying Zorka agent. It turned out that the reason for that is somehow connected to having 'Single class loader for application' selected in 'WAR class loader policy'.
Since the AS in question can't be configured to use a 'Class loader for each WAR file in application' (dunno why, it's a statement from the developers), I wonder if this is something that can be "fixed' or worked-around in Zorka agent.
This is a log message I got from an application administrator encountering this issue:
Another possibly important information is that the application itself completely stopped logging when Zorka was deployed.
I recall a similar issues when using Zorka agent on some of our JBoss applications servers. Can't give any details yet since the respective admin is currently on vacation.
Environment:
The text was updated successfully, but these errors were encountered: