Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Server closed connection without sending any data back

by sherbertpunt (Initiate)
on Feb 26, 2013 at 13:09 UTC ( #1020687=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    
    my $json = $response->decoded_content;
    print Dumper $json;
    
  2. or download this
     ./check_jboss_state.pl
    HTTP::Response=HASH(0x1448eb0)$VAR1 = 'Server closed connection withou
    +t sending any data back at /usr/local/nagios/perl/lib/Net/HTTP/Method
    +s.pm line 345.
    ';
    
  3. or download this
    my $jboss_url = 'http://admin:jboss@10.208.30.77:9990/management/?oper
    +ation=resource&name=server-state&include-runtime=true&json.pretty';
    
  4. or download this
    $jboss_url = 'http://10.208.30.77:9990/management/?operation=resource&
    +name=server-state&include-runtime=true&json.pretty';
    
  5. or download this
    $ua->credentials('10.208.30.77:9990','something','admin','jboss');
    
  6. or download this
    $ua->credentials('10.208.30.77:9990','ManagementRealm','admin','jboss'
    +);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1020687]
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2014-12-29 13:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (188 votes), past polls