3 Replies Latest reply on Jan 12, 2004 7:43 AM by sblezard

    *could not start deployment* during first start

    Jiri Chaloupka Newbie

      I was compile jboss v. 3.0.6 and try to start it, but I got:
      22:48:36,405 ERROR [MainDeployer] could not start deployment: file:/...../jboss-3.0.6/server/default/conf/jboss-service.xml
      java.lang.AbstractMethodError: org/jboss/deployment/scanner/AbstractDeploymentScanner.scan

      22:48:36,454 ERROR [Server] start failed
      org.jboss.deployment.DeploymentException: Could not create deployment: file:/...../jboss-3.0.6-src/build/output/jboss-3.0.6/server/default/conf/jboss-service.xml; - nested throwable: (java.lang.AbstractMethodError: org/jboss/deployment/scanner/AbstractDeploymentScanner.scan)

      I have Linux with IBM JDK 1.4.
      Everything(compile, start) I do as root.

      Where should be my mistake? It is my first trying JBoss ...

        • 1. Re: *could not start deployment* during first start
          Adrian Brock Master

          This is a bug in the IBM 1.4 compiler.
          If you compile it with another compiler
          it works and it will run on 1.4 VM.
          The IBM VM has another bug that stops it
          running JBoss.

          Workarounds have been determined,
          they should be available in the jboss3.2.0 and
          jboss3.0.7 releases available soon.

          You could try 3.2 from cvs...


          • 3. Re: *could not start deployment* during first start
            sblezard Newbie


            I am currently trying to build the Jboss 2.3.2 source against the Linux 1.4.1 IBM JDK. It does not build, I get this error:

            [javac] Compiling 491 source files to /home/sean/jboss-3.2.3-src/jmx/output/classes
            error: IO exception sun.io.MalformedInputException
            error: IO exception sun.io.MalformedInputException
            error: IO exception sun.io.MalformedInputException
            /home/sean/jboss-3.2.3-src/jmx/src/main/org/jboss/mx/capability/DispatcherFactory.java:70: cannot access org.jboss.mx.capability.OptimizedMBeanDispatcher
            bad class file: /home/sean/jboss-3.2.3-src/jmx/src/main/org/jboss/mx/capability/OptimizedMBeanDispatcher.java
            file does not contain class org.jboss.mx.capability.OptimizedMBeanDispatcher
            Please remove or make sure it appears in the correct subdirectory of the classpath.
            dispatcher = OptimizedMBeanDispatcher.create(info, resource /*, parent classloader */);
            4 errors

            Basically, I can't do anything useful with Jboss and the IBM JDK - which I need to use in our AIX environment. Is Jboss and AIX a non-starter? I am trying to move the company away from Jrun towards Jboss but a lot of our customers have AIX so it could be a non-starter for now.