0 Replies Latest reply on Mar 20, 2007 7:50 AM by rephein

    Unable to compile jboss 3.2.8 sp1 on Linux

    rephein

      Hi,
      my config: Trustix 2.2 (Kernel 2.4.x), java 1.5 (from java.sun.com), JBoss 3.2.8 sp1(from this site). When I try to run "build.sh" from the build directory the were several stops complaning about "target release 1.3 conflicts with default source release 1.5". After changing the target to 1.5 in the config files they compile without any more errors. But now I got this when running build.sh:
      _buildmagic:init:

      init:

      compile-classes:
      [javac] Compiling 171 source files to /usr/src/neu/jboss-3.2.8.SP1-src/management/output/classes
      javac: target release 1.2 conflicts with default source release 1.5

      BUILD FAILED
      /usr/src/neu/jboss-3.2.8.SP1-src/management/build.xml:182: Compile failed; see the compiler error output for details.
      When I change the 1.2 entry to 1.5 things are going really bad:
      _buildmagic:init:

      init:

      compile-classes:
      [javac] Compiling 171 source files to /usr/src/neu/jboss-3.2.8.SP1-src/management/output/classes
      /usr/src/neu/jboss-3.2.8.SP1-src/management/src/main/org/jboss/management/j2ee/factory/RARModuleFactory.java:33: package org.jboss.resource does not exist
      import org.jboss.resource.RARMetaData;
      ^
      /usr/src/neu/jboss-3.2.8.SP1-src/management/src/main/org/jboss/management/j2ee/factory/RARModuleFactory.java:66: cannot find symbol
      symbol : class RARMetaData
      location: class org.jboss.management.j2ee.factory.RARModuleFactory
      RARMetaData metaData = (RARMetaData) di.metaData;
      ^
      /usr/src/neu/jboss-3.2.8.SP1-src/management/src/main/org/jboss/management/j2ee/factory/RARModuleFactory.java:66: cannot find symbol
      symbol : class RARMetaData
      location: class org.jboss.management.j2ee.factory.RARModuleFactory
      RARMetaData metaData = (RARMetaData) di.metaData;
      ^
      /usr/src/neu/jboss-3.2.8.SP1-src/management/src/main/org/jboss/management/j2ee/factory/RARModuleFactory.java:99: cannot find symbol
      symbol : class RARMetaData
      location: class org.jboss.management.j2ee.factory.RARModuleFactory
      RARMetaData metaData = (RARMetaData) di.metaData;
      ^
      /usr/src/neu/jboss-3.2.8.SP1-src/management/src/main/org/jboss/management/j2ee/factory/RARModuleFactory.java:99: cannot find symbol
      symbol : class RARMetaData
      location: class org.jboss.management.j2ee.factory.RARModuleFactory
      RARMetaData metaData = (RARMetaData) di.metaData;
      ^
      Note: Some input files use unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      5 errors

      BUILD FAILED
      /usr/src/neu/jboss-3.2.8.SP1-src/management/build.xml:182: Compile failed; see the compiler error output for details.
      Well, I´m trying to install an application that requires this jboss/java setup. I´m absolutly stuck at this point because of the leak of any jboss knowledge and java knowledge behind the point of simple programming. Any ideas would be welcome.

      Greetings,
      Mike