jbossas / jboss-as-maven-plugin

Maven plugin to deploy applications to JBoss AS 7 (moved to https://github.com/wildfly/wildfly-maven-plugin)
74 stars 69 forks source link

Can't specify remote serverConfig for run. #28

Closed caliginouspierson closed 11 years ago

caliginouspierson commented 11 years ago

Version 7.3.Final Client: Windows Remote Server: nix (On a Oracle VB and host bridging specified.)

Deployment goal succeeds when configuration, hostname, port, context, username and password specified.

However switching to Run goal does not. ( We need to do a restart of the app server to clear the cache)

Specifying serverConfig is a relative path from %JBOSS_HOME%\standalone\configuration which is a downloaded instance if jBossHome is not specified in configuration.

Cannot specify jBossHome when specifying remote jboss_home directory as get error "\opt\jboss-eap-6.0" is not a valid directory. Obviously this directory doesn't exist locally as the client is Windows and the directory delimters are different.

One option would be to copy the remote standalone.xml locally, but that seems an unreasonable position. The relation between local jboss and project will differ between developers and commiting jboss and server config from target directory to svn is a no, no.

caliginouspierson commented 11 years ago

I just realised the goal run is not meant to run remotely is that correct?

jamezp commented 11 years ago

Correct. It's just meant to run locally from maven.

jamezp commented 11 years ago

Closing as there is currently no start/stop options. If this is a requested feature please file at https://issues.jboss.org/browse/JBASMP