• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Curl with javamonitor direct actions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Curl with javamonitor direct actions


  • Subject: Curl with javamonitor direct actions
  • From: Jeffrey Schmitz <email@hidden>
  • Date: Sat, 14 Mar 2015 19:59:33 -0500

Hi All,

   I’d like to be able to invoke the JavaMonitor Direct Actions via curl from the localhost command line in case I only have command line level access to my machine.  I’ve tried a couple commands but they aren’t working (they do work from a browser).  When I execute them, I always get a “…action failed: Invalid type null” error message.  Here is a couple examples I tried:

   curl -X GET http://localhost:56789/cgi-bin/WebObjects/JavaMonitor.woa/admin/turnRefuseNewSessionsOff?pw=mypassword&type=ins&name=myApp-2

curl -X  GET  http://localhost:56789/cgi-bin/WebObjects/JavaMonitor.woa/admin/turnRefuseNewSessionsn?pw=mypw&type=ins&name=myApp-2

curl  http://localhost:56789/cgi-bin/WebObjects/JavaMonitor.woa/admin/turnRefuseNewSessionsn?pw=mypw&type=ins&name=myApp-2

Any ideas what going on?

Thanks!
Jeff
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Curl with javamonitor direct actions
      • From: Altera WO Team <email@hidden>
  • Prev by Date: Re: Values in URL for WOCheckBox?
  • Next by Date: D2W component ??
  • Previous by thread: Re: Redirect vs mod_webobjects
  • Next by thread: Re: Curl with javamonitor direct actions
  • Index(es):
    • Date
    • Thread