GlassFish Server Open Source Edition 3.0.1 (build 22)
$ asadmin deploy --force --contextroot archiva apache-archiva-1.3.1.war
com.sun.enterprise.admin.cli.CommandException: remote failure: Exception while loading the app : java.lang.Exception: java.lang.Exception: WEB0113: Virtual server [server] already has a web module [apache-archiva-1.3.1] loaded at [/archiva]; therefore web module [apache-archiva-1.3.1] cannot be loaded at this context path on this virtual server. java.lang.Exception: WEB0113: Virtual server [server] already has a web module [apache-archiva-1.3.1] loaded at [/archiva]; therefore web module [apache-archiva-1.3.1] cannot be loaded at this context path on this virtual server.
Command deploy failed.
But the application apache-archiva-1.3.1 is never deployed successfully, and i don't know how to remove the existing one (maybe broken?) It's not in the domain/applications/.
BTW, before doing these, I have undeployed apache-archiva-1.2.1 successfully. and I can deploy 1.2.1 again as well. But this isn't the problem, the problem is how can I clean the non-existing web module as glassfish says it is existed?
[Message sent by forum member 'lenik']
http://forums.java.net/jive/thread.jspa?messageID=477001