9 Replies Latest reply on Feb 28, 2008 12:37 AM by karachi

    Install issue:Using different port to 8080 from jboss 4.2.2.

    jgf1

      I already have port 8080 in use because of:
      Sun Java System Application Server 9.1_01
      I am a newbie to JBoss....
      Was hoping to be able to keep both JBoss & Suns Servers...
      Have done a Google search and most solutions mention modifying
      as per:here
      Problem is the version I installed doesn't have a jbossweb-tomcat55.sar
      So how do I go about doing this.
      Directory server\all\deploy looks like this:
      deploy.last
      ejb3.deployer
      httpha-invoker.sar
      jboss-aop-jdk50.deployer
      jboss-bean.deployer
      jboss-web.deployer
      jboss-web-cluster.sar
      jbossws.sar
      jms
      jmx-console.war
      juddi-service.sar
      management
      snmp-adaptor.sar
      uuid-key-generator.sar
      bsh-deployer.xml
      cache-invalidation-service.xml
      client-deployer-service.xml
      cluster-service.xml
      deploy-hasingleton-service.xml
      ear-deployer.xml
      ejb3-clustered-sfsbcache-service.xml
      ejb3-entity-cache-service.xml
      ejb3-interceptors-aop.xml
      ejb-deployer.xml
      hsqldb-ds.xml
      iiop-service.xml
      jboss-ha-local-jdbc.rar
      jboss-ha-xa-jdbc.rar
      jbossjca-service.xml
      jboss-local-jdbc.rar
      jboss-xa-jdbc.rar
      jmx-invoker-service.xml
      jsr88-service.xml
      mail-ra.rar
      mail-service.xml
      monitoring-service.xml
      properties-service.xml
      quartz-ra.rar
      schedule-manager-service.xml
      scheduler-service.xml
      sqlexception-service.xml

      Is there an updated document with instructions as how to do this?
      Many thanks

        • 1. Re: Install issue:Using different port to 8080 from jboss 4.
          jgf1

          Oops this was article. Didn't type url correctly. No way to reedit message
          http://lkamal.blogspot.com/2006/09/jboss-4-how-to-change-port-8080-in.html

          • 2. Re: Install issue:Using different port to 8080 from jboss 4.
            jaikiran

             

            Problem is the version I installed doesn't have a jbossweb-tomcat55.sar


            In JBoss-4.2.x its named jboss-web.deployer and is located in the deploy folder.

            • 3. Re: Install issue:Using different port to 8080 from jboss 4.
              jgf1

              Hi jaikiran
              I tried changing server.xml in server\all\deploy\jboss-web.deployer
              folder and renumbered all ports in 8000 range to 18000.
              But alas when I use run.bat it still is picking up port 8080..
              Some of the top level messages are as follows:

              [Naming] Could not start on port 1099
              java.net.BindException: Address already in use: JVM_Bind

              [Http11Protocol] Error initializing endpoint
              java.net.BindException: Address already in use: JVM_Bind:8080

              ERROR [Catalina] Catalina.start
              LifecycleException: Protocol handler initialization failed:
              java.net.BindException: Address already in use: JVM_Bind:8080

              ERROR [Http11Protocol] Error starting endpoint
              java.net.BindException: Address already in use: JVM_Bind:8080

              Couldn't see port 1099 anywhere in file I changed, so perhaps I have multiple issues...

              Here is complete log:

              ===============================================================================

              JBoss Bootstrap Environment

              JBOSS_HOME: C:\apps\jboss-4.2.2.GA

              JAVA: C:\Sun\SDK\jdk\bin\java

              JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

              CLASSPATH: C:\Sun\SDK\jdk\lib\tools.jar;C:\apps\jboss-4.2.2.GA\bin\run.jar

              ===============================================================================

              11:26:35,406 INFO [Server] Starting JBoss (MX MicroKernel)...
              11:26:35,406 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
              11:26:35,406 INFO [Server] Home Dir: C:\apps\jboss-4.2.2.GA
              11:26:35,406 INFO [Server] Home URL: file:/C:/apps/jboss-4.2.2.GA/
              11:26:35,406 INFO [Server] Patch URL: null
              11:26:35,406 INFO [Server] Server Name: default
              11:26:35,406 INFO [Server] Server Home Dir: C:\apps\jboss-4.2.2.GA\server\default
              11:26:35,406 INFO [Server] Server Home URL: file:/C:/apps/jboss-4.2.2.GA/server/default/
              11:26:35,406 INFO [Server] Server Log Dir: C:\apps\jboss-4.2.2.GA\server\default\log
              11:26:35,406 INFO [Server] Server Temp Dir: C:\apps\jboss-4.2.2.GA\server\default\tmp
              11:26:35,406 INFO [Server] Root Deployment Filename: jboss-service.xml
              11:26:35,656 INFO [ServerInfo] Java version: 1.6.0_04,Sun Microsystems Inc.
              11:26:35,656 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 10.0-b19,Sun Microsystems Inc.
              11:26:35,656 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
              11:26:36,093 INFO [Server] Core system initialized
              11:26:37,843 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
              11:26:37,843 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
              11:26:38,156 ERROR [Naming] Could not start on port 1099
              java.net.BindException: Address already in use: JVM_Bind
              at java.net.PlainSocketImpl.socketBind(Native Method)
              at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
              at java.net.ServerSocket.bind(ServerSocket.java:319)
              at java.net.ServerSocket.(ServerSocket.java:185)
              at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:170)
              at org.jnp.server.Main.initBootstrapListener(Main.java:371)
              at org.jnp.server.Main.start(Main.java:321)
              at org.jboss.naming.NamingService.startService(NamingService.java:284)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
              at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
              at $Proxy0.start(Unknown Source)
              at org.jboss.system.ServiceController.start(ServiceController.java:417)
              at org.jboss.system.ServiceController.start(ServiceController.java:435)
              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:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy4.start(Unknown Source)
              at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
              at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
              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:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy5.deploy(Unknown Source)
              at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
              at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
              at org.jboss.Main.boot(Main.java:200)
              at org.jboss.Main$1.run(Main.java:508)
              at java.lang.Thread.run(Thread.java:619)
              11:26:38,218 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
              11:26:38,218 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
              11:26:38,406 INFO [TransactionManagerService] Starting recovery manager
              11:26:38,468 INFO [TransactionManagerService] Recovery manager started
              11:26:38,468 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
              11:26:40,703 INFO [EJB3Deployer] Starting java:comp multiplexer
              11:26:40,921 INFO [STDOUT] no object for null
              11:26:40,921 INFO [STDOUT] no object for null
              11:26:40,937 INFO [STDOUT] no object for null
              11:26:40,953 INFO [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
              11:26:40,968 INFO [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
              11:26:42,515 INFO [NativeServerConfig] JBoss Web Services - Native
              11:26:42,515 INFO [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=200710210837)
              11:26:43,171 INFO [Embedded] Catalina naming disabled
              11:26:43,281 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Sun\SDK\jdk\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Wave Systems Corp\Dell Preboot Manager\Access Client\v5\;C:\Tools\apache-maven-2.0.8\bin;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\ZipGenius 6\;C:\Tools\apache-ant-1.7.0\bin;C:\DB\MySQL5\bin;C:\Sun\SDK\jdk\bin;C:\PROGRA~1\COMMON~1\MICROS~1\MSPaper
              11:26:43,328 ERROR [Http11Protocol] Error initializing endpoint
              java.net.BindException: Address already in use: JVM_Bind:8080
              at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:500)
              at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
              at org.apache.catalina.connector.Connector.initialize(Connector.java:1073)
              at org.apache.catalina.core.StandardService.initialize(StandardService.java:668)
              at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:791)
              at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
              at org.apache.catalina.startup.Catalina.start(Catalina.java:568)
              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:597)
              at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
              at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.web.tomcat.service.JBossWeb.startService(JBossWeb.java:440)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
              at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
              at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
              at org.jboss.deployment.SubDeployerInterceptor.invokeNext(SubDeployerInterceptor.java:124)
              at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:109)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
              at $Proxy0.start(Unknown Source)
              at org.jboss.system.ServiceController.start(ServiceController.java:417)
              at org.jboss.system.ServiceController.start(ServiceController.java:435)
              at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy4.start(Unknown Source)
              at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
              at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
              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:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy9.deploy(Unknown Source)
              at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
              at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
              at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
              at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
              at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
              at $Proxy0.start(Unknown Source)
              at org.jboss.system.ServiceController.start(ServiceController.java:417)
              at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy4.start(Unknown Source)
              at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
              at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
              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:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy5.deploy(Unknown Source)
              at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
              at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
              at org.jboss.Main.boot(Main.java:200)
              at org.jboss.Main$1.run(Main.java:508)
              at java.lang.Thread.run(Thread.java:619)
              11:26:43,343 ERROR [Catalina] Catalina.start
              LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:8080
              at org.apache.catalina.connector.Connector.initialize(Connector.java:1075)
              at org.apache.catalina.core.StandardService.initialize(StandardService.java:668)
              at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:791)
              at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
              at org.apache.catalina.startup.Catalina.start(Catalina.java:568)
              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:597)
              at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
              at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.web.tomcat.service.JBossWeb.startService(JBossWeb.java:440)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
              at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
              at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
              at org.jboss.deployment.SubDeployerInterceptor.invokeNext(SubDeployerInterceptor.java:124)
              at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:109)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
              at $Proxy0.start(Unknown Source)
              at org.jboss.system.ServiceController.start(ServiceController.java:417)
              at org.jboss.system.ServiceController.start(ServiceController.java:435)
              at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy4.start(Unknown Source)
              at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
              at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
              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:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy9.deploy(Unknown Source)
              at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
              at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
              at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
              at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
              at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
              at $Proxy0.start(Unknown Source)
              at org.jboss.system.ServiceController.start(ServiceController.java:417)
              at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy4.start(Unknown Source)
              at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
              at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
              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:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy5.deploy(Unknown Source)
              at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
              at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
              at org.jboss.Main.boot(Main.java:200)
              at org.jboss.Main$1.run(Main.java:508)
              at java.lang.Thread.run(Thread.java:619)
              11:26:43,343 INFO [Catalina] Initialization processed in 167 ms
              11:26:43,343 INFO [StandardService] Starting service jboss.web
              11:26:43,343 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
              11:26:43,375 INFO [Catalina] Server startup in 40 ms
              11:26:43,468 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
              11:26:43,921 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
              11:26:44,015 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
              11:26:44,078 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
              11:26:44,687 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
              11:26:45,031 INFO [MailService] Mail Service bound to java:/Mail
              11:26:45,156 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
              11:26:45,171 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
              11:26:45,203 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
              11:26:45,234 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
              11:26:45,312 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
              11:26:45,343 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
              11:26:45,375 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
              11:26:45,390 INFO [QuartzResourceAdapter] start quartz!!!
              11:26:45,437 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
              11:26:45,453 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
              11:26:45,468 INFO [RAMJobStore] RAMJobStore initialized.
              11:26:45,468 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
              11:26:45,468 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
              11:26:45,468 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
              11:26:45,953 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
              11:26:46,171 INFO [A] Bound to JNDI name: queue/A
              11:26:46,171 INFO [B] Bound to JNDI name: queue/B
              11:26:46,171 INFO [C] Bound to JNDI name: queue/C
              11:26:46,171 INFO [D] Bound to JNDI name: queue/D
              11:26:46,171 INFO [ex] Bound to JNDI name: queue/ex
              11:26:46,187 INFO [testTopic] Bound to JNDI name: topic/testTopic
              11:26:46,187 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
              11:26:46,203 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
              11:26:46,203 INFO [testQueue] Bound to JNDI name: queue/testQueue
              11:26:46,234 INFO [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093
              11:26:46,250 INFO [DLQ] Bound to JNDI name: queue/DLQ
              11:26:46,343 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
              11:26:46,359 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
              11:26:46,609 ERROR [Http11Protocol] Error starting endpoint
              java.net.BindException: Address already in use: JVM_Bind:8080
              at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:500)
              at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:514)
              at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:203)
              at org.apache.catalina.connector.Connector.start(Connector.java:1146)
              at org.jboss.web.tomcat.service.JBossWeb.startConnectors(JBossWeb.java:584)
              at org.jboss.web.tomcat.service.JBossWeb.handleNotification(JBossWeb.java:621)
              at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
              at $Proxy46.handleNotification(Unknown Source)
              at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:127)
              at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:108)
              at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:916)
              at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:497)
              at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
              at org.jboss.Main.boot(Main.java:200)
              at org.jboss.Main$1.run(Main.java:508)
              at java.lang.Thread.run(Thread.java:619)
              11:26:46,609 WARN [JBossWeb] Failed to startConnectors
              LifecycleException: service.getName(): "jboss.web"; Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind:8080
              at org.apache.catalina.connector.Connector.start(Connector.java:1153)
              at org.jboss.web.tomcat.service.JBossWeb.startConnectors(JBossWeb.java:584)
              at org.jboss.web.tomcat.service.JBossWeb.handleNotification(JBossWeb.java:621)
              at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
              at $Proxy46.handleNotification(Unknown Source)
              at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:127)
              at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:108)
              at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:916)
              at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:497)
              at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
              at org.jboss.Main.boot(Main.java:200)
              at org.jboss.Main$1.run(Main.java:508)
              at java.lang.Thread.run(Thread.java:619)
              11:26:46,609 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 11s:203ms
              11:26:54,390 INFO [Server] Runtime shutdown hook called, forceHalt: true
              11:26:54,390 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
              11:26:54,390 INFO [TomcatDeployer] undeploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
              11:26:54,421 INFO [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' from JNDI name 'java:JmsXA'
              11:26:54,437 INFO [testTopic] Unbinding JNDI name: topic/testTopic
              11:26:54,437 INFO [securedTopic] Unbinding JNDI name: topic/securedTopic
              11:26:54,437 INFO [testDurableTopic] Unbinding JNDI name: topic/testDurableTopic
              11:26:54,437 INFO [testQueue] Unbinding JNDI name: queue/testQueue
              11:26:54,437 INFO [A] Unbinding JNDI name: queue/A
              11:26:54,437 INFO [B] Unbinding JNDI name: queue/B
              11:26:54,437 INFO [C] Unbinding JNDI name: queue/C
              11:26:54,437 INFO [D] Unbinding JNDI name: queue/D
              11:26:54,437 INFO [ex] Unbinding JNDI name: queue/ex
              11:26:54,437 INFO [DLQ] Unbinding JNDI name: queue/DLQ
              11:26:54,453 INFO [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' from JNDI name 'java:DefaultDS'
              11:26:55,312 INFO [HypersonicDatabase] Database standalone closed clean
              11:26:55,328 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutting down.
              11:26:55,328 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED paused.
              11:26:55,328 INFO [SimpleThreadPool] There are still 26 worker threads active. See javadoc runInThread(Runnable) for a possible explanation
              11:26:55,328 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutdown complete.
              11:26:55,359 INFO [MailService] Mail service 'java:/Mail' removed from JNDI
              11:26:55,359 INFO [TomcatDeployer] undeploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
              11:26:55,437 INFO [Http11Protocol] Pausing Coyote HTTP/1.1 on http-127.0.0.1-8080
              11:26:55,437 INFO [AjpProtocol] Pausing Coyote AJP/1.3 on ajp-127.0.0.1-8009
              11:26:56,437 INFO [StandardService] Stopping service jboss.web
              11:26:56,437 WARN [MapperListener] Error unregistering MBeanServerDelegate
              java.lang.NullPointerException
              at org.apache.catalina.connector.MapperListener.destroy(MapperListener.java:161)
              at org.apache.catalina.connector.Connector.stop(Connector.java:1194)
              at org.apache.catalina.core.StandardService.stop(StandardService.java:584)
              at org.apache.catalina.core.StandardServer.stop(StandardServer.java:743)
              at org.apache.catalina.startup.Catalina.stop(Catalina.java:626)
              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:597)
              at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
              at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.web.tomcat.service.JBossWeb.stopService(JBossWeb.java:532)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:315)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:247)
              at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
              at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
              at org.jboss.deployment.SubDeployerInterceptor.invokeNext(SubDeployerInterceptor.java:124)
              at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:109)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
              at $Proxy0.stop(Unknown Source)
              at org.jboss.system.ServiceController.stop(ServiceController.java:508)
              at org.jboss.system.ServiceController.stop(ServiceController.java:499)
              at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy4.stop(Unknown Source)
              at org.jboss.deployment.SARDeployer.stop(SARDeployer.java:336)
              at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:667)
              at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:638)
              at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:516)
              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:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:1058)
              at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:1033)
              at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:996)
              11:26:56,437 INFO [Http11Protocol] Stopping Coyote HTTP/1.1 on http-127.0.0.1-8080
              11:26:56,437 ERROR [Connector] Coyote connector has not been started
              11:26:56,453 INFO [TomcatDeployer] undeploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
              11:26:56,453 INFO [TomcatDeployer] undeploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
              11:26:56,453 INFO [TomcatDeployer] undeploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
              11:26:56,453 INFO [TomcatDeployer] undeploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
              11:26:56,562 INFO [TransactionManagerService] Stopping recovery manager
              11:26:56,593 INFO [Server] Shutdown complete
              Shutdown complete
              Halting VM
              Terminate batch job (Y/N)?
              Press any key to continue . . .

              • 4. Re: Install issue:Using different port to 8080 from jboss 4.
                jaikiran

                JBoss comes with 3 different server profiles, namely "minimal", "default" and "all". When you use the run.bat (without the -c parameter), the "default" instance is started.

                I tried changing server.xml in server\all\deploy\jboss-web.deployer


                You did the changes to the "all" profile. If you want to use this profile with these changes then start your JBoss as follows:

                run.bat -c all


                However if you want to use the "default" profile then do the port related changes in files present under %JBOSS_HOME%\server\default. Then start JBoss as follows:

                run.bat


                • 5. Re: Install issue:Using different port to 8080 from jboss 4.
                  jgf1

                  Hi Jaikiran
                  Your a star.
                  This has solved some but not all of the issues.
                  (Out of interest does any of the online documentation tell you about this?
                  I'd appreciate a URL if you've got one).

                  Unfortunately there is still an issue with Port 1099:
                  14:18:58,468 ERROR [Naming] Could not start on port 1099
                  java.net.BindException: Address already in use: JVM_Bind

                  I now have another couple of error too:
                  14:19:06,968 ERROR [MainDeployer] Could not start deployment: file:/C:/apps/jboss-4.2.2.GA/server/default/deploy/hsqldb-ds.xml

                  140 ERROR [URLDeploymentScanner] Incomplete Deployment listing

                  Does JBoss reply on "hsqldb". Or can I configure and use say MYSQL?
                  ===============================================================================

                  JBoss Bootstrap Environment

                  JBOSS_HOME: C:\apps\jboss-4.2.2.GA

                  JAVA: C:\Sun\SDK\jdk\bin\java

                  JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

                  CLASSPATH: C:\Sun\SDK\jdk\lib\tools.jar;C:\apps\jboss-4.2.2.GA\bin\run.jar

                  ===============================================================================

                  14:18:55,796 INFO [Server] Starting JBoss (MX MicroKernel)...
                  14:18:55,796 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
                  14:18:55,796 INFO [Server] Home Dir: C:\apps\jboss-4.2.2.GA
                  14:18:55,796 INFO [Server] Home URL: file:/C:/apps/jboss-4.2.2.GA/
                  14:18:55,796 INFO [Server] Patch URL: null
                  14:18:55,796 INFO [Server] Server Name: default
                  14:18:55,796 INFO [Server] Server Home Dir: C:\apps\jboss-4.2.2.GA\server\default
                  14:18:55,796 INFO [Server] Server Home URL: file:/C:/apps/jboss-4.2.2.GA/server/default/
                  14:18:55,796 INFO [Server] Server Log Dir: C:\apps\jboss-4.2.2.GA\server\default\log
                  14:18:55,796 INFO [Server] Server Temp Dir: C:\apps\jboss-4.2.2.GA\server\default\tmp
                  14:18:55,796 INFO [Server] Root Deployment Filename: jboss-service.xml
                  14:18:56,046 INFO [ServerInfo] Java version: 1.6.0_04,Sun Microsystems Inc.
                  14:18:56,046 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 10.0-b19,Sun Microsystems Inc.
                  14:18:56,046 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
                  14:18:56,484 INFO [Server] Core system initialized
                  14:18:58,234 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
                  14:18:58,234 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
                  14:18:58,468 ERROR [Naming] Could not start on port 1099
                  java.net.BindException: Address already in use: JVM_Bind
                  at java.net.PlainSocketImpl.socketBind(Native Method)
                  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
                  at java.net.ServerSocket.bind(ServerSocket.java:319)
                  at java.net.ServerSocket.(ServerSocket.java:185)
                  at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:170)
                  at org.jnp.server.Main.initBootstrapListener(Main.java:371)
                  at org.jnp.server.Main.start(Main.java:321)
                  at org.jboss.naming.NamingService.startService(NamingService.java:284)
                  at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                  at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                  at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                  at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                  at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                  at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
                  at $Proxy0.start(Unknown Source)
                  at org.jboss.system.ServiceController.start(ServiceController.java:417)
                  at org.jboss.system.ServiceController.start(ServiceController.java:435)
                  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:597)
                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                  at $Proxy4.start(Unknown Source)
                  at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
                  at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
                  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:597)
                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                  at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                  at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                  at $Proxy5.deploy(Unknown Source)
                  at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
                  at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
                  at org.jboss.Main.boot(Main.java:200)
                  at org.jboss.Main$1.run(Main.java:508)
                  at java.lang.Thread.run(Thread.java:619)
                  14:18:58,609 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
                  14:18:58,609 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
                  14:18:58,828 INFO [TransactionManagerService] Starting recovery manager
                  14:18:58,890 INFO [TransactionManagerService] Recovery manager started
                  14:18:58,890 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
                  14:19:01,125 INFO [EJB3Deployer] Starting java:comp multiplexer
                  14:19:01,375 INFO [STDOUT] no object for null
                  14:19:01,390 INFO [STDOUT] no object for null
                  14:19:01,390 INFO [STDOUT] no object for null
                  14:19:01,406 INFO [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
                  14:19:01,421 INFO [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
                  14:19:03,203 INFO [NativeServerConfig] JBoss Web Services - Native
                  14:19:03,203 INFO [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=200710210837)
                  14:19:03,843 INFO [Embedded] Catalina naming disabled
                  14:19:03,968 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Sun\SDK\jdk\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Wave Systems Corp\Dell Preboot Manager\Access Client\v5\;C:\Tools\apache-maven-2.0.8\bin;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\ZipGenius 6\;C:\Tools\apache-ant-1.7.0\bin;C:\DB\MySQL5\bin;C:\Sun\SDK\jdk\bin;C:\PROGRA~1\COMMON~1\MICROS~1\MSPaper
                  14:19:04,015 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-18080
                  14:19:04,015 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-18009
                  14:19:04,015 INFO [Catalina] Initialization processed in 171 ms
                  14:19:04,015 INFO [StandardService] Starting service jboss.web
                  14:19:04,015 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
                  14:19:04,062 INFO [Catalina] Server startup in 41 ms
                  14:19:04,156 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
                  14:19:04,578 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
                  14:19:04,671 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
                  14:19:04,750 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
                  14:19:05,390 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
                  14:19:05,703 INFO [MailService] Mail Service bound to java:/Mail
                  14:19:05,859 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
                  14:19:05,890 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
                  14:19:05,921 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
                  14:19:05,937 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
                  14:19:05,984 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
                  14:19:06,187 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
                  14:19:06,218 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
                  14:19:06,218 INFO [QuartzResourceAdapter] start quartz!!!
                  14:19:06,265 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
                  14:19:06,296 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
                  14:19:06,296 INFO [RAMJobStore] RAMJobStore initialized.
                  14:19:06,296 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
                  14:19:06,296 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
                  14:19:06,296 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
                  14:19:06,656 INFO [Server] Runtime shutdown hook called, forceHalt: true
                  14:19:06,656 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
                  14:19:06,687 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutting down.
                  14:19:06,687 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED paused.
                  14:19:06,687 INFO [SimpleThreadPool] There are still 21 worker threads active. See javadoc runInThread(Runnable) for a possible explanation
                  14:19:06,687 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutdown complete.
                  14:19:06,734 INFO [MailService] Mail service 'java:/Mail' removed from JNDI
                  14:19:06,734 INFO [TomcatDeployer] undeploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
                  14:19:06,890 INFO [Http11Protocol] Pausing Coyote HTTP/1.1 on http-127.0.0.1-18080
                  14:19:06,890 INFO [AjpProtocol] Pausing Coyote AJP/1.3 on ajp-127.0.0.1-18009
                  14:19:06,968 ERROR [MainDeployer] Could not start deployment: file:/C:/apps/jboss-4.2.2.GA/server/default/deploy/hsqldb-ds.xml
                  org.jboss.deployment.DeploymentException: start operation failed on package file:/C:/apps/jboss-4.2.2.GA/server/default/deploy/hsqldb-ds.xml; - nested throwable: (java.util.ConcurrentModificationException)
                  at org.jboss.deployment.SARDeployer.start(SARDeployer.java:311)
                  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:597)
                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                  at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                  at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                  at $Proxy42.start(Unknown Source)
                  at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
                  at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
                  at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                  at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                  at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                  at $Proxy9.deploy(Unknown Source)
                  at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
                  at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
                  at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
                  at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
                  at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                  at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                  at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                  at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
                  at $Proxy0.start(Unknown Source)
                  at org.jboss.system.ServiceController.start(ServiceController.java:417)
                  at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                  at $Proxy4.start(Unknown Source)
                  at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
                  at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
                  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:597)
                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                  at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                  at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                  at $Proxy5.deploy(Unknown Source)
                  at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
                  at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
                  at org.jboss.Main.boot(Main.java:200)
                  at org.jboss.Main$1.run(Main.java:508)
                  at java.lang.Thread.run(Thread.java:619)
                  Caused by: java.util.ConcurrentModificationException
                  at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
                  at java.util.AbstractList$Itr.next(AbstractList.java:343)
                  at org.jboss.deployment.SARDeployer.start(SARDeployer.java:299)
                  ... 82 more
                  14:19:07,062 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
                  14:19:07,140 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

                  --- MBeans waiting for other MBeans ---
                  ObjectName: jboss.jca:service=TxCM,name=JmsXA
                  State: CONFIGURED
                  I Depend On:
                  jboss.jca:service=ManagedConnectionPool,name=JmsXA
                  jboss.jca:service=CachedConnectionManager
                  jboss.security:service=JaasSecurityManager
                  jboss:service=TransactionManager
                  Depends On Me:
                  jboss.jca:service=ConnectionFactoryBinding,name=JmsXA

                  ObjectName: jboss.jca:service=ManagedConnectionPool,name=JmsXA
                  State: CONFIGURED
                  I Depend On:
                  jboss.jca:service=ManagedConnectionFactory,name=JmsXA
                  Depends On Me:
                  jboss.jca:service=TxCM,name=JmsXA

                  ObjectName: jboss.jca:service=ManagedConnectionFactory,name=JmsXA
                  State: CONFIGURED
                  I Depend On:
                  jboss.jca:service=RARDeployment,name='jms-ra.rar'
                  Depends On Me:
                  jboss.jca:service=ManagedConnectionPool,name=JmsXA

                  ObjectName: jboss.jca:service=ConnectionFactoryBinding,name=JmsXA
                  State: CONFIGURED
                  I Depend On:
                  jboss.jca:service=TxCM,name=JmsXA

                  --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
                  ObjectName: jboss.jca:service=RARDeployment,name='jms-ra.rar'
                  State: NOTYETINSTALLED
                  Depends On Me:
                  jboss.jca:service=ManagedConnectionFactory,name=JmsXA


                  14:19:07,203 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-18080
                  14:19:07,234 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-18009
                  14:19:07,234 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 11s:438ms
                  14:19:07,890 INFO [StandardService] Stopping service jboss.web
                  14:19:07,921 INFO [Http11Protocol] Stopping Coyote HTTP/1.1 on http-127.0.0.1-18080
                  14:19:07,921 INFO [AjpProtocol] Stopping Coyote AJP/1.3 on ajp-127.0.0.1-18009
                  14:19:07,921 INFO [TomcatDeployer] undeploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
                  14:19:07,921 INFO [TomcatDeployer] undeploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
                  14:19:07,921 INFO [TomcatDeployer] undeploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
                  14:19:07,937 INFO [TomcatDeployer] undeploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
                  14:19:07,937 INFO [TomcatDeployer] undeploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
                  14:19:08,078 INFO [TransactionManagerService] Stopping recovery manager
                  14:19:08,109 INFO [Server] Shutdown complete
                  Shutdown complete
                  Halting VM
                  Terminate batch job (Y/N)?
                  Press any key to continue . . .

                  • 6. Re: Install issue:Using different port to 8080 from jboss 4.
                    jaikiran

                     

                    14:18:58,468 ERROR [Naming] Could not start on port 1099
                    java.net.BindException: Address already in use: JVM_Bind


                    Probably some other application (or maybe another instance of JBoss) is using this port. See this http://wiki.jboss.org/wiki/Wiki.jsp?page=DebugBindException


                    14:19:06,968 ERROR [MainDeployer] Could not start deployment: file:/C:/apps/jboss-4.2.2.GA/server/default/deploy/hsqldb-ds.xml


                    Maybe this failed because of the earlier port related error. Not sure though. I would first fix the port related error and then see if this exception still occurs (in which case, post the updated logs).

                    Does JBoss reply on "hsqldb". Or can I configure and use say MYSQL?


                    JBoss by default uses HSQLDB for JMS related stuff. You can configure your own database instead of HSQLDB. The steps are mentioned at http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQDB. There are a couple of approaches mentioned in that wiki, so select the one which suits you best. And in case you are specifically interested in configuring it for MySQL then see this:

                    http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpMysqlAsDefaultDS

                    Out of interest does any of the online documentation tell you about this?


                    I use the Wiki http://www.jboss.com/wiki/Wiki.jsp
                    the JBoss guide http://docs.jboss.org/jbossas/jboss4guide/r1/html/index.html and the forums.

                    • 7. Re: Install issue:Using different port to 8080 from jboss 4.
                      jgf1

                      Many thanks for solving my JBoss install issues.
                      TCPView utility tracked down Java process using ports.
                      So I have now gone into Services and made SunJavaSystemAppserver9PE
                      start manually. This way I can start JBoss without the conflicts and it
                      resolves everything satisfactorily for my needs, since I don't need both servers to run concurrently.
                      In case anyone needs to track down TCPView, the URL in article you pointed me to is slightly out of date.
                      It now resides at:
                      http://technet.microsoft.com/en-gb/sysinternals/bb897437.aspx
                      I also changed those ports back to 8080 range from 18080 range too now in server.xml files.
                      Everything is now starting without errors when I run.
                      Once again thanks for all your great advice.
                      I will add the URL's you mention to my favorites.
                      Cheers, Jeremy

                      • 8. Re: Install issue:Using different port to 8080 from jboss 4.
                        jaikiran

                         

                        "JGF1" wrote:

                        In case anyone needs to track down TCPView, the URL in article you pointed me to is slightly out of date.
                        It now resides at:
                        http://technet.microsoft.com/en-gb/sysinternals/bb897437.aspx


                        Thanks for pointing this out. The wiki http://wiki.jboss.org/wiki/Wiki.jsp?page=DebugBindException has now been updated with the new URL.

                        • 9. Re: Install issue:Using different port to 8080 from jboss 4.
                          karachi

                          09:38:05,227 ERROR [Naming] Could not start on port 1099
                          java.net.BindException: Address already in use: JVM_Bind
                          at java.net.PlainSocketImpl.socketBind(Native Method)
                          at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
                          at java.net.ServerSocket.bind(ServerSocket.java:319)
                          at java.net.ServerSocket.(ServerSocket.java:185)
                          at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:170)
                          at org.jnp.server.Main.initBootstrapListener(Main.java:371)
                          at org.jnp.server.Main.start(Main.java:321)
                          at org.jboss.naming.NamingService.startService(NamingService.java:284)
                          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                          at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:597)
                          For above error please check if u r using norton anti virous than 1098 port is used by ccApp.exe process of symmentic norton antivirous app.