2 Replies Latest reply on Nov 26, 2003 10:05 PM by larrycai

    unknownHostException during deployment

    larrycai Newbie

      JBOSS 3.2.2 / Eclipse 2.1 /Solaris 8/JDK 1.4.1_01
      I am trying the Tutorial on solaris 8 and get the exception below when I try to deploy it.

      What's the problem?
      =====
      13:07:25,141 INFO [MainDeployer] Starting deployment of package: file:/home/sogadm/rdccaiy/jboss-3.2.2/server/default/deploy/FiboApp.ear
      13:07:25,178 INFO [EARDeployer] Init J2EE application: file:/home/sogadm/rdccaiy/jboss-3.2.2/server/default/deploy/FiboApp.ear
      13:07:25,214 ERROR [MainDeployer] Could not initialise deloyment: file:/home/sogadm/rdccaiy/jboss-3.2.2/server/default/deploy/FiboApp.ear
      org.jboss.deployment.DeploymentException: java.sun.com; - nested throwable: (java.net.UnknownHostException: java.sun.com)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:316)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:247)
      at org.jboss.deployment.EARDeployer.init(EARDeployer.java:69)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
      Caused by: java.net.UnknownHostException: java.sun.com
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
      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.(HttpClient.java:303)
      at sun.net.www.http.HttpClient.(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.java:481)
      at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:472)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:574)
      at java.net.URL.openStream(URL.java:960)
      at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:740)
      at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:700)
      at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:258)
      at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl.java:811)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
      at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:529)
      at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:585)
      at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
      at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:221)
      at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:201)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:293)
      ... 17 more