[
https://jira.jboss.org/jira/browse/JBSEAM-3305?page=com.atlassian.jira.pl...
]
Jay Balunas commented on JBSEAM-3305:
-------------------------------------
an example of the exception:
test:
Trying to override old definition of task testng
Trying to override old definition of task junit-converter
[testng] [Parser] Running:
[testng]
C:\dev\projects\seam\2.1.0.B1\seam\examples\registration\src\org\jboss\seam\example\registration\test\testng.xml
[testng]
[testng] ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error
installing to Start: name=jboss:database=localDB,service=Hypersonic state=Create
mode=Manual requiredState=Installed
[testng] java.sql.SQLException: The database is already in use by another process:
org.hsqldb.persist.NIOLockFile@4cb785b6[file
=C:\dev\projects\seam\2.1.0.B1\seam\bootstrap\data\hypersonic\localDB.lck, exists=true,
locked=false, valid=false, fl =null]: java.lang.Exception: checkHeartbeat(): lock file
[C:\dev\projects\seam\2.1.0.B1\seam\bootstrap\data\hypersonic\localDB.lck] is presumably
locked by another process.
[testng] at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
[testng] at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
[testng] at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
[testng] at org.hsqldb.jdbcDriver.connect(Unknown Source)
[testng] at java.sql.DriverManager.getConnection(DriverManager.java:525)
[testng] at java.sql.DriverManager.getConnection(DriverManager.java:171)
[testng] at
org.jboss.jdbc.HypersonicDatabase.getConnection(HypersonicDatabase.java:777)
[testng] at
org.jboss.jdbc.HypersonicDatabase.startStandaloneDatabase(HypersonicDatabase.java:625)
[testng] at
org.jboss.jdbc.HypersonicDatabase.startService(HypersonicDatabase.java:568)
[testng] at
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:299)
[testng] at
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[testng] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[testng] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[testng] at java.lang.reflect.Method.invoke(Method.java:585)
[testng] at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
[testng] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
[testng] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
[testng] at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
[testng] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
[testng] at
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:167)
[testng] at $Proxy11.start(Unknown Source)
[testng] at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
[testng] at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
[testng] at
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
[testng] at
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
[testng] at
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
[testng] at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
[testng] at
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:255)
Seam testsuite skipping and failing many tests on windows XP machine
--------------------------------------------------------------------
Key: JBSEAM-3305
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3305
Project: Seam
Issue Type: Bug
Components: Test Harness
Affects Versions: 2.1.0.BETA1
Environment: windows XP
JDK5
Reporter: Jay Balunas
Fix For: 2.1.0.BETA2
When running "ant testall testreport" on windows XP there are many failures and
skipped tests. It appears to be a timing or io conflict with an hsql localDB.lck file in
the embedded server.
When you "ant test" the same examples individually they work fine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira