It basically stems back to a time when TomEE wasn't really a thing, and we
extracted openejb.war into a vanilla Tomcat. We could probably do some
cleanup there to make it easier.

Jon

On Wed, Jan 30, 2019 at 5:15 PM Jonathan Gallimore <
[email protected]> wrote:

> There's some legacy there. Try using `-w tomee`.
>
> Jon
>
> On Wed, Jan 30, 2019 at 3:38 PM Bruno Baptista <[email protected]> wrote:
>
>> One question,
>>
>> Any idea why the runtests script uses tomcat-web for the webprofile?
>>
>> Cheers
>>
>> Bruno Baptista
>> https://twitter.com/brunobat_
>>
>>
>> On 30/01/19 03:15, César Hernández Mendoza wrote:
>> > Looking at this lines of code from the rustest script[1]:
>> >
>> >   tomee-plus|tomee-plume|tomee|tomcat|none)
>> >          profile="full"
>> >          true
>> >          ;;
>> >      tomcat-web)
>> >          profile="web"
>> >          appendOption "web-profile"
>> >          true
>> >          ;;
>> >
>> > I tried to run only the web profile related test using the following
>> > command:
>> > ./runtests --web tomcat-web -c com/sun/ts/tests/appclient
>> >
>> > But I get the exception about "Missing required property: openejb.home"
>> [2]
>> >
>> > How can I run just web profile related tests via the ./runtest script?
>> >
>> >
>> > [1] https://github.com/apache/tomee-tck/blob/master/runtests#L246-L258
>> >
>> > [2]
>> > [ERROR] Failed to execute goal
>> > org.codehaus.gmaven:gmaven-plugin:1.5:execute (setup-environment) on
>> > project openejb-tck: java.lang.Exception: Missing required property:
>> > openejb.home -> [Help 1]
>> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>> execute
>> > goal org.codehaus.gmaven:gmaven-plugin:1.5:execute (setup-environment)
>> on
>> > project openejb-tck: java.lang.Exception: Missing required property:
>> > openejb.home
>> > at
>> >
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
>> > at
>> >
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>> > at
>> >
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>> > at
>> >
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
>> > at
>> >
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>> > at
>> >
>> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>> > at
>> >
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
>> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
>> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>> > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
>> > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
>> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> > at
>> >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>> > at
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> > at java.lang.reflect.Method.invoke(Method.java:498)
>> > at
>> >
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>> > at
>> >
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>> > at
>> >
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>> > at
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
>> > Caused by: org.apache.maven.plugin.MojoExecutionException:
>> > java.lang.Exception: Missing required property: openejb.home
>> > at org.codehaus.gmaven.plugin.MojoSupport.execute(MojoSupport.java:87)
>> > at
>> >
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
>> > at
>> >
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
>> > ... 20 more
>> > Caused by: org.codehaus.gmaven.feature.ComponentException:
>> > java.lang.Exception: Missing required property: openejb.home
>> > at
>> >
>> org.codehaus.gmaven.runtime.support.ScriptExecutorSupport.invokeMethod(ScriptExecutorSupport.java:171)
>> > at
>> >
>> org.codehaus.gmaven.runtime.support.ScriptExecutorSupport.execute(ScriptExecutorSupport.java:133)
>> > at
>> >
>> org.codehaus.gmaven.runtime.support.ScriptExecutorSupport.execute(ScriptExecutorSupport.java:73)
>> > at
>> >
>> org.codehaus.gmaven.plugin.execute.ExecuteMojo.process(ExecuteMojo.java:292)
>> > at
>> >
>> org.codehaus.gmaven.plugin.ComponentMojoSupport.doExecute(ComponentMojoSupport.java:60)
>> > at org.codehaus.gmaven.plugin.MojoSupport.execute(MojoSupport.java:71)
>> > ... 22 more
>> > Caused by: java.lang.Exception: Missing required property: openejb.home
>> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>> > at
>> >
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>> > at
>> >
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>> > at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>> > at
>> >
>> org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
>> > at
>> >
>> org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:71)
>> > at
>> >
>> org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
>> > at
>> >
>> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:52)
>> > at
>> >
>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:192)
>> > at
>> >
>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:200)
>> > at
>> openejb.tck.commands.CommandSupport.require(CommandSupport.groovy:112)
>> > at openejb.tck.commands.CommandSupport$require.callCurrent(Unknown
>> Source)
>> > at
>> >
>> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44)
>> > at
>> >
>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:143)
>> > at
>> >
>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:151)
>> > at
>> >
>> openejb.tck.commands.CommandSupport.requireDirectory(CommandSupport.groovy:132)
>> > at
>> openejb.tck.commands.CommandSupport$requireDirectory.callCurrent(Unknown
>> > Source)
>> > at
>> >
>> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44)
>> > at
>> >
>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:143)
>> > at
>> >
>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:151)
>> > at openejb.tck.commands.SetupCommand.execute(SetupCommand.groovy:213)
>> > at openejb.tck.commands.SetupCommand$execute.call(Unknown Source)
>> > at
>> >
>> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
>> > at
>> >
>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
>> > at
>> >
>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
>> > at script1548817847615.run(script1548817847615.groovy:1)
>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> > at
>> >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>> > at
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> > at java.lang.reflect.Method.invoke(Method.java:498)
>> > at
>> >
>> org.codehaus.gmaven.runtime.support.ScriptExecutorSupport.invokeMethod(ScriptExecutorSupport.java:167)
>> > ... 27 more
>>
>

Reply via email to