5.7

Connection Refused Errors
A Java error indicates that the connection from the SCR Tool to the vendor download site was refused.
Problem
When you interactively run a replication process, or in the cron logs when you use cron, a Connection
refused error can occur. This type of error resembles the following message.
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.http.HttpClient.New(HttpClient.java:323)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
(HttpURLConnection.java:970)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect
(HttpURLConnection.java:911)
at sun.net.www.protocol.http.HttpURLConnection.connect
(HttpURLConnection.java:836)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream
(HttpURLConnection.java:1014)
at com.lumension.scr.rhn.RHNRegister.postXMLRPCRequest(RHNRegister.java:435)
at com.lumension.scr.rhn.RHNRegister.loginToRHN(RHNRegister.java:526)
at com.lumension.scr.rhn.RHNManager.getSession(RHNManager.java:82)
at com.lumension.scr.pojo.SCPackage.download(SCPackage.java:439)
at com.lumension.scr.client.StandaloneSCRepositoryClient.download
(StandaloneSCRepositoryClient.java:389)
at com.lumension.scr.client.StandaloneSCRepositoryClient.process
(StandaloneSCRepositoryClient.java:328)
at com.lumension.scr.client.StandaloneSCRepositoryClient.main
(StandaloneSCRepositoryClient.java:429)
Cause
An undetermined number of reasons can cause this error.
Solution
You can typically ignore these errors. The script continues to run and replicate patch data. To verify that
the script continues to run, open the log defined by the /conf/logging.properties file.
Null Pointer Exception Errors
An error occurs while the SCR Tool processes the content download request.
Software Content Repository Tool 5.0 Guide
40
VMware, Inc.