|
From: Ebtehal H. <h.e...@ya...> - 2014-01-28 10:53:58
|
Hi,
i had a problem on deploy the latest version of EJBCA;
when i excute the ( ant deploy ) command the follwing error was occure:
.
.
.
jee:assert-runJBoss7:
[echo] Checking if JBoss 7 is up and running...
jee:deployServicesJBoss7:
[echo] /socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=ejbca-mail-smtp:add(port="25", host="localhost")
[exec] {"outcome" => "success"}
[echo] /subsystem=mail/mail-session="java:/EjbcaMail":add(jndi-name="java:/EjbcaMail"
[exec] {"outcome" => "success"}
[echo] /subsystem=mail/mail-session="java:/EjbcaMail"/server=smtp:add(outbound-socket-binding-ref=ejbca-mail-smtp, ssl="false")
[exec] {"outcome" => "success"}
jee:deployServices:
jee:deployDSJBoss5:
jee:deployDSJBoss7:
[exec] Result: 1
[exec] Result: 1
[echo] data-source add --name=ejbcads --driver-name="com.mysql.jdbc.Driver" --connection-url="jdbc:mysql://127.0.0.1:3306/ejbca?characterEncoding=UTF-8" --jndi-name="java:/EjbcaDS" --use-ccm=true --user-name="ejbca" --password="ejbca" --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] JBAS010468: Driver named "com.mysql.jdbc.Driver" is not installed.
BUILD FAILED
/home/ebtehal/lollah/ejbca_ce_6_0_3/build.xml:635: The following error occurred while executing this line:
/home/ebtehal/lollah/ejbca_ce_6_0_3/bin/jboss.xml:265: The following error occurred while executing this line:
/home/ebtehal/lollah/ejbca_ce_6_0_3/bin/jboss.xml:501: exec returned: 1
Total time: 1 minute 10 seconds
______________
after that ia was added the driver and datasource on standalone.xml on JBOSS 7.1.1 server:
<datasources>
<datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">
<connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url>
<driver>h2</driver>
<security>
<user-name>sa</user-name>
<password>sa</password>
</security>
</datasource>
<datasource jndi-name="java:jboss/datasources/ejbcaDS" pool-name="ejbcalDS" enabled="true" use-java-context="true">
<connection-url>jdbc:mysql://127.0.0.1:3306/ejbca?characterEncoding=UTF-8</connection-url>
<driver>com.mysql.jdbc.Driver</driver>
<security>
<user-name>ejbca</user-name>
<password>ejbca</password>
</security>
</datasource>
<drivers>
<driver name="h2" module="com.h2database.h2">
<xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
</driver>
<driver name="com.mysql.jdbc.Driver" module="com.mysql.jdbc.Driver">
<xa-datasource-class>com.mysql.jdbc.Driver</xa-datasource-class>
</driver>
</drivers>
</datasources>
_________________
but still the same error on deploy......
|