Re: surefire with jboss embedded
rts > for the individual test results. > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > Caused by: org.apache.maven.plugin.MojoFailureException: There are test > failures. > > Please refer to > E:\workspace\testproject\seam-full\admin\admin-ejb\target\surefire-reports > for the individual test results. > at > org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:519) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) > ... 16 more > > > -- View this message in context: http://www.nabble.com/surefire-with-jboss-embedded-tp21814900p21823380.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: surefire with jboss embedded
So after getting past this I ran into some more errors and realized that I'm a little confused as to how maven+surefire+testng works with jboss embedded. All of the example projects I have seen make no mention of a tomcat installation, nor do they reference a tomcat/jboss deploy directory in the configuration of the surfire plugin. I also have noticed that all of the projects only have the "jboss-embedded" files in the ejb module, not the ear module, where you can integration test everything. Suppose I had a client of an EJB in my war and wanted to test that? Any direction on this is very much appreciated. Thanks -- View this message in context: http://www.nabble.com/surefire-with-jboss-embedded-tp21814900p21816476.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: surefire with jboss embedded
Hi Wayne. Thanks for your reply. I did notice that and removed it. I was also able to find this jira: http://jira.codehaus.org/browse/SUREFIRE-361 http://jira.codehaus.org/browse/SUREFIRE-361 Upgrading to testng 5.7 did the trick. Unfortunately it's like walking down path, and it revealed some other errors. Thanks Wayne Fay wrote: > >> >>-Xms128m -Xmx256m -XX:PermSize=128m -XX:MaxPermSize=256m >> >>false >>once >>tests >>1 > > I'm no Surefire expert, but I assume the values "tests" and > "false" cannot be set simultaneously. > > Wayne > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > > -- View this message in context: http://www.nabble.com/surefire-with-jboss-embedded-tp21814900p21816442.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: surefire with jboss embedded
> >-Xms128m -Xmx256m -XX:PermSize=128m -XX:MaxPermSize=256m > >false >once >tests >1 I'm no Surefire expert, but I assume the values "tests" and "false" cannot be set simultaneously. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
surefire with jboss embedded
287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures. Please refer to E:\workspace\testproject\seam-full\admin\admin-ejb\target\surefire-reports for the individual test results. at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:519) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) ... 16 more -- View this message in context: http://www.nabble.com/surefire-with-jboss-embedded-tp21814900p21814900.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org