error loading deployment descriptors java.net.UnknownHostException: www.sun

I tried to deploy an application used jbuilder 2006 with j2ee 8.2.

I get the above error - when I try to deploy the ear file....error loading deployment descriptors for agentsample --www.sun.com.

I checked up the server.log file and got the following error messages:

[#|2006-01-30T12:22:24.644-0500|SEVERE|sun-appserver-ee8.1|javax.enterprise.sys tem.tools.deployment|_ThreadID=17;|"DPL8005: Deployment Descriptor parsing failure : www.sun.com"|#]

[#|2006-01-30T12:22:24.644-0500|WARNING|sun-appserver-ee8.1|javax.enterprise.sy stem.tools.deployment|_ThreadID=17;|Failed to load descriptor for agentsample|#]

[#|2006-01-30T12:22:24.654-0500|SEVERE|sun-appserver-ee8.1|javax.enterprise.sys tem.tools.deployment|_ThreadID=18;|"DPL8005: Deployment Descriptor parsing failure : www.sun.com"|#]

[#|2006-01-30T12:22:25.144-0500|INFO|sun-appserver-ee8.1|javax.enterprise.syste m.tools.deployment|_ThreadID=18;|Total Deployment Time: 3054 msec, Total EJB Compiler Module Time: 0 msec, Portion spent EJB Compiling: 0%|#]

[#|2006-01-30T12:22:25.144-0500|SEVERE|sun-appserver-ee8.1|javax.enterprise.sys tem.tools.deployment|_ThreadID=18;|Exception occured in J2EEC Phase

com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for agentsample -- www.sun.com

at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:32 5)

at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:164)

at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.j ava:107)

at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:146)

at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPh ase.java:71)

at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeplo ymentService.java:633)

at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentSe rvice.java:188)

at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentSe rvice.java:520)

at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:143)

at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:171)

Caused by: java.net.UnknownHostException: www.sun.com

at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)

at java.net.Socket.connect(Socket.java:507)

at java.net.Socket.connect(Socket.java:457)

at sun.net.NetworkClient.doConnect(NetworkClient.java:157)

at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)

at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)

at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)

at sun.net.www.http.HttpClient.New(HttpClient.java:287)

at sun.net.www.http.HttpClient.New(HttpClient.java:299)

at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection. java:784)

at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java :736)

at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:661)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.ja va:905)

at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XML EntityManager.java:945)

at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityM anager.java:880)

at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEnti tyManager.java:847)

at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTD ScannerImpl.java:281)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDispatcher.di spatch(XMLDocumentScannerImpl.java:959)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocu ment(XMLDocumentFragmentScannerImpl.java:341)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Config uration.java:828)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Config uration.java:758)

at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)

at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXP arser.java:1178)

at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)

at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescri ptorFile.java:256)

at com.sun.enterprise.deployment.archivist.Archivist.readRuntimeDeploymentDescript or(Archivist.java:271)

at com.sun.enterprise.deployment.archivist.ApplicationArchivist.readRuntimeDeploym entDescriptor(ApplicationArchivist.java:341)

at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(Applic ationArchivist.java:689)

at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(Applic ationArchivist.java:654)

at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:27 8)

... 9 more

|#]

I am new to Sun App Server...can someone help me out with this one?

Thanks!

anand

[5290 byte] By [khanhho82] at [2007-11-26 10:30:02]
# 1
Can you post the deployment descriptor ?
Claudio4J at 2007-7-7 2:36:19 > top of Java-index,Application & Integration Servers,Application Servers...
# 2

This is most likely a typo in the Doctype (public id) of the deployment descriptor.

We always try to locate the dtds from local repository (the AS_INSTALL/lib/dtd location) using the local entity resolver first. For us to do this, the Doctype (the public id, system id) need to be something we expected.

If we cannot find it in the local repository, we will try to go out to internet to grab the dtd. And if you don't have access to outside (proxy not set up properly etc), you would see this UnknownHostException thing.

We have improved the error message in 9.1. Instead of giving this quite confusing error, we will ask user to check the Doctype and also proper access to internet.

hongzhangsun at 2007-7-7 2:36:19 > top of Java-index,Application & Integration Servers,Application Servers...