[JBoss JIRA] (ARQ-1339) hbm2ddl.auto = validate is not validating tables created when using plain SQL and @CreateSchema
by Fagner Martins (JIRA)
[ https://issues.jboss.org/browse/ARQ-1339?page=com.atlassian.jira.plugin.s... ]
Fagner Martins commented on ARQ-1339:
-------------------------------------
Ok, I will check that out when possible.
> hbm2ddl.auto = validate is not validating tables created when using plain SQL and @CreateSchema
> -----------------------------------------------------------------------------------------------
>
> Key: ARQ-1339
> URL: https://issues.jboss.org/browse/ARQ-1339
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Extension - Persistence
> Affects Versions: 1.0.0.Alpha5
> Environment: Using JBoss AS 7.1.1.Final (managed)
> Reporter: Fagner Martins
> Assignee: Bartosz Majsak
> Priority: Minor
>
> When using @CreateSchema and hbm2ddl.auto = validate the CREATE TABLE statement does not work.
> It throws:
> {code:java}
> 19:11:38,106 INFO [java.sql.DatabaseMetaData] (MSC service thread 1-7) HHH000262: Table not found: table_name
> 19:11:38,108 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC00001: Failed to start service jboss.persistenceunit."44fdf497-81e8-42cf-b964-0e5dc9347ffe.war#PersistenceUnit": org.jboss.msc.service.StartException in service jboss.persistenceunit."44fdf497-81e8-42cf-b964-0e5dc9347ffe.war#PersistenceUnit": 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:1110) [rt.jar:1.7.0_11]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_11]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_11]
> Caused by: javax.persistence.PersistenceException: [PersistenceUnit: PersistenceUnit] Unable to build EntityManagerFactory
> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914)
> 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
> Caused by: org.hibernate.HibernateException: Missing table: table_name
> at org.hibernate.cfg.Configuration.validateSchema(Configuration.java:1265)
> at org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaValidator.java:155)
> at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:460)
> 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)
> ... 9 more
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 4 months
[JBoss JIRA] (ARQ-1339) hbm2ddl.auto = validate is not validating tables created when using plain SQL and @CreateSchema
by Bartosz Majsak (JIRA)
[ https://issues.jboss.org/browse/ARQ-1339?page=com.atlassian.jira.plugin.s... ]
Bartosz Majsak commented on ARQ-1339:
-------------------------------------
Sorry, I didn't have that much time to work on this feature. If you have any ideas how to implement it I can assist you with implementing it. Always open for contributions :)
> hbm2ddl.auto = validate is not validating tables created when using plain SQL and @CreateSchema
> -----------------------------------------------------------------------------------------------
>
> Key: ARQ-1339
> URL: https://issues.jboss.org/browse/ARQ-1339
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Extension - Persistence
> Affects Versions: 1.0.0.Alpha5
> Environment: Using JBoss AS 7.1.1.Final (managed)
> Reporter: Fagner Martins
> Assignee: Bartosz Majsak
> Priority: Minor
>
> When using @CreateSchema and hbm2ddl.auto = validate the CREATE TABLE statement does not work.
> It throws:
> {code:java}
> 19:11:38,106 INFO [java.sql.DatabaseMetaData] (MSC service thread 1-7) HHH000262: Table not found: table_name
> 19:11:38,108 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC00001: Failed to start service jboss.persistenceunit."44fdf497-81e8-42cf-b964-0e5dc9347ffe.war#PersistenceUnit": org.jboss.msc.service.StartException in service jboss.persistenceunit."44fdf497-81e8-42cf-b964-0e5dc9347ffe.war#PersistenceUnit": 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:1110) [rt.jar:1.7.0_11]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_11]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_11]
> Caused by: javax.persistence.PersistenceException: [PersistenceUnit: PersistenceUnit] Unable to build EntityManagerFactory
> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914)
> 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
> Caused by: org.hibernate.HibernateException: Missing table: table_name
> at org.hibernate.cfg.Configuration.validateSchema(Configuration.java:1265)
> at org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaValidator.java:155)
> at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:460)
> 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)
> ... 9 more
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 4 months
[JBoss JIRA] (ARQ-1339) hbm2ddl.auto = validate is not validating tables created when using plain SQL and @CreateSchema
by Fagner Martins (JIRA)
[ https://issues.jboss.org/browse/ARQ-1339?page=com.atlassian.jira.plugin.s... ]
Fagner Martins commented on ARQ-1339:
-------------------------------------
Any news after 6 months?
> hbm2ddl.auto = validate is not validating tables created when using plain SQL and @CreateSchema
> -----------------------------------------------------------------------------------------------
>
> Key: ARQ-1339
> URL: https://issues.jboss.org/browse/ARQ-1339
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Extension - Persistence
> Affects Versions: 1.0.0.Alpha5
> Environment: Using JBoss AS 7.1.1.Final (managed)
> Reporter: Fagner Martins
> Assignee: Bartosz Majsak
> Priority: Minor
>
> When using @CreateSchema and hbm2ddl.auto = validate the CREATE TABLE statement does not work.
> It throws:
> {code:java}
> 19:11:38,106 INFO [java.sql.DatabaseMetaData] (MSC service thread 1-7) HHH000262: Table not found: table_name
> 19:11:38,108 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC00001: Failed to start service jboss.persistenceunit."44fdf497-81e8-42cf-b964-0e5dc9347ffe.war#PersistenceUnit": org.jboss.msc.service.StartException in service jboss.persistenceunit."44fdf497-81e8-42cf-b964-0e5dc9347ffe.war#PersistenceUnit": 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:1110) [rt.jar:1.7.0_11]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_11]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_11]
> Caused by: javax.persistence.PersistenceException: [PersistenceUnit: PersistenceUnit] Unable to build EntityManagerFactory
> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914)
> 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
> Caused by: org.hibernate.HibernateException: Missing table: table_name
> at org.hibernate.cfg.Configuration.validateSchema(Configuration.java:1265)
> at org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaValidator.java:155)
> at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:460)
> 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)
> ... 9 more
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 4 months
[JBoss JIRA] (ARQ-1464) When controlling EAP 6 via Arquillian it sometimes starts to hang
by Radim Hatlapatka (JIRA)
[ https://issues.jboss.org/browse/ARQ-1464?page=com.atlassian.jira.plugin.s... ]
Radim Hatlapatka commented on ARQ-1464:
---------------------------------------
I have created new jira [WFLY-1964|https://issues.jboss.org/browse/WFLY-1964] per discussion with [~kpiwko] as that is supposed to be proper project for this issue.
I guess that you mean this dependency (used for testing EAP 6.1.1):
{code}
<dependency>
<groupId>org.jboss.as</groupId>
<artifactId>jboss-as-arquillian-container-managed</artifactId>
<version>7.2.0.Final</version>
</dependency>
{code}
> When controlling EAP 6 via Arquillian it sometimes starts to hang
> -----------------------------------------------------------------
>
> Key: ARQ-1464
> URL: https://issues.jboss.org/browse/ARQ-1464
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JBoss AS Containers
> Affects Versions: 1.1.1.Final
> Reporter: Radim Hatlapatka
> Attachments: server, surefire, test
>
>
> Sometimes there appears in log message warning and after that testsuite starts hanging
> {noformat}
> 3:01:27 [0m[33m03:01:27,297 WARN [org.jboss.as.controller.management-operation] (management-handler-thread - 3) JBAS014626: Operation was interrupted before stability could be reached
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 4 months
[JBoss JIRA] (ARQ-1464) When controlling EAP 6 via Arquillian it sometimes starts to hang
by Aslak Knutsen (JIRA)
[ https://issues.jboss.org/browse/ARQ-1464?page=com.atlassian.jira.plugin.s... ]
Aslak Knutsen commented on ARQ-1464:
------------------------------------
Which version of the JBoss AS Adapter did you use for EAP ?
> When controlling EAP 6 via Arquillian it sometimes starts to hang
> -----------------------------------------------------------------
>
> Key: ARQ-1464
> URL: https://issues.jboss.org/browse/ARQ-1464
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JBoss AS Containers
> Affects Versions: 1.1.1.Final
> Reporter: Radim Hatlapatka
> Attachments: server, surefire, test
>
>
> Sometimes there appears in log message warning and after that testsuite starts hanging
> {noformat}
> 3:01:27 [0m[33m03:01:27,297 WARN [org.jboss.as.controller.management-operation] (management-handler-thread - 3) JBAS014626: Operation was interrupted before stability could be reached
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 4 months
[JBoss JIRA] (ARQ-1315) Make possible to configure firefox preferences via arquillian.xml
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/ARQ-1315?page=com.atlassian.jira.plugin.s... ]
Karel Piwko closed ARQ-1315.
----------------------------
> Make possible to configure firefox preferences via arquillian.xml
> -----------------------------------------------------------------
>
> Key: ARQ-1315
> URL: https://issues.jboss.org/browse/ARQ-1315
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Extension - Drone
> Affects Versions: drone_1.1.1.Final, drone_1.2.0.Alpha2
> Reporter: Fabian Schwarzer
> Assignee: Karel Piwko
> Fix For: drone_1.2.0.Beta1
>
>
> In order to configure a FF extension (see ARQ-1259) one needs to add properties to FF (like on the about:config page) via arquillian.xml. This could be done by preparing a FF profile and configure this in arquillian.xml. Unfortunately drone does not seem to pick up the firefox_profile property in arquillian.xml (propably due to org.openqa.selenium.firefox.FirefoxDriver.java:184)
> So it would be great if there were some means to configure FF properties; either by configuring them in the arquillian.xml like done in ARQ-1259, or by making it possible to pass a profile via
> <extension qualifier="webdriver">
> <property name="browserCapabilities">firefox</property>
> <property name="firefox_profile">/path/to/profile</property>
> </extension>
> see also ARQ-1245
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 4 months