I'm trying to install EJBCA 6.2.0 on Ubuntu 12.04 but the following error comes out when I do "ant deploy" command.
Before doing "ant deploy", I installed JBoss 7.1.1 and ran it.
The installing EJBCA logs are like this.
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#
I'm not familiar with web application server environment such as ant, JBOSS, etc. so I have no idea of what I should approach this problem.