Giter VIP home page Giter VIP logo

Comments (7)

jitlogic avatar jitlogic commented on June 20, 2024

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,
rle

from zorka.

B5r1oJ0A9G avatar B5r1oJ0A9G commented on June 20, 2024

Hi!

Here the relevant entries in zorka.properties:

# grep -v '^$\|^#' zorka.properties 
scripts = jvm.bsh, zabbix.bsh, ibm/was.bsh
was.user = zabbix
was.pass = secret
zabbix.server.addr = 127.0.0.1,zabbix.example.com
zabbix.listen.port = 10055
tracer = no

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!

from zorka.

jitlogic avatar jitlogic commented on June 20, 2024

Options to disable everything AFAIR:

spy = no
zabbix = no
nagios = 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,
rle

from zorka.

B5r1oJ0A9G avatar B5r1oJ0A9G commented on June 20, 2024

So, just got the result from the admin.
This issue exists only when ibm/was.bsh is configured.

from zorka.

jitlogic avatar jitlogic commented on June 20, 2024

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 zorka.jar: com/jitlogic/zorka/scripts/ibm/was.bsh.

Create directory scripts in agent home directory, create directory ibm inside scripts and copy 'was.bsh' file to 'ibm' directory.

Edit was.bsh file and find two sections:

  spy.add(spy.instance("WAS_MBS_REGISTER")
    .onReturn(spy.fetchArg("THIS", 0), jvm.autoregister_plugin(), pmi_register())
    .include(spy.byMethod("com.ibm.ws.management.AdminServiceImpl", "<init>")));

and

  spy.add(spy.instance("WAS_CATCH_CLASS_LOADER")
    .onReturn(spy.fetchArg("THIS", 0), class_loader_catcher())
    .include(spy.byMethod("com.ibm.ws.classloader.ProtectionClassLoader", "<init>")));

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.

from zorka.

B5r1oJ0A9G avatar B5r1oJ0A9G commented on June 20, 2024

Sorry for the delay!

We made the requested test today and even commenting both sections didn't help.
Please don't hesitate to ask for any test that might support finding the cause.

from zorka.

jitlogic avatar jitlogic commented on June 20, 2024

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.

from zorka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.