• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home
  • Public Forums
  • Application Monitoring & UEM
  • AppMon & UEM Open Q&A
avatar image
Question by George P. · Feb 12, 2013 at 09:36 PM ·

Cognos error with dynaTrace

Hello,

We instrumented dynaTrace Agents on JVMs running the Cognos application; everything from the dynaTrace side is fine ...no errors ...agent is up and running etc. However the cognos application cannot start. On perusing the logs for some reason DT is interfering with the startup.

Has anyone faced this issue with cognos?

Regards,

George

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

8 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Richard M. · Oct 29, 2014 at 06:03 PM

Hi Sreerag,

 

Thanks for responding on this, we have moved on and decided not to add cognos on to dynatrace. The path we were using is a symbolic link that is pointing to the lib64/dtagent.dll file.

 

Thanks

Richard

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Sreerag M. · Oct 28, 2014 at 01:41 AM

Richard,

We have the Cognos instrumented with DT agent.

You may need to check the path (C:\Dynatrace\dtagent.dll) to dll is correct. (are you sure that there is no lib/lib64 folder)

-Sreerag

 

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Richard M. · Mar 25, 2014 at 09:44 AM

Hi,

I am also busy with a Cognos Application instrumentation and I have added the Parameter as indicated by Gerald in the bootstrap_win64.xml config file as per below, however the application starts up but it does not connect to dynatrace neither do I see any logs genereated in the logs folder for the dynatrace agent nor anything in the cognos application logs relating to dynatrace.

Is there something wrong with the way I added it to the xml file?

 

<process name="catalina">
<start>
<spawn sync="0" wait_time="5">
<path quoteAsParam="true">${java_home}/bin/java.exe</path>
<param condName="${ip_protocol}" condValue="IPv6">-Djava.net.preferIPv6Addresses=true</param>
<param>-agentpath:"C:\Dynatrace\dtagent.dll"=name=Cognos,server=server1:9982</param>
<param>-Xrs</param>
<param>-Xmx${dispatcherMaxMemory}m</param>
<param>-Xms${dispatcherMaxMemory}m</param>
<param condName="${java_vendor}" condValue="IBM">-Xgcpolicy:gencon</param>
<param condName="${java_vendor}" condValue="Sun">-XX:MaxNewSize=${dispatcherMaxMemoryBy2}m</param>
<param condName="${java_vendor}" condValue="Sun">-XX:NewSize=${dispatcherMaxMemoryBy4}m</param>
<param condName="${java_vendor}" condValue="Sun">-XX:MaxPermSize=128m</param>
<!-- uncomment these for debug -->
<!--
<param>-Xdebug</param>
<param>-Xnoagent</param>
<param>-Xrunjdwp:transport=dt_socket,address=9091,server=y,suspend=n</param>
<param>-Djava.compiler=NONE</param>
-->
<!-- end debug params -->
<param>"-cp"</param>
<param>"${install_path}/tomcat/bin/bootstrap.jar;${java_home}/lib/tools.jar"</param>
<param>"-Dcom.ibm.cognos.disp.useDaemonThreads=true"</param>
<param>"-Dcatalina.base=${install_path}/tomcat"</param>
<param>"-Dcatalina.home=${install_path}/tomcat"</param>
<param>"-Djava.io.tmpdir=${temp}"</param>
<param>"-Djava.endorsed.dirs=${java_home}/lib/endorsed;${java_home}/jre/lib/endorsed;${install_path}/tomcat/lib/endorsed"</param>
<param>org.apache.catalina.startup.Bootstrap</param>
<param>start</param>
</spawn>
</start>

 

Thanks

Richard

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Mark P. · Mar 14, 2014 at 06:20 PM

Sorry, I meant to say that I am NOW seeing purepaths in dynaTrace.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Mark P. · Mar 14, 2014 at 06:02 PM

Thank you Gerald!  That is working.  I am not seeing purepaths in dynaTrace.  However, I see that one of the long running transactions is taking 32 seconds and it points to a socket read.  When I drill down to the database, it shows queries to the content store but nothing to the datamart.  All the queries to the content store are taking milleseconds and there are no queries that add up to 32 secs.  Is there a special sensore that we need to place to capture the queries to the datamart?

 

Thanks,
Mark

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Mark P. · Jan 29, 2014 at 06:24 AM

Where did you place the startup command for dynaTrace?  We are running Cognos on Windows and have tried placing the startup cmd in the Catalina.bat in teh Tomcat directory as well as the CogConfig.bat file. 

Thanks,

Mark

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Gerald L. · Mar 14, 2014 at 11:22 AM 1
Share

...load the agent dll in ..\cognos\c10\bin64\bootstrap_win64.xml

<path quoteAsParam="true">${java_home}/bin/java.exe</path> <param>-agentpath:"C:\%path_to_agent%\dtagent.dll"=name=Cognos,server=server.xxx.xxx</param>

avatar image

Answer by Mike S. · Feb 27, 2013 at 06:44 PM

George,

Any update? Were you able to instrument successfully?

We are about to start instrumenting Cognos over at Comerica Bank and i'm trying to gather any information beforehand that might prove useful.

Thanks,

Mike

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image George P. · Feb 27, 2013 at 09:31 PM 0
Share

Hi Mike,

Yes, after removing the JMX MBean sensor and the JMS entry Point sensors, the Cognos app was able to come up and we were successful in the profiling exercise. I noticed that Cognos uses Mx4J (instead of JMX) and I'm guessing that's the reason for the problem.

Regards,
George

avatar image

Answer by Ted F. · Feb 13, 2013 at 12:26 AM

Yes. In my case, we had to unplace the JMX MBean Sensor from the Agent Group Sensor Placement screen. We actually also unplaced the JMS and JMS Receive Entry Point sensors, but my guess is we only had to do the JMX MBean Sensor.

Of course, I can't guarantee that what you are seeing and what I saw are the same things, but the log for Cognos showed a linkage error on an MBean in my case.

Hope that helps!

thanks,
ted

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A