0

Ubuntu 12.04 に EJBCA 6.2.0 をインストールしようとしていますが、「ant deploy」コマンドを実行すると、次のエラーが発生します。

「ant deploy」を行う前に、JBoss 7.1.1 をインストールして実行しました。

EJBCAのインストールログはこんな感じ。

jee:deployServices:

jee:deployDSJBoss5:

jee:deployDSJBoss7:
 [exec] Result: 1
 [exec] Result: 1
 [echo] data-source add --name=ejbcads --driver-name="h2" --connection-url="jdbc:h2:~/ejbcadb;DB_CLOSE_DELAY=-1" --jndi-name="java:/EjbcaDS"  --use-ccm=true --user-name="sa" --password="sa" --validate-on-match=true --background-validation=false --prepared-statements-cache-size=50 --share-prepared-statements=true --min-pool-size=5 --max-pool-size=150 --pool-prefill=true --transaction-isolation=TRANSACTION_READ_COMMITTED --check-valid-connection-sql="select 1"
 [exec] JBAS014803: Duplicate resource [
 [exec]     ("subsystem" => "datasources"),
 [exec]     ("data-source" => "ejbcads")
 [exec] ]

BUILD FAILED
/home/mjshin/ejbca_ce_6_2_0/build.xml:649: The following error occurred while     executing this line:
/home/mjshin/ejbca_ce_6_2_0/bin/jboss.xml:289: The following error occurred while executing this line:
/home/mjshin/ejbca_ce_6_2_0/bin/jboss.xml:556: exec returned: 1

Total time: 4 minutes 55 seconds
root@mjshin-VirtualBox:~/ejbca_ce_6_2_0# 

私は ant や JBOSS などの Web アプリケーション サーバー環境に詳しくないため、この問題にどのように対処すればよいかわかりません。

4

1 に答える 1