Discussion

This page is to share your ideas with CyclopsGroup team. Most forum categories allows anonymous post.

general
Discussion not specific to a project
Category nameThreadsPostsLast post
General discussion not specific to any project
11by GaryColeGaryCole
1263323200|(%O ago) Jump!
projects
Discussion around several open source projects.
Category nameThreadsPostsLast post
General discussions about Jmxterm project. For bug reporting, please goto http://launchpad.net/jmxterm
818by ivan (guest)
1267523159|(%O ago) Jump!
Discussion around open source project Jcli
00 

Show hidden

rss icon RSS: New threads | New posts

Latest posts

From categories:
page 1 of 212next »

thanks for reply. it's clear.

Re: jmxterm: Operation requires JDK instead of JRE by ivan (guest), 1267523159|%e %b %Y, %H:%M %Z|agohover

To list running JVMs, Jmxterm needs jars from JDK_HOME/lib that doesn't exist in JRE. Is the java command that you ran from a JDK or JRE? For example, …/jdk1.6.0/bin/java is good, …/jdk1.6.0/jre/bin/java or …/jre1.6.0/bin is bad. If you are not sure, run "which java" and let me know the result. Thank you.

Regards
-Jiaqi

Re: jmxterm: Operation requires JDK instead of JRE by jiaqijiaqi, 1267497081|%e %b %Y, %H:%M %Z|agohover

hi all,
i'm trying to start jmxterm (java -jar jmxterm.jar) and listing all running JVM processes (command 'jvms' in jmxterm) … . but jvms commnad throw me exception like this:
#UnsupportedOperationException: Operation requires JDK instead of JRE.
I'm using java:
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)

could you give me some advice where is problem or what i did wrong??

thanks,

ivan

jmxterm: Operation requires JDK instead of JRE by ivan (guest), 1267449366|%e %b %Y, %H:%M %Z|agohover
Data format
Mark (guest) 1264037573|%e %b %Y, %H:%M %Z|agohover
in discussion projects / jmxterm » Data format

Hi,

I'm controlling jmxterm from a Python script, and I'd like an automated way to funnel the data returned in Python objects. What is the data format that is used to return the values?

Thanks,

Mark

Data format by Mark (guest), 1264037573|%e %b %Y, %H:%M %Z|agohover
writing jobs
GaryColeGaryCole 1263323200|%e %b %Y, %H:%M %Z|agohover
in discussion general / discussion » writing jobs

A freelance writing jobs announcement site and community resource for freelance writers and bloggers.

writing jobs by GaryColeGaryCole, 1263323200|%e %b %Y, %H:%M %Z|agohover
Re: typo
jiaqi (guest) 1261179879|%e %b %Y, %H:%M %Z|agohover
in discussion Hidden / Per page discussions » E. Embed in script language

it's supposed to be the same

echo "get -s -b java.lang:type=Runtime Name" | java -jar …

Re: typo by jiaqi (guest), 1261179879|%e %b %Y, %H:%M %Z|agohover
Re: typo
eli (guest) 1261074024|%e %b %Y, %H:%M %Z|agohover
in discussion Hidden / Per page discussions » E. Embed in script language

Does anyone know how to script this within windows using a batch file?

Re: typo by eli (guest), 1261074024|%e %b %Y, %H:%M %Z|agohover

I should document it somewhere. The delimiter is &&, not ;

Re: Executing several commands in non-interactive-mode by Jiaqi (guest), 1259585778|%e %b %Y, %H:%M %Z|agohover
Executing several commands in non-interactive-mode
Sven Schliesing (guest) 1258548126|%e %b %Y, %H:%M %Z|agohover
in discussion projects / jmxterm » Executing several commands in non-interactive-mode

Hi,

I'd like to execute several commands when using Jmxterm in non-interactive-mode. First I'd like to connect (via "open") and then I'd like to get the value of a mbean. I tried

echo "open 7358; get  java.lang:type=Runtime Name"  | java -jar jmxterm-1.0-alpha-4-uber.jar -n

but didn't succeed. Cause I only have the pid of the process I'm not able to open the connection with "-l". Besides that also wouldn't help me with executing other commands than "open".

Many thanks in advance!

Sven

Executing several commands in non-interactive-mode by Sven Schliesing (guest), 1258548126|%e %b %Y, %H:%M %Z|agohover
Re: typo
jiaqijiaqi 1256318549|%e %b %Y, %H:%M %Z|agohover
in discussion Hidden / Per page discussions » E. Embed in script language

Thanks for pointing out!

Re: typo by jiaqijiaqi, 1256318549|%e %b %Y, %H:%M %Z|agohover
typo
Geraald (guest) 1255459320|%e %b %Y, %H:%M %Z|agohover
in discussion Hidden / Per page discussions » E. Embed in script language

You need the "-n" on the "java -jar" command in the perl example.

