From bela at jboss.com Mon Dec 15 08:03:13 2008 Content-Type: multipart/mixed; boundary="===============3608434151943514992==" MIME-Version: 1.0 From: Bela Ban To: mod_cluster-dev at lists.jboss.org Subject: Re: [mod_cluster-dev] How can I invoke MCMP commands via telnet ? Date: Mon, 15 Dec 2008 14:03:03 +0100 Message-ID: <49465587.6030002@jboss.com> In-Reply-To: 49464CDC.90601@gmail.com --===============3608434151943514992== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [mac] /Users/bela/tmp$ telnet linux 8000 Trying 192.168.1.5... Connected to linux. Escape character is '^]'. DISABLE-APP / HTTP/1.0 JvmRoute: node2 Context: /jbossws HTTP/1.1 403 Forbidden Date: Mon, 15 Dec 2008 13:02:18 GMT Server: Apache/2.2.10 (Unix) mod_ssl/2.2.10 OpenSSL/0.9.8i DAV/2 = mod_jk/1.2.26 Content-Length: 202 Connection: close Content-Type: text/html; charset=3Diso-8859-1 403 Forbidden

Forbidden

You don't have permission to access / on this server.

Connection closed by foreign host. jean-frederic clere wrote: > Bela Ban wrote: >> I tried >> >> telnet localhost 8000 >> GET /INFO HTTP/1.0 >> >> doesn't work. Is there a way for me to invoke those commands = >> interactively ? >> > > You have use the MCMP method INFO instead GET. > For example: > +++ > [jfclere(a)jfcpc ~]$ telnet 10.33.144.200 6666 > Trying 10.33.144.200... > Connected to 10.33.144.200. > Escape character is '^]'. > INFO / HTTP/1.1 > Host: localhost > > HTTP/1.1 200 OK > Date: Mon, 15 Dec 2008 12:22:31 GMT > Server: Apache/2.2.11-dev (Unix) mod_ssl/2.2.11-dev OpenSSL/0.9.8g DAV/2 > Content-Length: 0 > Connection: close > Content-Type: text/plain > > Connection closed by foreign host. > +++ > and "INFO / HTTP/1.0" for 1.0 > > Cheers > > Jean-Frederic -- = Bela Ban Lead JGroups / Clustering Team JBoss - a division of Red Hat --===============3608434151943514992==--