1 Reply Latest reply on Mar 20, 2003 6:36 AM by rolf_schumacher

    log4j

    rolf_schumacher

      java exeption:
      log4j:ERROR Could not find [log4j.dtd].
      ...
      org.xml.sax.SAXParseException: Relative URI "log4j.dtd"; can not be resolved without a base URI.

      copied jboss 3.0.6 to a debian directory and ran ./run.sh.

      Question:
      Why there is no log4j.dtd in the whole distribution?
      How to overcome this?

      Rolf

        • 1. Re: log4j
          rolf_schumacher

          There is another error in the output:

          ...
          12:31:06,055 INFO [JRMPInvoker] Started
          12:31:06,057 INFO [PooledInvoker] Starting
          12:31:06,192 INFO [PooledInvoker] Started
          12:31:06,195 INFO [LocalInvoker] Starting
          12:31:18,167 INFO [LocalInvoker] Started
          12:31:18,170 INFO [URLDeploymentScanner] Starting
          12:31:18,219 INFO [MainDeployer] Starting deployment of package: file:/usr/share/jboss/server/default/deploy/http-invoker.sar/
          12:31:18,318 WARN [NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException
          12:31:18,358 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@f068a49f{ url=file:/usr/share/jboss/server/default/deploy/http-invoker.sar/, deployedLastModified=0 }
          org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.NullPointerException)
          ... (printStackTrace-output) ...

          -----
          What might have caused this? How to go on?

          Rolf

          By the way, the log4j error appeared in the error output without a timestamp. The null pointer exception apeared in the standard output. I'm not able to correlate this. I tried to get informed what other logging might help, but I feel I have to bring up log4j first.