[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: mvn Jboss:deploy plugin issue

PeterJ do-not-reply at jboss.com
Wed Oct 1 11:31:05 EDT 2008


Look at this file name:

/usr/etc/jboss/jboss-4.2.2.GA/bin/C:\mysystems-app\collaboration\trunk\mysystems-earapp\target/mysystems-earapp-1.0.ear

Notice that a Windows path got appended to a Linux path.

I do not think that the plugin is behaving in the way you want. You think that the plugin will transfer the ear file to the app server and then the app server will deploy it. Instead, what the plugin is doing is passing the path of the ear to the app server, and then the app sever is attempting to deploy the ear based on that path.

Because the path passed to the app server is not recognized as an absolute path (on Linux, absolute paths start with "/"), the app server is appending the path to the working directory, which is jboss_home/bin.  Of course, the resulting file does not exists on the file server.

Other people have asked the question "how can I deploy an application to a remote server" in the forums. You might want to look up those discussions. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179848#4179848

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179848



More information about the jboss-user mailing list