what exactly are you trying to say and do?
relative to what?
If you are using deploy command in CLI you can deploy your deployment from anywhere you want.
You could also use admin console to upload file from anywhere you want.
Or are you referring to deployments folder? That is just configuration of deployment-scanner, which you can change.
Or you are looking for a way to deploy your application from its current location without it beeing copied to internal data structure (aka data folder)? to do so you can use --unmanaged flag when calling deploy command.
Sorry for not being clear on the question. Let me try to rephrase it.
Say for instanace, I have installed JBoss under following location:
And say, I am using "jboss-cli.sh" from "/opt/JBoss7/bin" directory.
My application is located on NFS mount called "APPs" mounted under root.
If I were to issue the deploy command, I will have to do following:
deploy ../../../APPs/<earFileName> --server-group="myServerGroup"
Instead of doing above, I want to specify the absolute path of the ear file. That said, I want to issue following command:
deploy /APPs/<earFileName> --server-group="myServerGroup"
Once I issue the command, JBoss should know that it is an absolute path and should not look for ear file under "/opt/JBoss7/bin/APPs/" directory.
I hope, this clearifies my question.
On windows Jboss allows to specify the full path
example - deploy C:\Users\xxx\boss-as-cluster-ha-singleton-service.jar --server-groups=main-server-group
So, ideally it should work on linux.
It should work. You might want to file a Jira if it doesn't work on your OS.
You can also launch CLI GUI and use your operating system's "Browse" dialog to find the correct path.
I am using Redhat linux 6 and absolute path is NOT working.
Looks like, I had a typo earlier, it DOES support the absolute path. Sorry for the confusion.