Hi,
(assuiming you are using JBoss AS 7.1.1);
It looks like you are missing the JBDC driver. Did you deploy the module:
cp -r databases/src/main/resources/modules/com /Path/to/JBossAS/modules/
and the actual JAR file (of the JDBC driver) ?
mvn dependency:copy -Dartifact=mysql:mysql-connector-java:5.1.18
-DoutputDirectory=/Path/to/JBossAS/modules/com/mysql/jdbc/main/
(Oh, just in case.... for WildFly the script is _slightly_ different - not
yet there)
In any case, for simple starters, I'd highly recommend using the H2
database. Simply copy the DS-XML file into $JBOSS (or $WILDFLY)
/standalone/deployments
(yes - that works w/ WildFly as well - as is, no modification needed)
Greetings,
Matthias
On Thu, Mar 27, 2014 at 1:52 PM, Willy Martin Aguirre Rodriguez <
marti1003(a)hotmail.com> wrote:
I am trying to run unifiedpush server with mysql but I have some
problem
with datasource
https://github.com/aerogear/aerogear-unifiedpush-server#mysql-database-co...
I get errors when I try to run
/Path/to/JBossAS/bin/jboss-cli.sh
--file=./databases/mysql-database-config.cli
I added datasource config
https://gist.github.com/marti1125/9806765
but I have this problem
07:36:19,418 ERROR [org.jboss.as.controller.management-operation]
(Controller Bo
ot Thread) JBAS014613: Operation ("add") failed - address: ([
("subsystem" => "datasources"),
("data-source" => "UnifiedPushDS")
]) - failure description: {
"JBAS014771: Services with missing/unavailable dependencies" => [
"jboss.driver-demander.java:jboss/datasources/UnifiedPushDS is
missing [
jboss.jdbc-driver.com_mysql_jdbc_Driver]",
"jboss.data-source.java:jboss/datasources/UnifiedPushDS is missing
[jbos
s.jdbc-driver.com_mysql_jdbc_Driver]"
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev
--
Matthias Wessendorf
blog:
http://matthiaswessendorf.wordpress.com/
sessions:
http://www.slideshare.net/mwessendorf
twitter:
http://twitter.com/mwessendorf