Hi!
Justin Forder wrote:
> As a preliminary to being able to run repeatable tests, I've configured
> my CMP bean to create a table on deployment, and drop it on undeploy.
>
> Problem is, I'm not seeing undeploy happening - either when I shut the
> server down (Ctrl-C - I see the MBeans closing down), or when I remove
> the JAR from the deploy directory.
>
> Any advice?
The only time an undeploy would happen currently is if a redeployment is
done (either by updating a deployment that is watched by the
AutoDeployer, or by using the deploy.jar tool).
I could easily add a undeploy.jar to let you manually undeploy. BTW, now
that I think about it you could actually surf to localhost:80802 and
call undeploy through the web interface (use the URL of your deployment
as argument to undeploy).
These facilities will of course improve later on.
I myself do like this for testing:
Start jBoss with no beans in /deploy.
Use deploy.jar to deploy beans
Use standalone test client to test beans
Use deploy.jar to update beans
etc.
etc.
So I don't have to shut down jBoss at all. Works really well.
/Rickard
--
Rickard �berg
@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]