typo by Geraald (guest), 1255459320|%e %b %Y, %H:%M %Z|agohover
Re: ActiveMQ and jmxterm
jiaqijiaqi 1251750374|%e %b %Y, %H:%M %Z|agohover
in discussion projects / jmxterm » ActiveMQ and jmxterm

Aside from the purpose, ActiveMQ or arbitrary object, MBean is simple conception for remote object with attributes, operations and notifications. What exactly is the object name and operation that you want to call?

"run browse myprop LIKE 'foobar_%'" calls operation browse("myprop", "LIKE", "'foobar_%'") of selected bean, is it the right operation you attempt to call?

Regards

Re: ActiveMQ and jmxterm by jiaqijiaqi, 1251750374|%e %b %Y, %H:%M %Z|agohover
Re: RPM bundling for jmxterm
jiaqijiaqi 1251746332|%e %b %Y, %H:%M %Z|agohover
in discussion projects / jmxterm » RPM bundling for jmxterm

That sounds very helpful. I'd like to add this script that creates RPM to source repository, and start including RPM file as part of release. Is the script available somewhere? Thanks!

Regards
-Jiaqi Guo

Re: RPM bundling for jmxterm by jiaqijiaqi, 1251746332|%e %b %Y, %H:%M %Z|agohover
RPM bundling for jmxterm
Nico Kadel-Garcia (guest) 1248801801|%e %b %Y, %H:%M %Z|agohover
in discussion projects / jmxterm » RPM bundling for jmxterm

I deploy software to RHEL and Fedora systems, and needed an RPM to bundle up this tool. I've written one to publish the .jar file to /usr/share/jmxterm, and dump a shell script called /usr/bin/jmxterm. Does anyone want it?

RPM bundling for jmxterm by Nico Kadel-Garcia (guest), 1248801801|%e %b %Y, %H:%M %Z|agohover
Re: Setting MBean
crazytmaccrazytmac 1248417729|%e %b %Y, %H:%M %Z|agohover
in discussion projects / jmxterm » Setting MBean

Did you try escaping dash with \? I never had a name with dashes but \ can escape white space without problem.

So try "bean module\-name=cluster". If you still see an error, please feel free to report a bug in http://wiki.cyclopsgroup.org/jmxterm:support. Thanks.

Re: Setting MBean by crazytmaccrazytmac, 1248417729|%e %b %Y, %H:%M %Z|agohover
Re: Setting MBean
Haydn (guest) 1248267566|%e %b %Y, %H:%M %Z|agohover
in discussion projects / jmxterm » Setting MBean

Actually, the real MBean name has a hypen, e.g:

foo-baa.xyz.cluster:module-name=cluster

Looking at PATTERN_PROPERTIES in the source, it uses the word regex "\w", I don't think this allows for hyphens although I haven't coded in java in a long time.

Re: Setting MBean by Haydn (guest), 1248267566|%e %b %Y, %H:%M %Z|agohover
Setting MBean
Haydn (guest) 1248264794|%e %b %Y, %H:%M %Z|agohover
in discussion projects / jmxterm » Setting MBean

I'm trying to test jmxterm, unfortunately I can't set the MBean (although I can set the domain). From the below output of "beans" what exactly is the "bean" command to set the MBean to that showed below?

$>domain foo.baa.cluster
#domain is set to foo.baa.cluster
$>beans
#domain = foo.baa.cluster:
foo.baa.cluster:module-name=cluster
$>

No matter what arguments I pass to the "bean" command I always get a Bean name isn't valid error.

Setting MBean by Haydn (guest), 1248264794|%e %b %Y, %H:%M %Z|agohover
ActiveMQ and jmxterm
david (guest) 1247173612|%e %b %Y, %H:%M %Z|agohover
in discussion projects / jmxterm » ActiveMQ and jmxterm

I All,

I have an ActiveMQ enviroment. I'd like to use jmxterm for quering my 'FOO.BAR' queue.

I need to retrieve all messages matching a condition on a custom message property (e.g. in my messages the myprop property can assume the values foobar_1,….,foobar_N).

I tried to call:
run browse myprop LIKE 'foobar_%'

but it doesn't work, instead it works perfectly e.g. in jconsole :(

Someone can help me?

ActiveMQ and jmxterm by david (guest), 1247173612|%e %b %Y, %H:%M %Z|agohover
Re: Great Utility
Michael (guest) 1244802810|%e %b %Y, %H:%M %Z|agohover
in discussion projects / jmxterm » Great Utility

I'd like to thank you as well. Tried several alternatives but came to a close on this one. Function, ease of use - excellent!

Best regards,

Michael

Re: Great Utility by Michael (guest), 1244802810|%e %b %Y, %H:%M %Z|agohover

I created bug https://bugs.launchpad.net/jmxterm/+bug/319375 to track this issue. Thanks for reporting it.

Re: NPE when running jmxterm from uber jar by crazytmaccrazytmac, 1232557752|%e %b %Y, %H:%M %Z|agohover
page_revision: 3, last_edited: 1232771122|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License