ups with h2-database works
From: marti1003(a)hotmail.com
To: aerogear-dev(a)lists.jboss.org
Date: Thu, 27 Mar 2014 08:11:43 -0500
Subject: Re: [aerogear-dev] unifiedpush server with mysql
I have the same problem with H2
C:\wildfly\bin>jboss-cli.bat --file=C:\unifiedpush\databases\h2-database-config.
cli
The batch failed with the following error (you are remaining in the batch editin
g mode to have a chance to correct the error): {"JBAS014653: Composite operation
failed and was rolled back. Steps that failed:" => {"Operation step-1"
=> "JBAS
014803: Duplicate resource [
(\"subsystem\" => \"datasources\"),
(\"data-source\" => \"UnifiedPushDS\")
]"}}
Date: Thu, 27 Mar 2014 14:06:36 +0100
From: kpiwko(a)redhat.com
To: aerogear-dev(a)lists.jboss.org
Subject: Re: [aerogear-dev] unifiedpush server with mysql
Hi,
you're missing MySQL driver on server classpath. Datasource expects it is
installed as JBoss/WF module:
I'm not aware of better tutorial but you can follow these steps:
1/ You can get module scafold from here:
https://github.com/aerogear/aerogear-unifiedpush-server/tree/master/datab...
2/ Get mysql-connector-java-5.1.18.jar file and put it into com/mysql/jdbc/main
3/ Copy whole module to AS7/WF modules directory (you just need the one
starting with com, org is for postgres)
HTH,
Karel
On Thu, 27 Mar 2014 07:52:35 -0500
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
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org