Skip to content

Instantly share code, notes, and snippets.

@chook
Last active December 16, 2015 02:29
Show Gist options
  • Save chook/5363078 to your computer and use it in GitHub Desktop.
Save chook/5363078 to your computer and use it in GitHub Desktop.
Installing Takipi with JBoss AS 7
a. Create an account at www.takipi.com
b. Install Takipi
c. Add Takipi java agent to the running script (if you selected auto attach Takipi, skip this part)
1. Edit <jboss>/bin/standalone.sh or your own
2. Add "-agentpath:/opt/takipi/lib/libTakipiAgent.so" virtual machine argument to JAVA_OPTS environment variable.
d. Create directories path: <jboss>/modules/com/sparktale/bugtale/agent/main
The directory needs to have two items, module.xml and rt_sup.jar.
1. Create module.xml file and paste the following:
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.0" name="com.sparktale.bugtale.agent">
<resources>
<resource-root path="rt_sup.jar"/>
</resources>
<dependencies>
<module name="sun.jdk" />
</dependencies>
</module>
2. Link /opt/takipi/lib/rt_sup.jar to the directory:
ln -s /opt/takipi/lib/rt_sup.jar <jboss>/modules/com/sparktale/bugtale/agent/main
e. Add Takipi module to JBoss server config
1. Edit <jboss>/standalone/configuration/standalone.xml
2. Under <profile> add Takipi subsystem:
<subsystem xmlns="urn:jboss:domain:ee:1.0">
<global-modules>
<module name="com.sparktale.bugtale.agent" slot="main"/>
</global-modules>
</subsystem>
f. Restart JBoss server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment