-
1. Re: Is there any way to provide "Absolute" path for the application deployment using jboss-cli ???
ctomc Jun 21, 2013 11:43 AM (in response to bhaveshbhagat4)Hi,
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.
--
tomaz
-
2. Re: Is there any way to provide "Absolute" path for the application deployment using jboss-cli ???
bhaveshbhagat4 Jun 21, 2013 11:52 AM (in response to ctomc)Hi Tomaz,
Sorry for not being clear on the question. Let me try to rephrase it.
Say for instanace, I have installed JBoss under following location:
/opt/JBoss7And 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.
Thank you!
-
3. Re: Is there any way to provide "Absolute" path for the application deployment using jboss-cli ???
ksreen Jun 21, 2013 12:16 PM (in response to bhaveshbhagat4)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.
-
4. Re: Is there any way to provide "Absolute" path for the application deployment using jboss-cli ???
ssilvert Jun 21, 2013 1:15 PM (in response to ksreen)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.
A GUI for the Command Line Interface
Stan
-
5. Re: Is there any way to provide "Absolute" path for the application deployment using jboss-cli ???
bhaveshbhagat4 Jun 21, 2013 1:55 PM (in response to ksreen)Hi Ksreen,
I am using Redhat linux 6 and absolute path is NOT working.
-
6. Re: Is there any way to provide "Absolute" path for the application deployment using jboss-cli ???
bhaveshbhagat4 Jun 21, 2013 2:12 PM (in response to bhaveshbhagat4)Looks like, I had a typo earlier, it DOES support the absolute path. Sorry for the confusion.