AppD Archive

Agent doesn't start on weblogic error message below...

CommunityUser
Splunk Employee
Splunk Employee

We are trying to start the agent as mentioned at

http://litedocs.appdynamics.com/display/ADLite/Installing+the+Application+Server+Agent

We are facing the below exception and the agent is not connected to the Viewer.

Please help.

Agent Logging Directory [C:\Oracle\Middleware\user_projects\domains\base_domain\AsaLite\logs\Server Node]

Could not start Java Agent,java.lang.AbstractMethodError: com.appdynamics.javax.xml.parsers.DocumentBuilderFactory.setValidating(Z)V ,Please check log

files

java.lang.AbstractMethodError: com.appdynamics.javax.xml.parsers.DocumentBuilderFactory.setValidating(Z)V

        at com.singularity.util.org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:892)

        at com.singularity.util.org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:776)

        at com.singularity.util.org.apache.log4j.xml.XMLWatchdog.doOnChange(DOMConfigurator.java:1183)

        at com.singularity.util.org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:89)

        at com.singularity.util.org.apache.log4j.helpers.FileWatchdog.<init>(FileWatchdog.java:58)

        at com.singularity.util.org.apache.log4j.xml.XMLWatchdog.<init>(DOMConfigurator.java:1174)

        at com.singularity.util.org.apache.log4j.xml.DOMConfigurator.configureAndWatch(DOMConfigurator.java:751)

        at com.singularity.util.org.apache.log4j.xml.DOMConfigurator.configureAndWatch(DOMConfigurator.java:734)

        at com.singularity.ee.agent.appagent.kernel.JavaAgent.b(JavaAgent.java:246)

        at com.singularity.ee.agent.appagent.kernel.JavaAgent.initialize(JavaAgent.java:100)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at com.singularity.ee.agent.appagent.AgentEntryPoint.premain(AgentEntryPoint.java:153)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:323)

        at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:338)

0 Karma

Arun_Dasetty
Super Champion

Hi Shashank,

Thanks for the error stacktrace, can you try the following:
- Download again latest lite agent and configure lite agent as per docs:

http://litedocs.appdynamics.com/display/ADLite/Oracle+WebLogic

- if the issue still persists, please attach the following logs or send logs to akumar@appdynamics.com to debug further:

- <lite-agent_install_dir>/logs
- weblogic server startup console logs and server logs with agent stack trace

- weblogic version and jdk version used by the weblogic domain used in your test environment

Thanks,

Arun

0 Karma
Get Updates on the Splunk Community!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

April 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...