Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[KIEKER-1298] Howto use Kieker with different Java EE containers #2824

Open
rju opened this issue Nov 12, 2024 · 9 comments
Open

[KIEKER-1298] Howto use Kieker with different Java EE containers #2824

rju opened this issue Nov 12, 2024 · 9 comments

Comments

@rju
Copy link
Member

rju commented Nov 12, 2024

JIRA Issue: KIEKER-1298 Howto use Kieker with different Java EE containers
Original Reporter: Andre van Hoorn


E.g.,

  • Tomcat
  • JBoss
  • Glassfish
  • WebSphere
  • Jetty
@rju
Copy link
Member Author

rju commented Nov 12, 2024

author nils-christian -- Tue, 28 May 2013 17:07:58 +0200

That would go beyond the scope of the user guide, I think. Maybe put this into the FAQ we talked about?

@rju
Copy link
Member Author

rju commented Nov 12, 2024

author André van Hoorn -- Tue, 28 May 2013 18:52:25 +0200

Some hints on using it with JBoss: http://blog.novatec-gmbh.de/analysing-kieker-with-jboss-dvdstore-sample-application/

@rju
Copy link
Member Author

rju commented Nov 12, 2024

author André van Hoorn -- Mon, 21 Oct 2013 16:57:42 +0200

Create Trac page

@rju
Copy link
Member Author

rju commented Nov 12, 2024

author André van Hoorn -- Wed, 19 Feb 2014 14:33:55 +0100

Tomcat:

Thomas, Tobias: Could you please provide a brief documentation of the problems (ClassNotFound...Exception for JMSException) and solutions how to use Kieker (AspectJ, CPU/Memory etc.) with Tomcat (core point: do not use kieker-aspectj.jar as aspectagent because of classloader problems resulting from this; instead: add kieker.jar to lib/ folder and use aspectjagent as weaver)? Asking you because you probably have the console windows with the messages open and it's still in your mind.

@rju
Copy link
Member Author

rju commented Nov 12, 2024

author André van Hoorn -- Wed, 19 Feb 2014 14:36:59 +0100

Further documentation in wiki:/howtos/KiekerInJavaEEContainers

@rju
Copy link
Member Author

rju commented Nov 12, 2024

author André van Hoorn -- Wed, 19 Feb 2014 14:44:54 +0100

Decided to reopen because wiki:/howtos/KiekerInJavaEEContainers far from complete

@rju
Copy link
Member Author

rju commented Nov 12, 2024

author Imported User 22 -- Wed, 19 Feb 2014 15:29:15 +0100

To be able to instrument Tomcat to monitor method calls and system load:

  • Extract Tomcat
  • Add following jars to lib-folder:


    - aspectjweaver-*.jar


    - kieker-1.8.jar


    - sigar-*.jar (required for load monitoring)


    - system specific sigar-files (extracted to this folder) (required for load monitoring)

  • Edit bin/catalina.(sh|bat)

    Add the following option to JAVA_OPTS:

    -javaagent:${CATALINA_BASE}/lib/aspectjweaver-1.7.3.jar"
    
  • Edit conf/web.xml to be able to monitor system load

    Add within

    <web-app>
    

    tags:

      <context-param>
       <param-name>CPUMemUsageServletContextListener.samplingIntervalSeconds</param-name>
       <param-value>15</param-value>
      </context-param>
    

    <context-param>
    <param-name>CPUMemUsageServletContextListener.initialSamplingDelaySeconds</param-name>
    <param-value>0</param-value>
    </context-param>

    <listener>
    <listener-class>
    kieker.monitoring.probe.servlet.CPUMemUsageServletContextListener
    </listener-class>
    </listener>

@rju
Copy link
Member Author

rju commented Nov 12, 2024

author André van Hoorn -- Wed, 16 Apr 2014 10:24:36 +0200

To be considered: KIEKER-971 Done

@rju
Copy link
Member Author

rju commented Nov 12, 2024

author André van Hoorn -- Wed, 21 May 2014 09:02:09 +0200

+ logger issue: KIEKER-638 Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant