# Command line to launch jconsole?

**URL:** https://community.wowza.com/t/command-line-to-launch-jconsole/33520
**Category:** Wowza Streaming Engine
**Tags:** server-administration
**Created:** [March 31, 2010, 9:18am UTC](https://community.wowza.com/t/command-line-to-launch-jconsole/33520 "2010-03-31T09:18:57Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Brian\_Finley](https://avatars.discourse-cdn.com/v4/letter/b/a9a28c/32.png) [@Brian\_Finley](https://community.wowza.com/u/Brian_Finley)
#### Post date: [March 31, 2010, 9:18am UTC](https://community.wowza.com/t/command-line-to-launch-jconsole/33520/1 "2010-03-31T09:18:57Z")

</div>

I’m on a Mac OS X system, with Wowza installed on a linux system, and jconsole is obviously quite useful.

The only problem is that the connect string is incredibly long, no way I’ll ever remember that, and so I was hoping to be able to save it to a shortcut and drop it into my dock or something.

Unfortunately, I’m pretty much lost. Typing ‘jconsole’ in the terminal pops up the window, without any of the connection details from the last time I logged in.

```auto
jconsole service:jmx:rmi://128.255.##.###:8084/jndi/rmi://128.255.##.###:8085/jmxrmi

```

gets me partway there, in that it reads that connection string (my ip hidden to protect my security), but it doesn’t prompt for the username and password.

i tried the usual

```auto
jconsole service:jmx:rmi://username:password@128.255.##.###:8084/jndi/rmi://128.255.##.###:8085/jmxrmi 

```

sort of stuff, and it doesn’t recognize any of it, no matter what combo or locations i put that stuff in at.

any suggestions? i’ve been through as much jconsole command line documentation as I can find, and nothing’s coming up about putting in the username and password from the command line

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [March 31, 2010, 5:31pm UTC](https://community.wowza.com/t/command-line-to-launch-jconsole/33520/2 "2010-03-31T17:31:14Z")

</div>

JConsole is a standalone application. On Windows it is JConsole.exe, located in Java install folder, in the /bin folder. Look for mac version in a similar location.

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [March 31, 2010, 6:15pm UTC](https://community.wowza.com/t/command-line-to-launch-jconsole/33520/3 "2010-03-31T18:15:26Z")

</div>

Okay, I don’t know that one. I keep a file on my desktop with the service urls I use a lot.

Richard

---

<div class="post-metadata">

### Author: ![Brian\_Finley](https://avatars.discourse-cdn.com/v4/letter/b/a9a28c/32.png) [@Brian\_Finley](https://community.wowza.com/u/Brian_Finley)
#### Post date: [March 31, 2010, 10:09am UTC](https://community.wowza.com/t/command-line-to-launch-jconsole/33520/4 "2010-03-31T10:09:35Z")

</div>

I know it’s a standalone application, and can launch it like that without a problem. As I said in my original post, I’m trying to find a shortcut to launch the program with my connection string pre-loaded, so that I don’t have to go dig through logs and/or email to find the service: URL.
