JBoss remote server deployment

Hi!

Everyone can watch the presentation about how it's easy and simple to deploy an application to remote JBoss server. But what presentation doesn't say is that you can deploy application to localhost "remote" server only, because otherwise the war or ear file is not available for the target server. That's very sad and misleading.

Let's say I've copied my war or ear file to remote server where JBoss is running. How do I tell IDEA to "deploy" remote file, not the local one?

Andrey

3 comments
Comment actions Permalink

Let's say I've copied my war or ear file to remote
server where JBoss is running. How do I tell IDEA to
"deploy" remote file, not the local one?


Simply copy it into the deploy folder and let JBoss deploy it automatically.

0
Comment actions Permalink

Hm, but it would be possible technically to tell the remote JBoss to deploy the app from a certain (remote) location, right?

Because if that would work, it would really be nice to have integrated ssh/scp support in Idea, so that one could really do completely automatic non-local-remote deploys.

0
Comment actions Permalink

That's approximately what is planned to be done. Once http://www.jetbrains.net/jira/browse/IDEA-10173 has been fixed it will be possible to offer a suitable deployment based on the current target host. The deployment method will perform the needed copy operation (FTP, SCP, or whatever suits the target host) prior to launching deployment.

Hm, but it would be possible technically to tell the
remote JBoss to deploy the app from a certain
(remote) location, right?

Because if that would work, it would really be nice
to have integrated ssh/scp support in Idea, so that
one could really do completely automatic
non-local-remote deploys.

0

Please sign in to leave a comment.