Hi Wolfgang,

I just tested this with 7.1.0.CR1 (see attached server log) - everything seems to be in order on fedora.
We currently have however a critical issue on windows (AS7-2392) that might be related to what you are seeing.

I suggest, we wait for Brian to clear this up and then have another look to see if your issue is still there.

cheers
-thomas


On 01/12/2012 09:27 PM, Wolfgang Knauf wrote:
Hi to all,

maybe this is a dumb user question, maybe this is a bug report. As I am not sure, I hope someone with more knowledge can comment on this.

I am experimenting with JSR88 deployment in AS7 (which now has the great benefit that the deployed app is still alive after a server reboot now ;-) )

My code is based on a JBoss test:
https://source.jboss.org/browse/JBossAS/testsuite/integration/smoke/src/test/java/org/jboss/as/test/smoke/jsr88/EnterpriseDeploymentTestCase.java

JBoss version is 7.0.1CR1.

My JSR88 deployer code worked fine for JBoss 4.2 to 6, and with some minor changes (mostly imports) I could port it to AS7. But with AS7 undeploy does not seem to work.

Attached is the output of the JBoss client side at TRACE level.

Everything seems fine, but on the server side, I don't see "app xyz was undeployed" console output, and "standalone.xml" still contains the deployed app.

    <deployments>
        <deployment name="file:/C:/DOCUME~1/Knuffi/LOCALS~1/Temp/Stateless.ear" runtime-name="file:/C:/DOCUME~1/Knuffi/LOCALS~1/Temp/Stateless.ear">
            <content sha1="260d86890eb6b1716facde0e7e48819fe3c98f83"/>
        </deployment>
    </deployments>

The only server output is a "remote connection was closed by remote side" warning message, which also happens on JSR88 deploy.

I can provide you with a full working sample of my small app if necessary, but this would need a bit of refactoring :-(

Best regards

Wolfgang


_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev

-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
JBoss OSGi Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx