This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Similar Threads
Plugins jboss-maven-plugin and cargo-maven2-plugin with JBoss 5
java.lang.NoClassDefFoundError: oracle/toplink/essentials/ejb/cmp3/EntityManagerFactoryProvider
Spring Major version '3' expected
Deploy to Tomcat with Maven
Maven on Unix