tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yoav Shapira <shap...@mpi.com>
Subject Can't open InputStream to manager??
Date Thu, 25 Oct 2001 13:33:15 GMT
Hi there,

I have a servlet that tries to do something like:

URL url = new
URL("http://manageruser:managerpassword@myserver.mydomain:myport/manager/list");
URLConnection con = url.openConnection();
BufferedReader bin = new BufferedReader(new
InputStreamReader(con.getInputStream);

The third line throws an exception.  The connection itself is fine,
I can call stuff like con.getContentLength() and it works (correctly)
without a problem.  

Is the manager app coded specifically to disallow opening stream to it?
Has anyone else tried/encountered something like this?

Thanks!

Yoav Shapira
Millennium Pharmaceuticals

Mime
View raw message