4 Replies Latest reply on Mar 26, 2005 5:33 PM by Marco Schulze

    DeploymentException UnknownHostException www.jboss.org

    Marcus Zarra Newbie

      I was working on some J2EE code today on my notebook and noticed that if I did not have an internet connection that jboss would fail to start up.

      Is there some way to turn off this "call home" feature?

      Why does jboss need to call home?

      Any help in this area would be appreciated

        • 1. Re: DeploymentException UnknownHostException www.jboss.org
          Marcus Zarra Newbie

          Bumping this up. This is quite disturbing that no one is responding to this call back.

          What is jboss sending home?!

          • 2. Re: DeploymentException UnknownHostException www.jboss.org
            Darran Lofthouse Master

             

            This is quite disturbing that no one is responding to this call back


            JBoss is probably trying to find a schema or dtd for some reason, you have not given enough information for someone to be able to really give you a constructive response.

            jboss would fail to start up


            What do you mean by this, is an error being displayed? If so can you post it here.

            Also what JBoss version?

            • 3. Re: DeploymentException UnknownHostException www.jboss.org
              Marcus Zarra Newbie

              It is very simple to test.

              1. Unplug your network cable
              2. Start up JBoss (with an application to deploy)

              Here is the error:

              2005-03-23 09:37:31,813 WARN [org.jboss.system.ServiceController.start:425]
              Problem starting service jboss.j2ee:jndiName=ifs/remote/Permission,service=EJB
              MBeanException: org.jboss.deployment.DeploymentException: www.jboss.org; - nested throwable: (java.net.UnknownHostException: www.jboss.org)
              Cause: org.jboss.deployment.DeploymentException: www.jboss.org; - nested throwable: (java.net.UnknownHostException: www.jboss.org)
              at org.jboss.mx.server.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:91)
              at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:64)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
              at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:884)
              at $Proxy18.start(Unknown Source)
              at org.jboss.system.ServiceController.start(ServiceController.java:414)
              at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
              at $Proxy41.start(Unknown Source)
              at org.jboss.ejb.EjbModule.startService(EjbModule.java:367)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
              at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
              at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:884)
              at $Proxy18.start(Unknown Source)
              at org.jboss.system.ServiceController.start(ServiceController.java:414)
              at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
              at $Proxy15.start(Unknown Source)
              at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:570)
              at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829)
              at org.jboss.deployment.MainDeployer.start(MainDeployer.java:821)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
              at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
              at $Proxy8.deploy(Unknown Source)
              at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
              at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
              at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
              at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
              at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:884)
              at $Proxy0.start(Unknown Source)
              at org.jboss.system.ServiceController.start(ServiceController.java:414)
              at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
              at $Proxy4.start(Unknown Source)
              at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)
              at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
              at $Proxy5.deploy(Unknown Source)
              at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)
              at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)
              at org.jboss.Main.boot(Main.java:145)
              at org.jboss.Main$1.run(Main.java:399)
              at java.lang.Thread.run(Thread.java:552)
              Caused by: org.jboss.deployment.DeploymentException: www.jboss.org; - nested throwable: (java.net.UnknownHostException: www.jboss.org)
              at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:316)
              at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:247)
              at org.jboss.metadata.XmlFileLoader.getDocumentFromURL(XmlFileLoader.java:219)
              at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:203)
              at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:74)
              at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:721)
              at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:409)
              at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:353)
              at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:155)
              at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:337)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
              at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
              ... 113 more
              Caused by: java.net.UnknownHostException: www.jboss.org
              at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
              at java.net.Socket.connect(Socket.java:452)
              at java.net.Socket.connect(Socket.java:402)
              at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
              at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
              at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
              at sun.net.www.http.HttpClient.(HttpClient.java:306)
              at sun.net.www.http.HttpClient.(HttpClient.java:267)
              at sun.net.www.http.HttpClient.New(HttpClient.java:339)
              at sun.net.www.http.HttpClient.New(HttpClient.java:320)
              at sun.net.www.http.HttpClient.New(HttpClient.java:315)
              at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:521)
              at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:498)
              at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:626)
              at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
              at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
              at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
              at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
              at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
              at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
              at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
              at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
              at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
              at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
              at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
              at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:293)
              ... 128 more

              • 4. Re: DeploymentException UnknownHostException www.jboss.org
                Marco Schulze Newbie

                I just tried it and my jboss here (version 3.2.6 with many ears, ejbs, rars & wars deployed) started without this exception. Maybe you have somewhere DTD validation enabled. Take a look into your ${jboss}/server/default/conf/jboss-service.xml and search for "ValidateDTDs". If this is false, you have to search for application specific configs (in the deploy directory) which might enable DTD validation (e.g. STRUTS).

                Hope, I could help or at least give a hint...

                Marco ;-)