I use jboss:deploy-warfile to create and deploy a web application. I got it
work on localhost. 
Then I wanted to deploy it to a remote JBoss by changing
maven.jboss.hostname, but it failed. 

With the following url in the error log, I think it is looking for the war
file on C drive on myRemoteServer. But the created war file is on C drive on
localhost, not myRemoteServer.
http://myRemoteServer:80/jmx-console/HtmlAdaptor?action=invokeOpByName&name=
jboss.system:service%3DMainDeployer&methodName=deploy&argType=java.net.URL&a
rg0=file:C:\build\myapp/../target/myapp.war

Then how do you deploy to a remote JBoss instance? 

Thanks in advance.

----------------------------------------------------------------------------
------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to bind
CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------
------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to