permaculture playing cards*
The moose likes JBoss/WildFly and the fly likes jboss-maven-plugin throws exception when deploying to a remote CI server 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 "jboss-maven-plugin throws exception when deploying to a remote CI server" Watch "jboss-maven-plugin throws exception when deploying to a remote CI server" New topic
Author

jboss-maven-plugin throws exception when deploying to a remote CI server

Dom McMillan
Greenhorn

Joined: Jul 26, 2011
Posts: 8
Trying to deploy a war into a CI environment (JBoss 6.1.0 on RHEL 6.3) using the jboss-maven-plugin (mvn jboss:deploy) the below FileNotFoundException is thrown. What needs to be changed with the configuration to make the deployment work? Did anyone make such a deployment and could post some code?

The file path which is stated in the exception seems to be composed of two parts:
1. /opt/jbossOss/da34Infos/miniLogs/ci/
2. c:\data\workspaceIndigoMaven\myapp\target\myapp.war
I would expect only the second part to be there since that is correctly pointing to the war file on the local Windows 7 system. The first part seems to be the value of system property user.dir.



extract from pom.xml

.settings.xml (maven)

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9947
    
161

What happens if you change this:



to:



[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jboss-maven-plugin throws exception when deploying to a remote CI server
 
Similar Threads
JBOSS6 : Unable to access Application [EAR] when i start the jboss with binding option 0.0.0.0
Spring3 + JPA 2 + JBoss 6
Trouble remotely deploying to JBoss 4 server using Maven plugin
Promblem configuring jboss-maven-plugin
Very frustrated with jboss 6 and seam.