Maven/Cactus setup question

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top