I'd like to generate sequence diagrams of a running java ee application using jtracert. How do I do this?
How do I use jtracert to analyse an application running on Glassfish?
2.1k views Asked by carrier At
1
There are 1 answers
Related Questions in GLASSFISH
- Get FileNotFoundException in EAR on Glassfish
- JBoss 4.x to Glassfish 2022 and Java 6 to Java 8 causes 1 non-XA Resource Exception
- Not able to change the logging level log4j on Payara server
- GlassFish Server, deploy, null, false build-impl.xml:1072: The module has not been deployed. See the server log for details
- Glassfish 7.0.12 adds question mark to URL when running JAVA EE Application
- ModelValidationException in JAVA Jersey
- I'm not able to start jetty server
- Automating Glassfish Server during Apache Netbeans installation
- GLASSFISH CONNECTION TO DATABASE
- Glassfish JDBC Connection Pool: don't connect to MySQL
- Jaxb2RootElementHttpMessageConverter throws jakarta.xml.bind.MarshalException: null at org.glassfish.jaxb.runtime.v2.runtime.MarshallerImpl.write
- Glassfish6 WAR Module Doesn't Boot as ejb,web,webservice despite having @WebService Annotation
- What could be causing an invalid URLPatternSpec exception on glassfish 7 and how do I fix it?
- Monitoring HTTP Listeners in Glassfish 4 via JMX
- GlassFish deleted Documents
Related Questions in SEQUENCE-DIAGRAM
- How to represent fmethods as parameters in the sequence diagram and memory stack
- How to correctly create a sequence diagram?
- How to show function calls on a C++ class member variable on a UML sequence diagram?
- How to draw a sequence diagram for my University manager MAUI app?
- If I had an object user in sequence diagram and I wanted to make that object interact with the interface,should I use it's own functions?
- Including icons in Activity diagram in PlantUML?
- How to represent 'if (condition1 && condition2)' in sequence diagram
- Sequence diagrams with references and VOPC
- What is the difference of refuse and veto when looking at refinment
- How to handle an exception thrown by an actor i.e. cancelOperation() in sequence diagram?
- How to change formatting of conditional blocks in PlantUML sequence diagram
- PlantUML produces error when specifying asynchronous messages
- Syntax error when declaring a class in PlantUML .puml file
- How can i represents a sequence diagram that has nested alternative in State machine?
- Eclipse Papyrus DataSet for Class and Sequence Diagram
Related Questions in JTRACERT
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
There's a "Quick Start" chapter on the project main page: http://code.google.com/p/jtracert/
In a few words: 1. Install SDEdit (it's absolutely free) http://sdedit.sourceforge.net/ 2. Open SDEdit 3. Choose Item Start/stop RT server in menu Extras 4. Enter any port you like and press ok 5. Add the following parameters to your application startup: -DanalyzerOutput=sdEditRtClient -DsdEditHost=127.0.0.1 -DsdEditPort=60001 -javaagent:jTracert.jar
The place where you should specify these parameters depends on your application server.
A few examples are stated below. Please note that you should replace jTracert.jar with real jar name, like jTracert-0.0.3.jar!
WebLogic 9+
Windows
File: %DOMAIN_HOME%\bin\startWeblogic.cmd. Add the following line:
set JAVA_OPTIONS=-DanalyzerOutput=sdEditRtClient -DsdEditHost=127.0.0.1 -DsdEditPort=60001 -javaagent:jTracert.jar %JAVA_OPTIONS%
Linux
File: $DOMAIN_HOME\bin\startWeblogic.sh. Add the following line:
JAVA_OPTIONS="-DanalyzerOutput=sdEditRtClient -DsdEditHost=127.0.0.1 -DsdEditPort=60001 -javaagent:jTracert.jar $JAVA_OPTIONS"
GlassFish V2
Windows & Linux
File: %DOMAIN_HOME%\config\domain.xml
Search for jvm-options element and add the elements -DanalyzerOutput=sdEditRtClient -DsdEditHost=127.0.0.1 -DsdEditPort=60001 -javaagent:jTracert.jar Start the domain as usual.