S
slippymississippi
I am attempting to automate my EJB testing inside a Sun container. I
had hoped to use the Cactus plugin to Maven, but the Sun container is
not supported in Cactus. Only Tomcat, JBoss, Orion, Resin, and
WebLogic containers are supported.
The Cactus website indicates that other containers can be used by
configuring Cactus with a generic container. Does anyone know how to
configure the generic container to support a Sun server? Specifically,
the Cactus site states:
"The next example shows the use of the generic container element for
starting/stopping a custom container. You need to define the two
targets mycontainer.start and mycontainer.stop, so that the container
is started up (on port 8080) before the tests are run, and shut down
after the tests completed. How these targets are implemented is highly
dependant on the container. Most likely you'll need to copy some files
and use the <java> task to invoke a container-provided Java class that
can start/stop the container."
Which sounds like Greek to me. Can anyone provide some hints?
had hoped to use the Cactus plugin to Maven, but the Sun container is
not supported in Cactus. Only Tomcat, JBoss, Orion, Resin, and
WebLogic containers are supported.
The Cactus website indicates that other containers can be used by
configuring Cactus with a generic container. Does anyone know how to
configure the generic container to support a Sun server? Specifically,
the Cactus site states:
"The next example shows the use of the generic container element for
starting/stopping a custom container. You need to define the two
targets mycontainer.start and mycontainer.stop, so that the container
is started up (on port 8080) before the tests are run, and shut down
after the tests completed. How these targets are implemented is highly
dependant on the container. Most likely you'll need to copy some files
and use the <java> task to invoke a container-provided Java class that
can start/stop the container."
Which sounds like Greek to me. Can anyone provide some hints?