5 Replies Latest reply on Feb 27, 2007 10:44 AM by peterj

    Server started  but not working

    thirumalmarugan

      hellow everybody,
      i have installed the jboss in Linux.the server is also started but while typing http:\\localhost:8080 in browser .it showing the following errors.i am using the fedro 6 and jboss latest version.

      Error
      Server Error
      The following error occurred:

      [code=CANT_CONNECT_LOOPBACK] Cannot connect due to potential loopback problems
      Please contact the administrator.

      what can i do for that...............

        • 1. Re: Server started  but not working
          peterj

          Please post the contents of your /etc/hosts file. Most likely localhost is not properly registered.

          • 2. Re: Server started  but not working
            thirumalmarugan

            My Hosts file contains the following

            # Do not remove the following line, or various programs
            # that require network functionality will fail.
            ::1 localhost.localdomain localhost

            • 3. Re: Server started  but not working

              And that's completely wrong, as I've seen in other default Linux installations.

              Should be just (at least that line):

              127.0.0.1 localhost

              and make sure localhost isn't mapped to anything else (when I set up my box sometime 2005 it inserted a line mapping localhost to my actual network adapter as well, effectively destroying name resolution).

              • 4. Re: Server started  but not working
                thirumalmarugan


                my terminal having this after the server starting command has been given......... in not disply the home page while typing http://localhost:8080..
                what can i do for that
                sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:585)
                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)
                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:242)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
                at $Proxy5.deploy(Unknown Source)
                at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:396)
                at org.jboss.system.server.ServerImpl.start(ServerImpl.java:293)
                at org.jboss.Main.boot(Main.java:151)
                at org.jboss.Main$1.run(Main.java:405)
                at java.lang.Thread.run(Thread.java:595)
                Caused by: javax.naming.NameNotFoundException: comp not bound
                at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
                at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
                at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
                at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:529)
                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:508)
                at javax.naming.InitialContext.lookup(InitialContext.java:351)
                at org.jboss.web.AbstractWebDeployer.parseWebAppDescriptors(AbstractWebDeployer.java:470)
                at org.jboss.web.AbstractWebDeployer$DescriptorParser.parseWebAppDescriptors(AbstractWebDeployer.java:989)
                at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:128)
                at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:83)
                at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:370)
                ... 93 more
                13:10:08,171 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
                Incompletely deployed packages:
                org.jboss.deployment.DeploymentInfo@de08f6d7 { url=file:/usr/local/jboss-4.0.0/server/default/deploy/jboss-ws4ee.sar/jboss-ws4ee.war }
                deployer: org.jboss.web.tomcat.tc5.Tomcat5@f42160
                status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                state: FAILED
                watch: file:/usr/local/jboss-4.0.0/server/default/deploy/jboss-ws4ee.sar/jboss-ws4ee.war
                altDD: null
                lastDeployed: 1172561998872
                lastModified: 1172561998000
                mbeans:

                org.jboss.deployment.DeploymentInfo@7a06f73b { url=file:/usr/local/jboss-4.0.0/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/ }
                deployer: org.jboss.web.tomcat.tc5.Tomcat5@f42160
                status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                state: FAILED
                watch: file:/usr/local/jboss-4.0.0/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/WEB-INF/web.xml
                altDD: null
                lastDeployed: 1172561999253
                lastModified: 1172478080000
                mbeans:

                org.jboss.deployment.DeploymentInfo@d90c9036 { url=file:/usr/local/jboss-4.0.0/server/default/deploy/ebxmlrr-service.sar/ebxmlrr.war/ }
                deployer: org.jboss.web.tomcat.tc5.Tomcat5@f42160
                status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                state: FAILED
                watch: file:/usr/local/jboss-4.0.0/server/default/deploy/ebxmlrr-service.sar/ebxmlrr.war/WEB-INF/web.xml
                altDD: null
                lastDeployed: 1172561999628
                lastModified: 1172478080000
                mbeans:

                org.jboss.deployment.DeploymentInfo@2bc4b69b { url=file:/usr/local/jboss-4.0.0/server/default/deploy/ebxmlrr-service.sar/ }
                deployer: org.jboss.deployment.SARDeployer@1fe1feb
                status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                state: FAILED
                watch: file:/usr/local/jboss-4.0.0/server/default/deploy/ebxmlrr-service.sar/META-INF/jboss-service.xml
                altDD: null
                lastDeployed: 1172561999628
                lastModified: 1172478080000
                mbeans:
                jboss:service=Ebxmlrr state: Registered

                org.jboss.deployment.DeploymentInfo@b22f019a { url=file:/usr/local/jboss-4.0.0/server/default/deploy/jmx-console.war/ }
                deployer: org.jboss.web.tomcat.tc5.Tomcat5@f42160
                status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                state: FAILED
                watch: file:/usr/local/jboss-4.0.0/server/default/deploy/jmx-console.war/WEB-INF/web.xml
                altDD: null
                lastDeployed: 1172562008063
                lastModified: 1172478080000
                mbeans:

                org.jboss.deployment.DeploymentInfo@20902415 { url=file:/usr/local/jboss-4.0.0/server/default/deploy/management/web-console.war/ }
                deployer: org.jboss.web.tomcat.tc5.Tomcat5@f42160
                status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                state: FAILED
                watch: file:/usr/local/jboss-4.0.0/server/default/deploy/management/web-console.war/WEB-INF/web.xml
                altDD: null
                lastDeployed: 1172562008151
                lastModified: 1172478080000
                mbeans:

                MBeans waiting for other MBeans:
                ObjectName: jboss:service=WebService
                state: FAILED
                I Depend On:
                Depends On Me: jboss.ejb:service=EJBDeployer
                jboss.ws4ee:service=AxisService
                java.net.BindException: Address already in use
                ObjectName: jboss:service=Naming
                state: FAILED
                I Depend On: jboss.system:service=ThreadPool

                Depends On Me: java.rmi.server.ExportException: Port already in use: 1098; nested exception is:
                java.net.BindException: Address already in use
                ObjectName: jboss:service=ClientUserTransaction
                state: CREATED
                I Depend On: jboss:service=proxyFactory,target=ClientUserTransactionFactory
                jboss:service=proxyFactory,target=ClientUserTransaction

                Depends On Me:
                ObjectName: jboss:service=proxyFactory,target=ClientUserTransactionFactory
                state: CREATED
                I Depend On: jboss:service=invoker,type=jrmp

                Depends On Me: jboss:service=ClientUserTransaction

                ObjectName: jboss:service=proxyFactory,target=ClientUserTransaction
                state: CREATED
                I Depend On: jboss:service=invoker,type=jrmp

                Depends On Me: jboss:service=ClientUserTransaction

                ObjectName: jboss:service=invoker,type=jrmp
                state: FAILED
                I Depend On: jboss:service=TransactionManager

                Depends On Me: jboss:service=proxyFactory,target=ClientUserTransactionFactory
                jboss:service=proxyFactory,target=ClientUserTransaction
                jboss.jca:service=DataSourceBinding,name=DefaultDS
                jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
                java.rmi.server.ExportException: Port already in use: 4444; nested exception is:
                java.net.BindException: Address already in use
                ObjectName: jboss:service=invoker,type=pooled
                state: FAILED
                I Depend On: jboss:service=TransactionManager

                Depends On Me: java.net.BindException: Address already in use
                ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
                state: CONFIGURED
                I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS

                Depends On Me:
                ObjectName: jboss.ejb:service=EJBDeployer
                state: CONFIGURED
                I Depend On: jboss:service=TransactionManager
                jboss:service=WebService

                Depends On Me: jboss.ws4ee:service=ServiceDeployerEJB

                ObjectName: jboss.ws4ee:service=AxisService
                state: CONFIGURED
                I Depend On: jboss:service=WebService

                Depends On Me:
                ObjectName: jboss.ws4ee:service=ServiceDeployerEJB
                state: CONFIGURED
                I Depend On: jboss.ejb:service=EJBDeployer
                jboss.system:service=MainDeployer

                Depends On Me:
                ObjectName: jboss.admin:service=PluginManager
                state: CONFIGURED
                I Depend On: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory

                Depends On Me:
                ObjectName: jboss.web.deployment:war=jboss-ws4ee.war,id=-569837865
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                ObjectName: jboss.web.deployment:war=servlets.war,id=1262585121
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                ObjectName: jboss.web.deployment:war=ROOT.war,id=2047276859
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                ObjectName: jboss.web.deployment:war=ebxmlrr.war,id=-653488074
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                ObjectName: jboss:service=Ebxmlrr
                state: CONFIGURED
                I Depend On: jboss.web:service=WebServer
                jboss.jca:service=DataSourceBinding,name=DefaultDS

                Depends On Me:
                ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
                state: CONFIGURED
                I Depend On: jboss:service=TransactionManager
                jboss.jca:service=DataSourceBinding,name=DefaultDS

                Depends On Me:
                ObjectName: jboss.jca:service=LocalTxCM,name=DefaultDS
                state: CREATED
                I Depend On: jboss.jca:service=ManagedConnectionPool,name=DefaultDS
                jboss.jca:service=CachedConnectionManager
                jboss.security:service=JaasSecurityManager
                jboss:service=TransactionManager

                Depends On Me: jboss.jca:service=DataSourceBinding,name=DefaultDS

                ObjectName: jboss.jca:service=ManagedConnectionPool,name=DefaultDS
                state: CREATED
                I Depend On: jboss.jca:service=ManagedConnectionFactory,name=DefaultDS

                Depends On Me: jboss.jca:service=LocalTxCM,name=DefaultDS

                ObjectName: jboss.jca:service=ManagedConnectionFactory,name=DefaultDS
                state: CREATED
                I Depend On: jboss:service=Hypersonic,database=localDB
                jboss.jca:service=RARDeployment,name='jboss-local-jdbc.rar'

                Depends On Me: jboss.jca:service=ManagedConnectionPool,name=DefaultDS

                ObjectName: jboss.jca:service=DataSourceBinding,name=DefaultDS
                state: CONFIGURED
                I Depend On: jboss.jca:service=LocalTxCM,name=DefaultDS
                jboss:service=invoker,type=jrmp

                Depends On Me: jboss.ejb:service=EJBTimerService,persistencePolicy=database
                jboss:service=Ebxmlrr
                jboss:service=KeyGeneratorFactory,type=HiLo
                jboss.mq:service=PersistenceManager
                jboss.mq:service=StateManager

                ObjectName: jboss:service=Hypersonic,database=localDB
                state: FAILED
                I Depend On:
                Depends On Me: jboss.jca:service=ManagedConnectionFactory,name=DefaultDS
                java.sql.SQLException: The database is already in use by another process: org.hsqldb.NIOLockFile@5a59de97[file =/usr/local/jboss-4.0.0/server/default/data/hypersonic/localDB.lck, exists=true, locked=false, valid=false, fl =null]:
                ObjectName: jboss.mq:service=DestinationManager
                state: CONFIGURED
                I Depend On: jboss.mq:service=MessageCache
                jboss.mq:service=PersistenceManager
                jboss.mq:service=StateManager

                Depends On Me: jboss.mq:service=SecurityManager
                jboss.mq.destination:service=Queue,name=DLQ
                jboss.mq.destination:service=Topic,name=testTopic
                jboss.mq.destination:service=Topic,name=securedTopic
                jboss.mq.destination:service=Topic,name=testDurableTopic
                jboss.mq.destination:service=Queue,name=testQueue
                jboss.mq.destination:service=Queue,name=A
                jboss.mq.destination:service=Queue,name=B
                jboss.mq.destination:service=Queue,name=C
                jboss.mq.destination:service=Queue,name=D
                jboss.mq.destination:service=Queue,name=ex

                ObjectName: jboss.mq:service=PersistenceManager
                state: CONFIGURED
                I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS

                Depends On Me: jboss.mq:service=DestinationManager

                ObjectName: jboss.mq:service=StateManager
                state: CONFIGURED
                I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS

                Depends On Me: jboss.mq:service=DestinationManager

                ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
                state: CONFIGURED
                I Depend On: jboss.mq:service=Invoker

                Depends On Me:
                ObjectName: jboss.mq:service=Invoker
                state: CONFIGURED
                I Depend On: jboss.mq:service=TracingInterceptor

                Depends On Me: jboss.mq:service=InvocationLayer,type=UIL2
                jboss.mq:service=InvocationLayer,type=JVM

                ObjectName: jboss.mq:service=TracingInterceptor
                state: CONFIGURED
                I Depend On: jboss.mq:service=SecurityManager

                Depends On Me: jboss.mq:service=Invoker

                ObjectName: jboss.mq:service=SecurityManager
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me: jboss.mq:service=TracingInterceptor
                jboss.mq.destination:service=Queue,name=DLQ
                jboss.mq.destination:service=Topic,name=testTopic
                jboss.mq.destination:service=Topic,name=securedTopic
                jboss.mq.destination:service=Topic,name=testDurableTopic
                jboss.mq.destination:service=Queue,name=testQueue

                ObjectName: jboss.mq.destination:service=Queue,name=DLQ
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager
                jboss.mq:service=SecurityManager

                Depends On Me:
                ObjectName: jboss.mq.destination:service=Topic,name=testTopic
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager
                jboss.mq:service=SecurityManager

                Depends On Me:
                ObjectName: jboss.mq.destination:service=Topic,name=securedTopic
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager
                jboss.mq:service=SecurityManager

                Depends On Me:
                ObjectName: jboss.mq.destination:service=Topic,name=testDurableTopic
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager
                jboss.mq:service=SecurityManager

                Depends On Me:
                ObjectName: jboss.mq.destination:service=Queue,name=testQueue
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager
                jboss.mq:service=SecurityManager

                Depends On Me:
                ObjectName: jboss.mq.destination:service=Queue,name=A
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me:
                ObjectName: jboss.mq.destination:service=Queue,name=B
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me:
                ObjectName: jboss.mq.destination:service=Queue,name=C
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me:
                ObjectName: jboss.mq.destination:service=Queue,name=D
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me:
                ObjectName: jboss.mq.destination:service=Queue,name=ex
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me:
                ObjectName: jboss.mq:service=InvocationLayer,type=JVM
                state: CONFIGURED
                I Depend On: jboss.mq:service=Invoker

                Depends On Me:
                ObjectName: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
                state: CONFIGURED
                I Depend On: jboss:service=invoker,type=jrmp
                jboss.jmx:type=adaptor,name=Invoker

                Depends On Me: jboss.admin:service=PluginManager

                ObjectName: jboss:service=CorbaORB
                state: FAILED
                I Depend On:
                Depends On Me: jboss:service=invoker,type=iiop
                jboss:service=CorbaNaming
                jboss:service=CorbaTransaction
                org.omg.CORBA.INITIALIZE: Could not resolve configured listener host vmcid: 0x0 minor code: 0 completed: No
                ObjectName: jboss:service=invoker,type=iiop
                state: CREATED
                I Depend On: jboss:service=CorbaORB

                Depends On Me:
                ObjectName: jboss:service=CorbaNaming
                state: CREATED
                I Depend On: jboss:service=CorbaORB

                Depends On Me: jboss:service=CorbaTransaction

                ObjectName: jboss:service=CorbaTransaction
                state: CREATED
                I Depend On: jboss:service=TransactionManager
                jboss:service=CorbaORB
                jboss:service=CorbaNaming

                Depends On Me:
                ObjectName: jboss.web.deployment:war=jmx-console.war,id=-1305542246
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                ObjectName: jboss.web.deployment:war=web-console.war,id=546317333
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)

                MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
                ObjectName: jboss.web.deployment:war=jmx-console.war,id=-1305542246
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                ObjectName: jboss.web.deployment:war=jboss-ws4ee.war,id=-569837865
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                ObjectName: jboss:service=invoker,type=pooled
                state: FAILED
                I Depend On: jboss:service=TransactionManager

                Depends On Me: java.net.BindException: Address already in use
                ObjectName: jboss.web.deployment:war=servlets.war,id=1262585121
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                ObjectName: jboss.web.deployment:war=ebxmlrr.war,id=-653488074
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                ObjectName: jboss.web.deployment:war=web-console.war,id=546317333
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                ObjectName: jboss:service=Naming
                state: FAILED
                I Depend On: jboss.system:service=ThreadPool

                Depends On Me: java.rmi.server.ExportException: Port already in use: 1098; nested exception is:
                java.net.BindException: Address already in use
                ObjectName: jboss:service=invoker,type=jrmp
                state: FAILED
                I Depend On: jboss:service=TransactionManager

                Depends On Me: jboss:service=proxyFactory,target=ClientUserTransactionFactory
                jboss:service=proxyFactory,target=ClientUserTransaction
                jboss.jca:service=DataSourceBinding,name=DefaultDS
                jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
                java.rmi.server.ExportException: Port already in use: 4444; nested exception is:
                java.net.BindException: Address already in use
                ObjectName: jboss.web.deployment:war=ROOT.war,id=2047276859
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                ObjectName: jboss:service=Hypersonic,database=localDB
                state: FAILED
                I Depend On:
                Depends On Me: jboss.jca:service=ManagedConnectionFactory,name=DefaultDS
                java.sql.SQLException: The database is already in use by another process: org.hsqldb.NIOLockFile@5a59de97[file =/usr/local/jboss-4.0.0/server/default/data/hypersonic/localDB.lck, exists=true, locked=false, valid=false, fl =null]:
                ObjectName: jboss:service=CorbaORB
                state: FAILED
                I Depend On:
                Depends On Me: jboss:service=invoker,type=iiop
                jboss:service=CorbaNaming
                jboss:service=CorbaTransaction
                org.omg.CORBA.INITIALIZE: Could not resolve configured listener host vmcid: 0x0 minor code: 0 completed: No
                ObjectName: jboss:service=WebService
                state: FAILED
                I Depend On:
                Depends On Me: jboss.ejb:service=EJBDeployer
                jboss.ws4ee:service=AxisService
                java.net.BindException: Address already in use

                13:10:08,277 ERROR [Server] Root deployment has missing dependencies; continuing
                Incomplete Deployment listing:
                Incompletely deployed packages:
                org.jboss.deployment.DeploymentInfo@de08f6d7 { url=file:/usr/local/jboss-4.0.0/server/default/deploy/jboss-ws4ee.sar/jboss-ws4ee.war }
                deployer: org.jboss.web.tomcat.tc5.Tomcat5@f42160
                status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                state: FAILED
                watch: file:/usr/local/jboss-4.0.0/server/default/deploy/jboss-ws4ee.sar/jboss-ws4ee.war
                altDD: null
                lastDeployed: 1172561998872
                lastModified: 1172561998000
                mbeans:

                org.jboss.deployment.DeploymentInfo@7a06f73b { url=file:/usr/local/jboss-4.0.0/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/ }
                deployer: org.jboss.web.tomcat.tc5.Tomcat5@f42160
                status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                state: FAILED
                watch: file:/usr/local/jboss-4.0.0/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/WEB-INF/web.xml
                altDD: null
                lastDeployed: 1172561999253
                lastModified: 1172478080000
                mbeans:

                org.jboss.deployment.DeploymentInfo@d90c9036 { url=file:/usr/local/jboss-4.0.0/server/default/deploy/ebxmlrr-service.sar/ebxmlrr.war/ }
                deployer: org.jboss.web.tomcat.tc5.Tomcat5@f42160
                status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                state: FAILED
                watch: file:/usr/local/jboss-4.0.0/server/default/deploy/ebxmlrr-service.sar/ebxmlrr.war/WEB-INF/web.xml
                altDD: null
                lastDeployed: 1172561999628
                lastModified: 1172478080000
                mbeans:

                org.jboss.deployment.DeploymentInfo@2bc4b69b { url=file:/usr/local/jboss-4.0.0/server/default/deploy/ebxmlrr-service.sar/ }
                deployer: org.jboss.deployment.SARDeployer@1fe1feb
                status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                state: FAILED
                watch: file:/usr/local/jboss-4.0.0/server/default/deploy/ebxmlrr-service.sar/META-INF/jboss-service.xml
                altDD: null
                lastDeployed: 1172561999628
                lastModified: 1172478080000
                mbeans:
                jboss:service=Ebxmlrr state: Registered

                org.jboss.deployment.DeploymentInfo@b22f019a { url=file:/usr/local/jboss-4.0.0/server/default/deploy/jmx-console.war/ }
                deployer: org.jboss.web.tomcat.tc5.Tomcat5@f42160
                status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                state: FAILED
                watch: file:/usr/local/jboss-4.0.0/server/default/deploy/jmx-console.war/WEB-INF/web.xml
                altDD: null
                lastDeployed: 1172562008063
                lastModified: 1172478080000
                mbeans:

                org.jboss.deployment.DeploymentInfo@20902415 { url=file:/usr/local/jboss-4.0.0/server/default/deploy/management/web-console.war/ }
                deployer: org.jboss.web.tomcat.tc5.Tomcat5@f42160
                status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                state: FAILED
                watch: file:/usr/local/jboss-4.0.0/server/default/deploy/management/web-console.war/WEB-INF/web.xml
                altDD: null
                lastDeployed: 1172562008151
                lastModified: 1172478080000
                mbeans:

                MBeans waiting for other MBeans:
                ObjectName: jboss:service=WebService
                state: FAILED
                I Depend On:
                Depends On Me: jboss.ejb:service=EJBDeployer
                jboss.ws4ee:service=AxisService
                java.net.BindException: Address already in use
                ObjectName: jboss:service=Naming
                state: FAILED
                I Depend On: jboss.system:service=ThreadPool

                Depends On Me: java.rmi.server.ExportException: Port already in use: 1098; nested exception is:
                java.net.BindException: Address already in use
                ObjectName: jboss:service=ClientUserTransaction
                state: CREATED
                I Depend On: jboss:service=proxyFactory,target=ClientUserTransactionFactory
                jboss:service=proxyFactory,target=ClientUserTransaction

                Depends On Me:
                ObjectName: jboss:service=proxyFactory,target=ClientUserTransactionFactory
                state: CREATED
                I Depend On: jboss:service=invoker,type=jrmp

                Depends On Me: jboss:service=ClientUserTransaction

                ObjectName: jboss:service=proxyFactory,target=ClientUserTransaction
                state: CREATED
                I Depend On: jboss:service=invoker,type=jrmp

                Depends On Me: jboss:service=ClientUserTransaction

                ObjectName: jboss:service=invoker,type=jrmp
                state: FAILED
                I Depend On: jboss:service=TransactionManager

                Depends On Me: jboss:service=proxyFactory,target=ClientUserTransactionFactory
                jboss:service=proxyFactory,target=ClientUserTransaction
                jboss.jca:service=DataSourceBinding,name=DefaultDS
                jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
                java.rmi.server.ExportException: Port already in use: 4444; nested exception is:
                java.net.BindException: Address already in use
                ObjectName: jboss:service=invoker,type=pooled
                state: FAILED
                I Depend On: jboss:service=TransactionManager

                Depends On Me: java.net.BindException: Address already in use
                ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
                state: CONFIGURED
                I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS

                Depends On Me:
                ObjectName: jboss.ejb:service=EJBDeployer
                state: CONFIGURED
                I Depend On: jboss:service=TransactionManager
                jboss:service=WebService

                Depends On Me: jboss.ws4ee:service=ServiceDeployerEJB

                ObjectName: jboss.ws4ee:service=AxisService
                state: CONFIGURED
                I Depend On: jboss:service=WebService

                Depends On Me:
                ObjectName: jboss.ws4ee:service=ServiceDeployerEJB
                state: CONFIGURED
                I Depend On: jboss.ejb:service=EJBDeployer
                jboss.system:service=MainDeployer

                Depends On Me:
                ObjectName: jboss.admin:service=PluginManager
                state: CONFIGURED
                I Depend On: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory

                Depends On Me:
                ObjectName: jboss.web.deployment:war=jboss-ws4ee.war,id=-569837865
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                ObjectName: jboss.web.deployment:war=servlets.war,id=1262585121
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                ObjectName: jboss.web.deployment:war=ROOT.war,id=2047276859
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                ObjectName: jboss.web.deployment:war=ebxmlrr.war,id=-653488074
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                ObjectName: jboss:service=Ebxmlrr
                state: CONFIGURED
                I Depend On: jboss.web:service=WebServer
                jboss.jca:service=DataSourceBinding,name=DefaultDS

                Depends On Me:
                ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
                state: CONFIGURED
                I Depend On: jboss:service=TransactionManager
                jboss.jca:service=DataSourceBinding,name=DefaultDS

                Depends On Me:
                ObjectName: jboss.jca:service=LocalTxCM,name=DefaultDS
                state: CREATED
                I Depend On: jboss.jca:service=ManagedConnectionPool,name=DefaultDS
                jboss.jca:service=CachedConnectionManager
                jboss.security:service=JaasSecurityManager
                jboss:service=TransactionManager

                Depends On Me: jboss.jca:service=DataSourceBinding,name=DefaultDS

                ObjectName: jboss.jca:service=ManagedConnectionPool,name=DefaultDS
                state: CREATED
                I Depend On: jboss.jca:service=ManagedConnectionFactory,name=DefaultDS

                Depends On Me: jboss.jca:service=LocalTxCM,name=DefaultDS

                ObjectName: jboss.jca:service=ManagedConnectionFactory,name=DefaultDS
                state: CREATED
                I Depend On: jboss:service=Hypersonic,database=localDB
                jboss.jca:service=RARDeployment,name='jboss-local-jdbc.rar'

                Depends On Me: jboss.jca:service=ManagedConnectionPool,name=DefaultDS

                ObjectName: jboss.jca:service=DataSourceBinding,name=DefaultDS
                state: CONFIGURED
                I Depend On: jboss.jca:service=LocalTxCM,name=DefaultDS
                jboss:service=invoker,type=jrmp

                Depends On Me: jboss.ejb:service=EJBTimerService,persistencePolicy=database
                jboss:service=Ebxmlrr
                jboss:service=KeyGeneratorFactory,type=HiLo
                jboss.mq:service=PersistenceManager
                jboss.mq:service=StateManager

                ObjectName: jboss:service=Hypersonic,database=localDB
                state: FAILED
                I Depend On:
                Depends On Me: jboss.jca:service=ManagedConnectionFactory,name=DefaultDS
                java.sql.SQLException: The database is already in use by another process: org.hsqldb.NIOLockFile@5a59de97[file =/usr/local/jboss-4.0.0/server/default/data/hypersonic/localDB.lck, exists=true, locked=false, valid=false, fl =null]:
                ObjectName: jboss.mq:service=DestinationManager
                state: CONFIGURED
                I Depend On: jboss.mq:service=MessageCache
                jboss.mq:service=PersistenceManager
                jboss.mq:service=StateManager

                Depends On Me: jboss.mq:service=SecurityManager
                jboss.mq.destination:service=Queue,name=DLQ
                jboss.mq.destination:service=Topic,name=testTopic
                jboss.mq.destination:service=Topic,name=securedTopic
                jboss.mq.destination:service=Topic,name=testDurableTopic
                jboss.mq.destination:service=Queue,name=testQueue
                jboss.mq.destination:service=Queue,name=A
                jboss.mq.destination:service=Queue,name=B
                jboss.mq.destination:service=Queue,name=C
                jboss.mq.destination:service=Queue,name=D
                jboss.mq.destination:service=Queue,name=ex

                ObjectName: jboss.mq:service=PersistenceManager
                state: CONFIGURED
                I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS

                Depends On Me: jboss.mq:service=DestinationManager

                ObjectName: jboss.mq:service=StateManager
                state: CONFIGURED
                I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS

                Depends On Me: jboss.mq:service=DestinationManager

                ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
                state: CONFIGURED
                I Depend On: jboss.mq:service=Invoker

                Depends On Me:
                ObjectName: jboss.mq:service=Invoker
                state: CONFIGURED
                I Depend On: jboss.mq:service=TracingInterceptor

                Depends On Me: jboss.mq:service=InvocationLayer,type=UIL2
                jboss.mq:service=InvocationLayer,type=JVM

                ObjectName: jboss.mq:service=TracingInterceptor
                state: CONFIGURED
                I Depend On: jboss.mq:service=SecurityManager

                Depends On Me: jboss.mq:service=Invoker

                ObjectName: jboss.mq:service=SecurityManager
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me: jboss.mq:service=TracingInterceptor
                jboss.mq.destination:service=Queue,name=DLQ
                jboss.mq.destination:service=Topic,name=testTopic
                jboss.mq.destination:service=Topic,name=securedTopic
                jboss.mq.destination:service=Topic,name=testDurableTopic
                jboss.mq.destination:service=Queue,name=testQueue

                ObjectName: jboss.mq.destination:service=Queue,name=DLQ
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager
                jboss.mq:service=SecurityManager

                Depends On Me:
                ObjectName: jboss.mq.destination:service=Topic,name=testTopic
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager
                jboss.mq:service=SecurityManager

                Depends On Me:
                ObjectName: jboss.mq.destination:service=Topic,name=securedTopic
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager
                jboss.mq:service=SecurityManager

                Depends On Me:
                ObjectName: jboss.mq.destination:service=Topic,name=testDurableTopic
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager
                jboss.mq:service=SecurityManager

                Depends On Me:
                ObjectName: jboss.mq.destination:service=Queue,name=testQueue
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager
                jboss.mq:service=SecurityManager

                Depends On Me:
                ObjectName: jboss.mq.destination:service=Queue,name=A
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me:
                ObjectName: jboss.mq.destination:service=Queue,name=B
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me:
                ObjectName: jboss.mq.destination:service=Queue,name=C
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me:
                ObjectName: jboss.mq.destination:service=Queue,name=D
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me:
                ObjectName: jboss.mq.destination:service=Queue,name=ex
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me:
                ObjectName: jboss.mq:service=InvocationLayer,type=JVM
                state: CONFIGURED
                I Depend On: jboss.mq:service=Invoker

                Depends On Me:
                ObjectName: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
                state: CONFIGURED
                I Depend On: jboss:service=invoker,type=jrmp
                jboss.jmx:type=adaptor,name=Invoker

                Depends On Me: jboss.admin:service=PluginManager

                ObjectName: jboss:service=CorbaORB
                state: FAILED
                I Depend On:
                Depends On Me: jboss:service=invoker,type=iiop
                jboss:service=CorbaNaming
                jboss:service=CorbaTransaction
                org.omg.CORBA.INITIALIZE: Could not resolve configured listener host vmcid: 0x0 minor code: 0 completed: No
                ObjectName: jboss:service=invoker,type=iiop
                state: CREATED
                I Depend On: jboss:service=CorbaORB

                Depends On Me:
                ObjectName: jboss:service=CorbaNaming
                state: CREATED
                I Depend On: jboss:service=CorbaORB

                Depends On Me: jboss:service=CorbaTransaction

                ObjectName: jboss:service=CorbaTransaction
                state: CREATED
                I Depend On: jboss:service=TransactionManager
                jboss:service=CorbaORB
                jboss:service=CorbaNaming

                Depends On Me:
                ObjectName: jboss.web.deployment:war=jmx-console.war,id=-1305542246
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                ObjectName: jboss.web.deployment:war=web-console.war,id=546317333
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)

                MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
                ObjectName: jboss.web.deployment:war=jmx-console.war,id=-1305542246
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                ObjectName: jboss.web.deployment:war=jboss-ws4ee.war,id=-569837865
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                ObjectName: jboss:service=invoker,type=pooled
                state: FAILED
                I Depend On: jboss:service=TransactionManager

                Depends On Me: java.net.BindException: Address already in use
                ObjectName: jboss.web.deployment:war=servlets.war,id=1262585121
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                ObjectName: jboss.web.deployment:war=ebxmlrr.war,id=-653488074
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                ObjectName: jboss.web.deployment:war=web-console.war,id=546317333
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                ObjectName: jboss:service=Naming
                state: FAILED
                I Depend On: jboss.system:service=ThreadPool

                Depends On Me: java.rmi.server.ExportException: Port already in use: 1098; nested exception is:
                java.net.BindException: Address already in use
                ObjectName: jboss:service=invoker,type=jrmp
                state: FAILED
                I Depend On: jboss:service=TransactionManager

                Depends On Me: jboss:service=proxyFactory,target=ClientUserTransactionFactory
                jboss:service=proxyFactory,target=ClientUserTransaction
                jboss.jca:service=DataSourceBinding,name=DefaultDS
                jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
                java.rmi.server.ExportException: Port already in use: 4444; nested exception is:
                java.net.BindException: Address already in use
                ObjectName: jboss.web.deployment:war=ROOT.war,id=2047276859
                state: FAILED
                I Depend On:
                Depends On Me: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
                ObjectName: jboss:service=Hypersonic,database=localDB
                state: FAILED
                I Depend On:
                Depends On Me: jboss.jca:service=ManagedConnectionFactory,name=DefaultDS
                java.sql.SQLException: The database is already in use by another process: org.hsqldb.NIOLockFile@5a59de97[file =/usr/local/jboss-4.0.0/server/default/data/hypersonic/localDB.lck, exists=true, locked=false, valid=false, fl =null]:
                ObjectName: jboss:service=CorbaORB
                state: FAILED
                I Depend On:
                Depends On Me: jboss:service=invoker,type=iiop
                jboss:service=CorbaNaming
                jboss:service=CorbaTransaction
                org.omg.CORBA.INITIALIZE: Could not resolve configured listener host vmcid: 0x0 minor code: 0 completed: No
                ObjectName: jboss:service=WebService
                state: FAILED
                I Depend On:
                Depends On Me: jboss.ejb:service=EJBDeployer
                jboss.ws4ee:service=AxisService
                java.net.BindException: Address already in use

                at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1255)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:712)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:693)
                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:585)
                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)
                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:242)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
                at $Proxy5.deploy(Unknown Source)
                at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:396)
                at org.jboss.system.server.ServerImpl.start(ServerImpl.java:293)
                at org.jboss.Main.boot(Main.java:151)
                at org.jboss.Main$1.run(Main.java:405)
                at java.lang.Thread.run(Thread.java:595)
                13:10:08,340 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8989
                13:10:08,627 INFO [ChannelSocket] Port busy 8009 java.net.BindException: Address already in use
                13:10:08,627 INFO [ChannelSocket] Port busy 8010 java.net.BindException: Address already in use
                13:10:08,628 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8011
                13:10:08,630 INFO [JkMain] Jk running ID=2 time=0/102 config=null
                13:10:08,634 INFO [Server] JBoss (MX MicroKernel) [4.0.0 (build: CVSTag=JBoss_4_0_0 date=200409200418)] Started in 30s:856ms

                • 5. Re: Server started  but not working
                  peterj

                  First, the stack trace you provided is missing the beginning of the exception (in other words, the important stuff is missing). Most likely, your terminal window's buffer is not large enough so you could either resize the buffer, or extract the stack trace from the server.log file.

                  Second, the "Incomplete Deployment listing" and "Depends on me" entries are typically not helpful in solving a problem, they simply indicate that a problem did occur but don't give the root cause. So please don't post those.

                  Finally, at the end of what you posted there is the error message:

                  3:10:08,627 INFO [ChannelSocket] Port busy 8009 java.net.BindException: Address already in use

                  This means that some other application has port 8009 in use. I would find out what application that is an stop it (recommended for just getting you up and running), or change the JBoss configuration to use a different port. Once you fix that, the "name not found" exception from earlier in your post might solve itself.

                  By the way, are you running a clean install of JBoss, or did you deploy an application to it? If the later, remove the deployed application and just try to start JBoss.

                  And another thing, the output you posted has nothing whatsoever to do with entering a URL at a browser. Note the last line of that output:

                  13:10:08,634 INFO [Server] JBoss (MX MicroKernel) [4.0.0 (build: CVSTag=JBoss_4_0_0 date=200409200418)] Started in 30s:856ms

                  This is the last line printed before JBoss starts accepting input from browsers. Any problems resulting from entering a URL in a browser would show up after this line of the output. Or stated another way, you should wait until that line is printed before entering a URL at the browser.