Problem trying to "ant intall&quo...

rod
2012-07-02
2013-02-18
  • rod
    rod
    2012-07-02

    Hi there, im having some troubles trying to install EJBCA servern on an Ubuntu 12.10 Distro . When a execute the command "ant install" the program crashes. I get this error:

    ejbca:init:
         [echo] 
         [echo] ------------------- CA Properties ----------------
         [echo] ca.name                : AdminCA1
         [echo] ca.dn                  : CN=AdminCA1,O=EJBCA Sample,C=SE
         [echo] ca.tokentype           : soft
         [echo] ca.tokenpassword       : null
         [echo] ca.keyspec             : 2048
         [echo] ca.keytype             : RSA
         [echo] ca.signaturealgorithm  : SHA1WithRSA
         [echo] ca.validity            : 3650
         [echo] ca.policy              : null
         [echo] ca.tokenproperties     : conf/catoken.properties
         [echo] httpsserver.hostname   : localhost
         [echo] httpsserver.dn         : CN=localhost,O=EJBCA Sample,C=SE
         [echo] httpsserver.password   : admin1234
         [echo] superadmin.password    : admin1234
         [echo] superadmin.batch       : true
         [echo] java.trustpassword     : admin1234
         [echo] appserver.home         : /usr/local/jboss-4.2.2.GA/
         [echo]         
    ejbca:install:
         [echo] Initializing CA with AdminCA1 'CN=AdminCA1,O=EJBCA Sample,C=SE' soft null 2048 RSA 3650 null SHA1WithRSA conf/catoken.properties...
         [echo] ca init AdminCA1 "CN=AdminCA1,O=EJBCA Sample,C=SE" soft null 2048 RSA 3650 null SHA1WithRSA conf/catoken.properties
         [java] Initializing CA
         [java] Generating rootCA keystore:
         [java] CA name: AdminCA1
         [java] DN: CN=AdminCA1,O=EJBCA Sample,C=SE
         [java] CA token type: soft
         [java] CA token password: null
         [java] Keyspec: 2048
         [java] Keytype: RSA
         [java] Validity (days): 3650
         [java] Policy ID: null
         [java] Signature alg: SHA1WithRSA
         [java] CA token properties: null
         [java] Initalizing Temporary Authorization Module.
         [java] javax.naming.CommunicationException: Could not obtain connection to any of these urls: 127.0.0.1:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server 127.0.0.1:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 127.0.0.1:1099 [Root exception is java.net.ConnectException: Connection refused]]]
         [java] Java Result: -1
    ejbca:adminweb:
         [echo] setup setdefaultbaseurl localhost ejbca
         [java] javax.naming.CommunicationException: Could not obtain connection to any of these urls: 127.0.0.1:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server 127.0.0.1:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 127.0.0.1:1099 [Root exception is java.net.ConnectException: Connection refused]]]
    

    It seems as there should be a service running in 1099 but I have no idea of which it should be, or even if that is the problem. Any help would be highly appreciated. If you need any additional details please let me know.

    Regards,
    Rodrigo

     

  • Anonymous
    2012-07-02

    Hi,
    JBoss is probably not running or is improperly installed.  Check JBoss logs at server/default/log

    Cheers,
    Anders
    PrimeKey tech support

    --
    PrimeKey Solutions offers commercial EJBCA and SignServer support
    subscriptions and training courses. Please see www.primekey.se or
    contact info@primekey.se for more information.
    http://www.primekey.se/Services/Support/
    http://www.primekey.se/Services/Training/