2 Replies Latest reply on Mar 12, 2004 10:51 AM by vguhesan

    jboss-3.2.0_tomcat-4.1.24 broken?

    dharmafog

      Hi - I just downloaded and installed

      jboss-3.2.0_tomcat-4.1.24

      and using JDK build 1.4.1_01-b01.

      There's a non-fatal error on startup - any ideas why a JBoss server
      should be generating errors on a clean install?


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

      JBoss Bootstrap Environment

      JBOSS_HOME: /usr/jboss

      JAVA: /usr/j2se/bin/java

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

      CLASSPATH: /usr/jboss/bin/run.jar:/usr/j2se/lib/tools.jar

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

      17:52:10,985 INFO [Server] Starting JBoss (MX MicroKernel)...
      17:52:10,990 INFO [Server] Release ID: JBoss [WonderLand] 3.2.0 (build: CVSTag=JBoss_3_2_0 date=200304110033)
      17:52:10,993 INFO [Server] Home Dir: /usr/jboss
      17:52:10,993 INFO [Server] Home URL: file:/usr/jboss/
      17:52:10,994 INFO [Server] Library URL: file:/usr/jboss/lib/
      17:52:10,998 INFO [Server] Patch URL: null
      17:52:10,999 INFO [Server] Server Name: default
      17:52:10,999 INFO [Server] Server Home Dir: /usr/jboss/server/default
      17:52:11,029 INFO [Server] Server Home URL: file:/usr/jboss/server/default/
      17:52:11,030 INFO [Server] Server Data Dir: /usr/jboss/server/default/data
      17:52:11,030 INFO [Server] Server Temp Dir: /usr/jboss/server/default/tmp
      17:52:11,069 INFO [Server] Server Config URL: file:/usr/jboss/server/default/conf/
      17:52:11,069 INFO [Server] Server Library URL: file:/usr/jboss/server/default/lib/
      17:52:11,070 INFO [Server] Root Deployemnt Filename: jboss-service.xml
      17:52:11,081 INFO [Server] Starting General Purpose Architecture (GPA)...
      17:52:11,821 INFO [ServerInfo] Java version: 1.4.1_01,Sun Microsystems Inc.
      17:52:11,822 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.1_01-b01,Sun Microsystems Inc.
      17:52:11,822 INFO [ServerInfo] OS-System: SunOS 5.8,x86
      17:52:11,943 INFO [ServiceController] Controller MBean online
      17:52:12,154 INFO [MainDeployer] Creating
      17:52:12,238 INFO [MainDeployer] Created
      17:52:12,241 INFO [MainDeployer] Starting
      17:52:12,242 INFO [MainDeployer] Started
      17:52:12,483 INFO [JARDeployer] Creating
      17:52:12,567 INFO [JARDeployer] Created
      17:52:12,569 INFO [JARDeployer] Starting
      17:52:12,570 INFO [MainDeployer] Adding deployer: org.jboss.deployment.JARDeployer@1292d26
      17:52:12,571 INFO [JARDeployer] Started
      17:52:12,600 INFO [SARDeployer] Creating
      17:52:12,693 INFO [SARDeployer] Created
      17:52:12,695 INFO [SARDeployer] Starting
      17:52:12,695 INFO [MainDeployer] Adding deployer: org.jboss.deployment.SARDeployer@78a212
      17:52:12,797 INFO [SARDeployer] Started
      17:52:12,797 INFO [Server] Core system initialized
      17:52:12,856 INFO [MainDeployer] Starting deployment of package: file:/usr/jboss/server/default/conf/jboss-servi
      ce.xml
      17:52:14,108 INFO [SARDeployer] looking for nested deployments in : file:/usr/jboss/server/default/conf/jboss-se
      rvice.xml
      17:52:19,984 INFO [Log4jService] Creating
      17:52:19,996 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
      log4j:ERROR Could not parse input source [org.xml.sax.InputSource@9be79a].
      java.lang.NullPointerException
      at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:257)
      ...blah blah

      Both xml-apis.jar and xercesImpl.jar are installed /usr/jboss/lib.

        • 1. 3825401
          andyc

          Hi,
          I had the same thing happen. The problem was that I had an older version of the xercesImpl.jar and xml-apis.jar in my classpath. There are newer versions of these jars in the /lib directory that JBOSS requires to parse the log4j.xml file.

          • 2. Re: jboss-3.2.0_tomcat-4.1.24 broken?
            vguhesan

            I had the same problem when I installed JBoss 3.2.3 bundled with Tomcat. The problem was that I had my default JAVA_HOME set to version j2sdk1.4.1_02. I edited \JBoss\bin\run.bat and added a extra line to force the JAVA_HOME to point to a later version of JDK (namely, j2sdk1.4.2_03) and that fixed the problem. I left the XercesImpl.jar and xml-apis.jar as is that came bundled with JBoss 3.2.3.

            FILE: run.bat
            ---------------------------------------
            :FOUND_RUN_JAR

            REM --- BEGIN: ADDED THIS LINE ---
            set java_home=E:\Java\j2sdk1.4.2_03\jre
            REM --- END: ADDED THIS LINE ---

            if not "%JAVA_HOME%" == "" goto ADD_TOOLS

            set JAVA=java
            ---------------------------------------

            I hope this helps.

            Venkatt