[Biojava-l] Connecting to GenBank - BioException

lach at cantv.net lach at cantv.net
Mon Aug 18 11:01:50 EDT 2003


org.biojava.bio.BioException

java.net.SocketException: Connection reset by peer: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
	at java.net.Socket.connect(Socket.java:426)
	at java.net.Socket.connect(Socket.java:376)
	at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:386)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:602)
	at sun.net.www.http.HttpClient.<init>(HttpClient.java:303)
	at sun.net.www.http.HttpClient.<init>(HttpClient.java:264)
	at sun.net.www.http.HttpClient.New(HttpClient.java:336)
	at sun.net.www.http.HttpClient.New(HttpClient.java:317)
	at sun.net.www.http.HttpClient.New(HttpClient.java:312)
	at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.j
ava:481)
	at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:4
72)
	at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection
.java:574)
	at org.biojava.bio.seq.db.WebSequenceDB.getSequence(WebSequenceDB.java:81)
rethrown as org.biojava.bio.BioException
	at org.biojava.bio.seq.db.WebSequenceDB.getSequence(WebSequenceDB.java:88)
	at ConnectToGenBank.main(ConnectToGenBank.java:40)

In ConnectToGenBank, line 40:
    secuencia = ncbiDB.getSequence("33653398");

Luis Ch.
lach at cantv.net			  	



More information about the Biojava-l mailing list