2 Replies Latest reply on Feb 21, 2007 5:56 PM by Elias Ross

    Cannot start jboss on windows

    srinadh penugonda Newbie

      I am a novice just started to play with jboss and our java application.

      I just deployed my application and want to run jboss server but I am getting the following error:
      lmcsrpe@EH6Q4004C58A6V7 /cygdrive/c/jboss-4.0.2/bin
      $ =========================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: c:\jboss-4.0.2

      JAVA: /cygdrive/c/Program Files/Java/jdk1.5.0_11/bin/java

      JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh

      CLASSPATH: c:\jboss-4.0.2\bin\run.jar;c:\Program Files\Java\jdk1.5.0_11\lib\tools.jar

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

      15:15:13,385 INFO [Server] Starting JBoss (MX MicroKernel)...
      15:15:13,395 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)
      15:15:13,395 INFO [Server] Home Dir: C:\jboss-4.0.2
      15:15:13,395 INFO [Server] Home URL: file:/C:/jboss-4.0.2/
      15:15:13,395 INFO [Server] Library URL: file:/C:/jboss-4.0.2/lib/
      15:15:13,395 INFO [Server] Patch URL: null
      15:15:13,395 INFO [Server] Server Name: default
      15:15:13,395 INFO [Server] Server Home Dir: C:\jboss-4.0.2\server\default
      15:15:13,395 INFO [Server] Server Home URL: file:/C:/jboss-4.0.2/server/default/
      15:15:13,395 INFO [Server] Server Data Dir: C:\jboss-4.0.2\server\default\data
      15:15:13,395 INFO [Server] Server Temp Dir: C:\jboss-4.0.2\server\default\tmp
      15:15:13,395 INFO [Server] Server Config URL: file:/C:/jboss-4.0.2/server/default/conf/
      15:15:13,395 INFO [Server] Server Library URL: file:/C:/jboss-4.0.2/server/default/lib/
      15:15:13,395 INFO [Server] Root Deployment Filename: jboss-service.xml
      15:15:13,395 INFO [Server] Starting General Purpose Architecture (GPA)...
      15:15:13,765 INFO [ServerInfo] Java version: 1.5.0_11,Sun Microsystems Inc.
      15:15:13,765 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_11-b03,Sun Microsystems Inc.
      15:15:13,765 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86
      15:15:14,737 INFO [Server] Core system initialized
      15:15:20,445 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml


      It just dies after printing the INFO string "Configuration from URL.."

      Funny thing is I was able to successfully start it before but now nothing works.. Nothing has been changed..

      I think it is nothing to do with the application as jboss server initialization itself failed.. so something must be wrong with jboss..

      I tried nearly 10 times and every time I am getting the same problem.. Tried to rebooting my PC .. same problem.

      My PC has 1gb RAM. It is running Windows 2000 Professional.

      Please help me!

        • 1. Re: Cannot start jboss on windows
          srinadh penugonda Newbie

          Here is my working attempt:

          lmcsrpe@EH6Q4004C58A6V7 /cygdrive/c/jboss-4.0.2/bin
          $ =========================================================================

          JBoss Bootstrap Environment

          JBOSS_HOME: c:\jboss-4.0.2

          JAVA: /cygdrive/c/Program Files/Java/jdk1.5.0_11/bin/java

          JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh

          CLASSPATH: c:\jboss-4.0.2\bin\run.jar;c:\Program Files\Java\jdk1.5.0_11\lib\tools.jar

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

          12:56:09,480 INFO [Server] Starting JBoss (MX MicroKernel)...
          12:56:09,480 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)
          12:56:09,490 INFO [Server] Home Dir: C:\jboss-4.0.2
          12:56:09,490 INFO [Server] Home URL: file:/C:/jboss-4.0.2/
          12:56:09,490 INFO [Server] Library URL: file:/C:/jboss-4.0.2/lib/
          12:56:09,490 INFO [Server] Patch URL: null
          12:56:09,490 INFO [Server] Server Name: default
          12:56:09,490 INFO [Server] Server Home Dir: C:\jboss-4.0.2\server\default
          12:56:09,490 INFO [Server] Server Home URL: file:/C:/jboss-4.0.2/server/default/
          12:56:09,490 INFO [Server] Server Data Dir: C:\jboss-4.0.2\server\default\data
          12:56:09,490 INFO [Server] Server Temp Dir: C:\jboss-4.0.2\server\default\tmp
          12:56:09,490 INFO [Server] Server Config URL: file:/C:/jboss-4.0.2/server/default/conf/
          12:56:09,490 INFO [Server] Server Library URL: file:/C:/jboss-4.0.2/server/default/lib/
          12:56:09,490 INFO [Server] Root Deployment Filename: jboss-service.xml
          12:56:09,490 INFO [Server] Starting General Purpose Architecture (GPA)...
          12:56:09,850 INFO [ServerInfo] Java version: 1.5.0_11,Sun Microsystems Inc.
          12:56:09,850 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_11-b03,Sun Microsystems Inc.
          12:56:09,850 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86
          12:56:10,792 INFO [Server] Core system initialized
          12:56:15,799 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
          12:56:16,169 INFO [WebService] Using RMI server codebase: http://EH6Q4004C58A6V7:8083/
          12:56:16,680 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0,
          Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
          12:56:24,672 INFO [Embedded] Catalina naming disabled
          12:56:25,182 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
          12:56:25,182 INFO [Catalina] Initialization processed in 460 ms
          12:56:25,182 INFO [StandardService] Starting service jboss.web
          12:56:25,182 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.9
          12:56:25,222 INFO [StandardHost] XML validation disabled
          12:56:25,263 INFO [Catalina] Server startup in 81 ms
          12:56:25,493 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/C:/jboss-4.0.2/server/default/deploy/http-inv
          oker.sar/invoker.war/
          12:56:25,873 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
          12:56:26,845 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp144
          29jboss-ws4ee-exp.war/
          12:56:27,185 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/C:/jboss-4.0.2/server/default/deploy/jbossweb-tomcat

          • 2. Re: Cannot start jboss on windows
            Elias Ross Master

            Is your log4j.xml file the same as in the distribution? What is in jboss/default/log/server.log ?