AppD Archive

Lite for Weblogic 12c throws exception

CommunityUser
Splunk Employee
Splunk Employee

Does AppDynamics Lite support Weblogic 12c?

I've followed the instructions and modified the app server start file as below.

SET JAVA_OPTIONS=%JAVA_OPTIONS% -javaagent:"C:\Downloads\AppDynamicsLite\AppServerAgentLite\javaagent.jar"

Agent server is running but the application is not starting and throwing below exception.

<Dec 10, 2013 3:24:31 PM PST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application "myapps.ear" due
 to error weblogic.application.ModuleException: java.lang.VerifyError: Expecting a stackmap frame at branch target 44 in
 method com.infoobjectsinc.IOServlet.getParameter(Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;Ljava/lang/St
ring;)Ljava/lang/String; at offset 38
weblogic.application.ModuleException: java.lang.VerifyError: Expecting a stackmap frame at branch target 44 in method co
m.infoobjectsinc.IOServlet.getParameter(Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;Ljava/lang/String;)Ljav
a/lang/String; at offset 38
        at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:114)
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
        at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:172)
        at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:167)
        at weblogic.application.utils.StateMachineDriver$ParallelChange.run(StateMachineDriver.java:80)
        Truncated. see log file for complete stacktrace
Caused By: java.lang.VerifyError: Expecting a stackmap frame at branch target 44 in method com.infoobjectsinc.IOServlet.
getParameter(Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; at offset 38

        at java.lang.Class.getDeclaredFields0(Native Method)
        at java.lang.Class.privateGetDeclaredFields(Class.java:2308)
        at java.lang.Class.getDeclaredFields(Class.java:1760)
        at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:1188)
        at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:1181)
        Truncated. see log file for complete stacktrace
>
<Dec 10, 2013 3:24:39 PM PST> <Notice> <Log Management> <BEA-170027> <The server has successfully established a connecti
on with the Domain level Diagnostic Service.>
<Dec 10, 2013 3:24:42 PM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN.>
<Dec 10, 2013 3:24:43 PM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING.>

If any one has fixed these kind of issues, please help me.

0 Karma

Arun_Dasetty
Super Champion

Hi Vgunti,

We see that lite agent does not support weblogic 12c version. Can you please add the below JVM option in the startup options in addition to -javaagent entry , save the changes and restart the weblogic server domain and see if that helps:

-XX:-UseSplitVerifier

Ex:
set JAVA_OPTIONS=%JAVA_OPTIONS%   -XX:-UseSplitVerifier  -javaagent:"C:\Downloads\AppDynamicsLite\AppServerAgentLite\javaagent.jar"

Please be sure that the lite agent does not support weblogic 12c version, we would like to see if that provided option helps here in your test environment.

Also let us know if trying our free trial of our Pro version product which is already handling this case in  latest version is an option here : http://www.appdynamics.com/blog/tag/free-trial/

Thanks,
Arun

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...