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 JBoss/WildFly and the fly likes Trouble remotely deploying to JBoss 4 server using 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 » Products » JBoss/WildFly
Bookmark "Trouble remotely deploying to JBoss 4 server using Maven plugin" Watch "Trouble remotely deploying to JBoss 4 server using Maven plugin" New topic
Author

Trouble remotely deploying to JBoss 4 server using Maven plugin

Dave Alvarado
Ranch Hand

Joined: Jul 02, 2008
Posts: 436
Hi,

I'm using JBoss 4.2.3.GA. I want to remotely deploy a web application to my server and I found a Maven plugin (jboss-maven-plugin) that will supposedly do it through the jmx-console. However, although the plugin tells me everything was successfully deployed, the WAR doesn't appear in my $JBOSS_HOME/server/default/deploy directory. The plugin reports deploying to this URL …



If I visit that URL in a browser (after entering the jmx-console username and password), I get the message, "Operation completed successfully without a return value." but still there the WAR file isn't deployed or present. Does anyone have other (successful) ways of deploying remotely to a JBoss server or can you see what's wrong with the above URL?

Below is the plugin I'm using in Maven 3.0.4 …

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9953
    
163

Deploying via that JMX method, in 4.x version, deploys it to a tmp location under the JBOSS_HOME/server/tmp folder and the deployment won't be available after server restart.


[My Blog] [JavaRanch Journal]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Trouble remotely deploying to JBoss 4 server using Maven plugin
 
Similar Threads
Maven excluding dependencies from ear
Build problem with maven and eclipse web project
Wagon-ssh with Maven 2.2
Starting and stopping tomcat6 with maven before/after deploy
Cannot locate the artifact jbossws-native-jaxrpc