Menu

ejbca ant deploy error build failed error jee:deploy

Help
Stockton
2023-04-04
2023-04-18
  • Stockton

    Stockton - 2023-04-04

    I'm new on jboss and ejbca. Error occurs when i deploy ejbca.
    Anyone can help me?

    here my platform/software use:
    ant -> Apache Ant(TM) version 1.9.4 compiled on November 5 2018
    ejbca -> ejbca_ce_6_5_0_5
    java -> openjdk version "1.8.0_362"
    jboss -> jboss-eap-6.4
    mysql -> mysql Ver 14.14 Distrib 5.7.27, for Linux (x86_64) using EditLine wrapper

    service jboss.persistenceunit."ejbca.ear#ejbca" (missing) dependents: [service jboss.deployment.unit."ejbca.ear".deploymentCompleteService]
    JBAS014777: Services which failed to start: service jboss.deployment.subunit."ejbca.ear"."ejbca-ejb.jar".component.StartupSingletonBean.START

    I attached server.log and config. files for easy reference.

    Thank you

     

    Last edit: Stockton 2023-04-04
  • Tomas Gustavsson

    This version of EJBCA is 6 years old. Just use the latest release and installation instructions. https://doc.primekey.com/

     
  • Stockton

    Stockton - 2023-04-17

    since i follow online installation guide which use this version for demo. finally i fix it by clear deploy and run deploy again. Thanks.

    my final step is to verify user cert status by using following command:
    openssl ocsp -issuer /root/OCSPCA.pem -CAfile /root/OCSPCA.pem -cert /root/user.pem -req_text -url http://192.168.33.100:8080/ejbca/publicweb/status/ocsp

    But it return following errors:
    OCSP Request Data:
    Version: 1 (0x0)
    Requestor List:
    Certificate ID:
    Hash Algorithm: sha1
    Issuer Name Hash: xxxxxxxxxxxxxxxxxxxxxxx
    Issuer Key Hash: xxxxxxxxxxxxxxxxxxxxxxxxx
    Serial Number: xxxxxxxxxxxxxxxxxx
    Error connecting BIO
    Error querying OCSP responder
    140215076939664:error:02003000:system library:getservbyname:system library:b_sock.c:216:service=''

    what i'm wrong? Thanks.

     

    Last edit: Stockton 2023-04-18
  • Tomas Gustavsson

    The official installation guide is as https://www.ejbca.org/, always check there first. Most guides on the internet written by other people are not maintained over time, and are more static snapshots in time.

    The above looks like a connection issue, like it is not possible to connec to to 192.168.233.100 from the machine you run the command on. That is a network issue.

     

Log in to post a comment.