|
From: Ebtehal H. <h.e...@ya...> - 2014-01-29 07:48:38
|
ok now i was deploying successfully but in install step i was found the following error : . . . . appserver.error.message: [echo] jndi.properties.file: /home/ebtehal/lollah/ejbca_ce_6_0_3/conf/jndi.properties.jboss7 set-paths-jboss7: set-paths-not-jboss7: set-paths: jee:check: [echo] Using appserver.home : /home/ebtehal/lollah/jboss-as-7.1.1.Final jee:keystore: [echo] Using JBoss deploy directory /home/ebtehal/lollah/jboss-as-7.1.1.Final/standalone/deployments [copy] Copying 1 file to /home/ebtehal/lollah/jboss-as-7.1.1.Final/standalone/configuration/keystore customejbca.message: appserver.error.message: [echo] jndi.properties.file: /home/ebtehal/lollah/ejbca_ce_6_0_3/conf/jndi.properties.jboss7 set-paths-jboss7: set-paths-not-jboss7: set-paths: jee:deploytruststore: BUILD FAILED /home/ebtehal/lollah/ejbca_ce_6_0_3/build.xml:63: The following error occurred while executing this line: /home/ebtehal/lollah/ejbca_ce_6_0_3/bin/jboss.xml:406: The following error occurred while executing this line: /home/ebtehal/lollah/ejbca_ce_6_0_3/bin/jboss.xml:390: Missing JKS truststorestore file in '/home/ebtehal/lollah/ejbca_ce_6_0_3/p12/truststore.jks' Total time: 1 minute 52 seconds ___________________-- ________________________________ From: Roman Cinkais <rom...@wi...> To: 'Ebtehal Hassan' <h.e...@ya...>; ejb...@li... Sent: Tuesday, 28 January 2014, 14:03:27 Subject: RE: [Ejbca-develop] problem on deployment of EJBCA 6.0.3 Just follow this instruction for JBoss 7 and you will get the result: http://ejbca.org/docs/installation.html#JBoss It is not enough to just add driver to standalone.xml. You should create MySQL JDBC module and then register it. With regards, Roman From:Ebtehal Hassan [mailto:h.e...@ya...] Sent: Tuesday, January 28, 2014 11:54 AM To: ejbca Subject: [Ejbca-develop] problem on deployment of EJBCA 6.0.3 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...... |