2 Replies Latest reply on Sep 1, 2006 11:25 AM by Peter Johnson

    JBoss throws UnknownHostException on startup

    M M Newbie

      Hi,

      I am really new to JBoss but I need it for an application at work. What I've done is downloaded and installed JBoss 4.0.1.sp1 and deployed an EAR-file in the server\default\deploy directory. When I launch JBoss I get the following error:

      java.net.UnknownHostException: java.sun.com
      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 javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
      at com.teamcenter.mld.jmx.ConfigurationListener.(ConfigurationListener.java:586)
      at com.teamcenter.mld.jmx.PlmSimpleMBeanFactory.(PlmSimpleMBeanFactory.java:195)
      at com.teamcenter.jeti.resourceadapter.spi.impl.ConnectionFactoryImpl.(ConnectionFactoryImpl.java:86)
      at com.teamcenter.jeti.resourceadapter.spi.impl.ManagedConnectionFactoryImpl.createConnectionFactory(ManagedConn
      ectionFactoryImpl.java:127)
      at org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.createConnectionFactory(ConnectionFactor
      yBindingService.java:182)
      at org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.startService(ConnectionFactoryBindingSer
      vice.java:71)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
      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.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:416)
      at org.jboss.system.ServiceController.start(ServiceController.java:438)
      at org.jboss.system.ServiceController.start(ServiceController.java:438)
      at org.jboss.system.ServiceController.start(ServiceController.java:438)
      at org.jboss.system.ServiceController.start(ServiceController.java:438)
      at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy31.start(Unknown Source)
      at org.jboss.deployment.SimpleSubDeployerSupport.startService(SimpleSubDeployerSupport.java:378)
      at org.jboss.deployment.SimpleSubDeployerSupport.start(SimpleSubDeployerSupport.java:141)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:956)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy8.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:20
      4)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:416)
      at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
      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.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
      at org.jboss.Main.boot(Main.java:162)
      at org.jboss.Main$1.run(Main.java:423)
      at java.lang.Thread.run(Thread.java:534)

      Is this some class in my EAR trying to connect to the internet or is it some DTD validation (although I've turned off all DTD validation in JBoss)?

      Please Help!!!

        • 1. Re: JBoss throws UnknownHostException on startup
          M M Newbie

          OK, added the full info from JBoss launch window.
          Please help with this!



          ===============================================================================
          .
          JBoss Bootstrap Environment
          .
          JBOSS_HOME: C:\admin\source\JBoss\jboss-4.0.1sp1\bin\\..
          .
          JAVA: C:\j2sdk1.4.2_05\\bin\java
          .
          JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
          .
          CLASSPATH: C:\j2sdk1.4.2_05\\lib\tools.jar;C:\admin\source\JBoss\jboss-4.0.1sp1\bin\\run.jar
          .
          ===============================================================================
          .
          13:00:18,936 INFO [Server] Starting JBoss (MX MicroKernel)...
          13:00:18,936 INFO [Server] Release ID: JBoss [Zion] 4.0.1sp1 (build: CVSTag=JBoss_4_0_1_SP1 date=200502160314)
          13:00:18,936 INFO [Server] Home Dir: C:\admin\source\JBoss\jboss-4.0.1sp1
          13:00:18,936 INFO [Server] Home URL: file:/C:/admin/source/JBoss/jboss-4.0.1sp1/
          13:00:18,936 INFO [Server] Library URL: file:/C:/admin/source/JBoss/jboss-4.0.1sp1/lib/
          13:00:18,952 INFO [Server] Patch URL: null
          13:00:18,952 INFO [Server] Server Name: default
          13:00:18,952 INFO [Server] Server Home Dir: C:\admin\source\JBoss\jboss-4.0.1sp1\server\default
          13:00:18,952 INFO [Server] Server Home URL: file:/C:/admin/source/JBoss/jboss-4.0.1sp1/server/default/
          13:00:18,952 INFO [Server] Server Data Dir: C:\admin\source\JBoss\jboss-4.0.1sp1\server\default\data
          13:00:18,952 INFO [Server] Server Temp Dir: C:\admin\source\JBoss\jboss-4.0.1sp1\server\default\tmp
          13:00:18,952 INFO [Server] Server Config URL: file:/C:/admin/source/JBoss/jboss-4.0.1sp1/server/default/conf/
          13:00:18,952 INFO [Server] Server Library URL: file:/C:/admin/source/JBoss/jboss-4.0.1sp1/server/default/lib/
          13:00:18,952 INFO [Server] Root Deployment Filename: jboss-service.xml
          13:00:18,952 INFO [Server] Starting General Purpose Architecture (GPA)...
          13:00:19,249 INFO [ServerInfo] Java version: 1.4.2_05,Sun Microsystems Inc.
          13:00:19,249 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_05-b04,Sun Microsystems Inc.
          13:00:19,249 INFO [ServerInfo] OS-System: Windows 2003 5.2,x86
          13:00:19,749 INFO [Server] Core system initialized
          13:00:20,936 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
          13:00:21,014 INFO [WebService] Using RMI server codebase: http://gbw04010:8083/
          13:00:21,155 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0,
          Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
          13:00:37,888 INFO [Embedded] Catalina naming disabled
          13:00:38,420 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
          13:00:38,451 INFO [Catalina] Initialization processed in 500 ms
          13:00:38,451 INFO [StandardService] Starting service jboss.web
          13:00:38,451 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.0.28
          13:00:38,482 INFO [StandardHost] XML validation disabled
          13:00:38,482 INFO [Catalina] Server startup in 31 ms
          13:00:38,592 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/C:/admin/source/JBoss/jboss-4.0.1sp1/server/d
          efault/deploy/http-invoker.sar/invoker.war/
          13:00:39,279 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/C:/admin/source/JBoss/jboss-4.0.1sp1/server/def
          ault/tmp/deploy/tmp21094jboss-ws4ee-exp.war/
          13:00:39,420 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/C:/admin/source/JBoss/jboss-4.0.1sp1/server/default/
          deploy/jbossweb-tomcat50.sar/ROOT.war/
          13:00:39,560 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/C:/admin/source/JBoss/jboss-4.0.1sp1/s
          erver/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
          13:00:43,623 INFO [MailService] Mail Service bound to java:/Mail
          13:00:44,060 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/admin/source/JBoss/jb
          oss-4.0.1sp1/server/default/deploy/jboss-local-jdbc.rar
          13:00:44,419 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/admin/source/JBoss/jb
          oss-4.0.1sp1/server/default/deploy/jboss-xa-jdbc.rar
          13:00:44,748 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/admin/source/JBoss/jb
          oss-4.0.1sp1/server/default/deploy/jms/jms-ra.rar
          13:00:45,107 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/admin/source/JBoss/jb
          oss-4.0.1sp1/server/default/deploy/mail-ra.rar
          13:00:45,732 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss
          .jca:name=DefaultDS,service=DataSourceBinding to JNDI name 'java:DefaultDS'
          13:00:45,763 WARN [ConfiguredIdentityLoginModule] Creating LoginModule with no configured password!
          13:00:45,998 INFO [A] Bound to JNDI name: queue/A
          13:00:45,998 INFO [B] Bound to JNDI name: queue/B
          13:00:45,998 INFO [C] Bound to JNDI name: queue/C
          13:00:45,998 INFO [D] Bound to JNDI name: queue/D
          13:00:45,998 INFO [ex] Bound to JNDI name: queue/ex
          13:00:46,013 INFO [testTopic] Bound to JNDI name: topic/testTopic
          13:00:46,029 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
          13:00:46,029 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
          13:00:46,029 INFO [testQueue] Bound to JNDI name: queue/testQueue
          13:00:46,076 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
          13:00:46,107 INFO [DLQ] Bound to JNDI name: queue/DLQ
          13:00:46,248 INFO [ConnectionFactoryBindingService] Bound connection factory for resource adapter for ConnectionManager
          'jboss.jca:name=JmsXA,service=ConnectionFactoryBinding to JNDI name 'java:JmsXA'
          13:00:46,279 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/C:/admin/source/JBoss/jboss-4.0.1sp1/serv
          er/default/deploy/jmx-console.war/
          13:00:46,419 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C:/admin/source/JBoss/jboss-4.0.1sp1/serv
          er/default/deploy/management/web-console.war/
          13:01:03,731 INFO [EARDeployer] Init J2EE application: file:/C:/admin/source/JBoss/jboss-4.0.1sp1/server/default/deploy
          /tc.ear
          13:05:53,642 INFO [EjbModule] Deploying Gateway
          13:05:53,814 INFO [STDOUT] 2006/09/01-11:05:53,814 UTC MLD Log init: com.teamcenter.mld version 0.0.3d (2005-06-06)
          13:05:53,814 INFO [STDOUT] 2006/09/01-11:05:53,814 UTC MLD Log init: Instance configuraton hierarchy object: org.apache
          .log4j.Hierarchy@17aa55b
          13:05:53,814 INFO [STDOUT] 2006/09/01-11:05:53,814 UTC MLD Log init: Configured to Global log4j LoggerRepository: org.a
          pache.log4j.Hierarchy@9ba045, local hierarchy: org.apache.log4j.Hierarchy@17aa55b
          13:05:53,814 INFO [STDOUT] 2006/09/01-11:05:53,814 UTC MLD Log init: Note: com.teamcenter.mld Log initialization did no
          t find any log4j configuration file(s) in directory C:\admin\source\JBoss\jboss-4.0.1sp1\bin\.
          13:05:53,892 INFO [jmx] 2006/09/01-11:05:53,892 UTC {gbw04010} getMBS: Had to create own: org.jboss.mx.server.MBeanServ
          erImpl@3b3757
          13:05:53,892 INFO [ConfigurationListener] 2006/09/01-11:05:53,892 UTC {gbw04010} accessing user preferences userNodeFor
          Package:com.teamcenter.mld.jmx
          13:05:53,892 INFO [ConfigurationListener] 2006/09/01-11:05:53,892 UTC {gbw04010} using configured preferences factory:j
          ava.util.prefs.WindowsPreferencesFactory
          13:05:53,970 ERROR [ConfigurationListener] 2006/09/01-11:05:53,970 UTC {gbw04010} Bootstrap com.teamcenter.mld.jmx.Confi
          gurationListener
          java.net.UnknownHostException: java.sun.com
          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 javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
          at com.teamcenter.mld.jmx.ConfigurationListener.(ConfigurationListener.java:586)
          at com.teamcenter.mld.jmx.PlmSimpleMBeanFactory.(PlmSimpleMBeanFactory.java:195)
          at com.teamcenter.jeti.resourceadapter.spi.impl.ConnectionFactoryImpl.(ConnectionFactoryImpl.java:86)
          at com.teamcenter.jeti.resourceadapter.spi.impl.ManagedConnectionFactoryImpl.createConnectionFactory(ManagedConn
          ectionFactoryImpl.java:127)
          at org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.createConnectionFactory(ConnectionFactor
          yBindingService.java:182)
          at org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.startService(ConnectionFactoryBindingSer
          vice.java:71)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
          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.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
          at $Proxy0.start(Unknown Source)
          at org.jboss.system.ServiceController.start(ServiceController.java:416)
          at org.jboss.system.ServiceController.start(ServiceController.java:438)
          at org.jboss.system.ServiceController.start(ServiceController.java:438)
          at org.jboss.system.ServiceController.start(ServiceController.java:438)
          at org.jboss.system.ServiceController.start(ServiceController.java:438)
          at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy31.start(Unknown Source)
          at org.jboss.deployment.SimpleSubDeployerSupport.startService(SimpleSubDeployerSupport.java:378)
          at org.jboss.deployment.SimpleSubDeployerSupport.start(SimpleSubDeployerSupport.java:141)
          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:956)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
          at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy8.deploy(Unknown Source)
          at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
          at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:20
          4)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
          at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
          at $Proxy0.start(Unknown Source)
          at org.jboss.system.ServiceController.start(ServiceController.java:416)
          at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy4.start(Unknown Source)
          at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
          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.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy5.deploy(Unknown Source)
          at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
          at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
          at org.jboss.Main.boot(Main.java:162)
          at org.jboss.Main$1.run(Main.java:423)
          at java.lang.Thread.run(Thread.java:534)
          13:05:54,329 INFO [ConnectionFactoryBindingService] Bound connection factory for resource adapter for ConnectionManager
          'jboss.jca:name=jca/JETI/Adapter,service=ConnectionFactoryBinding to JNDI name 'java:jca/JETI/Adapter'
          13:05:54,329 INFO [ResponseTimeGaugeListener] 2006/09/01-11:05:54,329 UTC {gbw04010} -- Attr: FilterTimeAvg=0 (.LE. 80)
          : {com.teamcenter.mld:SRC=com.teamcenter.jeti.resourceadapter.spi.impl.ConnectionFactoryImpl,name=getConnection-Connect
          ionFactoryImpl,type=Collector,units=mSec}
          13:05:54,408 INFO [EJBDeployer] Deployed: file:/C:/admin/source/JBoss/jboss-4.0.1sp1/server/default/tmp/deploy/tmp21145
          tc.ear-contents/JETIGateway-ejb.jar
          13:05:54,470 INFO [TomcatDeployer] deploy, ctxPath=/tc, warUrl=file:/C:/admin/source/JBoss/jboss-4.0.1sp1/server/defaul
          t/tmp/deploy/tmp21145tc.ear-contents/tc-exp.war/
          13:06:22,110 INFO [EARDeployer] Started J2EE application: file:/C:/admin/source/JBoss/jboss-4.0.1sp1/server/default/dep
          loy/tc.ear
          13:06:22,219 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
          13:06:22,297 INFO [ChannelSocket] Port busy 8009 java.net.BindException: Address already in use: JVM_Bind
          13:06:22,297 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8010
          13:06:22,297 INFO [JkMain] Jk running ID=1 time=0/15 config=null
          13:06:22,313 INFO [Server] JBoss (MX MicroKernel) [4.0.1sp1 (build: CVSTag=JBoss_4_0_1_SP1 date=200502160314)] Started in 6m:3s:220ms

          • 2. Re: JBoss throws UnknownHostException on startup
            Peter Johnson Master

            I don't recognize this class (it is not part of JBoss as far as I can tell):

            com.teamcenter.jeti.resourceadapter.spi.impl.ManagedConnectionFactoryImpl

            It is in the stack trace. It looks like JBoss is starting an MBean, which uses this class, which then parses an XML file which needs to connect to java.sun.com which for some reason your DNS cannot find.

            If this is your class/mbean, does JBoss start without it being deployed? If so, then you need to fix your class/mbean or your DNS.