1 Reply Latest reply on Oct 20, 2008 4:38 AM by Andy Taylor

    port problem with JBoss during deployment

    ilango gurusamy Novice

      Hi
      I have tried to deploy a EAR from NetBeans (containing MDB, servlets, Session Beans) into JBoss 5. During JBoss installation I had set the port to 8082 in server.xml, because I had another JBoss (4) running on 8080.
      Now when I deploy my application the correct behaviour would be to launch a page in the browser as http://localhost:8082/<>/<>

      Instead I get a "page not found" page and I see that the application is doing: http://localhost:8080/<>/<>

      What seems to be the
      Jboss (launched from Netbeans) says the following:

      pre-init:
      init-private:
      init-userdir:
      init-user:
      init-project:
      do-init:
      post-init:
      init-check:
      init:
      deps-jar:
      deps-j2ee-archive:
      init:
      deps-jar:
      compile:
      library-inclusion-in-manifest:
      dist-ear:
      init:
      deps-module-jar:
      deps-ear-jar:
      init:
      deps-jar:
      compile:
      library-inclusion-in-manifest:
      dist-ear:
      deps-jar:
      library-inclusion-in-archive:
      library-inclusion-in-manifest:
      compile:
      compile-jsps:
      do-ear-dist:
      dist-ear:
      pre-pre-compile:
      pre-compile:
      do-compile:
      post-compile:
      compile:
      pre-dist:
      do-dist-without-manifest:
      do-dist-with-manifest:
      Building jar: C:\DexCenter\Projects\DexCenterQueueing2\dist\DexCenterQueueing2.ear
      post-dist:
      dist:
      pre-run-deploy:
      Distributing C:\DexCenter\Projects\DexCenterQueueing2\dist\DexCenterQueueing2.ear to [org.jboss.deployment.spi.LocalhostTarget@1a99cb5]
      Deploying C:\DexCenter\Projects\DexCenterQueueing2\dist\DexCenterQueueing2.ear
      Waiting for server to start the module http://localhost:8080/DexCenterQueueing2-war
      Applicaton Deployed
      Operation start started
      Operation start completed
      post-run-deploy:
      run-deploy:
      Browsing: http://localhost:8080/DexCenterQueueing2-war/MessageListenerServlet
      run-display-browser:
      run-ac:
      run:
      BUILD SUCCESSFUL (total time: 1 minute 10 seconds)
      


      -----------

      What could be the problem? why is this happening? Any suggestions are appreciated.
      Thanks very much in advance.