Dear friends,
I am new to Dynatrace set up and facing the issue while injecting host agent into Web Logic server's startWebLogic.cmd file.
Line to copy and paste from Dynatrace clipboard to startWebLogic.cmd, startManagedWeblogic.cmd and startNodeManger.cmd files is,
-agentpath:"C:\Program Files\Dynatrace\Dynatrace 6.5\agent\lib64\dtagent.dll"=name=OracleWebLogic_Monitoring,server=xxxMyComputerName:9998
Issues while configuring dynatrace are,
Case 1 : If I copy same line and continue,
My application will run successfully, but Web Logic Agent will not get added in Dynatrace
Case 2 : If I copy the above line after replacing lib64 to lib,
My application will not run properly(i., few navigation links are getting disabled), but Web Logic Agent will get added in Dynatrace.
Error Log :
||20160906||17:42:55,687||738c78542c0304a61473163971241||INFO ||myappc.common.ContextTree.getContextEntityTree():[132]||Exiting getContextEntityTree.... ||20160906||17:42:55,706||738c78542c0304a61473163971241||DEBUG||presentation.helper.TabHelper.buildSecondaryTabItems():[282]||total time to evaluate all the tabs....3 seconds ||20160906||17:42:55,706||738c78542c0304a61473163971241||DEBUG||presentation.helper.TabHelper.buildSecondaryTabItems():[316]||Time taken by buildSecondaryTabItems() method....3653 ||20160906||17:42:55,714||738c78542c0304a61473163971241||DEBUG||presentation.helper.TabHelper.buildTabXML():[521]||Time taken by buildTabXML() method....8 ||20160906||17:42:55,714||738c78542c0304a61473163971241||DEBUG||presentation.helper.TabHelper.buildTabXML():[522]||[#document: null] ||20160906||17:42:55,729||738c78542c0304a61473163971241||INFO ||presentation.filter.JSPTrackerFilter.doFilter():[54]||JSPTrackerFilter : User Id = 10000, User XYZ Id = 1, JSP Name = /MyAPPDesktop/jsp/core/content.jsp , Date & Timestamp = 9/6/16 5:42 PM ,Browser Name & Version = Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0 ||20160906||17:42:55,745||738c78542c0304a61473163971241||DEBUG||core.presentation.SingleSignOnConstants.getPingURL():[57]||Ping URL: @business.builder.ping.url@ ||20160906||17:42:55,745||738c78542c0304a61473163971241||DEBUG||core.presentation.SingleSignOnConstants.getLogoffURL():[38]||Exit URL: @business.builder.logoff.url@ ||20160906||17:42:55,745||738c78542c0304a61473163971241||DEBUG||presentation.taglib.XsltTag.doEndTag():[109]||Parse XmlString: START @ Tue Sep 06 17:42:55 IST 2016 ||20160906||17:42:55,745||738c78542c0304a61473163971241||DEBUG||presentation.taglib.XsltTag.doEndTag():[113]||Parse XmlString: END @ Tue Sep 06 17:42:55 IST 2016 ||20160906||17:42:55,745||738c78542c0304a61473163971241||DEBUG||presentation.taglib.XsltTag.doEndTag():[128]||Initialize Parameters START @ Tue Sep 06 17:42:55 IST 2016 ||20160906||17:42:55,745||738c78542c0304a61473163971241||DEBUG||presentation.taglib.XsltTag.doEndTag():[141]||Initialize Parameters END @ Tue Sep 06 17:42:55 IST 2016 ||20160906||17:42:55,745||738c78542c0304a61473163971241||DEBUG||presentation.taglib.XsltTag.doEndTag():[144]||Transform START @ Tue Sep 06 17:42:55 IST 2016 ||20160906||17:42:56,322||738c78542c0304a61473163971241||DEBUG||presentation.taglib.XsltTag.doEndTag():[159]||Tag Library Exception java.io.CharConversionException: Not an ISO 8859-1 character: ? at javax.servlet.ServletOutputStream.print(ServletOutputStream.java:99) at com.myappc.common.presentation.taglib.XsltTag.doEndTag(XsltTag.java:149) at jsp_servlet._jsp._core.__content._jspService(__content.java:1061) at weblogic.servlet.jsp.JspBase.service(JspBase.java:35) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at com.myappc.common.presentation.filter.UserContextFilter.doFilter(UserContextFilter.java:65) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at com.myappc.common.presentation.filter.JSPTrackerFilter.doFilter(JSPTrackerFilter.java:61) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at com.myappc.common.presentation.helper.InjectionAttackFilter.chainNext(InjectionAttackFilter.java:194) at com.myappc.common.presentation.helper.InjectionAttackFilter.doFilter(InjectionAttackFilter.java:188) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:527) at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253) at org.apache.struts.chain.commands.servlet.PerformForward.handleAsForward(PerformForward.java:114) at org.apache.struts.chain.commands.servlet.PerformForward.perform(PerformForward.java:96) at org.apache.struts.chain.commands.AbstractPerformForward.execute(AbstractPerformForward.java:56) at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51) at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191) at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305) at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191) at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1914) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:821) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at com.myappc.common.presentation.filter.UserContextFilter.doFilter(UserContextFilter.java:65) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at com.myappc.common.presentation.helper.InjectionAttackFilter.chainNext(InjectionAttackFilter.java:194) at com.myappc.common.presentation.helper.InjectionAttackFilter.doFilter(InjectionAttackFilter.java:188) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) ||20160906||17:42:56,322||738c78542c0304a61473163971241||ERROR||presentation.helper.InjectionAttackFilter.chainNext():[196]||An exception occured while chaining from injection filtering: javax.servlet.jsp.JspTagException: Not an ISO 8859-1 character: ? ||20160906||17:43:05,630||8533e7389504b38a1473163250934||DEBUG||web.interceptor.InjectionAttackInterceptor.isInjectionAttack():[104]||isInjectionAttack: _:1473163985561
Few other observations are,
# The name of the host agent (used for agent mapping on the dynaTrace Server). # Default: host Name OracleWebLogic_Monitoring # The address of the dynaTrace Collector this agent should connect to. # The address is of the form host:port, e.g. exampleserver:9998 # Default: localhost Server my-5028-xyz:9998
I am using below mentioned s/ws.
................ starting weblogic with Java version: java version "1.6.0_17" Java(TM) SE Runtime Environment (build 1.6.0_17-b04) Oracle JRockit(R) (build R28.0.0-679-130297-1.6.0_17-20100312-2123-windows-ia32, compiled mode) Starting WLS with line: E:\Oracle\MIDDLE~1\JROCKI~1.0-6\bin\java -jrockit -Xms1024m -Xmx2048m -Dlog4j.configuration=file:D:\wls\user_projects\domains\desktop_domain\app-config/log4j .xml -Dgipp.config.file=D:\wls\user_projects\domains\desktop_domain\app-config/gipp.properties -Dtangosol.coherence.cacheconfig=D:\wls\user_projects\domains\des ktop_domain\app-config/coherence-config-local.xml -Dtangosol.coherence.override=D:\wls\user_projects\domains\desktop_domain\app-config/tangosol-coherence-overri de.xml -Ddevelopment.mode=true -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=7002,suspend=n -Xverify:none -da -Dplatfor m.home=E:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.managemen t.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=E:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sysext_m anifest_classpath;E:\Oracle\MIDDLE~1\patch_oepe1033\profiles\default\sysext_manifest_classpath;E:\Oracle\MIDDLE~1\patch_ocp353\profiles\default\sysext_manifest_ classpath -agentpath:"C:\Program Files\Dynatrace\Dynatrace 6.5\agent\lib64\dtagent.dll"=name=OracleWebLogic_Monitoring,server=my-5028-xyz:9998 -Dweblogic.Nam e=AdminServer -D java.security.policy=E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Dlog4j.configuration=file:D:\wls\user_projects\domains\desktop_d omain\app-config/log4j.xml -Dgipp.config.file=D:\wls\user_projects\domains\desktop_domain\app-config/gipp.properties -Dtangosol.coherence.cacheconfig=D:\wls\use r_projects\domains\desktop_domain\app-config/coherence-config-local.xml -Dtangosol.coherence.override=D:\wls\user_projects\domains\desktop_domain\app-config/tan gosol-coherence-override.xml -Ddevelopment.mode=true -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=7002,suspend=n -Xveri fy:none -da -Dplatform.home=E:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=E:\Oracle\MIDDLE~1\patch_wls1033\pro files\default\sysext_manifest_classpath;E:\Oracle\MIDDLE~1\patch_oepe1033\profiles\default\sysext_manifest_classpath;E:\Oracle\MIDDLE~1\patch_ocp353\profiles\de fault\sysext_manifest_classpath -agentpath:"C:\Program Files\Dynatrace\Dynatrace 6.5\agent\lib64\dtagent.dll"=name=OracleWebLogic_Monitoring,server=my-5028 -xyz:9998 weblogic.Server [ERROR][load ] Could not load library C:\Program Files\Dynatrace\Dynatrace 6.5\agent\lib64\dtagent.dll Listening for transport dt_socket at address: 7002 <Sep 6, 2016 12:13:44 PM IST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath: D:\wls\user_projects\domains\desktop_domain\lib\coherence.jar;D:\wls\user_projects\domains\desktop_domain\lib\commons-codec-1.7.jar;D:\wls\user_projects\domains \desktop_domain\lib\commons-logging-1.1.1.jar;D:\wls\user_projects\domains\desktop_domain\lib\log4j-1.2.17.jar;D:\wls\user_projects\domains\desktop_domain\lib\s qljdbc-1.2.jar> <Sep 6, 2016 12:13:45 PM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Oracle JRockit(R) Version R28.0.0-679-130297-1.6.0_17-20100312 -2123-windows-ia32 from Oracle Corporation> <Sep 6, 2016 12:13:45 PM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 > <Sep 6, 2016 12:13:47 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING> <Sep 6, 2016 12:13:47 PM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool> .........
[ERROR][load ] Could not load library C:\Program Files\Dynatrace\Dynatrace 6.5\agent\lib64\dtagent.dll
D:\Data\NS\Setup\Apache2.2\bin>httpd -V Server version: Apache/2.2.11 (Win32) Server built: Dec 10 2008 00:10:06 Server's Module Magic Number: 20051115:21 Server loaded: APR 1.3.3, APR-Util 1.3.4 Compiled using: APR 1.3.3, APR-Util 1.3.4 Architecture: 32-bit Server MPM: WinNT threaded: yes (fixed thread count) forked: no Server compiled with.... -D APACHE_MPM_DIR="server/mpm/winnt" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT="/apache" -D SUEXEC_BIN="/apache/bin/suexec" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_ERRORLOG="logs/error.log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" D:\Data\NS\Setup\Apache2.2\bin>
Please suggest me to find out the root cause of the issue and it's resolution.
Vijaya, I've moved your question to the AppMon & UEM Open Q&A forum, where people who can help you with this issue will see it.
Hi All,
Still I am facing same problem even after I made all my JVM and servers software to 32-bit.
The issue is, after injecting a server agent into my Web Logic Server, my application will not work properly. Few right navigation links and body of that links will not be displayed.
Is there any security settings I need to do along with agent injection in Web logic configuration ?
Hi All,
I have been facing the same issue since last one month.
Is there any security settings in Web logic/Apache/Browsers/JVM/Application-code, do I need along with agent injection in Web logic and Apache servers? if yes, please mention those settings.
If not, dynatrace is not a suitable tool to monitor all high secured enterprise/web applications.
Would anybody suggest/finalize this question?
Answer by Dan B. ·
Hi Vijaya,
This issue looks like it may be better serviced by our support team. If you haven't already done so you can submit a ticket at our support portal here.
After support helps resolve this issue for you could you post in this thread again with the solution? It might help someone else in the future.
Hope this helps,
Dan
DECEMBER 12, 10:00 AM GMT / 2:00 PM ET
Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here
Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here
Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here
Eclipse Plugin - no test results available 4 Answers
Could not convert socket to TLS [EmailSender] WARNING 2 Answers
we want to export some reports from dynatrace and import it to BCO BMC 4 Answers
Dynatrace Agent is not connecting 11 Answers
Training Guidance, Tips ( Words of Wisdom), or Documentation 6 Answers