Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Error installing EJBCA @ ant bootstrap

Kashif Ali
2009-01-01
2013-09-19
  • Kashif Ali
    Kashif Ali
    2009-01-01

    Hello there:
    I am getting following message on EJBCA installation

    j2ee:check:

    BUILD FAILED
    /opt/ejbca_3_8_0/build.xml:30: The following error occurred while executing this line:
    /opt/ejbca_3_8_0/bin/jboss.xml:28: 'appserver.home' (/opt/jboss) does not seem to be a valid JBoss home directory

    additional information:
    Ant: apache-ant-1.7.1
    EJBCA: ejbca_3_8_0
    Jboss: jboss-5.0.0.GA
    JDK: jdk-6u11-linux
    JCE: jce_policy-6

    thanks for help
    -Kashif

     
    • You need set JBOSS_HOME or APPSRV_HOME in shell environment.
      Like this (for bash):
      export APPSRV_HOME=/opt/jboss5

       
  • helma
    helma
    2013-07-14

    Hi
    I have following errors while installing ejbca
    BUILD FAILED
    ejbca_4_0_15/build.xml:54: The following error occurred while executing this line:
    ejbca_4_0_15/build.xml:763: The following error occurred while executing this line:
    ejbca_4_0_15/modules/build.xml:123: The following error occurred while executing this line:
    ejbca_4_0_15/modules/ejbca-ejb/build.xml:483: compile failed; see the compiler error output for details.

    valid JBoss home directory

    additional information:
    Ant: ant-apache-1.8.2
    EJBCA: ejbca_4_0_15
    Jboss: jboss-5.1.0.GA
    JDK: openjdk6

     
  • Is there no other output?

    Cheers
    Anders
    tech support

     
  • helma
    helma
    2013-07-14

    no. there isnt no other out put!

     
  • then there must be something wrong with your ANT installation.
    The compiler error should be visible on the console.
    Well, it should be available before the BUILD FAILED.

    Cheers
    Anders

     
  • yamian
    yamian
    2013-09-17

    I'm building ejbca 4.0.10 in Red Hat 5.9
    When first issuing 'ant bootstrap' I get an error:
    ejbca_4_0_10/modules/admin-gui/build.xml:102: Couldn't load Kaffe's Native2Ascii class

    Every where I have looked up this error the recommendation is to uninstall any other Java in the environment.
    I have checked quite a few times and there is no other Java installed in this environment.

    [root]# java -version
    java version "1.6.0_24"
    OpenJDK Runtime Environment (IcedTea6 1.11.5) (rhel-1.30.1.11.5.el5-i386)
    OpenJDK Client VM (build 20.0-b12, mixed mode)

    What else could be the reason for this error?

    Thanks,

     
    Last edit: yamian 2013-09-17
    • yamian
      yamian
      2013-09-19

      It seems that the issue is the ant-1.7 that ships with Red Hat, it includes some dependencies to GCJ.
      Using ant 1.7 from apache does work.