and friends ...
and brothers ...
The Lord's blessing is so exceedingly abundant.
Following up on my previous notes about errors with apt-spy ...
Here is a recent version of mirrors.txt with all of the erroring sites meticulously removed as of today.
And here is a sources.list that apt-spy has generated for me.
If you are like me you feel better when you have a list of mirrors that does not waste time generating a bunch of errors and time outs, even if it's only good for a day or so before the errors start to creep back in.
<%@ page import = "You can test this jsp pretty easily with something like http://www.soapui.org/ We also have a version of soapui written in flash, so you can put that swf in those hard to get to places on your network for trouble shooting, or when soapui will not authenticate easily in the "https only" areas of your network.
java.util.*,
java.io.*,
java.net.*,
org.apache.axis.*,
org.apache.axis.message.*,
org.apache.axis.message.SOAPFault,
org.apache.axis.server.*,
org.apache.axis.soap.SOAPConstants,
org.w3c.dom.Document,
org.xml.sax.InputSource,
java.io.StringReader,
org.apache.axis.utils.*,
org.apache.axis.client.*,
org.apache.axis.encoding.*
" %><%
response.setContentType("text/xml;charset=UTF-8");
String wsdl = (String) request.getParameter("wsdl");
if (wsdl != null) {
%>Your wsdl xml goes here<%
} else {
String endPoint = "http://localhost:8080/axis/services/Version";
int timeout = 60000;
String method = (String) request.getMethod();
if (method.equalsIgnoreCase("POST")) {
String soapAction = (String) request.getHeader("soapaction");
int contentLength = request.getContentLength();
byte ba[] = new byte[contentLength];
request.getInputStream().read(ba);
ByteArrayInputStream inputStream = new ByteArrayInputStream(ba);
StringBuffer sb = new StringBuffer();
sb.append(new String(ba));
System.out.println("==== soapRequest ====");
System.out.println(sb.toString());
SOAPEnvelope soapRequest = new SOAPEnvelope();
SOAPEnvelope soapResponse = new SOAPEnvelope();
try {
soapRequest = new SOAPEnvelope(inputStream);
Service service = new Service();
Call call = (Call) service.createCall();
call.setMaintainSession(false);
call.setTargetEndpointAddress(new URL(endPoint));
call.setTimeout(new Integer(timeout));
if (soapAction == null) {
call.setUseSOAPAction(false);
} else {
if (soapAction.equals("")) {
call.setUseSOAPAction(false);
} else {
call.setUseSOAPAction(true);
call.setSOAPActionURI(soapAction);
}
}
soapResponse = (SOAPEnvelope) call.invoke(soapRequest);
} catch (Exception e) {
e.printStackTrace();
} finally {
inputStream.close();
}
System.out.println("==== soapResponse ====");
System.out.println(soapResponse.toString());
%><%=soapResponse.toString()%><%
}
if (method.equalsIgnoreCase("GET")) {
%>method="GET" is not implimented here<%
}
}
%>
# apt-spy -d unstable -o ./output.sources.txt -w outputFile.txt -n 20
Couldn't find country LU . Skipping.
SERVER: ftp.at.debian.org
Benchmarking FTP...
Downloaded 4770019 bytes in 12.55 seconds
Download speed: 371.05 kB/sec
Benchmarking HTTP...
Downloaded 4770019 bytes in 11.22 seconds
Download speed: 415.06 kB/sec
Segmentation fault
# cp -p /var/lib/apt-spy/mirrors.txt .
# apt-get --purge remove apt-spy
# wget -c http://ftp.debian.org/debian/pool/main/a/apt-spy/apt-spy_3.1-13_i386.deb
# dpkg -i apt-spy_3.1-13_i386.deb
# cp -p ./mirrors.txt /var/lib/apt-spy/.
# echo "apt-spy hold" | dpkg --set-selections
apt-spy ... will report 6 out of 7 servers as non-functioning, while in reality all except 1 are functioning