Hey

Jon Finanger wrote:
> FYI:
> I was so 'smart' that i moved the TestBeans.jar in deploy in a subdirectory
> of deploy(i created one named tmp). This made the server throw a
> DeploymentException. It seems like the deployer does not differ a directory
> from a file, and therefore tries to deploy it. If i remove the directory
> when the server is running it does not detect the change and keep
> complaining about Deploymentproblems.

The reason for this is that the AutoDeploy actually works on both files
and directories: if it finds a file it deploys it as a jar (the standard
way), but if it finds a directory it tries to deploy it as though the
contents was similar to a jar-file. So, in this case AutoDeploy tried to
deploy your directory as an unzipped jar.

Everything is as it should be, minus error messages.

> (BTW:is it not possible to remove(undeploy or update it) the bean from
> deployment when the server is running?)

Sure is. Try surfing to localhost:8082, and find the ContainerFactory
module, and call "undeploy" with the name of your jar file.

/Rickard

-- 
Rickard �berg

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]

Reply via email to