| test:
| [testng]
| [Parser] Running:
|
| [testng] /media/sda4/Projects/ArmadaSeamProject/test-build/NGTest.xml
| [testng]
| [testng] WARN 04-02 17:12:10,995
(UnifiedLoaderRepository3.java:addClassLoader:713) -Tried to add non-URLClassLoader.
Ignored
| [testng] WARN 04-02 17:12:12,935 (TxControl.java:<clinit>:302)
-[com.arjuna.ats.arjuna.coordinator.TxControl_1] - Name of XA node not defined. Using
7f000101:ed97:47a79bcc:0
| [testng] WARN 04-02 17:12:15,051 (AspectManagerService.java:baseAop:228) -Could
not find base-aspects.xml file in the resources of
sun.misc.Launcher$AppClassLoader@17182c1
| [testng] WARN 04-02 17:12:17,722
(SecurityMetadataStore.java:checkDefaultSuckerPassword:311) -WARNING! POTENTIAL SECURITY
RISK. It has been detected that the MessageSucker component which sucks messages from one
node to another has not had its password changed from the installation default. Please see
the JBoss Messaging user guide for instructions on how to do this.
| [testng] WARN 04-02 17:12:17,977
(ConnectionFactoryJNDIMapper.java:registerConnectionFactory:155) -supportsFailover
attribute is true on connection factory:
jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is
non clustered. So connection factory will *not* support failover
| [testng] WARN 04-02 17:12:17,978
(ConnectionFactoryJNDIMapper.java:registerConnectionFactory:161) -supportsLoadBalancing
attribute is true on connection factory:
jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is
non clustered. So connection factory will *not* support load balancing
| [testng] FAILED CONFIGURATION: @BeforeClass init
| [testng] org.hibernate.HibernateException: Could not find datasource
| [testng] at
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:56)
| [testng] at
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
| [testng] at
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
| [testng] at
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:414)
| [testng] at
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62)
| [testng] at
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
| [testng] at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
| [testng] at
org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:918)
| [testng] at
org.jboss.seam.persistence.HibernateSessionFactory.createSessionFactory(HibernateSessionFactory.java:165)
| [testng] at
org.jboss.seam.persistence.HibernateSessionFactory.startup(HibernateSessionFactory.java:79)
| [testng] at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
| [testng] at
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
| [testng] at org.jboss.seam.Component.callComponentMethod(Component.java:2074)
| [testng] at org.jboss.seam.Component.callCreateMethod(Component.java:1997)
| [testng] at org.jboss.seam.Component.newInstance(Component.java:1968)
| [testng] at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
| [testng] at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
| [testng] at
org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:95)
| [testng] at org.jboss.seam.init.Initialization.init(Initialization.java:555)
| [testng] at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:939)
| [testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
| [testng] Caused by: javax.naming.NameNotFoundException: ArmadaSeamProjectDatasource
not bound
| [testng] at org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
| [testng] at org.jnp.server.NamingServer.getBinding(NamingServer.java:550)
| [testng] at org.jnp.server.NamingServer.getObject(NamingServer.java:556)
| [testng] at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
| [testng] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)
| [testng] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
| [testng] at javax.naming.InitialContext.lookup(InitialContext.java:392)
| [testng] at
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
| [testng] ... 46 more
| [testng] ... Removed 26 stack frames
| [testng] SKIPPED CONFIGURATION: @BeforeMethod begin
|
| [testng] SKIPPED CONFIGURATION: @AfterMethod end
|
| [testng] SKIPPED CONFIGURATION: @AfterClass cleanup
|
| [testng] SKIPPED: listNewTitlesTest
|
| [testng]
|
| [testng] ===============================================
|
| [testng] ArmadaBookStore
| [testng] Tests run: 1, Failures: 0, Skips: 1
|
| [testng] Configuration Failures: 1, Skips: 3
|
| [testng] ===============================================
|
| [testng]
|
| [testng]
|
| [testng] ===============================================
|
| [testng] ArmadaBookStore
| [testng] Total tests run: 1, Failures: 0, Skips: 1
|
| [testng] Configuration Failures: 1, Skips: 3
|
| [testng] ===============================================
|
| [testng]
|
My environment is:
JBoss AS 4.2
JDK 6
Seam GA 2.0.0
It is worth noting that I configured unit tests to run on JDK as your weblog indicates
(regarding JAXB 2.1)
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126447#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...