Agent is connected and sending data but in agent logs they see the following error:
2011-04-27 22:22:10.627 ERROR [main] com.sitraka.pas.agent.plugin.instrumentor.registered.RegisteredInstrument
or - An unexpected error occurred which may cause undesired behavior. You may want to contact Quest Software cus
tomer support if you see this error again: Instrumentation constraint violated:
{
weblogic.net.http.HttpURLConnection.getInputStream()Ljava/io/InputStream;: isRun=true, isModified=true
[AND]
weblogic.net.http.HttpURLConnection.writeRequests()V: isRun=true, isModified=true
[AND]
weblogic.net.http.MessageHeader: isRun=true, isModified=true
[AND]
{
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Lorg/apache/commons/httpclient/HttpMethod
;)V: isRun=false, isModified=false
[ALL|NONE]
org.apache.commons.httpclient.HttpMethodBase: isRun=true, isModified=true
[ALL|NONE]
org.apache.commons.httpclient.HttpMethodBase.writeRequest(Lorg/apache/commons/httpclient/HttpState;Lorg/
apache/commons/httpclient/HttpConnection;)V: isRun=true, isModified=true
}
}; Instrumentor: com.sitraka.pas.agent.plugin.instrumentor.registered.http.HttpUrlConnectionInstrumentor
java.lang.Exception: Stack Trace
at com.quest.common.log.LogCategory.errorUnexpected(LogCategory.java:166)
at com.sitraka.pas.agent.plugin.instrumentor.registered.RegisteredInstrumentor.handleConstraintViolation
(RegisteredInstrumentor.java:121)
at com.sitraka.pas.agent.plugin.instrumentor.registered.RegisteredInstrumentor.checkInstrumentationConst
raints(RegisteredInstrumentor.java:240)
at com.sitraka.pas.agent.plugin.instrumentor.registered.RegisteredInstrumentor.applicationStarted(Regist
eredInstrumentor.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.Nati
WORKAROUND 1
The error is because of the use of apache commons http client 2.x. Currently the JavaEE agent supports tag-n-follow via httpclient 3.x only. If you’re not concerned about tag-n-follow via http client for this environment, then you may ignore this error
WORKAROUND 2
In cases where this error results in the WebLogic Server being unable to service requests, exclude the problematic classes from instrumentation by replacing the default empty definition of InstrumentedClasses in agent_instrumentation.config with:
© 2021 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy