File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ant, Maven and Other Build Tools and the fly likes Promblem configuring jboss-maven-plugin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Promblem configuring jboss-maven-plugin" Watch "Promblem configuring jboss-maven-plugin" New topic

Promblem configuring jboss-maven-plugin

Dilshan Edirisuriya
Ranch Hand

Joined: Apr 22, 2006
Posts: 299
I have configured jboss-maven-plugin as,


Also my settings.xml looks like this.


But when I run the jboss deploy command I get the following error.

[INFO] Mojo error occurred: Server returned HTTP response code: 505 for URL: http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:service%3DMainDeployer&methodName=deploy&\Eclipse Workspace\testdilshan\target/testdilshan-0.0.1-SNAPSHOT.war

What will be the possible reason for this ?

Thank you.
[ October 29, 2008: Message edited by: Dilshan Edirisuriya ]

Dilshan Edirisuriya SCJP1.4, SCWCD1.4, SCBCD 5
Sky Loi
Ranch Hand

Joined: Oct 06, 2008
Posts: 65
You could try to add the following settings in POM.xml:

<serverName>default</serverName> --> this is Jboss server location

The <server>default</server> tag is looking up the following info:

In setting.xml, check if it like this:

It works in my project.
Dilshan Edirisuriya
Ranch Hand

Joined: Apr 22, 2006
Posts: 299
Thanks Sky it solved the problem. I have not taken that in to consideration.

Thank you
I agree. Here's the link:
subject: Promblem configuring jboss-maven-plugin
It's not a secret anymore!