I'm trying to get the deploy* targets of this plugin working with no
luck so far...
JBoss/Tomcat answers with a 505 HTTP error... Have you seen this
behaviour before?
I'm using Maven 1.0-rc2 against JBoss 3.2.3 with Tomcat listening on
port 8080.
I thought of replacing the <ant:get/> tags in plugin with jelly's
<http:get/> ones but don't know how to tell Maven to download jelly's
http taglib jar...
So, for now, I've just modified the plugin so it just <copy/> the
artifact to deploy dir in jboss... of course this is not desirable
besides I don't like to have our own version of this plugin...
Hope you can give me some help on this!
Here's the output of "maven jboss:deploy-warfile":
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-rc2
Intentando descargar pampa-common-SNAPSHOT.jar.
Intentando descargar pampa-support-SNAPSHOT.jar.
Intentando descargar pampa-application-SNAPSHOT.jar.
Intentando descargar pampa-domain-SNAPSHOT.jar.
build:start:
war:init:
java:prepare-filesystem:
java:compile:
[echo] Compiling to
/home/plalloni/workspace/administrador-web/target/classes
java:prepare-filesystem:
java:compile:
[echo] Compiling to
/home/plalloni/workspace/administrador-web/target/classes
java:jar-resources:
test:prepare-filesystem:
test:test-resources:
test:compile:
test:test:
[junit] Running gov.afip.pampa.dummy.DummyTest
dummy
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,105
sec
war:webapp:
[echo] Assembling webapp pampa-administrador-web
[copy] Copying 1 file to
/home/plalloni/workspace/administrador-web/target/pampa-administrador-web/WEB-INF
war:war:
[delete] Deleting:
/home/plalloni/workspace/administrador-web/target/pampa-administrador-web-0.0.1.war
[echo] Building WAR pampa-administrador-web
[jar] Building jar:
/home/plalloni/workspace/administrador-web/target/pampa-administrador-web-0.0.1.war
jboss:deploy-warfile:
[get] Getting:
http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:service%3DMainDeployer&methodName=undeploy&argType=java.net.URL&arg0=
file:/home/plalloni/workspace/administrador-web/target/pampa-administrador-web-0.0.1.war
[get] Error opening connection java.io.IOException: Server returned
HTTP response code: 505 for URL:
http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:service%3DMainDeployer&methodName=undeploy&argType=java.net.URL&arg0=
file:/home/plalloni/workspace/administrador-web/target/pampa-administrador-web-0.0.1.war
[get] Error opening connection java.io.IOException: Server returned
HTTP response code: 505 for URL:
http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:service%3DMainDeployer&methodName=undeploy&argType=java.net.URL&arg0=
file:/home/plalloni/workspace/administrador-web/target/pampa-administrador-web-0.0.1.war
[get] Error opening connection java.io.IOException: Server returned
HTTP response code: 505 for URL:
http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:service%3DMainDeployer&methodName=undeploy&argType=java.net.URL&arg0=
file:/home/plalloni/workspace/administrador-web/target/pampa-administrador-web-0.0.1.war
[get] Can't get
http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:service%3DMainDeployer&methodName=undeploy&argType=java.net.URL&arg0=
file:/home/plalloni/workspace/administrador-web/target/pampa-administrador-web-0.0.1.war
to /home/plalloni/workspace/administrador-web/deploy.log
Total time: 12 seconds
Finished at: Wed May 05 20:23:16 ART 2004