• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Trouble remotely deploying to JBoss 4 server using Maven plugin

 
Ranch Hand
Posts: 436
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 …

 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
reply
    Bookmark Topic Watch Topic
  • New Topic