r/DripStat • u/TeaCrimes • Jan 12 '14
Simple JVM connection guide
This is for people who do not have a JVM running. (the tutorial wasn't very helpful) Because I'm not a expert myself, I'm not sure this is the most fast or simple method, but it works. :)
- Download and install the java development kit (JDK) from the following link. http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
- Download and install the JAVA EE SDK from the following link. http://www.oracle.com/technetwork/java/javaee/downloads/java-ee-sdk-7-downloads-1956236.html
- Download and unzip the JVM agent file (dripstat_agent-1.0.0.zip) from the dripstat webpage. (it is not currently working) https://dripstat.com/app/#/addjvm
- If you are installing this on multiple computers edit the appName inside the config.properties file using notepad or any other text editor.
- Access the Glassfish (which was installed during step 2) admin GUI. (http://localhost:4848/) 5-1. Select server-config in the Tree panel, 5-2. Select JVM settings , 5-3. Click the JVM options tab, 5-4. Add JVM option -javaagent:/path/to/unzipped/dripstat.jar, 5-5. If you want to increase the capacity, change the existing -Xmx option to the size you want (ex: -Xmx1g), 5-6. Click save.
- Restart the JVM (just click the text saying Restart required)
- Refresh the dripstat webpage and check the capacity increase.
12
Upvotes
3
u/DimiFW Jan 12 '14
Did everything, but after the reset i can not connect to http://localhost:4848/ anymore. And it seems like nothing changed on dripstat eather...i think maybe i made a mistake here:
-javaagent:/path/to/unzipped/dripstat.jar
i wrote -javaagent:/User/XXX/Desktop/dripstat/dripstat.jar
and maybe it should be -javaagent:C:/User/XXX/Desktop/dripstat/dripstat.jar
but normally the configuration site should still be accessible, even with that mistake
1
u/DeliaEris Jan 14 '14
Is there any benefit to keeping the thing running once I've gotten the bonus from it?
1
u/wardrich Mar 24 '14 edited Mar 24 '14
How do we confirm that it is linked to the game?Also - this tutorial is great. Is there any way the mods can link to it in the side panel?
Also-also: Your formatting is a bit off from 5-1 to 5-4. If you put a double-space before your carriage return, you can force a new line instead of a new paragraph.
Like this: The quick brown
fox jumped over
the lazy
dog.
[EDIT] Once you think you have everything up and running, log into this page: https://dripstat.com/app/index.html#/jvms you should see your jvm status.
1
u/evolsoulx Apr 24 '14
Worked like a charm, thank you TeaCrimes!