2014-02-13 141 views
0

我使用給定的螞蟻錯誤而安裝EJBCA 6

我的Linux機器上安裝EJBCA 6使用以下命令

ant deploy 

我已經成功地部署它的jboss-AS-7的服務器,但是當我安裝EJBCA使用ant install命令它給folloing錯誤

ejbca:initCA: 
    [echo] Initializing CA with 'myCompnyCA1' 'CN=myCompnyCA1,O=myCompny,C=US' 'soft' <ca.tokenpassword hidden> '2048' 'RSA' '3650' 'null' 'SHA1WithRSA' -superadmincn 'SuperAdmin'... 
    [java] CLI authentication failed. The user 'ejbca' with the given password does not exist. 

ejbca:adminweb: 
    [java] CLI authentication failed. The user 'ejbca' with the given password does not exist. 
    [java] CLI authentication failed. The user 'ejbca' with the given password does not exist. 
    [echo] batch tomcat 
    [java] CLI authentication failed. The user 'ejbca' with the given password does not exist. 
    [java] CLI authentication failed. The user 'ejbca' with the given password does not exist. 
    [java] CLI authentication failed. The user 'ejbca' with the given password does not exist. 

ejbca:batchsuperadmin: 
    [echo] batch superadmin 
    [java] CLI authentication failed. The user 'ejbca' with the given password does not exist. 

BUILD FAILED 
/home/indra/EJBCA_6_and_jobss_as_7/ejbca_ce_6_0_3/build.xml:60: The following error occurred while executing this line: 
/home/indra/EJBCA_6_and_jobss_as_7/ejbca_ce_6_0_3/build.xml:66: The following error occurred while executing this line: 
/home/indra/EJBCA_6_and_jobss_as_7/ejbca_ce_6_0_3/bin/cli.xml:96: The following error occurred while executing this line: 
/home/indra/EJBCA_6_and_jobss_as_7/ejbca_ce_6_0_3/bin/cli.xml:137: Batch generation failed! 

請幫我...

回答

0

得到的答覆

我剛剛刪除的舊EJBCA數據庫,並與相同的證書重新創建..

問題是: - 在過去,我用EJBCA 4 ..對,我是創建的數據庫名爲ejbca,我試圖使用相同的數據庫ejbca 6這是給錯誤,最後刪除和創建數據庫解決了我的問題

+0

你是如何清理舊的ejcba數據庫?你使用h2或mysql或什麼數據庫? – Acapulco

+0

我正在使用mysql ..我只是用SQLyog清空了整個數據庫 –