Created
June 1, 2012 20:59
-
-
Save jkutner/2855113 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ruby -J-cp jboss/bin/client/jboss-client.jar -S irb | |
jruby-1.6.7 :002 > require 'java'; require 'rubygems'; require 'jmx4r' | |
=> true | |
jruby-1.6.7 :003 > JMX::MBean.establish_connection :url => 'service:jmx:remoting-jmx://127.0.0.1:9999' | |
Jun 01, 2012 3:58:35 PM org.xnio.Xnio <clinit> | |
INFO: XNIO Version 3.0.3.GA | |
Jun 01, 2012 3:58:35 PM org.xnio.nio.NioXnio <clinit> | |
INFO: XNIO NIO Implementation Version 3.0.3.GA | |
Jun 01, 2012 3:58:35 PM org.xnio.nio.NioXnio <init> | |
WARN: The currently defined selector provider class (sun.nio.ch.PollSelectorProvider) is not supported for use with XNIO | |
Jun 01, 2012 3:58:35 PM org.jboss.remoting3.EndpointImpl <clinit> | |
INFO: JBoss Remoting version 3.2.3.GA | |
NativeException: java.lang.RuntimeException: Operation failed with status WAITING | |
from org/jboss/remotingjmx/RemotingConnector.java:154:in `connect' | |
from javax/management/remote/JMXConnectorFactory.java:267:in `connect' | |
from /Users/jkutner/.rvm/gems/jruby-1.6.7/gems/jmx4r-0.1.3/lib/jmx4r.rb:220:in `create_connection' | |
from /Users/jkutner/.rvm/gems/jruby-1.6.7/gems/jmx4r-0.1.3/lib/jmx4r.rb:125:in `establish_connection' | |
from (irb):3:in `evaluate' | |
from org/jruby/RubyKernel.java:1083:in `eval' | |
from /Users/jkutner/.rvm/rubies/jruby-1.6.7/lib/ruby/1.8/irb.rb:158:in `eval_input' | |
from /Users/jkutner/.rvm/rubies/jruby-1.6.7/lib/ruby/1.8/irb.rb:271:in `signal_status' | |
from /Users/jkutner/.rvm/rubies/jruby-1.6.7/lib/ruby/1.8/irb.rb:155:in `eval_input' | |
from org/jruby/RubyKernel.java:1410:in `loop' | |
from org/jruby/RubyKernel.java:1183:in `catch' | |
from /Users/jkutner/.rvm/rubies/jruby-1.6.7/lib/ruby/1.8/irb.rb:154:in `eval_input' | |
from /Users/jkutner/.rvm/rubies/jruby-1.6.7/lib/ruby/1.8/irb.rb:71:in `start' | |
from org/jruby/RubyKernel.java:1183:in `catch' | |
from /Users/jkutner/.rvm/rubies/jruby-1.6.7/lib/ruby/1.8/irb.rb:70:in `start' | |
from /Users/jkutner/.rvm/rubies/jruby-1.6.7/bin/jirb:17:in `(root)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment