-
1. Re: deploy a war file with Jboss to a permanent location
peterj Aug 21, 2007 11:40 AM (in response to mazarj)Look at the URLs attribute in the mbean at the end of server/default/conf/jboss-service.xml
-
2. Re: deploy a war file with Jboss to a permanent location
mazarj Aug 24, 2007 10:30 AM (in response to mazarj)heyyy, thanks for helping
I'm a little bit lost
can u please help mewhat should I do?
(my application is sabswing.war)
I have this at the end of server/default/conf/jboss-service.xml
<!-- URLs are comma separated and resolve relative to the server home URL
unless the given path is absolute. If the URL ends in "/" it is
considered a collection and scanned, otherwise it is simply deployed;
this follows RFC2518 convention and allows discrimination between
collections and directories that are simply unpacked archives.
URLs may be local (file:) or remote (http:). Scanning is supported
for remote URLs but unpacked deployment units are not.
Example URLs:
deploy/
scans ${jboss.server.url}/deploy/, which is local or remote
depending on the URL used to boot the server
${jboss.server.home}/deploy/
scans ${jboss.server.home)/deploy, which is always local
file:/var/opt/myapp.ear
deploy myapp.ear from a local location
file:/var/opt/apps/
scans the specified directory
http://www.test.com/netboot/myapp.ear
deploys myapp.ear from a remote location
http://www.test.com/netboot/apps/
scans the specified WebDAV location
-->
deploy/
<!-- Indicates if the scanner should recursively scan directories that
contain no "." in their names. This can be used to group applications
and services that must be deployed and that have the same
logical function in the same directory i.e.
deploy/JMX/
deploy/JMS/
...
-->
True
I need ur help
thanks in advance -
3. Re: deploy a war file with Jboss to a permanent location
mazarj Aug 24, 2007 10:33 AM (in response to mazarj)file:/var/opt/myapp.ear
deploy myapp.ear from a local location
file:/var/opt/apps/
scans the specified directory
http://www.test.com/netboot/myapp.ear
deploys myapp.ear from a remote location
http://www.test.com/netboot/apps/
scans the specified WebDAV location
-->
deploy/
<!-- Indicates if the scanner should recursively scan directories that
contain no "." in their names. This can be used to group applications
and services that must be deployed and that have the same
logical function in the same directory i.e.
deploy/JMX/
deploy/JMS/
...
-->
I need ur help
thanks in advance -
4. Re: deploy a war file with Jboss to a permanent location
peterj Aug 24, 2007 12:03 PM (in response to mazarj)Please, when posting XML content, enclose it within [ code ]...[ /code ] brackets (without the spaces). Otherwise the browser interprets the XML as HTML and really screws up the output!
I am not sure I can add to that the comments for URLs already says, but I will try.
Let's say that you always build your war file at /home/foo/apps/sabswing.war
Then change URLs to be:<attribute name="URLs"> deploy/,file:/home/foo/apps/ </attribute>
You never said which OS you are running so I assumed Linux.