ah!

that's a bug :-) 

OK, I did (locally) revert the last commit.

On the aerodoc-backend folder, please run:
gco e30f0459501950ef51d88ecfa39ff2c44523b68f

Now, you are getting back to a vrsion that runs :-) Sorry for that. Now, just build again (mvn clean install) and than deploy ( mvn clean install jboss-as:deploy)

-Matthias

On Tue, Oct 4, 2016 at 7:42 PM, columfoskin <columfoskin@gmail.com> wrote:
Thanks Matthias, I have been trying for a while without the tests also and
aerodoc still fails to build. Here is the output from the build attempt:


[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 17.314 s
[INFO] Finished at: 2016-10-04T18:31:27+01:00
[INFO] Final Memory: 51M/522M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.jboss.as.plugins:jboss-as-maven-plugin:7.4.Final:deploy (default-cli) on
project aerodoc: Deployment failed and was rolled back. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
MacBook-Pro:aerodoc-backend
colum$

Here is the output from the jboss server also:

18:31:26,720 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4)
MSC00001: Failed to start service
jboss.persistenceunit."aerodoc.war#aerodoc-default":
org.jboss.msc.service.StartException in service
jboss.persistenceunit."aerodoc.war#aerodoc-default": Failed to start service
        at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_79]
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_79]
        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
Caused by: java.lang.AbstractMethodError
        at
org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:294)
        at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1737)
        at
org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:84)
        at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904)
        at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889)
        at
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73)
        at
org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162)
        at
org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85)
        at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
        at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
        ... 3 more

18:31:26,935 INFO  [org.jboss.as.server] (management-handler-thread - 9)
JBAS015870: Deploy of deployment "aerodoc.war" was rolled back with failure
message {"JBAS014671: Failed services" =>
{"jboss.persistenceunit.\"aerodoc.war#aerodoc-default\"" =>
"org.jboss.msc.service.StartException in service
jboss.persistenceunit.\"aerodoc.war#aerodoc-default\": Failed to start
service"}}
18:31:26,947 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC
service thread 1-7) JBAS010409: Unbound data source
[jboss/datasources/AerodocDS]
18:31:26,998 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5)
JBAS015877: Stopped deployment aerodoc.war in 62ms
18:31:26,999 INFO  [org.jboss.as.controller] (management-handler-thread - 9)
JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service
jboss.persistenceunit."aerodoc.war#aerodoc-default":
org.jboss.msc.service.StartException in service
jboss.persistenceunit."aerodoc.war#aerodoc-default": Failed to start service

So far I have the following before attempting to run aerodoc:
The UPS running in a docker container, the Jboss server running.

Is there any other config that I may be missing?

Thanks,
Colum.






--
View this message in context: http://aerogear-users.1116366.n5.nabble.com/Aerogear-users-Aerogear-aerodoc-set-up-tp913p918.html
Sent from the aerogear-users mailing list archive at Nabble.com.
_______________________________________________
Aerogear-users mailing list
Aerogear-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-users



--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
twitter: http://twitter.com/mwessendorf