Just found this myself, everything was fine under rc1, but fails for rc2.

I'm guessing you are using jboss 3.2.x rather than 3.0.x as I've found the
problem in the plugin.properties file for the maven-jboss-plugin-1.4.

The properties:
  maven.jboss.jmx.url.deploy.3.2 
  maven.jboss.jmx.url.undeploy.3.2

Both have a space on the end of them, so the generated url breaks.

Either edit this file
~/.maven/plugins/maven-jboss-plugin-1.4/plugin.properties or copy the lines
to your project.properties and fix them there.

Kevin


> -----Original Message-----
> From: Stuart Eccles [mailto:[EMAIL PROTECTED] 
> Sent: 07 May 2004 09:38
> To: Maven Users List
> Subject: RE: jboss plugin
> 
> 
> Looks like your JBoss configuration is wrong rather.
> 
> are you running the default, all or custom configuration?
> 
> 
> 
> -----Original Message-----
> From: Pablo Lalloni [mailto:[EMAIL PROTECTED]
> Sent: 06 May 2004 20:39
> To: [EMAIL PROTECTED]
> Subject: jboss plugin
> 
> 
> 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-admini
> strador-web/WE
> B-INF
> 
> war:war:
>     [delete] Deleting: 
> /home/plalloni/workspace/administrador-web/target/pampa-admini
> strador-web-0.
> 0.1.war
>     [echo] Building WAR pampa-administrador-web
>     [jar] Building jar: 
> /home/plalloni/workspace/administrador-web/target/pampa-admini
> strador-web-0.
> 0.1.war
> 
> jboss:deploy-warfile:
>     [get] Getting: 
> http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpB
> yName&name=jbo
> ss.system:service%3DMainDeployer&methodName=undeploy&argType=j
> ava.net.URL&ar
> g0= 
> file:/home/plalloni/workspace/administrador-web/target/pampa-a
> dministrador-w
> eb-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=invokeOpB
yName&name=jbo
ss.system:service%3DMainDeployer&methodName=undeploy&argType=java.net.URL&ar
g0=
file:/home/plalloni/workspace/administrador-web/target/pampa-administrador-w
eb-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=jbo
ss.system:service%3DMainDeployer&methodName=undeploy&argType=java.net.URL&ar
g0=
file:/home/plalloni/workspace/administrador-web/target/pampa-administrador-w
eb-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=jbo
ss.system:service%3DMainDeployer&methodName=undeploy&argType=java.net.URL&ar
g0=
file:/home/plalloni/workspace/administrador-web/target/pampa-administrador-w
eb-0.0.1.war
    [get] Can't get
http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jbo
ss.system:service%3DMainDeployer&methodName=undeploy&argType=java.net.URL&ar
g0=
file:/home/plalloni/workspace/administrador-web/target/pampa-administrador-w
eb-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




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to