java.net.UnknownHostException: java.sun.com

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Check if you don't have a VPN or something like this messing with your connection. Also, check Jenkins DNS configurations (try to start it with "--dns 8.8.8.8".

Solutions on the web

java.net.UnknownHostException: java.sun.com
at java.net.InetAddress.getAllByName0(InetAddress.java:571)
at java.net.InetAddress.getAllByName0(InetAddress.java:540)
at java.net.InetAddress.getByName(InetAddress.java:449)
at java.net.Socket.(Socket.java:100)
at sun.net.NetworkClient.doConnect(NetworkClient.java:50)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:335)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:521)
at sun.net.www.http.HttpClient.(HttpClient.java:271)
at sun.net.www.http.HttpClient.(HttpClient.java:281)
at sun.net.www.http.HttpClient.New(HttpClient.java:293)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:404)
at com.sun.xml.parser.Resolver.createInputSource(Resolver.java:253)
at com.sun.xml.parser.ExternalEntity.getInputSource(ExternalEntity.java:49)
at com.sun.xml.parser.Parser.pushReader(Parser.java:2748)
at com.sun.xml.parser.Parser.externalParameterEntity(Parser.java:2500)
at com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1136)
at com.sun.xml.parser.Parser.parseInternal(Parser.java:480)
at com.sun.xml.parser.Parser.parse(Parser.java:283)
at weblogic.xml.dom.SunDOMParser.getDocument(SunDOMParser.java:69)
at weblogic.xml.dom.DOMParser.getDocument(DOMParser.java:102)
at weblogic.servlet.internal.dd.DescriptorLoader.(DescriptorLoader.java:134)
at weblogic.t3.srvr.HttpServer.loadWARContext(HttpServer.java:717)
at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java:692)
at weblogic.t3.srvr.HttpServer.start(HttpServer.java:493)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1402)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:885)
at weblogic.Server.startServerDynamically(Server.java:140)
at weblogic.Server.main(Server.java:97)
at weblogic.Server.main(Server.java:58)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
56 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.